New on DHTMLGoodies.com:
DHTML Chess is now available for WordPress at WordPressChess.com.
Aptabs
Submitted script - Author: Armel Pingault(Homepage)
Download script
You can download the entire script from this Zip file
Setup
Step 1: Include the css and javascript files
<script type="text/javascript" src="lib/prototype.js"></script>
<script type="text/javascript" src="src/aptabs.js"></script>
<link rel="stylesheet" type="text/css" href="css/aptabs.css" />
Step 2: Create your html
To create tags, the main <div> needs to feature the attribute class="apTabs"; you may also specify the width and height of the frame in the "style" attribute.
To create a new tab, you will only need to add a <h2> tag with the name of the tab followed by the tab content in a <div> tag.
Example:
<div class="apTabs" style="width:500px; height:100px">
<h2>Tab 1</h2>
<div>Tab content 1</div>
<h2>Tab 2</h2>
<div>Tab content 2</div>
<h2>Tab 3</h2>
<div>Tab content 3</div>
</div>
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
Timestamp: Wed, 31 Aug 2011 06:28:40 UTC
Message: 'down(...)' is null or not an object
Line: 223
Char: 3
Code: 0
URI: http://www.dhtmlgoodies.com/submitted-scripts/aptabs/src/aptabs.js
thanks!
Post your comment
Comment preview: