PDA

View Full Version : loadajaxpage and deselect tabs



moyger
09-09-2008, 06:55 PM
1) Script Title:
Ajax Tabs Content
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm
3) Describe problem:

Hello all, please i need help with this one. I've used loadajaxpage to load a page within a container however after that, I still get a highlighted tab selected. How can I disable this? Because generally, the content doesnt belong to that section anymore or to that tab.



var countries=new ddajaxtabs("tabs", "countrydivcontainer")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
countries.loadajaxpage('pokerroom.html')




http://www.digitalmohawk.org/docs/loadajaxpage_problem.jpg

Please help me:(

ddadmin
09-10-2008, 06:56 AM
Are you basically asking how to disable the "selected" tab look altogether?

moyger
09-10-2008, 08:24 AM
Not really disable the tabs, but just remove the highlights. Because what i did is i loaded an html page using loadajaxpage function but after that, i want the tabs unhighlighted. Hope you could help me. Thanks for the reply!!!