Jump to content

Search the Community

Showing results for tags 'pop-up suppresion'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Calendars

  • Community Calendar

Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. Please open to this page and click on the image. It will open to another page whereupon two pop-up light boxes will appear. The goal of the following code is to suppress the pop-ups when, and only when, the image is clicked. Obviously it fails. .htaccess File <IfModule mime_module> <Files overview.html> AddType application/x-httpd-ea-php56 .php .html </Files> </IfModule> this page - http://www.grammarcaptive.com/single_payment_acknowledgment.php <?php session_start(); $_SESSION['perform_nav'] = 1; ?> Target Page - http://www.grammarcaptive.com/overview.html <?php session_start(); ?> <script> var navtype = <?php echo $_SESSION['perform_nav']?>; if(typeof navtype != "undefined" && navtype !== null) { performance.navigation.type === 1; } </script> The Javascript - http://www.grammarcaptive.com/_utilities/javascript/overview.js if (performance.navigation.type === 0) { $.colorbox({opacity: '0.70', transition: 'elastic', speed: 700, width: 700, height: 'auto', scrolling: false, html:"<div id='welcome_slide'> <table> <tr> <td width=250 height='auto'> <img src='_images/freed_captive.png' height=200 width=200 /> </td> <td width=450 height='auto'> <h1>Hi!</h1><h2>My name is Roddy.</h2> <p class='welcome'>This is your gateway out of the prison of bad grammar.</p><p>Let me show you to the final gate!</p></td> </tr> </table> </div>", onClosed: function() { $("iframe.splash").colorbox({iframe: true, fastiframe: false, fixed: false, opacity: "0.65", open: true, rel: 'sweet', width: 700, height: 450, closeButton: true, href: function(){ var href = $(this).attr('src'); return href; } }); }}); } REQUEST: Can you suggest any adjustment that might produce the desired effect? Roddy
×