Need help! Trying to open an HTML page in SB

3 messages Options
Embed this post
Permalink
redgtsviper

Need help! Trying to open an HTML page in SB

Reply Threaded More More options
Print post
Permalink

First off, I am new to SB

I have a text link going to a page called form.php. All that is on my form.php is a simple form. How can I get this to work. I have a link to form.php and when clicked the page darkens but no box, and nothing shows up.

Thanks for any help
Diesel Interactive :: www.dieselinteractive.com
DFW Armory :: www.dfwarmory.com
DFW Firearms :: www.dfwfirearms.com
Jon Redfern

Re: Need help! Trying to open an HTML page in SB

Reply Threaded More More options
Print post
Permalink
In your <head> section:

<link rel="stylesheet" type="text/css" href="/shadowbox.css">
<script type="text/javascript" src="/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
    players:    ["iframe"]
});


In your <body> section:

a href="http://yourdomain.com/form.php" rel="shadowbox" title="Title you want displayed on top of shadowbox window">Text link to form.php


I had to take parts of the open & close tag off this to display as code instead of a link in the forum... dont forget to fix the tags if you cut & paste.
Bob L

Re: Need help! Trying to open an HTML page in SB

Reply Threaded More More options
Print post
Permalink
When I added this to the head it worked on my page but now the images will not open in SB.