Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-07-2011, 06:33 PM   PM User | #1
ROYW1000
Regular Coder

 
Join Date: Jan 2010
Posts: 151
Thanks: 10
Thanked 1 Time in 1 Post
ROYW1000 is an unknown quantity at this point
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
ROYW1000 is offline   Reply With Quote
Old 02-07-2011, 06:39 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Despite the similar sounding names, Java is not the same as Javascript.
Moving from Java forum to Javascript forum.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Old 02-07-2011, 11:54 PM   PM User | #3
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,375
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
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
sunfighter is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:44 PM.


Advertisement
Log in to turn off these ads.