[Javascript] changing link state with javascript and css

Jeffrey Morin j_morin2003 at yahoo.com
Tue Oct 9 10:59:39 CDT 2007


hello javascipt fans,

i have been working on a set of functions that will be applied to a tab menu. when you click on a tab the link color and background image will change to reflect that it is the selected tab and it will reveal another div and hide the current one. for some reason i am having a couple of problems with what i thought would be simple. 

i have a reset function that doesn't seem to get called and my new background images don't want to show up. or at least they are not positioned in a way to be seen. i have tried changing backgroundPosition in the function and it hasn't worked it just removes the current bg image

can someone put me in the right direction on this because i can't figure this out. here is a link to look at. the file in question is portfolio_tabs.js and it's css file is tabs__.css. 

thanks in advance for any help

Jeff

       
---------------------------------
 Check out  the hottest 2008 models today at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20071009/7f1ab05e/attachment.htm>


More information about the Javascript mailing list