Click to See Complete Forum and Search --> : Please some help!!


minx69
04-21-2003, 03:34 PM
I'm trying to help a friend but I'm not very good with Javascript, and obviously nore is he, could you look at the code he has sent me a try and work out what he is doing wrong...

thanks in advance


<SCRIPT LANGUAGE="Javascript">
function f_OpenWin()
{
window.open("http://www.motorcyclenews.com/index.html", "NewWindow")
}
</SCRIPT>



and he has also tried


<SCRIPT LANGUAGE="Javascript">
function OpenMe()
{
window.open("http://www.motorcyclenews.com/index.html", "NewWindow")
}
</SCRIPT>

khalidali63
04-21-2003, 03:36 PM
you are trying to open a window,with the url provided,are you calling the method to open the window????

I guess not,

add this line after the closing beackets of the function

window.onload = f_OpenWin;

minx69
04-21-2003, 03:39 PM
cheers hun, have no idea what he is trying to do, but I have passed that on to him, thanks again..:D

here is his reply:

I am using NetObjects Fusion to build and maintain the site

I was using the method to link that they were advising