...

View Full Version : ModalBox Help



James Jobs
03-29-2009, 07:05 PM
I have found a script called "ModalBox" From http://➡.ws/﵊筨.

After reading the Reference page I worte this 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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum