I managed to get the logic to show a particular page if current date is earlier than certain date, unfortunately before this page shows you can actually see my main page flash for a moment. How can I prevent the main page from flashing?
Professional Software Development Tools
I managed to get the logic to show a particular page if current date is earlier than certain date, unfortunately before this page shows you can actually see my main page flash for a moment. How can I prevent the main page from flashing?
You don’t tell WHERE you have placed your Jump code. I tried the template “Multilingual” and I couldn’t notice any flashing (the Jump code is found on first page On Show).
I have the Jump statement in Project Action on StartUp:
I will take a look at the template you mention. Maybe I need to make my "pre" page the main page?Code:-- detect if run date is earlier than revision date, if true then show 'pre' page if dateiso < strrevisioniso then Page.Jump("pre"); end
Thanks
Aside from that issue, if you have a gateway page and two destination pages it's better general design practice to reduce that to one gateway page which also doubles as a destination page, and one destination page. Typically you would add the gateway code check to the "most likely used" destination page and then have that as your main page.
Corey Milner
Creative Director, Indigo Rose Software
Corey,
I set my "preload" page first, then my "Main" page. It now works as intended.
Thanks!
Excellent.
Corey Milner
Creative Director, Indigo Rose Software