Page 1 of 1

How To: Preselect Tab/Div for Dynamically loaded articles

PostPosted: Wed Dec 22, 2010 10:23 pm
by Alexx
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.