close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

onclick blocked?

Thread began 11/30/2011 12:24 pm by Steve | Last modified 11/30/2011 1:20 pm by Steve | 1638 views | 3 replies

Steve

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:
<?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)) === && (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_thisFilestrlen($assumedRoot));
}
else {
    
$WA_thisFile substr($WA_thisFile1);
}
$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>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...