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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jan 2010
    Posts
    160
    Thanks
    10
    Thanked 1 Time in 1 Post

    ahref="#" mouseover

    Hi

    I am using a script to display 5 tabs from this script http://www.dynamicdrive.com/dynamici...tabcontent.htm. The links are a <a href="#" rel="country1">

    I want to use a graphic for the buttons with a mouseover on/off image and the selected image will be on.

    Therefore I need to find some code for mouseover yes/no and active bearing in mind there are 5 tabs. If a user selects tab 2 for example they should all revert to off except the tab which was selected and that should appear the same as mouseover yes.

    I cant seem to find any script that knows the state of tab content.

    Many thanks
    Roy

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    Despite the similar sounding names, Java is not the same as Javascript.
    Moving from Java forum to Javascript forum.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    3,763
    Thanks
    23
    Thanked 548 Times in 547 Posts
    I went to that site and it looks like everything you need is there. Look at script #3. the script is located by clicking Developer's View. and what your asking for is located just below that.

    Click the links he gives as in 1. 2. 3. below

    The code above references four external files, which you need to download below:

    1. tabcontent.css
    2. tabcontent.js
    3. shade.gif, shadeactive.gif, indentbg.gif, indentbg2.gif


  •  

    Posting Permissions

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