Does anyone know how to put a variable in the getURL function?
What I’m looking to do is something like this, but I’m not sure of the syntax:
function viewLarger (imgID) {
getURL (“javascript:spawn(’_tombstones/index.php?id=(imgID)’,‘tombstone’,216,245,‘no’)”);
}
By the way, the spawn code is just a javascript function to load a popup.
I’m sure that this is possible, right? I’m just not the world’s best syntax-guy. I don’t know exactly how to write this.
Any help?
G