Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    javascript query

    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...

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,949
    Thanks
    0
    Thanked 236 Times in 233 Posts
    Just like any other link. For example:

    Code:
    <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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •