PDA

View Full Version : Tab Content



Comex
11-23-2011, 01:02 PM
Tab Content
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm


hello,

Can someone look at my source file let me know how to clean up my tab content box?

The font is not on top? I would also like to place a white background inside the text area and remove the slide show mode.

init(3000)

http://callcenterbuilding.com

Thank you in advance.

ddadmin
11-23-2011, 01:39 PM
To apply a white background to the content area, you'd simply use CSS, specifically, inside the outermost DIV container for the contents:


<div style="border:3px solid gray; width:640px; height: 210px; padding: 5px; margin-bottom:1em; background:white">

<div id="dog1" class="tabcontent">
"

To remove auto play feature, just remove the number passed into the .init() function inside the initialization code:


var mypets=new ddtabcontent("pettabs")
mypets.setpersist(true)
mypets.setselectedClassTarget("link")
mypets.init()

In general any style changes you wish to accomplish to the tabs can be done inside tabcontent.css