I am new to web design and javascript. I am actually in the process of learning, however, I am building a page for my company that:
Builds the page dynamically. By this I mean I have the page divided into 4 sections (like frames but not frames), top part displays a clock and date, left side displays buttons to press which changes what is displayed on the right side of the screen. Then the bottom is just copywrite info.
My problem is: I want the page to refresh after x seconds of displaying something on the right side of the screen and return back to the original view of what was in the right side of the screen(Company logo). I can acomplish this using an addloadevent function I found on the web but the problem is the counter is based upon the initial screen - not the one displayed due to the selected button which is dynaically built. I want the refresh timer to be based upon the "new" page displayed and counted from there. I would also like to be able to have different values assigned to the seconds, depending upon which button was pressed. (ex: button A is the Home button so we can always get back there, button B displays personal info but I want it to only display for 10 seconds and then do an auto refresh, button c displays time clock tardies which should be display for 20 seconds before auto refreshing.)
I hope someone can help!
Thanks,
Jude