Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/03/2008, 17:27
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 6 meses
Puntos: 280
Re: Ayuda con control tab en css

Si te bajas estos dos archivos:
http://livepipe.net/downloads/control.tabs.2.0.0.RC2.js
http://livepipe.net/scripts/prototype.js

y guardas este html en la misma carpeta:

Cita:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Prueba</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script src="prototype.js"></script>
<script src="control.tabs.2.0.0.RC2.js"></script>
</head>
<body>
<ul id="tabs_example_one" class="subsection_tabs">
<li><a class="active" href="#one">One</a></li>
<li><a href="#two">Two</a></li>
</ul>
<div style="" id="one"><p>This is the simplest example of a set of tabs.</p></div>
<div style="display: none;" id="two"><p>Note that the styling for the tabs is done with CSS, not the Control.Tabs script.</p></div>
<script>
new Control.Tabs('tabs_example_one');
</script>
</body>
</html>
te debería funcionar sin problema.

Mikel.