xmdsys
08-12-2008, 08:33 PM
I don't know javascript and haven't had time to learn it yet so until then, could somebody help me out with this...
http://readsam.com/markup/test/tabs_test.php- click "show" button
What I am trying to do is get the menu categories (football, basketball, etc.) to change background color when it has been selected. Only the tab being displayed currently will have the black background (used black to see it easier). All that needs to change is the class on the li tag to "active" when it is active.
The js is here: http://readsam.com/markup/test/js/tabs.js
the function that controls the changing of the "tabs" is initsTabs()
I tried to figure this out on my own but I'm at that point where I don't think I will without help...I need to learn js...
http://readsam.com/markup/test/tabs_test.php- click "show" button
What I am trying to do is get the menu categories (football, basketball, etc.) to change background color when it has been selected. Only the tab being displayed currently will have the black background (used black to see it easier). All that needs to change is the class on the li tag to "active" when it is active.
The js is here: http://readsam.com/markup/test/js/tabs.js
the function that controls the changing of the "tabs" is initsTabs()
I tried to figure this out on my own but I'm at that point where I don't think I will without help...I need to learn js...
