Click to See Complete Forum and Search --> : popup window /load bottom
tripwater
06-18-2003, 01:24 PM
I have a popup the has a flash demo in it. It is a little taller than a 800x600 res setting and the user will have to use the scroll but only a little.
The demo starts at the bottom and works its way up so I need the page to popup with the window already scrolled to the bottom or the demo will not kake much sense.
How do I popup a window and it load showing what is at the bottom first?
thanks for any help.
<script type="text/javascript">
onload = window.scrollTo(0, 5000);
</script>
Jona
tripwater
06-18-2003, 01:31 PM
Thanks for the reply.
I plugged that code in and it would not work in any of the linux browsers and I got run time error in IE.
any ideas?
This (http://geocities.com/god_loves_07/scrollTo.html) works in IE, but I haven't tested it in any other browsers; although, I'd imagine it would work in all browsers (in Windows).
Jona
tripwater
06-18-2003, 02:20 PM
I see how they are using it but it is not working for me.
www.spambite.com and click on the demo link in the left menu to see it.
Originally posted by tripwater
I see how they are using it but it is not working for me.
They? I did that! :p
The error you're getting is "Not implemented," so that means move on to a new way of doing it. ;)
window.onload = function() {window.scrollTo(0, 600)};
Jona
tripwater
06-18-2003, 03:02 PM
They? I did that!
sorry about that.
That worked thanks alot!
Originally posted by tripwater
[S]orry about that.
The smiley face next to my phrase was supposed to clarify the fact that I wasn't upset about it. ;)
Oh, and you're welcome! :D
Jona