| | |
scrollTo(x.y)
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2009
Posts: 17
Reputation:
Solved Threads: 2
0
#2 Nov 5th, 2009
•
•
•
•
I am using scrollTo(x,y) function in my web application and function is not working in IE. But it is working with firefox. I'm using IE6. So can someone give me the reason and how to use scrollTo function with IE?
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
<html> <body> <script language="JavaScript"> function function1(){ window.scrollTo(200,200); } function function2(){ window.scroll(200,200); } </script> <input type="button" value="Scroll to (200,200)" onClick="function1();"> <input type="button" value="Scroll(200,200)" onClick="function2();"> <div style="height:1000;width:1500;background-color:blue;"></div> </body> </html>
![]() |
Similar Threads
- jQuery .scrollTo to call PHP function (JavaScript / DHTML / AJAX)
- problem with the body and style..... (JavaScript / DHTML / AJAX)
- AutoScrolling a DIV tag (JavaScript / DHTML / AJAX)
- Need to Scroll to div element (JavaScript / DHTML / AJAX)
- Scrollbar help? (JavaScript / DHTML / AJAX)
- how to create floating menu (JavaScript / DHTML / AJAX)
- Scrollbar position on refresh problem (JavaScript / DHTML / AJAX)
- Which browser do you design for? (HTML and CSS)
- scrolling div ? (HTML and CSS)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: RSS reader needed
- Next Thread: Please help!!! JavaScript!
Views: 388 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
ajax ajaxexample ajaxjspservlets array autoplay blackjack browser captcha captchaformproblem cart child class close codes date debugger dependent developer disablefirebug dom editor element embed engine enter events explorer ext file firefox flash form forms frameworks game gears getselection google gxt hiddenvalue highlightedword hint html ie7 ie8 iframe java javascript javascripthelp2020 jquery jsf jsp jump libcurl maps margin marquee masterpage math media menu object onerror onmouseoutdivproblem onreadystatechange parent passing paypal pdf php player position post programming prototype rated redirect safari scale scriptlets scroll search security size software solutions sources star stars stretch synchronous toggle tweet unicode variables web webkit webservice window \n





