PDA

View Full Version : Main page briefly flashing before desired page shows


cchian
04-25-2004, 09:25 PM
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?

csd214
04-26-2004, 01:01 AM
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).

cchian
04-26-2004, 12:25 PM
I have the Jump statement in Project Action on StartUp:

-- detect if run date is earlier than revision date, if true then show 'pre' page
if dateiso < strrevisioniso then
Page.Jump("pre");
end

I will take a look at the template you mention. Maybe I need to make my "pre" page the main page?

Thanks

Corey
04-26-2004, 12:43 PM
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 (http://www.indigorose.com)

cchian
04-27-2004, 04:49 PM
Corey,

I set my "preload" page first, then my "Main" page. It now works as intended.
Thanks!

Corey
04-27-2004, 06:20 PM
Excellent. :cool

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)