Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: ModalBox Help

  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    22
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Exclamation ModalBox Help

    I have found a script called "ModalBox" From http://➡.ws/﵊筨.

    After reading the Reference page I worte this code.

    Code:
    The CSS
    <link rel="stylesheet" href="includes/modalbox.css" type="text/css" 
    media="screen" />
    
    The JS
    <script type="text/javascript" src="includes/prototype.js"></script>
    <script type="text/javascript" src="includes/scriptaculous.js?  
        load=builder,effects"></script>
    <script type="text/javascript" src="includes/modalbox.js"></script>
    
    Body
    
    <p><a href="reviews.html" title="Our Reviews" onclick="this.blur(); Modalbox.show(this.href, {title: 'Our Reviews', width: 600}); return false;"><span>Start Demo</span></a></p>
    But when I try it it just goes to /reviews.html

  2. #2
    Regular Coder nomanic's Avatar
    Join Date
    Feb 2009
    Location
    United Kingdom
    Posts
    287
    Thanks
    10
    Thanked 33 Times in 33 Posts
    no offence but you do have all these js files in a sub directory called includes right? sorry just checking

  3. #3
    New Coder
    Join Date
    Jan 2009
    Posts
    22
    Thanks
    6
    Thanked 0 Times in 0 Posts
    None taken, and yes there are all in /includes.

  4. #4
    Regular Coder nomanic's Avatar
    Join Date
    Feb 2009
    Location
    United Kingdom
    Posts
    287
    Thanks
    10
    Thanked 33 Times in 33 Posts
    have you tried it without the this.blur(); ? just to check it?

  5. #5
    New Coder
    Join Date
    Jan 2009
    Posts
    22
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Yes it is still not working.
    Last edited by James Jobs; 03-29-2009 at 11:31 PM.

  6. #6
    New Coder
    Join Date
    Jan 2009
    Posts
    22
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Any one else think they can help?


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •