hi I have the code below, in a linking js page from my html page.. but when I link to it from my html page it comes up woth an error
var messages = new Array();
get_link[0] = "home.htm";
get_link[1] = "news.htm";
get_link[2] = "enquiries.htm";
get_link[3] = "http://www.streetmap.co.uk/streetmap.dll?G2M?X=558128&Y=104766&A=Y&Z=1";
get_link[4] = "mailto:[email protected]?subject="enquiry from the web site";
}
function urgent() {
window.alert('for urgent deliveries we charge, next day: 24 hours £6.50, 2-3 days: 48 hours £28.50, saturday: £23.50');
}
my link to it is
javascript:window.open(link[2])
whats happening team, will my link work to open the page I want ?

var messages = new Array();
get_link[0] = "home.htm";
get_link[1] = "news.htm";
get_link[2] = "enquiries.htm";
get_link[3] = "http://www.streetmap.co.uk/streetmap.dll?G2M?X=558128&Y=104766&A=Y&Z=1";
get_link[4] = "mailto:[email protected]?subject="enquiry from the web site";
}
function urgent() {
window.alert('for urgent deliveries we charge, next day: 24 hours £6.50, 2-3 days: 48 hours £28.50, saturday: £23.50');
}
my link to it is
javascript:window.open(link[2])
whats happening team, will my link work to open the page I want ?
Comment