Find the answer to your Linux question:
Results 1 to 3 of 3
i have a main.html, which includes some javascript. i want to use main.html in index.html by using <iframe> tag. i need a script (will be placed in index.html) to disable ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jan 2004
    Location
    Istanbul,Turkey
    Posts
    151

    JavaScript to kill JavaScript


    i have a main.html, which includes some javascript.

    i want to use main.html in index.html by using <iframe> tag.

    i need a script (will be placed in index.html) to disable scripts in main.html.

    is it possible?
    Have a nice day

  2. #2
    Just Joined!
    Join Date
    Sep 2003
    Posts
    46
    I don't know much about JavaScript, but it sounds like you'd need to do something to write the noscript tag and its closing at the beginning and end of the iframe.

  3. #3
    Linux Newbie
    Join Date
    Jan 2004
    Location
    Istanbul,Turkey
    Posts
    151
    no, noscript used for alternate to script tag if script is not supported by the browser.

    main.html has a script,which disables right click.

    index.html is smthng like this:
    Code:
    .
    .
    .
    <iframe src=main.html>
    .
    .
    .
    when i call index.html from browser, the iframe is still right click disable, i want to enable it.
    Have a nice day

Posting Permissions

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