Thanks, I appreciate the help but I still cant get this to work.
Have tried every combination but no joy.
Ive gone through the code I am using
jquery-1.3.2.min.js
jquery.cycle.all.min.js
homeslider.js was where the code to action this is but can go on the page - see below
$(document).ready(function(){
$('#slideshow').cycle({
fx: 'fade',
speed: 'slow',
timeout: 5000,
pager: '#slider_nav',
pagerAnchorBuilder: function(idx, slide) {
// return sel string for existing anchor
return '#slider_nav li:eq(' + (idx) + ') a';
}
});
});
In addition to this Im also working with standard javascript that comes with modx:
mootools.js
and
drop_down_menu.js
So is this how it should be as it isnt working for me.
<!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>
<title>[*title*]</title>
<meta name="keywords" content="[*keywords*] "/>
<meta name="description" content="[*description*] "/>
<meta http-equiv="Content-Type" content="text/html; charset=[(modx_charset)]" />
<link rel="canonical" href="[(site_url)][~[*id*]~]" />
<base href="[(site_url)]" /></base>
<link rel="stylesheet" href="assets/templates/express/layout.css" type="text/css" media="screen" />
<link rel="stylesheet" href="assets/templates/express/modxmenu2.css" type="text/css" media="screen" />
<link rel="stylesheet" href="assets/templates/express/form.css" type="text/css" media="screen" />
<link rel="stylesheet" href="assets/templates/express/modx.css" type="text/css" media="screen" />
<link rel="stylesheet" href="assets/templates/express/print.css" type="text/css" media="print" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="[(site_url)][~11~]" />
<script src="manager/media/script/mootools/mootools.js" type="text/javascript"></script>
<script src="assets/templates/express/drop_down_menu.js" type="text/javascript"></script>
<script type="text/javascript" src="assets/templates/express/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="assets/templates/express/jquery.cycle.all.min.js"></script>
<script type="text/javascript"> $.noConflict(); $(document).ready(function(){
$('#slideshow').cycle({
fx: 'fade',
speed: 'slow',
timeout: 5000,
pager: '#slider_nav',
pagerAnchorBuilder: function(idx, slide) {
// return sel string for existing anchor
return '#slider_nav li:eq(' + (idx) + ') a';
}
});
// </script>
<script type="text/javascript" src="assets/templates/express/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="assets/templates/express/jquery.cycle.all.min.js"></script>
</head>
<body>
<div id="container">
<div class="header">
[*top-header*]
<div class="clear"></div>
<div id="ajaxmenu"> [[Wayfinder?startId=`0` &outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &rowTpl=`mh.RowTpl` &innerRowTpl=`mh.InnerRowTpl` &firstClass=`first` &hereClass=``]] </div>
</div>
<div class="clear"></div>
<div class="clear"></div>
<div class="top-content">
<div id="left">[*left-boxes-home*]</div
<div id="slideshow">
<div class="slider-item"><a href="bifoldingdoors.html"target="blank"><img src="assets/images/gallery/top1.jpg" alt="bi-folding doors,folding doors" width="710" height="360" border="0"
/></a></div>
<div class="slider-item"><a href="patio_doors.html" target="blank"><img src="assets/images/gallery/top2.jpg" alt="sliding doors, patio doors" width="710" height="360" border="0" /></a></div>
<div class="slider-item"><a href="bifoldingdoors.html"target="blank"><img src="assets/images/gallery/top3.jpg" alt="bifolding doors,sliding doors, patio doors,composite doors" width="710" height="360" border="0" /></a></div>
<div class="slider-item"><a href="bifoldingdoors.html"target="blank"><img src="assets/images/gallery/top4.jpg" alt="bifolding doors,sliding doors, patio doors,composite doors"width="710" height="360" border="0" /></a></div>
<div class="slider-item"><a href="bifoldingdoors.html"target="blank"><img src="assets/images/gallery/top5.jpg" alt="bifolding doors,sliding doors, patio doors,composite doors"width="710" height="360" border="0" /></a></div>
</div>
</div>
[*topContent*]
</div>
</div>
[*#content*]
<div class="clear"></div>
</div>
<div id="footer">
[*footer*]
</div>
</div>
</body>
</html>