StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-03-2008, 10:39 PM
dotman dotman is offline
Registered User
GenesisConnect
Pro Plus Member
 
Join Date: Nov 2008
Posts: 86
Default Custom Lightbox code breaks page

We had a marketing company create a pop-up using lightbox. it was tested on a plain html file, but when I try and add the javacripts to the header.php, home.php, or any template, it completely breaks the page.

What happens is the image that should appear in the popup appears above the header image, and the pop-up is empty. Here's the code we added to the test page. The scripts and all images are in a folder called "lightbox at the root. is there anyway to get this to work with the theme/wordpress? Really appreciate any help.

<link rel="stylesheet" type="text/css" href="lightbox/styles.css" />
<script type="text/javascript" src="lightbox/jquery-latest.pack.js"></script>
<script type="text/javascript" src="lightbox/thickbox-compressed.js"></script>
<script type="text/javascript" src="lightbox/script.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="lightbox/thickbox.css" />

Thanks,
Doug
 

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to put Aweber Lightbox code RobinWill General Discussion 1 12-03-2010 12:04 AM
Where to put code for a lightbox form? britne8 General Discussion 2 11-21-2009 06:09 PM
Adding Lightbox to custom field value skematik1906 General Discussion 5 02-05-2009 06:34 PM


All times are GMT -5. The time now is 12:04 AM.

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