Forum Moderators: open
HTML SIDE:
javascript:openWhyEmail();
JAVASCRIPT SIDE:
function openWhyEmail()
{
var phpinfo=window.open"../page.php","","width=400,height=150,resizable=0,status=no,scrollbars=yes,screenX=100,screenY=100,top=100,left=100'");
}
Using a variable written into the javascript link using php like so using "imageLink" in the command i.e.
javascript:openWhyEmail(imageLink);
And then have the actual script do something along the lines of:
function openWhyEmail(imageLink)
{
var phpinfo=window.open"../page?imageLink=value.php","","width=400,height=150,resizable=0,status=no,scrollbars=yes,screenX=100,screenY=100,top=100,left=100'");
}
So as to (as an example) use the script for a popup window assigned to an image, which when clicked, loads a larger version of this image in the new window offerd by the javascripts new window and its attributes?
Thanks in advance
[edited by: DrDoc at 7:20 pm (utc) on Nov. 26, 2004]
[edit reason] removed smiley faces [/edit]
On the larger picture when clicked it opens a new window display a "zoomed" verions of the "larger" image of the "smaller" image (confusing huh... chuckle)... back to the point
When i change the "larger" image via the "smaller" one, is it possible, to load in the new window, the "zoomed" image that was chosen out of the three "smaller" images
This might sound confusing, trust me, it isn't
Thanks in advance