Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-29-2009, 07:05 PM   PM User | #1
James Jobs
New Coder

 
Join Date: Jan 2009
Posts: 22
Thanks: 6
Thanked 0 Times in 0 Posts
James Jobs has a little shameless behaviour in the past
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
James Jobs is offline   Reply With Quote
Old 03-29-2009, 08:38 PM   PM User | #2
nomanic
Regular Coder

 
nomanic's Avatar
 
Join Date: Feb 2009
Location: United Kingdom
Posts: 252
Thanks: 9
Thanked 33 Times in 33 Posts
nomanic is an unknown quantity at this point
no offence but you do have all these js files in a sub directory called includes right? sorry just checking
nomanic is offline   Reply With Quote
Old 03-29-2009, 08:40 PM   PM User | #3
James Jobs
New Coder

 
Join Date: Jan 2009
Posts: 22
Thanks: 6
Thanked 0 Times in 0 Posts
James Jobs has a little shameless behaviour in the past
None taken, and yes there are all in /includes.
James Jobs is offline   Reply With Quote
Old 03-29-2009, 09:00 PM   PM User | #4
nomanic
Regular Coder

 
nomanic's Avatar
 
Join Date: Feb 2009
Location: United Kingdom
Posts: 252
Thanks: 9
Thanked 33 Times in 33 Posts
nomanic is an unknown quantity at this point
have you tried it without the this.blur(); ? just to check it?
nomanic is offline   Reply With Quote
Old 03-29-2009, 10:04 PM   PM User | #5
James Jobs
New Coder

 
Join Date: Jan 2009
Posts: 22
Thanks: 6
Thanked 0 Times in 0 Posts
James Jobs has a little shameless behaviour in the past
Yes it is still not working.

Last edited by James Jobs; 03-29-2009 at 10:31 PM..
James Jobs is offline   Reply With Quote
Old 03-31-2009, 08:17 AM   PM User | #6
James Jobs
New Coder

 
Join Date: Jan 2009
Posts: 22
Thanks: 6
Thanked 0 Times in 0 Posts
James Jobs has a little shameless behaviour in the past
Any one else think they can help?
James Jobs is offline   Reply With Quote
Reply

Bookmarks

Tags
modalbox

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:39 AM.


Advertisement
Log in to turn off these ads.