38 users online (1 members and 37 guests)  


  Results 1 to 3 of 3

Related

  1. Newbie needing help    Forum: HTML Forum
    Replies: 0
  2. New and needing advice and information.    Forum: Introduce Yourself
    Replies: 2
  1. #1
    malpneumonik's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    2

    Exclamation Needing help like usual =/

    I really want to learn HTML editing so I can create sites using it, flash and other programs are somewhat boring now...but I really need hep with this

    Well, I'm attempting to try and make a pop-up in my weblog site. I want to make it so that if some1 were to right click on the site to view source or copy something from it, a pop-up would occur. If anyone knows how to do this, I am somewhat desperate to figure this out. Thak you to those who help.

  2. #2
    Android's Avatar

    Status
    Offline
    Join Date
    Oct 2002
    Location
    I AM CANADIAN
    Posts
    440

    It requires javascript

    I found this , but a word of caution: It's usless to use it (and anything else) to protect images and code from theft.
    Also, some people don't like it when you try to control their browsing session! Myself, I'd just go away and not come back.
    Make sure you test it for cross-browser compatability.

    Code:
    <script language="JavaScript"><!--
    if (event.button == 2) {
        alert ("This is happening because you right clicked!")
    }
    //--></script>
    This brings up an alert box with your message and an OK button. Or did you want a new browser window to open?

  3. #3
    malpneumonik's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    2

    Thumbs up thanx

    thank you, ill try it out, yes i need the alert box, but i would like i in html though, but i will try to figure it out in js

    thank you



Tags for this Thread