Old 19-03-2004, 10:39   #1 (permalink)
oli
I Call Shenanigans™
 
oli's Avatar
 
Join Date: Feb 2003
Location: Manchester, England.
Posts: 9,736
Weekly Standard Question ..

http://www.weeklystandards.com/

The box with the tabs that switches, how do you accomplish that ?
__________________
Linked In :: Last.fm :: Twitter
..................
  Reply With Quote
Old 19-03-2004, 11:20   #2 (permalink)
Mr Fred
Magazines™
 
Mr Fred's Avatar
 
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,354
skill.
  Reply With Quote
Old 19-03-2004, 11:22   #3 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
Quote:
Originally Posted by oli
http://www.weeklystandards.com/

The box with the tabs that switches, how do you accomplish that ?
He's using the DOM to change between display: block and display: none.
Code:
<ul> <li class="current"><a class="current" href="#">Whitstable Yacht Club</a></li> <li><a href="#" onmousedown="document.getElementById('StatsHeader').style.display ='block', document.getElementById('StatsBox').style.display ='block', document.getElementById('ImageHeader').style.display ='none', document.getElementById('ImageBox').style.display ='none'">Stats</a></li> </ul>

You can do it using pure css like this guy's done with his right hand column.
http://www.1976design.com/blog/
Play around with his stylesheet to see how it works.
__________________
That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.
  Reply With Quote
Old 19-03-2004, 11:23   #4 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
was goin to ask yesterday about www.studio.adobe.com
  Reply With Quote
Old 19-03-2004, 14:15   #5 (permalink)
oli
I Call Shenanigans™
 
oli's Avatar
 
Join Date: Feb 2003
Location: Manchester, England.
Posts: 9,736
cheers beers, Id prefer a css only method
__________________
Linked In :: Last.fm :: Twitter
..................
  Reply With Quote
Old 19-03-2004, 21:00   #6 (permalink)
Joewebber
Senior Member
 
Joewebber's Avatar
 
Join Date: Feb 2004
Location: Exeter
Posts: 773
whats with the text on that site. I can't read it. Someone should tell the designer
  Reply With Quote
Old 19-03-2004, 22:49   #7 (permalink)
roto
Floating libation anyone?
 
roto's Avatar
 
Join Date: Apr 2003
Location: El Barco del Amor
Posts: 4,642
Send a message via AIM to roto Send a message via Yahoo to roto
Quote:
Originally Posted by gray
was goin to ask yesterday about www.studio.adobe.com
I get scripting errors there, as well.
__________________
fun: HGC v.4 | last.fm: DT | me | oi! f*ck u roto: ...via meebo!

New to interweb design? Your friends at dt can help.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8