View Full Version : Accordion Content script, how to open in "target="_parent"?

06-30-2009, 11:25 AM
Accordion Content Script

Hi all, sorry to bother you with this, but I couldnt find anything when searching the forum.

I use the Accordion Content script menu for a golf tour site.
The menu is placed in an Iframe, so I only have to edit one file for menu changes.

I would like to open URLs when the expanding headers are clicked, using revealtype: "clickgo".

But I cant figure out how to set target to _parent. The script incist on opening the page in the iframe even with "target="_parent" added to the link.

Anyone who knows how to do it?

06-30-2009, 06:18 PM
Inside the .js file, try finding the below line, and adding to it the part in red:

setTimeout(function(){parent.location=targetLink.href}, 200) //ignore link target, as window.open(targetLink, targetLink.target) doesn't work in FF if popup blocker enabled