CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Ajax and Design (http://www.codingforums.com/forumdisplay.php?f=55)
-   -   ModalBox Help (http://www.codingforums.com/showthread.php?t=162532)

James Jobs 03-29-2009 07:05 PM

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

nomanic 03-29-2009 08:38 PM

no offence but you do have all these js files in a sub directory called includes right? sorry just checking

James Jobs 03-29-2009 08:40 PM

None taken, and yes there are all in /includes.

nomanic 03-29-2009 09:00 PM

have you tried it without the this.blur(); ? just to check it?

James Jobs 03-29-2009 10:04 PM

Yes it is still not working.

James Jobs 03-31-2009 08:17 AM

Any one else think they can help?


All times are GMT +1. The time now is 11:38 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.