Content Glider and Lighbox Conflict
1) Script Title:
Featured Content Glider
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...tentglider.htm
3) Describe problem:
Hi
I have a little problem.
I have two major pieces of javascript. There is the feature content glider and lightbox.
Now, when I place the 3 lightbox javascripts files AFTER the feature content glider in the <head>, lightbox works, but feature content glider doesnt.
The same is vice versa. When lightbox comes first, then feature content glider, feauture content glider works, but lightbox doesnt.
Here is the code::
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Black</title>
<link type="text/css" rel="stylesheet" href="global.css" media="screen">
<link rel="stylesheet" type="text/css" href="scripts/featuredcontentglider.css" />
<link rel="stylesheet" href="scripts/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="scripts/prototype.js"></script>
<script type="text/javascript" src="scripts/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="scripts/lightbox.js"></script>
<script type="text/javascript" src="scripts/jquery-1.2.2.pack.js"></script>
<script type="text/javascript" src="scripts/featuredcontentglider.js">
/***********************************************
* Featured Content Glider script- (c) Dynamic Drive DHTML code library ([url]www.dynamicdrive.com[/url])
* Visit [url]http://www.dynamicDrive.com[/url] for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
</script>
</head>
<body>
<div id="container">
<div id="stage">
<div id="header">
<h1>Black</h1>
<h2>Design</h2>
</div>
<div id = "nav">
<ul>
<li><h3><a href="about_us.html">about us</a></h3></li>
<li><h3><a href="portfolio.html">portfolio</a></h3></li>
<li><h3><a href="process.html">process</a></h3></li>
<li><h3><a href="contact_us.html">contact us</a></h3></li>
</ul>
</div>
<div id = "content">
<div id="web_col">
<div id="po_writing">
<h4 id="writing_heading">po</h4>
<h4><a href="web.html" id="selected">web </a>::<a href="design.html"> brand</a> ::<a href="test.html"> test</a></h4>
<script type="text/javascript">
featuredcontentglider.init({
gliderid: "portfolio_web_container", //ID of main glider container
contentclass: "client", //Shared CSS class name of each glider content
togglerid: "web_client_chooser", //ID of toggler container
selected: 0, //Default selected content index (0=1st)
persiststate: false, //Remember last content shown within browser session (true/false)?
speed: 700, //Glide animation duration (in milliseconds)
direction: "rightleft", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
autorotate: false, //Auto rotate contents (true/false)?
autorotateconfig: [3000, 2] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
})
</script>
<div id="portfolio_web_container" class="portfolio_web">
<div class="client">
<h5 class="h5_client">Blackmint Web Design & Development Scene</h5>
<p>Everyone bang bang</p>
<div id="client_images">
</div>
</div><!---ends glidecontent-->
<div class="client">
<h5 class="h5_client">Client 1 --- DMW's Dynamic Profiling</h5>
<p>Dynamic</p>
<div id="client_images">
<a href="images/dmw_but_1c.jpg" rel="lightbox[dmw_images]"><img src="images/dmw_but_1.jpg"/></a>
<a href="images/dmw_but_1c.jpg" rel="lightbox[dmw_images]"><img src="images/dmw_but_1.jpg"/></a>
<a href="images/dmw_but_1c.jpg" rel="lightbox[dmw_images]"><img src="images/dmw_but_1.jpg"/></a>
<a href="images/dmw_but_1c.jpg" rel="lightbox[dmw_images]"><img src="images/dmw_but_1.jpg"/></a>
<h4><a href="http://dy.com.au">:::::::::Visit Site:::::::::</a>
</div>
</div><!---ends "glidecontent"-->
</div> <!--ends "canada provinces"-->
<div id="web_client_chooser" class="web_client_nav">
<a href="#" class="prev">Prev</a>
<a href="#" class="toc">'web' intro</a> <a href="#" class="toc">client 1</a>
<a href="#" class="next">Next</a>
</div><!--ends "portfolio_writing"-->
</div><!--ends "right_col"-->
</div><!--"ends content"-->
</div><!--ends "stage"-->
</div><!--ends "container"-->
</body>
</html>
Any help would be greatly appreciated