> I found a ID attribute that wasn't being used in the example. But it only
> applies an ID to the HREF tag which triggers the switch, not to the "page"
> itself.
>
> Anyone have an idea?

The call to the "switching" JavaScript call looks like this whenever is 
called within the <a> tag:

tmt_tabSwitch(this, 'tmtTabselected')

As soon as you assign an id attribute to the <a> tag (the way you already 
discovered), you can call it like this from wherever you want:

tmt_tabSwitch(document.getElementById('yourID', 'tmtTabselected')

The only requirement is that the first argument passed to tmt_tabSwitch is 
the relevant <a> tag as DOM node.
Hope it will help

----------------------------
Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
----------------------------


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245419
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to