Advertisement

How To: Preselect Tab/Div for Dynamically loaded articles

Moderators: Calcifer, slothy

How To: Preselect Tab/Div for Dynamically loaded articles

Postby Alexx » Wed Dec 22, 2010 10:23 pm

http://www.dhtmlgoodies.com/index.html? ... icArticles

I love the script, already implemented it as well. I have toyed with js but still can't seem to have it pre-select tab/div 1 on load instead of the blank screen it does normally. If you see the example I think that will be more clear, I'm not the best explainer.

So basically in the example when you click the first tab called "This is article one" and the box goes blue, I'm trying to have that on page load.


I will continue to work on this the rest of the week, I'm running PHP through it so the going is slow but if I find something that will help someone else in the future with this problem I will definitely post it. Appreciate the script in the first place as well, easy to edit and integrate with.
Alexx
 
Posts: 12
Joined: Mon Jul 27, 2009 5:08 am

Return to PHP

Who is online

Users browsing this forum: No registered users and 1 guest

cron