PDA

View Full Version : cant get link to open in same window


pipsdesign
08-14-2008, 11:50 AM
hi i cant seem to get the link on my buttons to open in the same window

my script is:

button1.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/ilpaesino_overview.php",_top);
};

button2.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/terranova_overview.php",_self);
};

button3.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/florence_overview.php",_blank);
};

as you can see i have tried them all and they all open in a new window

Paul Ferrie
08-14-2008, 01:29 PM
button1.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/ilpaesino_overview.php","_top");
};

button2.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/terranova_overview.php","_self");
};

button3.onRelease = function()
{
getURL("http://www.key4international.com/italia/developments/florence_overview.php","_blank");
};
:)

pipsdesign
08-14-2008, 01:49 PM
genius thanks

Paul Ferrie
08-14-2008, 01:54 PM
genius thanks

Note quite but getting there:p