Pictures

 

these are pictures and a photo script (free to church) I want to sell.

please do not take them. thanks. I need the income right now. will sell usage of photos later for $10/photo (free to church). for now $10/script instance (free to church).

defects removed. customize and copy with ctrl-C, paste code into notepad or faviorite HTML editor.



<style>
.cyan {
	background-color:#5dd;
	border-radius:8px;
}
</style>
<h2 id="misc">Misc</h2>
<div>Photos 2007,2008 Jim Michaels</div>
<form>
<input class="cyan" type="button" value="Previous" onclick="misc.prev()">
<input class="cyan" type="button" value="Next" onclick="misc.next()">
<input class="cyan" type="button" value="Slideshow on/off" onclick="misc.slideshow()"><br>
<table>
<tr><td><div id="miscdesc" style="font-weight:bold;border-top-width:thin;border-top-style:solid;border-top-color:#000;"></div></td></tr>
<tr><td style="height:480px; vertical-align:bottom;"><img id="miscpic" src="" alt=""></td></tr>
</table>
<script>
//probably only works for limited number of photos.
function miscClass(className) {
    this.i=0;
    this.tid=0;
    this.idDesc=className+"desc";
    this.idPic=className+"pic";
    this.srcs=[];
    this.alts=[];
    this.switchimg=function() {
        //switch image
        document.getElementById(this.idDesc).innerHTML = this.alts[this.i];
        document.getElementById(this.idPic).setAttribute('src', this.srcs[this.i]);
    }
    this.next=function() {
        this.i++;
        this.i%=this.srcs.length;
        this.switchimg();
    }//API function
    this.prev=function() {
        this.i--;
        if (this.i<0) {
            this.i=this.srcs.length-1;//last item in list, wrap around from end
        }
        this.switchimg();
    }//API function
    this.slideshow=function() {
        if (this.tid==0) {
            this.tid=window.setInterval("misc.next()", 3*1000);
        } else {
		window.clearInterval(this.tid);
		this.tid=0;
	}
    }//API function
    this.constructor=function() {
        //start user pix
this.srcs.push("cookies/PICT0431-cropped.jpg"); this.alts.push("peanut butter cookie");
this.srcs.push("cookies/PICT0433-cropped.jpg"); this.alts.push("chocolate chunk cookie");
this.srcs.push("cookies/PICT0434-cropped.jpg"); this.alts.push("macadamia white chocolate cookie");
        //end user pix
            this.switchimg();	    
    }//API function
    this.constructor();//
}
var misc = new miscClass("misc");
</script>
</form>

another model of the code, harder ro use, earlier edition:

<style>
.cyan {
	background-color:#5dd;
	border-radius:8px;
}
</style>
<h2 id="misc">Misc</h2>
<div>Photos 2010 Jim Michaels</div>
<form>
<input class="cyan" type="button" value="Previous" onclick="switchprevmiscimg()">
<input class="cyan" type="button" value="Next" onclick="switchnextmiscimg()">
<input class="cyan" type="button" value="Slideshow on/off" onclick="miscslideshow()"><br>
<table>
<tr><td><div id="ducksdesc" style="font-weight:bold;border-top-width:thin;border-top-style:solid;border-top-color:#000;"></div></td></tr>
<tr><td style="height:480px; vertical-align:bottom;"><img id="miscid" src="" alt=""></td></tr>
</table>
</form>
<script>
var nducks=0,duckstid=0;
function switchducksimg() {
    var srcs = [];
    var alts = [];
    srcs.push("cabbage-farm/DSCN0032.JPG"); alts.push("cabbage farm in OR");
    srcs.push("cabbage-farm/DSCN0034.JPG"); alts.push("cabbage farm in OR");
    srcs.push("cabbage-farm/DSCN0035.JPG"); alts.push("cabbage farm in OR");
    srcs.push("ducks/DSCN0117.JPG"); alts.push("ducks");
    srcs.push("ducks/DSCN0118.JPG"); alts.push("ducks");
    srcs.push("ducks/DSCN0119.JPG"); alts.push("ducks");
    srcs.push("ducks/DSCN0120.JPG"); alts.push("ducks");
    srcs.push("ducks/DSCN0121.JPG"); alts.push("ducks");
    srcs.push("ducks/DSCN0122.JPG"); alts.push("ducks");
    srcs.push("ducks/DSCN0125.JPG"); alts.push("ducks");
    srcs.push("ducks/DSCN0126.JPG"); alts.push("ducks");
    srcs.push("ducks/DSCN0127.JPG"); alts.push("ducks");
    srcs.push("Mount-Hood/DSCN0019.JPG"); alts.push("Mount Hood, OR");
    srcs.push("Mount-Hood/DSCN0023.JPG"); alts.push("Mount Hood, OR");
    srcs.push("Mount-Hood/DSCN0024.JPG"); alts.push("Mount Hood, OR");
    srcs.push("Mount-Hood/DSCN0090.JPG"); alts.push("Mount Hood, OR");
    srcs.push("Mount-Hood/DSCN0102.JPG"); alts.push("Mount Hood, OR");
    srcs.push("squirrels/squirrel-facing-forward.JPG"); alts.push("Squirrels: squirrel facing forward");
    srcs.push("squirrels/squirrel-facing-me.JPG"); alts.push("Squirrels: squirrel facing me");
    srcs.push("sunsets/DSCN0099.JPG"); alts.push("sunsets");
    srcs.push("sunsets/DSCN0100.JPG"); alts.push("sunsets");
    srcs.push("sunsets/DSCN0101.JPG"); alts.push("sunsets");
    srcs.push("cantsell/beach-and-sky1-640.png"); alts.push("beach and sky1");
    srcs.push("cantsell/beach2-640.png"); alts.push("beach2");
    srcs.push("cantsell/beach3-640.png"); alts.push("beach3");
    srcs.push("cantsell/sunset3-640.png"); alts.push("sunset3");
    srcs.push("cantsell/sunset5-640.png"); alts.push("sunset5");
    srcs.push("cantsell/sunset6-640.png"); alts.push("sunset6");
    srcs.push("cantsell/sunset8-640.png"); alts.push("sunset8");
    //make sure n is within range
    while (nducks < 0) { nducks += srcs.length; }
    if (nducks+1 > srcs.length) {nducks %= srcs.length;}
    //switch image
	document.getElementById('ducksdesc').innerHTML = alts[nducks];
    document.getElementById('ducksid').setAttribute('src', srcs[nducks]);
}
function switchnextducksimg() { 
    nducks++; 
    switchducksimg(); 
}
function switchprevducksimg() { 
    nducks--; 
    switchducksimg(); 
}
function ducksslideshow() {
	if (duckstid==0) {
		duckstid=window.setInterval("switchnextducksimg()",3*1000);
	} else {
		window.clearInterval(duckstid);
		duckstid=0;
	}
}
switchducksimg();
</script>

Miscellaneous Photos

Photos 2007,2008 Jim Michaels

Pictures for sale

Photos 2007,2008 Jim Michaels

ducks

Photos 2010 Jim Michaels

Pictures for sale - Roses series

Photos 2010 Jim Michaels

Trip from Vancouver, WA to Cut Bank, Montana

Photos 2010 Jim Michaels

images and videos 2007-2010,2013 Jim Michaels.

disk under water C60 buckyball via POV-RAY