-
PHP photo Album
1) Script Title:
PHP Photo Album
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...photoalbum.htm
3) Describe problem:
I love this script but two things would make it even better:
#1 when you click an image to enlarge it, the background on the pop up window is white ... I tried adding bgcolor=black but that didn't help
#2 also on the pop up window, is there a way to make sure the pic is centered from the left and right
Thanks!
-
-
I found this code on an unrelated topic, works well (replace this function)
function popuplinkfunc(imgsrc){
if (popupsetting[0]==1){
var desc=imgsrc.href.replace(/^.*\/([^\.]+)\..*/,'$1');
var popwin=open('', "popwin", popupsetting[1]);
popwin.document.write('<title>'+desc+
'<\/title><body style="margin:0;padding:0;font:85% sans-serif;text-align:'+
'center;overflow:auto;background-color:#0d576d;color:white;"><img title="'+
desc+'" alt="Larger Image" style="margin:2px 0;" src="'+imgsrc.href+'"><br>'+desc);
popwin.document.close();
popwin.focus();
return false;
}
else
return true;
}
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks