homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

Mozilla and Opera: no document.getElementById('dirsub').doScroll('scro
I want to set the scroll bar position, but it works only in MSIE

 4:51 am on May 29, 2005 (gmt 0)

<body onload=do_scroll>

<div style=overflow:auto;width:150;height:150>
Here goes a long menu

Much down the menu, there is the current page
high lighted

function do_scroll


It works fine in MSIE,
I can test it in MSIE also by the command line


but it does not work in Opera 7 and Mozilla 1.7.6

Any idea to make it work in Opera and Mozilla?



 9:05 pm on May 29, 2005 (gmt 0)

doScroll is a proprietary Microsoft method for their jscript - it's not part of the current ECMAscript standard, so for now, you only have IE support here.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved