View Single Post
Ambitious contributor
11Oct2011,02:46  
pein87's Avatar
Code:
function warp(){
window.location=gotolink
if (type=="radio" && myForm.elements[0].checked){
	document.write("test1");
}
}
Your trying to use a variable that is private to its original function. gotolink is not a global variable and is private to the functions its defined in. Also try using object notation this might help you better with your code. I won't write the code myself but I will give you advice. Create a function that has two params that are arrays. Each on will hold different info. One the images url, and the other the details.

Last edited by pein87; 11Oct2011 at 02:49..