Links inside flash automatically open in a new window or popup,
need to force them to open in the _self window as if it were a normal html link,

CommentFileSizeAuthor
#8 README.txt_8.patch1.28 KBsun

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not able to reproduce this behaviour with the latest sifr module on a clean Drupal 5.0 installation (only sifr.module activated).

sun’s picture

Status: Postponed (maintainer needs more info) » Fixed

Without further information I'm obliged to mark this fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)
rauenzahner’s picture

Status: Closed (fixed) » Active

Reopening this because it's a real bug.

I implemented sIFR to take over the links in my primary links - the first time you load the page it will open a new window - all subsequent navigation clicks in either window will direct the link to load in the opened window.

sun’s picture

Please look into your HTML page output and ensure that the mentioned sIFR headings have a target set and it is wrong. If that is true, this is an sifr.module issue. If not, this is an sIFR issue and can't be solved here.

sun’s picture

Status: Active » Postponed (maintainer needs more info)
james_ag’s picture

It is an sIFR issue, unfortunately. If no target is specified sIFR opens it in a target named "undefined".

The way to fix this is to open up dont_customize_me.as in Flash and change the following in the launchURL function:

change:
getURL(launchURL_anchor,launchURL_target);

to:
if ( launchURL_target != undefined )
getURL(launchURL_anchor,launchURL_target);
else
getURL(launchURL_anchor);

This will fix the problem.

sun’s picture

Assigned: Unassigned » sun
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.28 KB

Since we are not able to alter sIFR's action script, we can only add some troubleshooting info to README.TXT. Attached patch adds this info.

I need at least one more reviewer confirming that this solves the bug before I'll commit it.

sun’s picture

Title: Sifr Links opening in new window rather than _self » sIFR links opening in new window rather than _self
Status: Needs review » Fixed

Committed to all branches and Dynamic Rendering module.

Anonymous’s picture

Status: Fixed » Closed (fixed)