simple javascript question

admin

Administrator
Staff member
Newbie question:

I want to link my logo to another page. The following link works fine except I would like to do it without opening a new window. Can anyone tell me how to do this?

<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:window.open('http://www.MyPage.com/')"><img src='http://www.webdeveloper.com/forum/archive/index.php/logo.gif'></a>

I suspect there is some code that you use for navigation in place of "window.open" but I don't know what it is. I tried using "nav" but it didn't work.

Many thanks!

Ron
 
Back
Top