onclick blocked?
I have an onclick event that does the basic open new window event but it does not work in the CSS Menu environment. onMouseOver works in the same environment...
The function is present and I can not see why it would not work...
live page: branding.php
<?php
$WA_localRoot = "/";
$WA_remoteRoot = "/";
$WA_curURL = strtolower((isset($_SERVER["PHP_SELF"]))?$_SERVER["PHP_SELF"]:"");
$assumedRoot = $WA_remoteRoot;
if (strpos($WA_curURL,strtolower($WA_localRoot)) === 0 && (strlen($WA_localRoot) >= strlen($WA_remoteRoot) || strpos($WA_curURL,strtolower($WA_localRoot)) === 0)) {
$assumedRoot = $WA_localRoot;
}
$WA_thisFile = $_SERVER['PHP_SELF'];
if (strpos(strtolower($WA_thisFile), strtolower($assumedRoot)) === 0) {
$WA_thisFile = substr($WA_thisFile, strlen($assumedRoot));
}
else {
$WA_thisFile = substr($WA_thisFile, 1);
}
$WA_ddsArray = explode("/", $WA_thisFile);
$WA_dotDotSlash = "";
for ($n=0; $n<sizeof($WA_ddsArray)-1; $n++) {
$WA_dotDotSlash .= "../";
}
?>
<ul class="level-0" id="cssmw">
<li><a href="<?php echo($assumedRoot); ?>index.php">Home</a></li>
<li class="parent"><a href="#">Our Phones</a>
<ul class="level-1">
<?php do { ?>
<li><a href="<?php echo($assumedRoot); ?>product.php?prodId=<?php echo $row_rs_products['id']; ?>"><?php echo $row_rs_products['productname']; ?></a></li>
<?php } while ($row_rs_products = mysql_fetch_assoc($rs_products)); ?>
</ul>
</li>
<li><a href="#" onclick="MM_openBrWindow('fastTrac.php','RPF','width=662,height=668')">Rapid Product Selector</a></li>
<li><a href="<?php echo($assumedRoot); ?>branding.php">Custom Branding</a></li>
<li><a href="<?php echo($assumedRoot); ?>order.php">Order Phones</a></li>
<li><a href="<?php echo($assumedRoot); ?>newsletter.php">Newsletter</a></li>
<li><a href="<?php echo($assumedRoot); ?>fcc.php">FCC</a></li>
<li><a href="<?php echo($assumedRoot); ?>dealerLogin.php">Dealer Login</a></li>
</ul>
<script type="text/javascript">if(window.attachEvent) { window.attachEvent("onload", function() { cssmw.intializeMenu('cssmw',{select_current: 0, orientation: 1}); }); } else if(window.addEventListener) { window.addEventListener("load", function() { cssmw.intializeMenu('cssmw',{select_current: 0, orientation: 1}); }, true); }</script>