Skip to main content

Search and Top Navigation

Ticket #5510: tabsBug.html

File tabsBug.html, 1.1 KB (added by pulpulpullie, April 13, 2010 11:35AM UTC)
<!DOCTYPE html PUBspanC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" >
		<link rel="stylesheet" href="css\smoothness\jquery-ui-1.8.custom.css" type="text/css" media="all" /> 
    <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="jquery-ui-1.8.custom.min.js"></script>
		<script type="text/javascript">
			$(function() {
					fx: { opacity: 'toggle' }
					$('#tabs a:eq(1)').click();
						$('#tabs a:eq(2)').click();
					}, 300);
	<div id="tabs">
			<li><a href="#tabs-1">tab 1</a></li>
			<li><a href="#tabs-2">tab 2</a></li>
			<li><a href="#tabs-3">tab 3</a></li>
		<div id="tabs-1">
			<p>tab 1 content</p>
		<div id="tabs-2">
			<p>tab 2 content</p>
		<div id="tabs-3">
			<p>tab 3 content</p>
	<button id="debugButton">debug button</button>

Download in other formats:

Original Format