Preserved Topic: javascript using the clipboard (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Raleigh, NC |
posted 09-07-2003 05:33
I'd really like to know if there's a function that will copy a string to the clipboard so that I can paste it elsewhere. code: javascript:flashToClipBoard('http://www.ozoneasylum.com');
code: <script language="JavaScript">
|
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 09-07-2003 07:58
Check the code at http://dev.runningwolf.com/code/javascript/decipher.htm |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 09-07-2003 15:36
Bmud: Yep I use Pugzly's functions a lot - very handy. |
Bipolar (III) Inmate From: Raleigh, NC |
posted 09-08-2003 01:44
How about working without forms? Or do I just HAVE to have one?? I'd really like to do this: code: <script language="JavaScript"> Is that possible..? |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 09-08-2003 04:37
question... |
Bipolar (III) Inmate From: Raleigh, NC |
posted 09-11-2003 02:31
Precicely my point. It doesn't work though. try it for yourself. |
Obsessive-Compulsive (I) Inmate From: |
posted 09-12-2003 18:22
The easiest way to do this in ie 5+ is by using |
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 09-12-2003 22:10
quote:
|
Obsessive-Compulsive (I) Inmate From: |
posted 09-13-2003 20:21
If you create a page for a company or something big, then yes, i agree with you, the page should work on as many browsers as possible... but if you make a page otherwise, just for fun or to show what you can do with dhtm, then forget about netscape/mozilla... users. i mean, how many of them are there now, anyway? (does anyone know the new statistics??) you will just limit yourself. i normally make a page to work on ie and then create a smaller version with less functions for the other browsers. (well, i used to be a netscape-fan, but that was a looong time ago ^_^) |
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 09-14-2003 00:51
[off-topic] |
Obsessive-Compulsive (I) Inmate From: |
posted 09-14-2003 03:19
sorry, didn't want to drag you into a "IE is better than Mozilla" discussion, and the page i linked to wasn't supposed to be running on mozilla (that was the whole point of it) and 2.3% till 14% aren't that many users considering that most of them have ie installed as well (most of my friends have all browsers installed, just to test if all the pages really work on all the browsers), and sorry that you didn't like that i disabled YOUR controls, but the page with the statistics was fascinating anyway ...[/off-topic] |
Bipolar (III) Inmate From: Raleigh, NC |
posted 09-14-2003 15:38
This is what I came up with. I know I can't use a string with execCommand. I'm sticking to the function, because as far as I know, it's cross-platform. So I threw in a tiny form that eats up my string, then i select it, copy it. ta-da |