Hi there, I’m trying to patch script but I don’t know if that could be possible. I explain everything, I got a DHTML menu and behind I got a Flash movie, the problem is only happening in Safari (mac) the dhtml disappear behind the flash, because that’s a apple issue, I made 2 menus, 1 for Safari and other for the rest of the browsers, I got the first javascript that works fine, where I detect the browser:
[COLOR=DarkOliveGreen]<script language=”JavaScript”>
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf(“safari”) != -1) {
var path = “code_mac/”;
} else {
var path = “code/”;
}
</script>
And then the Javascript for the menu,
[COLOR=DarkRed]<script language=”JavaScript” vqptag=”datafile” [B][COLOR=Red]src = “code/menu.js”
What im trying to change is the src. I got 2 folders called “code” and “code_mac” both got a different menu.
Here are my questions– How can I change the [B]src = “code/menu.js”[B]“code_mac/menu.js”
Thanks in advance