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 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem in java script in frames in html

    Hi friends,

    I had one html page that contained java script in it to show some costomized context menus. when i clicked on some link in it, it opens the link in new window. Now i wanted to open the link in the same window and so i created two frames in this page so that i could see all the link in left side of the page and the content of the link in right side of the page. Now when i clicked the link on left side of frame it opens in the right side frame but i could not see the context menu in the right side frame. I think the java script is not being executed in the right side frame.
    Could some one help me out in this...ur help will be highly appriciated..

    Manmit

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    You're going to have to provide more information than that. For example, code; maybe the script is invalid? Your description of what you want also seems a bit vague.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #3
    Regular Coder ArcticFox's Avatar
    Join Date
    Jan 2004
    Location
    Vostok Station, AQ
    Posts
    602
    Thanks
    35
    Thanked 3 Times in 3 Posts
    In the menu links you should have something like this;

    Code:
    href="javascript:void(0);"
    NOT

    Code:
    href="#"
    <div> - putting your mind in a box since 1997


  •  

    Posting Permissions

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