pilot_rik
11-12-2005, 01:05 PM
I know how to jump the page using HTML but how can I get it to jump automatically when the page loads without clicking on any links? :confused:
Thankyou!
Thankyou!
|
Click to See Complete Forum and Search --> : Jumping the Page Automatic pilot_rik 11-12-2005, 01:05 PM I know how to jump the page using HTML but how can I get it to jump automatically when the page loads without clicking on any links? :confused: Thankyou! LiLcRaZyFuZzY 11-12-2005, 01:10 PM what do you mean by "jump"? pilot_rik 11-12-2005, 01:16 PM Like it does on this tutorial Click Here (http://www.htmlgoodies.com/tutorials/getting_started/article.php/3479511) balloonbuffoon 11-12-2005, 04:15 PM Well, these jumps are formally known as anchors, just FYI. Anyway, here's what you do: //Put this onload event in your body tag <body onload="window.location = '#landing_spot'"> //place the anchor where you desire and it will "jump" to it when the page loads <a name="landing_spot"></a> --Steve mazy 11-12-2005, 11:49 PM You can also use META tag thing, that goes in <head> and looks just like this: <META HTTP-EQUIV="Refresh" Content="0; URL=http://www.bbc.co.uk"> this will refresh a browser and send it to www.bbc.co.uk zero seconds after your page is loaded. MikeG 11-13-2005, 06:18 AM I would like to use the meta tag to auto switch to another page but not as soon as the page is loaded. Can the command be delayed in any way? thanks de domain 11-13-2005, 06:51 AM @Mike hi than you can only use javascript <body onload="window.location = 'http://www.jump.to'"> best regards domain (http://www.domainunion.de) Charles 11-13-2005, 07:02 AM <META HTTP-EQUIV="Refresh" Content="0; URL=http://www.bbc.co.uk">That initial "0" in the content attribute, that defines the number of seconds to wait before the refresh. Just increase that value. Stephen Philbin 11-13-2005, 07:34 AM Just a little note: The Javascript redirect will get you blacklisted on Google and the meta method with get you sort of dark-grey listed. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |