PDA

View Full Version : Stepcarousel problem...



mbr
06-13-2010, 06:08 PM
1) Script Title: Stepcarousel 1.8

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm

3) Describe problem: When i try to use stepcarousel with prettyPhoto jquery plugin (http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/) prettyPhoto no longer works... in separate work both...

http://scomserv.com/step/1.html
http://scomserv.com/step/2.html

first is working... second not...
the only difference is <script type="text/javascript" src="stepcarousel.js"></script>

-------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" />
<script src="jquery.prettyPhoto.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$(".glr").prettyPhoto({theme:'facebook'});
});
</script>

<script type="text/javascript" src="stepcarousel.js"></script>
</head>
<body>
<a href="http://www.google.com/search?ie=UTF-8&amp;oe=UTF-8&amp;q=prettyphoto&amp;iframe=true&amp;width=100%&amp;height=100%" rel="prettyPhoto[iframe]" class="glr">Google.ca</a>
</body>
</html>

ddadmin
06-13-2010, 07:44 PM
Inside stepcarousel.js, what happens if you comment out the below line:


//jQuery.noConflict()

mbr
06-13-2010, 08:27 PM
Hmm.. I guess that solves my problem :-)
Thanks a lot...