# PHP navigation issue

**URL:** <https://forum.kirupa.com/t/php-navigation-issue/89972>\
**Category:** programming\
**Created:** [May 13, 2005, 5:12am UTC](https://forum.kirupa.com/t/php-navigation-issue/89972 "2005-05-13T05:12:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)\
**Post date:** [May 13, 2005, 5:12am UTC](https://forum.kirupa.com/t/php-navigation-issue/89972/1 "2005-05-13T05:12:50Z")

</div>

Hi  
Hope this makes sense?  
right, I have a swf movie in the header of a site. the movie is also a button and its function is to redirect the window to another site, say [http://www.themermaid.co.nz](http://www.themermaid.co.nz). I set up a geturl button in flash. seems straight forward? it worked for about a week and now it redirects the window to [http://www.splashclub.co.nz/http://www.themermaid.co.nz](http://www.splashclub.co.nz/http://www.themermaid.co.nz).  
why is it using the parent site to dictate the hyperlink??

would it pay to set up a link in the php page?  
is it pos and how?  
at the moment I cant link the table cell. If any one knows how to do this quite easily I would love to know the script method for this?

thanks all

\<SCRIPT LANGUAGE=JavaScript1.1\>  
\<!–  
var MM\_contentVersion = 5;  
var plugin = (navigator.mimeTypes && navigator.mimeTypes[“application/x-shockwave-flash”]) ? navigator.mimeTypes[“application/x-shockwave-flash”].enabledPlugin : 0;  
if ( plugin ) {  
var words = navigator.plugins[“Shockwave Flash”].description.split(" “);  
for (var i = 0; i \< words.length; ++i)  
{  
if (isNaN(parseInt(words\*)))  
continue;  
var MM\_PluginVersion = words\*;  
}  
var MM\_FlashCanPlay = MM\_PluginVersion \>= MM\_contentVersion;  
}  
else if (navigator.userAgent && navigator.userAgent.indexOf(“MSIE”)\>=0 && (navigator.appVersion.indexOf(“Win”) != -1)) {  
document.write(’\<SCR’ + 'IPT LANGUAGE=VBScript&gt;  
'); //FS hide this from IE4.5 Mac by splitting the tag  
document.write('on error resume next  
‘);  
document.write(‘MM\_FlashCanPlay = ( IsObject(CreateObject(“ShockwaveFlash.ShockwaveFlash.” & MM\_contentVersion)))  
‘);  
document.write(’\</SCR’ + ‘IPT&gt;  
‘);  
}  
if ( MM\_FlashCanPlay ) {  
document.write(’\<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”’);  
document.write(’ codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0)” ‘);  
document.write(’ ID=“flash5” width=“410” height=“62” ALIGN=”"\>’);  
document.write(’ \<PARAM NAME=movie VALUE=“movie5.swf”\> \<PARAM NAME=menu VALUE=false\> \<PARAM NAME=quality VALUE=high\> \<PARAM NAME=bgcolor VALUE=#000000\> ‘);  
document.write(’ \<EMBED src=“movie5.swf” menu=false quality=high bgcolor=#FFFFFF ‘);  
document.write(’ swLiveConnect=FALSE WIDTH=“410” HEIGHT=“62” NAME=“flash5” ALIGN=""’);  
document.write(’ TYPE=“application/x-shockwave-flash” PLUGINSPAGE=“[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)”\>’);  
document.write(’ \</EMBED\>’);  
document.write(’ \</OBJECT\>’);  
} else {  
document.write(’\<img alt=“Wellington and New Zealand wide” src=“images/banner.jpg” border=0 hspace=10\>’);  
}  
//–\>  
\</script\>
