Hi,
I’m currently setting up a webpage that is using PHP to change the background picture of the site, so that when different pages are entered, the bg chosen from the previous page is sent through.
I’m using the GET to send the variable through. this is what my hrefs look like.
[COLOR=green]<a href=“index.php?bg=<?=$_GET[‘bg’];?>”> </a>[/COLOR]
The whole site works so far.
However I am trying to change the navigation menu to a flash swf. I have tried several ways of passing the variables on, but it just wont work.
I am currently trying the following.
//FLASH
services_btn.onRelease = function () {
getURL(“services.php”, “_self”, “GET”);
}
//PHP
<script type=“text/javascript”>
AC_FL_RunContent( ‘codebase’,‘http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0’,‘width’,‘250’,‘height’,‘305’,‘src’,‘include/nav’,‘quality’,‘high’,‘pluginspage’,‘http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash’,‘movie’,'include/nav’ ); //end AC code
</script><noscript><object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0” width=“250” height=“305”>
<param name=“movie” value=“include/nav.swf?bg[COLOR=darkred]=<?=$_GET[‘bg’];?>”>[/COLOR]
<param name=“quality” value=“high”>
<embed src=“include/nav.swf?bg[COLOR=darkred]=<?=$_GET[‘bg’];?>[/COLOR]” quality=“high” pluginspage=“http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash” type=“application/x-shockwave-flash” width=“250” height=“305”></embed>
</object></noscript>
Any help would be greatly appreciated.