Autoscroll Code?

Hardware, Software, Internet, etc.

Moderators: Big-O Ryan, Big-O Mark, Matt, jester22c

Post Reply
User avatar
sweeney
Addict
Addict
Posts: 88
Joined: Fri Oct 18, 2002 2:24 pm
Location: Hamden, CT
Contact:

Autoscroll Code?

Post by sweeney »

Is there some code that you could put on a site to make it so that as soon as it loads, it goes directly to the bottom of the document? I've tried anchoring and then making a redirect to the anchor, but to no avail. Any help is appreciated.
Axilla wrote:Since apparently no one has told you what a huge douche bag you are, I'll just tell you now. You are a huge douche bag. Huge.
User avatar
Anthony
Moderator
Moderator
Posts: 1532
Joined: Thu Sep 12, 2002 5:10 am
Location: Rochester, New York
Contact:

Post by Anthony »

That seems weird... Have you tried using java script after everthing has loaded (not that it should matter because if you go to www.domain.com/file.thml#blah directly it has awlays worked for me).

Does your page have a lot of graphics?
Image
PhaseDMA - Check it out
My AIM+ FAQ
fuuucckkers
Moderator
Moderator
Posts: 815
Joined: Sun Sep 22, 2002 3:33 pm
Contact:

Post by fuuucckkers »

my guess would be to use those anchors.
Put it somewhere down on the bottom of a page or wherever..
But then to make it go there on page load, put 'onLoad="anchor name here" within the <body> tag.

so it'll look like this:

<body onLoad="#point3">


<a name="point3">Text goes here</a>



Now I could be wrong... but as the page loads, the browser SHOULD see the 'onload' and bring you straight down to the bottom of the page, or wherever it is you have the Anchor point set within the <A> tag.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest