»
AnglaisFran�aisVietnamien

Imprimer - Naviguez-Vue-Load - JavaScriptBank.com

Version compl�te: jsB@nk » Utilitaire » Naviguez-Vue-Load
URL: https://www.javascriptbank.com/browse-view-load.html

Naviguez-Vue-Load © JavaScriptBank.comUn outil pour afficher chemin d'un fichier et chargez-le pour voir.

Version compl�te: jsB@nk » Utilitaire » Naviguez-Vue-Load
URL: https://www.javascriptbank.com/browse-view-load.html



CSS
<STYLE>.button {BACKGROUND-COLOR: #e0dfe3; COLOR: #000000; FONT-SIZE: xx-small}.file {BACKGROUND-COLOR: #ffffff; COLOR: #000000; FONT-SIZE: xx-small}</STYLE><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<SCRIPT language=JavaScript><!-- Author:  Dwayne Rothe (28 Feb 2002 --><!-- http://www.exsiteweb.com ([email protected]) --><!-- Beginfunction PopUp(popage, popname, wd, ht,scroll,resize) {imgname = document.forms[0].elements[0].value;if(imgname == ""){alert("Please select a File");return null;}else{var winl = (screen.width - wd) ;var wint = (screen.height - ht) ;popdim = "left=100,top=100,width=" + (wd) + ",height=" + (ht) + ',scrollbars='+ (scroll)+',resizable='+ (resize)win = window.open(popage, popname, popdim)if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }}}<!-- load a file        function loadImg() {        imgname = document.forms[0].elements[0].value;        if(imgname == ""){         alert("Please enter a Filename");        } else {         document.forms[0].elements[4].value = imgname;          }       } --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM name=aform><INPUT class=file name=veiwimg size=40 type=file> <INPUT class=button onclick="javascript:PopUp('file:///' + document.aform.veiwimg.value,'name','550','320','yes','yes')" type=button value=View> <INPUT class=button onclick=loadImg() type=button value=Load> <INPUT class=button type=reset value=Reset><BR><TEXTAREA cols=50 name=text1 rows=10 wordwrap="virtual"></TEXTAREA> </FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->