Lambo
12-29-2002, 02:30 AM
Hi,
I'm trying to make a kinda....... default javascript that'll run all my photo gallerys for the digital camera I though I was gonna get for my Christmas(instead I got a toolkit and some tupperware :D)....... ok..... the page so far is:
http://www.nerocheese.free-online.co.uk/lizzie/gal_liz.html
and the source for the javascript is:http://www.nerocheese.free-online.co.uk/lizzie/gal.js
the idea being these'd use different .css files.
The problem I'm having is with opening up the large images in the popup window...... works fine enough for now in IE........ but wont work in Netscape (I've tested it in 6.2.1)..... I THINK the problem is maybe with evaluting with image to show :S...... I used a code taken from the webxpertz.com FAQ page (http://www.webxpertz.com/forums/showthread.php3?s=&threadid=17456) and...... I don't really understand it :S......
var keyvals = location.search.substring(1).split("&");
var search = new Object();
for (var i = 0; i < keyvals.length; i++) {
var temp = keyvals[i].split("=");
temp[1] = temp[1].split("+").join(" ");
search[temp[0]] = unescape(temp[1]);
anyone kow what I'm missing :S
oh and I'm using the scripts from: http://home.uleth.ca/man/photo/shimazaki/index.shtml
thanks
Lambo
I'm trying to make a kinda....... default javascript that'll run all my photo gallerys for the digital camera I though I was gonna get for my Christmas(instead I got a toolkit and some tupperware :D)....... ok..... the page so far is:
http://www.nerocheese.free-online.co.uk/lizzie/gal_liz.html
and the source for the javascript is:http://www.nerocheese.free-online.co.uk/lizzie/gal.js
the idea being these'd use different .css files.
The problem I'm having is with opening up the large images in the popup window...... works fine enough for now in IE........ but wont work in Netscape (I've tested it in 6.2.1)..... I THINK the problem is maybe with evaluting with image to show :S...... I used a code taken from the webxpertz.com FAQ page (http://www.webxpertz.com/forums/showthread.php3?s=&threadid=17456) and...... I don't really understand it :S......
var keyvals = location.search.substring(1).split("&");
var search = new Object();
for (var i = 0; i < keyvals.length; i++) {
var temp = keyvals[i].split("=");
temp[1] = temp[1].split("+").join(" ");
search[temp[0]] = unescape(temp[1]);
anyone kow what I'm missing :S
oh and I'm using the scripts from: http://home.uleth.ca/man/photo/shimazaki/index.shtml
thanks
Lambo