Results 1 to 6 of 6

Thread: CopytoClipboard...Help Plz

  1. #1
    Join Date
    Jan 2009
    Location
    INDIA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CopytoClipboard...Help Plz

    hello all

    i want to copy the value of a field in to clipboard .....

    where as in the following path

    http://media.photobucket.com/image/f...-THUMB.jpg?o=1

    (check share this image)

    Thanks for Reading.....plz help me...ASAP


    Zai
    Last edited by zai; 04-09-2009 at 07:08 PM.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    It seems to copy when I click on it... problem solved?
    Jeremy | jfein.net

  3. #3
    Join Date
    Jan 2009
    Location
    INDIA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi nile....

    if we click on a field ...i want to copy field value to clipboard automatically...

    i want the functionality similar to "share this image" option in the following link...

    http://media.photobucket.com/image/f...-THUMB.jpg?o=1


    i tried some codes which works on...IE ...
    but Not in Mozilla

    and finally i approached (My favourite DynamicDrive ) here for Answer

    Plz...any solution ...

    Thanks

  4. #4
    Join Date
    Jan 2009
    Location
    INDIA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    is it possible through any other medium

  5. #5
    Join Date
    Jan 2009
    Location
    INDIA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi guys,

    finally i Got it....

    with the help of some AS code..

    It is working in FF and IE....

    Hope this code is very usefull to novoice persons....

    njoy the link

    http://www.freewebs.com/czaisankar/ctcb/new.html


    Zai

  6. #6
    Join Date
    Jan 2009
    Location
    INDIA
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    http://www.freewebs.com/czaisankar/ctcb/copyButton.swf

    download that swf Button!

    and create one html page with the following code...



    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>copytoclipboard problem --zai</title><script type="text/javascript">
    <!--
    function alertUser(){
    alert('Copied to Clipboard');
    }
    -->
    </script>
    </head>
    <body>
    <p>&nbsp;</p>
    <table width="218" height="78" border="0" align="center" cellpadding="2" cellspacing="0" bgcolor="#669900">
    <tr>
    <td width="63" height="23"><div style="border:solid 1px black; width:60px; height:20px;">
    <div align="center">
    <object width="60" height="20">
    <param name="FlashVars" VALUE="txtToCopy=cfRuss.blogspot.com&js=alertUser()" />
    <param name="movie" value="copyButton.swf" />
    <embed src="copyButton.swf" flashvars="txtToCopy=Zai got it !&js=alertUser()" width="60" height="20"> </embed>
    </object>
    </div>
    </div></td>
    <td width="152"><input type="text" name="textfield" id="textfield" value="Zai got it !" /></td>
    </tr>
    <tr>
    <td><div style="border:solid 1px black; width:60px; height:20px;">
    <div align="center">
    <object width="60" height="20">
    <param name="FlashVars" VALUE="txtToCopy=cfRuss.blogspot.com&js=alertUser()" />
    <param name="movie" value="copyButton.swf" />
    <embed src="copyButton.swf" flashvars="txtToCopy=I love Dynamic drive&js=alertUser()" width="60" height="20"> </embed>
    </object>
    </div>
    </div></td>
    <td><input name="textfield2" type="text" id="textfield2" value="I love Dynamic drive" /></td>
    </tr>
    <tr>
    <td height="26"><div style="border:solid 1px black; width:60px; height:20px;">
    <div align="center">
    <object width="60" height="20">
    <param name="FlashVars" VALUE="txtToCopy=cfRuss.blogspot.com&js=alertUser()" />
    <param name="movie" value="copyButton.swf" />
    <embed src="copyButton.swf" flashvars="txtToCopy=Have a break&js=alertUser()" width="60" height="20"> </embed>
    </object>
    </div>
    </div></td>
    <td><input name="textfield3" type="text" id="textfield3" value="Have a break" /></td>
    </tr>
    </table>
    </body>
    </html>



    and final outout will be....

    http://www.freewebs.com/czaisankar/ctcb/new.html


    ok guys...have a nice day..
    Zai

Bookmarks

Posting Permissions

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