140813A.txt
Code:
Image 1bc
Image2bc
Image3bc
Code:
function ajax(o,url){
var oop=this,html=false;
if (window.ActiveXObject){
try {
html=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e){
try {
html=new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e){
}
}
}
else if (window.XMLHttpRequest){
html=new XMLHttpRequest();
}
else {
return false;
}
html.onreadystatechange=function(){ ajaxpopulate(o,html); }
html.open('GET',url+'?'+new Date().getTime(),true);
try {
html.send(null);
}
catch (e){
}
}
function ajaxpopulate(o,html){
if (html.readyState==4&&(html.status==200||window.location.href.indexOf("http")==-1)){
o.desc=html.responseText.split('\n');
new phpimagealbum({
albumvar: myvacation, //ID of photo album to display (based on getpics.php?id=xxx)
dimensions: [3,2],
sortby: ["file", "asc"], //["file" or "date", "asc" or "desc"]
autodesc: "Photo %i", //Auto add a description beneath each picture? (use keyword %i for image position, %d for image date)
showsourceorder: true, //Show source order of each picture? (helpful during set up stage)
onphotoclick:function(thumbref, thumbindex, thumbfilename){
thumbnailviewer.loadimage(thumbref.src, "fit2screen")
}
})
}
}
ajax(myvacation,'140813A.txt');
Bookmarks