Javascript scrollTo for HTML Frames or alternative -
to start, know people hate frames, least energy best result pages have no control over.
just example:
<html> <head> <title>test page</title> <script type="text/javascript"> function scrollframe() { document.frames["home"].scrollto(0,90); document.frames["video"].scrollto(0,90); document.frames["apps"].scrollto(0,90); } </script> </head> <frameset rows="30%,30%,*"> <frame name="home" src="www.cwtv.com" scrolling="auto" frameborder=0 /> <frame name="video" src="www.cwtv.com/cw-video" scrolling="auto" frameborder=0 /> <frame name="apps" src="www.cwtv.com/apps" scrolling="auto" frameborder=0 /> </frameset> <body onload="scrollframe();"> </body> </html>
i have no idea how incorporate scrollframe function frame, if possible.
edit: have added scrolls statically javascript function , attempting call them directly empty body. put example urls in same domain.
i'll accept provided, remember have no control on sources.
appreciate help!
Comments
Post a Comment