The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to open a page that loads scrolled to the right. (2 posts)

  1. daggit_brown
    Posted 5 years ago #

    Hey all...

    I am working on fishingpierinc.com/vote.

    I have a page within a page. The inner page opens with a horizontal line. However it naturally loads to the left of the page. I would like it to load inner page scrolled to the right... and if possible, without the possibility to scroll horizontally.

    I have an iframe code for inserted page within the page.

    Thanks for the help!

  2. daggit_brown
    Posted 5 years ago #

    Well, I kept running into my own post throughout my search for the code and how to use it in iFrames. I worked it out... for those of you who may also need it this is what I worked up.

    <style type="text/css">

    <script language="Javascript">
    function pageScroll() {
            window.scrollBy(1000,0); // 1st parameter - horizontal and 2nd parameter - vertical scroll increments
            scrolldelay = setTimeout('pageScroll()',100); // scrolls every 10 milliseconds

    <IFRAME SRC="address.com" body onLoad="pageScroll()" div id="maincontainer" WIDTH=848 HEIGHT=500 right=0>

Topic Closed

This topic has been closed to new replies.

About this Topic