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 4 of 4

Thread: CSS Bugs

  1. #1
    New to the CF scene
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS Bugs

    helloo i am a beginner in CSS and wanted to know how to fix this bug.
    I have created a test website: www.dynamic-lb.com/gad/index.html
    as you can see you can scroll using your mouse, keyboard or arrows(in the page) to change from one background to another.
    the problem is: that you can use the arrows in the first page to go from one background to another but you cannot use the rest of the arrows(in other pages). if you click on one of the arrows the page will not change.

    the css file: http://www.dynamic-lb.com/test/gad/css/style.css

    thank you for your help

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Your site link doesn't work.
    Teed

  • #3
    New to the CF scene
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #4
    Regular Coder
    Join Date
    Aug 2011
    Location
    U.S.A.
    Posts
    233
    Thanks
    2
    Thanked 48 Times in 48 Posts
    Each ID on a page has to be unique. You have all of your up buttons with the id of tf_prev and the down buttons as tf_next.

    Any jquery or javascript call to the id will only use the first one and not any others because of this. If you are using jquery, you need to call them by their class, or give them numerical IDs (tf_prev1, tf_prev2, etc.) in order for it to work correctly.
    WordPress Designer and theme developer. KlongDesigns - helping bloggers and non-technical folks claim their space on the internet.


  •  

    Posting Permissions

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