Search…

X3 Photo Gallery Support Forums

Search…
 
BrianG
Topic Author
Posts: 2
Joined: 29 Feb 2008, 11:01

customdata: link to current, not new browser window?

01 Mar 2008, 20:37

Hi, any way to stop the custom data link spawning a new browser window for the link? i.e. link to another page and displaying it withing the current browser window

the code below spawns a new browser window/tab when you click on it, i'd like it to stay in the current window/tab, if posssible?

customdata = <b>Continue</b> to main website
customdatalink = ../../index.html


cheers
B
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

02 Mar 2008, 23:15

Unfortunately, that is not possible. All requests for this feature were based on not closing the gallery application when opening a link.

You could easily change it by editing the slideshow.fla source file:

layer "controls", frame 3, line 132:
Code
getURL(config.customdatalink, "_blank");
... change to ...
Code
getURL(config.customdatalink, "_self");
 
BrianG
Topic Author
Posts: 2
Joined: 29 Feb 2008, 11:01

03 Mar 2008, 23:05

that sort's it nicely Karl :)

cheers
B