I am in process of replacing a frames navbar with an external javascript file (navbar.js) consisting of anchors and text links enclosed in document.write() statements.
So far I have succeeded in creating a list of links which are displayed on the page and work okay.
Now I want to pass an image to a function located in that navbar.js external file and have that passed image written out to (displazed on) the page with a document.write() statement.
I figure I should easily be able to do with with an OnLoad event handler (the image I want to pass is different for the different pages that call the navbar.js file) but I am at a bit of a loss exactly how to do it, and would appreciate suggestions.
Thanks!
So far I have succeeded in creating a list of links which are displayed on the page and work okay.
Now I want to pass an image to a function located in that navbar.js external file and have that passed image written out to (displazed on) the page with a document.write() statement.
I figure I should easily be able to do with with an OnLoad event handler (the image I want to pass is different for the different pages that call the navbar.js file) but I am at a bit of a loss exactly how to do it, and would appreciate suggestions.
Thanks!