Warning: fopen(graphic_design/files/thread-1096-1.txt) [function.fopen]: failed to open stream: Permission denied in /graphic_design/global.php on line 421
file NOT opened Can this be done w/CSS? -
PDA

View Full Version : Can this be done w/CSS?


Ed Hall
06-17-2004, 01:07 PM
Ok I want a featured section on my site well my main page it will be located. But the thing is I want to feature two different types of things (webpage/artwork). Now I was originally going to have it scroll for each feature.. but I was wondering if it's possible to use some kind of tab to switch between the content possibly with layers not sure. So that the user wouldn't have to scroll.

kind of like this

http://www.8-media.com/temp/tabex.gif

But it would just switch between the tabs without have a new page.

Can this be done?

freakyclean
06-17-2004, 01:11 PM
Yeah you can have a javascript that shows and hides the layers. You would need one layer (or two if you want) for the tabs and one for each content.

The one layer would be visible and the other hidden to start with. On mouse click layer one shows and layer two hides.

:)

freakyclean
06-17-2004, 01:13 PM
You could also have it so one layer is collapsed or even clipped and then have it expand either by changing it's class or by changing it's attributes.