This is all using jQueryUI so here goes...
I have an accordion inside of a tab,
$("#adminNav").tabs({
load: function(event,ui){
$("#nodesMenu").accordion({
collapsible: true,
heightStyle: "fill",
header: "h3"
});
$(ui.panel).hijack();
}
});
Inside of the header (h3) I have a link which takes you to the edit
page for a particular item.. and it does, just not like I want it to
How would I intercept the href and have it come up in a div on the same
page (inside of the same tab).
notes: the accordion is in it's own div, next to that is the div that I
want the form to show up in..
If I remove the hijack() call then the link just opens and closes the
accordion.
here's my attempt to drill down to find the link and simply capture the
href in an alert box.. this doesn't even seem to fire..
$("#nodesMenu h3 div.linkRight a.activeClick").click(function() {
alert($(this).attr('href')) ;
return false;
});
I'm probably missing something simple... wouldn't be the first time :)
--
Scott Stewart
Adobe Certified Expert / Instructor
ColdFusion 8, 9
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353220
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm