View Full Version : javascript query

10-10-2009, 07:35 AM
I have 3 items in menu with 3 different url.If I click particular item it should display the webpage of that url on the same page where menu exist.How to do this? Please help...

10-11-2009, 03:41 AM
Just like any other link. For example:

<a href="home.htm" title="Home">Home</a>

If you are using a javascript menu script, use location.href=url instead of window.open(url) to open links in the same window.