Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Lightbox2 - need help (probably simple)
Old 05-28-2010, 11:35 AM Lightbox2 - need help (probably simple)
Junior Talker

Posts: 3
Name: Allison
Trades: 0
Hi everyone,

I'm trying to install the Lightbox2 script to my company's portfolio page at http://mktconnections.com/newsite/work/

and can't get it to work. The images are simply opening in a new window and currently I am only experimenting on one link, the "Advertising" link near the middle of the page.

I've checked my links to the css and js files and I believe they're fine. So I don't know what I'm doing wrong.

Any help would be much appreciated!

A simplified version of my page:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/newsite/work/lightbox/css/lightbox.css" type="text/css" media="screen" />
<!--[if IE 5]>
<style type="text/css"> 
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixLtHdr #sidebar1 { width: 230px; }
</style>
<![endif]--><!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->

<script type="text/javascript" src="/newsite/work/lightbox/js/prototype.js"></script>
<script type="text/javascript" src="/newsite/work/lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="/newsite/work/lightbox/js/lightbox.js"></script>

</head>

<body class="twoColFixLtHdr" onload="MM_preloadImages('../images/market-connections-orange-dot.png','../images/market-connections-signature-orange.png')…;initLightbox()">

  <a href="http://www.webmaster-talk.com/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','../images/market-connections-signature-orange.png',1)"><img src="http://www.webmaster-talk.com/images/market-connections-signature.png" name="home" width="122" height="62" border="0" style="float:right; margin-right:50px; margin-top:30px;"id="home" /></a>

    <a href="advertising/Our-State-ad.jpg" rel="lightbox[advertising]">Advertising</a>

</body>
</html>

Last edited by chrishirst; 05-30-2010 at 03:56 PM..
pineapplehead27 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Lightbox2 - need help (probably simple)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.63860 seconds with 12 queries