|
|
|
|
<html lang=fr>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><Title>Copy on click</title>
<script language=javascript>
function copier(obj)
{
document.ze_form.ze_texte.value=obj;
var texteACopier = document.ze_form.ze_texte.createTextRange();
texteACopier.execCommand("Copy");
}
</script>
</head>
<body bgcolor=black>
<form name="ze_form">
<input type="hidden" name="ze_texte">
</form>
<center>
<table border = 0 cellpading=0 cellspacing=0 width=800 height=600>
<td valign=tp><br><br><br><br>
<center><font size=4 Face=tahoma color=Red><b>How it work</b>
<b>click in the case and do copy in the notpad for exemple</b></font>
</font>
<center><table border=1 width=100>
<td align=left width="150">
<center><img border=1 src="puicture.gif"width="100" height="100"onClick="copier('Its working u can
configure this text for [img] for exemple');return(false)"><a/>
</td></center></center>
</td></table></center>
</body> | |
|
| Javascript linked dropdowns Categories : Java Script, HTML, Classes and Objects | | | Javascript animated menu items Categories : DHTML, CSS, Java Script, HTML | | | Bouncing Marquee at Status Bar Categories : Java Script, HTML, Browsers | |
| | Page Loading Message shown during the time your site's page is being loaded. Categories : HTML, CSS, Java Script | | | Javascript Background Scroller Categories : Java Script, CSS, HTML | | | Prevent Right Mouse steal your graphics Categories : HTML, Java Script, Security | | | Clock at Status Bar Categories : Java Script, HTML, Date Time | | | complete simply working javascript password generator file. Use letter, vowels, consonants (uppercase and lowercase) arrays to create a really random and secure password.
improved security using time functions to initialize random number generator. Categories : Java Script, HTML, Security, Authentication, Strings | | | Builds JavaScript that updates the contents of one selector based on another. Categories : HTML, Java Script, PHP, Complete Programs, General | | | Table editable dynamic form with edit + selection (select / option) + checkbox.
Categories : Java Script, DHTML, User Interface, CSS, HTML | | | Mordern Peroidic Table - Science Categories : Java Script, HTML, Charts and Graphs | | | Javascript Color Picker Categories : Java Script, Colors, HTML | | | Cool tool tip Categories : Java Script, HTML, Web Design | | | Java Script Based Navigation Categories : HTML, Java Script, Navigation | |
| | | | Laurentiu BOLD wrote : 1012
I wonder if the author really tested THIS submited code...
| | | | Boaz Yahav wrote : 1013
I tested it personally and it works great.
I tested it with IE 6.0
berber
| | | | Tim Morton wrote :1014
I would expect this will only work on explorer. It does work (you`ll have to correct some syntax errors [missing spaces] in the coding), but the example would have been more impressive if it did something useful, ie copy a section of text or copy user input. Even at that, it only saves the user the `hassle` of selecting the text before you right-click and copy it.
I really don`t see the point, although it is interesting trivia.
| |
|
|