[Javascript] changing link state with javascript and css
Cutter (JSRelated)
java.script at cutterscrossing.com
Tue Oct 9 11:06:33 CDT 2007
Jeffrey,
Unless you have an overwhelming reason to do so, I wouldn't reinvent the
wheel. Look at the TabPanel implementation of the ExtJS library
(http://extjs.com) or the Tabs Plugin for the JQuery library
(http://www.jquery.com). Both have this functionality built in, are
fairly easily implemented, and don't require a ton of work to customize.
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com
Jeffrey Morin wrote:
> 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
> <http://us.rd.yahoo.com/evt=51201/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE5NWVzZGVyBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDYXV0b3MtbmV3Y2Fy
> > the hottest 2008 models today at Yahoo! Autos.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript
More information about the Javascript
mailing list