Results 1 to 10 of 10

Thread: Internal Linking Problem

  1. #1
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default Internal Linking Problem

    Not having actual problems with the linking itself, but I'm a bit stuck as how to get around my fixed images.

    Basically at the moment, I have a header and sidebar that scroll with the page and so are positioned with fixed, this becomes a problem when I want to go to the very top of the page, as it will go up to the top, but the images / text are behind the top header. Even if I put the anchor straight after the <body> tag it still doesn't scroll the whole way up, there is a demo of it here:

    http://www.bristoldnb.co.uk/testindex.html

    Just click the "January" link and you'll see what I mean. Anyone know how to fix this, is there a command that makes the page scroll to the very top or something in JavaScript I can use?

    Thanks for any help,

    Jack
    Last edited by Schmoopy; 01-11-2009 at 08:53 PM.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    So do you want the body of the page to scroll over your header?

  3. #3
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    No, I want to keep it as it is, but just have it go all the way to the top, instead of scrolling only so far up.

  4. #4
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Any more suggestions?

  5. #5
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    I'm not sure if we are seeing the same thing here. When I click January, the page goes up too much, it stops at "Front bar - reggae". Do you want to stop at "Avalaf" or "Epyphani"? If you want it to scroll even more, then you have to put the anchor lower down on the page. Screenshots of what you see and what you want would be really helpful.

  6. #6
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Yea I know what you mean, I want the page to scroll all the way to the top - instead of stopping at Front Bar I want it to go further up, above Avalaf, so that the "15/01/09" part is visible, but I've tried putting the anchor just after the body tag with no luck, hope you can help,

    Thanks,

    Jack.

  7. #7
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Ok, for more clarification, I've included a screenshot of what I want it to look like - I'm pretty sure this is now going to need JavaScript to accomplish, getting document height and moving to the top.

    Anyway - here is the current, and the desired versions:

    Current:

    http://www.bristoldnb.co.uk/images/wrong.jpg

    Desired:

    http://www.bristoldnb.co.uk/images/right.jpg

    Hope that cleans up any confusion about what I want, and I also don't mind if it just scrolls straight up to the top (e.g. scroll bar as far up as it can go) to the top, as it still shows the firsth month.

    Thanks,

    Jack

  8. #8
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Try this:
    Code:
    <a name="jan">anchor</a>
    It worked for me in web developer, just write anything between the anchor tags.

    Good luck!

  9. The Following User Says Thank You to Snookerman For This Useful Post:

    Schmoopy (01-11-2009)

  10. #9
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Nice, pretty much fixed it - had to move the content up a bit but now it's working nicely,

    Thanks,

    Jack.

  11. #10
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You're welcome, glad to help!

    Good luck with your site!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •