Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Problem with javascript in netscape


Robber - 11:02 am on Jul 18, 2002 (gmt 0)


Hi Joshie,

It goes like this:

This is the script in the head:

function displayBanner(){
var imageURL=image;
var linkURL=link;
writeImage(linkURL, imageURL);
}

This is the one in the body:

displayBanner();
function writeImage (linkURL, imageURL){
document.write('<a href="'+linkURL+'"><img src="'+imageURL+'" border="0" width="125" height="125">');

}

Cheers


Thread source:: http://www.webmasterworld.com/javascript/160.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com