transmute73
11-05-2009, 09:24 AM
1) Script Title: Featured content glider
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm
3) Describe problem: I've installed the script but I'm unable to find a way of creating the 'slideshow' effect where it cycles through the 'frames' untill the user clicks on one of the frames? Mine stops after the initial glide between frame image 1 and 2.
I've replaced the standard js glider effect with a fade in version as found on this thread:
http://www.dynamicdrive.com/forums/blog.php?b=7
Please can someone tell me where I've gone wrong and I'm new at this.
Here's the page code I've used, js and css are also being used as described :
<!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" />
<title>Untitled Document</title>
<! ------- Content glider -------- >
<link href="featuredcontentglider.css" rel="stylesheet" type="text/css" />
<link href="cssbuttonstoggler.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="featuredcontentglider.css" />
<script type="text/javascript" src="featuredcontentglider.js">
/***********************************************
* Featured Content Glider script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
</script>
<! ----- content glider head stop -------->
</head>
<body>
<! ----- Content glider table start ---------->
<table width="595" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<script type="text/javascript">
featuredcontentglider.init({
gliderid: "onestream_banner", //ID of main glider container
contentclass: "glidecontent", //Shared CSS class name of each glider content
togglerid: "p-select", //ID of toggler container
remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable
selected: 0, //Default selected content index (0=1st)
persiststate: false, //Remember last content shown within browser session (true/false)?
speed: 500, //Glide animation duration (in milliseconds)
direction: "leftright", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
autorotate: true, //Auto rotate contents (true/false)?
autorotateconfig: [3000, 0] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
})
</script>
<div id="onestream_banner" class="glidecontentwrapper">
<div class="glidecontent">
<img src="images/flashtest1.jpg" style="float: left; padding: 0px" />
</div>
<div class="glidecontent">
<img src="images/flashtest2.jpg" style="float: right; padding: 0px"/>
</div>
<div class="glidecontent">
<img src="images/flashtest3.jpg" style="float: left; padding: 0px"/>
</div>
</div>
<div id="p-select" class="cssbuttonstoggler">
<a href="#" class="toc"><span>1</span></a> <a href="#" class="toc"><span>2</span></a> <a href="#" class="toc"><span>3</span></a>
<a href="#" class="prev"><span>Back</span></a> <a href="#" class="next"><span>Foward</span></a>
</div>
</td>
</tr>
</table>
<! ----- Content glider table end ---------->
</body>
</html>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm
3) Describe problem: I've installed the script but I'm unable to find a way of creating the 'slideshow' effect where it cycles through the 'frames' untill the user clicks on one of the frames? Mine stops after the initial glide between frame image 1 and 2.
I've replaced the standard js glider effect with a fade in version as found on this thread:
http://www.dynamicdrive.com/forums/blog.php?b=7
Please can someone tell me where I've gone wrong and I'm new at this.
Here's the page code I've used, js and css are also being used as described :
<!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" />
<title>Untitled Document</title>
<! ------- Content glider -------- >
<link href="featuredcontentglider.css" rel="stylesheet" type="text/css" />
<link href="cssbuttonstoggler.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="featuredcontentglider.css" />
<script type="text/javascript" src="featuredcontentglider.js">
/***********************************************
* Featured Content Glider script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
</script>
<! ----- content glider head stop -------->
</head>
<body>
<! ----- Content glider table start ---------->
<table width="595" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<script type="text/javascript">
featuredcontentglider.init({
gliderid: "onestream_banner", //ID of main glider container
contentclass: "glidecontent", //Shared CSS class name of each glider content
togglerid: "p-select", //ID of toggler container
remotecontent: "", //Get gliding contents from external file on server? "filename" or "" to disable
selected: 0, //Default selected content index (0=1st)
persiststate: false, //Remember last content shown within browser session (true/false)?
speed: 500, //Glide animation duration (in milliseconds)
direction: "leftright", //set direction of glide: "updown", "downup", "leftright", or "rightleft"
autorotate: true, //Auto rotate contents (true/false)?
autorotateconfig: [3000, 0] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
})
</script>
<div id="onestream_banner" class="glidecontentwrapper">
<div class="glidecontent">
<img src="images/flashtest1.jpg" style="float: left; padding: 0px" />
</div>
<div class="glidecontent">
<img src="images/flashtest2.jpg" style="float: right; padding: 0px"/>
</div>
<div class="glidecontent">
<img src="images/flashtest3.jpg" style="float: left; padding: 0px"/>
</div>
</div>
<div id="p-select" class="cssbuttonstoggler">
<a href="#" class="toc"><span>1</span></a> <a href="#" class="toc"><span>2</span></a> <a href="#" class="toc"><span>3</span></a>
<a href="#" class="prev"><span>Back</span></a> <a href="#" class="next"><span>Foward</span></a>
</div>
</td>
</tr>
</table>
<! ----- Content glider table end ---------->
</body>
</html>