[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread Stockypotty
Yeah I was thinking of doing it the second way. So basically I would put a unique class name on each tab, then use background-image: url(linktophoto) Is there no way to make the text linkable? Also while I have you here, when I clicked on the suckerfish drop down and got sent to the new

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread amuhlou
I'm not sure what you mean by making the text linkable Can you post a test page that demonstrates your questions? thanks On Aug 14, 7:28 am, Stockypotty andy_stoc...@hotmail.com wrote: Yeah I was thinking of doing it the second way. So basically I would put a unique class name on each tab,

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread Stockypotty
Sorry I didn't mean that, early morning ^^ I was wondering if you had any good tutorials on how to put a unique class name on each tab? Unfortunately my site is not running live if that is what you meant about a test page. However if you go to this site: http://www.quizilla.com/ You can see

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread amuhlou
a good start would be to use firebug and inspect the code for the example page. On Aug 14, 8:30 am, Stockypotty andy_stoc...@hotmail.com wrote: Sorry I didn't mean that, early morning ^^ I was wondering if you had any good tutorials on how to put a unique class name on each tab?

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread Liam Potter
how about, editing your html? amuhlou wrote: a good start would be to use firebug and inspect the code for the example page. On Aug 14, 8:30 am, Stockypotty andy_stoc...@hotmail.com wrote: Sorry I didn't mean that, early morning ^^ I was wondering if you had any good tutorials on how

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread Stockypotty
Yeah as you can see in this picture: http://i236.photobucket.com/albums/ff288/paramore_020/quizilla.jpg They have a seperate ID for each menu, which allows them to have a separate CSS style for each one. Do you know how I can give each menu on suckerfish it's own CSS style section? I think I

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread amuhlou
like Liam said, you need to edit the HTML of the menu and add a class or id to each menu item, like they did in the picture you posted. Then you can target it with CSS. On Aug 14, 10:58 am, Stockypotty andy_stoc...@hotmail.com wrote: Yeah as you can see in this picture:

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread Stockypotty
Right ok, I will search on how to add a class to the menu, do you know of any tutorials? Thanks guys

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread amuhlou
w3schools is a great resource for web tutorials. http://www.w3schools.com/tags/att_standard_class.asp On Aug 14, 12:09 pm, Stockypotty andy_stoc...@hotmail.com wrote: Right ok, I will search on how to add a class to the menu, do you know of any tutorials? Thanks guys

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread Laker Netman
A little Googling may help :) ...but for starters how about: var i = 0; $(li).each(function(){i++;$(this).addClass('image'+i)}); You can change the first selector to whatever is right for you ...probably not every LI on the page :) You can change the word image in the addClass() to whatever you

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread Stockypotty
Ok thank you I will try this. Although what about if I put a div with an id around each menu tab. something like this div id=nameofmenu CSS styling here /div what do you reckon?

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread Laker Netman
Well, you can generate as much mark up as you want, but if I understand what you're trying to do, it's redundant :) You can style the UL, LI and A tags directly without a DIV wrapper. Also, your last snippet is a little confusing. You wouldn't place CSS within the DIV. The CSS would be inline in

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-13 Thread amuhlou
Your question is really more of an HTML/CSS question, so that may be why a search didn't return much in the way of results. You can either insert the images inside the a elements of your tabs (not really great for accessibility) or put unique class names on each tab and pull in the custom tab