ddadmin - Try as I may, I cannot get the status to increment. I have used a brief test html page (copied below). For testing clarity, I have left the standard simplegallery.js as named whilst renaming the modified version to simplegallery_mod.js.
If I run with simplegallery.js, the status increments, if I swap script to simplegallery_mod.js everything works except the increment.
If you can find the time, do you have any idea as to what may be causing this problem? I re-downloaded the mod file today and still no difference.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript" src="../jquery/jquery-1.3.2.js"></script>
<style type="text/css">
#simplegallery1{ //CSS for Simple Gallery Example 1
position: relative; /*keep this intact*/
visibility: hidden; /*keep this intact*/
border: 10px solid darkred;
}
</style>
<script type="text/javascript" src="simplegallery_mod.js">
<!--<script type="text/javascript" src="simplegallery.js">-->
/***********************************************
* Simple Controls Gallery- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new simpleGallery({
wrapperid: "simplegallery1",
dimensions: [250, 180],
imagearray: [
["http://i26.tinypic.com/11l7ls0.jpg", "http://en.wikipedia.org/wiki/Swimming_pool", "_new", "There's nothing like a nice swim in the Summer."],
["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "", ""],
["http://i30.tinypic.com/531q3n.jpg", "", "", "Eat your fruits, it's good for you!"],
["http://i31.tinypic.com/119w28m.jpg", "", "", ""]
],
autoplay: [false, 2500, 2],
persist: false,
fadeduration: 500,
oninit:function(){},
onslide:function(curslide, i){
}
})
</script>
<body>
<div id="simplegallery1"></div>
</body>
Bookmarks