42 users online (1 members and 41 guests)  


  Results 1 to 6 of 6

Related

  1. Replies: 2
  2. How to make the page load at the bottom?    Forum: HTML Forum
    Replies: 11
  3. Replies: 4
  4. redirect to the same page if the user wishes to    Forum: Javascript Forum
    Replies: 2
  5. Replies: 9
  1. #1
    codoublenie's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    3

    redirect a page to the bottom of the same page

    hi.. i need help on some html, its sort of like what fluke needed help on, "How to make a page open at the bottom after refreshing." but i wanted to know if it is possible to click on a link, and make it REDiRECT to the BOTTOM of the same page? anyone please help me! thanks a lot!

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi there, welcome to the forums.

    Yes, its called anchoring.

    Make an anchor like this -

    Code:
    <a name="myAnchor">I am at the bottom</a>
    then link to it like this -

    Code:
    <a href="#myAnchor">Go to bottom</a>
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    codoublenie's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    3
    hey thanks for the help! and thanks for the welcome! it took me awhile to figure out how to use the anchor you gave me O_o.. haha but yeah.. it only goes to the bottom if the person clicks on it, is there any way for them to be redirected AUTOMATiCALLY to the bottom? and have nothing written like "i am at the bottom" and "go to bottom"? well please try to help me.. hehe thanks again! =)

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    when you say 'automatically', what event do you wish to trigger this? It would make no sense to never allow your visitor to see the top of the page.

    if you mean when the page loads, you can use the anchor in a link, like

    Code:
    <a href="http://www.mywebsite.com/index.html#myAnchor"> go to the bottom of a different page </a>
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  5. #5
    codoublenie's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2003
    Posts
    3
    well its because the top has a advertisement, but all my stuff in is a frame and that scrolls so if the page goes to the way bottom, the ad doesnt show unless the person scrolls up. i dont know if it has to be redirected, but i just want the person to see everything except the ad at the top when they first enter the page. is that possible to make the page go to the way bottom when u just click on the link?

  6. #6
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    How to cheat a free web host 101? Not here!



Tags for this Thread