Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2010
    Posts
    22
    Thanks
    13
    Thanked 0 Times in 0 Posts

    browser scroll itself up

    I have created a photo gallery in tabs. The problem is when i scroll down the browser window to click on the numbers of the photo gallery, the new photo opens but the explorer scroll it self up again. It is very annoying. here is the link of this website gallery.

    http://www.meerab.info/gallery.html

    Please bear with me as i am new to html/css. Can anybody help me??
    I would really appreciate.
    Thanks

  • #2
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,785
    Thanks
    8
    Thanked 131 Times in 129 Posts
    example you have:
    <a href="#" tabindex="1">7</a>

    add onclick="return false;" like below
    <a onclick="return false;" href="#" tabindex="1">7</a>
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis

  • Users who have thanked harbingerOTV for this post:

    muzammil (04-02-2011)


  •  

    Posting Permissions

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