Small Project. Requires Knowledge of Flash and Javascript

Discussion in 'Programming' started by Masterful, Apr 20, 2009.

  1. #1
    Small Project. Requires Knowledge of Flash and Javascript.

    Imagine a text link. When clicked, its anchor text must be copied to the user's clipboard and the URL must be opened in a new window. Also, when the text link is hovered over, a pop-up message must appear, saying: "Click to copy code and open site".

    To see an example, visit RetailMeNot.com and hover over a code. A pop-up message will appear, saying "Click to copy code and open site". Click on a code. The code will be copied to your clipboard and the site will be opened in a new window. That's exactly what I want.

    The code must be compatible with all major browsers, going back to IE6. And any coding must be thoroughly commented.

    Note

    Copying to the clipboard is easy with IE. It only requires a bit of Javascript. However, it's difficult with Mozilla/Firefox. For Firefox, Flash is required. But Flash 10 has new security features which make it difficult. The only copy-to-clipboard code that I have found which works with Flash 10 is ZeroClipboard. It might be of use to you.

    Please PM me if interested.
     
    Masterful, Apr 20, 2009 IP