what are the code differences for a pop-up window with a .jpg instead of a url?
There is no difference.
To load an image into a pop up you need to put the URL to that image, just the extension changes from .html (or whatever) to .jpg (or whichever image file type).
I don’t think so, when I use the code below:
imagea.onRelease = function() {
getURL(“javascript:Launch(floridaHammockZ.jpg)”);
};
I keep getting a runtime error:" floridaHammockZ not defined"
…and when I use the tutorial code:
imagea.onRelease = function() {
getURL(“javascript:Launch(‘http://www.kirupa.com/kirupa.htm’)”);
}
It works
Well you have single quotes around your URL to the site, but no single quotes around your URL to the image :-\
oops …it’s times like these that I wish I didn’t use my real name.
thanks!
LOL, Happens to the best of us
I forget a lot of curly brackets {} and such that mix me up, especially in Javascript.
And sometimes a single quote compared to a double quote makes all the difference… and that really gets you confused…lol.