<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 43,comments - 75,trackbacks - 0


    <!-- TWO STEPS TO INSTALL IMAGE UPLOAD PREVIEW:

    ? 1.? Copy the coding into the HEAD of your HTML document
    ? 2.? Add the last code into the BODY of your HTML document? -->

    <!-- STEP ONE: Paste this code into the HEAD of your HTML document? -->

    <HEAD>

    <script type="text/javascript">
    <!-- Begin
    /* This script and many more are available free online at
    The JavaScript Source!! http://javascript.internet.com
    Created by: Abraham Joffe :: http://www.abrahamjoffe.com.au/ */

    /***** CUSTOMIZE THESE VARIABLES *****/

    ? // width to resize large images to
    var maxWidth=100;
    ? // height to resize large images to
    var maxHeight=100;
    ? // valid file types
    var fileTypes=["bmp","gif","png","jpg","jpeg"];
    ? // the id of the preview image tag
    var outImage="previewField";
    ? // what to display when the image is not valid
    var defaultPic="spacer.gif";

    /***** DO NOT EDIT BELOW *****/

    function preview(what){
    ? var source=what.value;
    ? var ext=source.substring(source.lastIndexOf(".")+1,source.length).toLowerCase();
    ? for (var i=0; i<fileTypes.length; i++) if (fileTypes[i]==ext) break;
    ? globalPic=new Image();
    ? if (i<fileTypes.length) globalPic.src=source;
    ? else {
    ??? globalPic.src=defaultPic;
    ??? alert("THAT IS NOT A VALID IMAGE\nPlease load an image with an extention of one of the following:\n\n"+fileTypes.join(", "));
    ? }
    ? setTimeout("applyChanges()",200);
    }
    var globalPic;
    function applyChanges(){
    ? var field=document.getElementById(outImage);
    ? var x=parseInt(globalPic.width);
    ? var y=parseInt(globalPic.height);
    ? if (x>maxWidth) {
    ??? y*=maxWidth/x;
    ??? x=maxWidth;
    ? }
    ? if (y>maxHeight) {
    ??? x*=maxHeight/y;
    ??? y=maxHeight;
    ? }
    ? field.style.display=(x<1 || y<1)?"none":"";
    ? field.src=globalPic.src;
    ? field.width=x;
    ? field.height=y;
    }
    // End -->
    </script>
    </HEAD>

    <!-- STEP TWO: Copy this code into the BODY of your HTML document? -->

    <BODY>

    <div align="center" style="line-height: 1.9em;">
    Test it by locating a valid file on your hard drive:
    <br>
    <input type="file" id="picField" onchange="preview(this)">
    <br>
    <img alt="Graphic will preview here" id="previewField" src="spacer.gif">
    <br> <div style="font-size: 7pt;">
    Script submitted by: <a href=" Wedding Video / DVD</a></div>
    </div>

    <p><center>
    <font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
    by <a href="
    JavaScript Source</a></font>
    </center><p>

    <!-- Script Size:? 2.43 KB -->


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 免费黄色福利视频| 久久精品国产99国产精品亚洲| 亚洲一区中文字幕在线电影网| 很黄很污的网站免费| 亚洲伊人成无码综合网 | 小说专区亚洲春色校园| 4hu四虎最新免费地址| 性色av免费观看| 亚洲一区二区三区免费在线观看| 亚洲人成免费网站| 亚洲人成电影在线观看青青| 18禁免费无码无遮挡不卡网站| 亚洲中文字幕久久精品无码2021| 久热中文字幕在线精品免费| 亚洲无人区视频大全| 国产精品永久免费10000| 精品久久亚洲中文无码| 嫩草影院免费观看| 日韩亚洲综合精品国产| 亚洲人成无码网WWW| 成人av片无码免费天天看| 亚洲av中文无码乱人伦在线咪咕 | 亚洲色成人WWW永久网站| 91精品成人免费国产| 亚洲AV无码日韩AV无码导航| 日韩精品人妻系列无码专区免费| 亚洲精品福利网站| 永久免费av无码网站大全| 色多多免费视频观看区一区| 亚洲中文字幕无码一区| 最近免费中文字幕高清大全 | 亚洲一区二区三区免费| 一级毛片在线观看免费| 亚洲乱码一区二区三区国产精品| 日本不卡视频免费| 久久精品成人免费网站| 亚洲综合一区国产精品| 久久亚洲av无码精品浪潮| 亚洲第一se情网站| 国产亚洲成av人片在线观看| 一个人看的www在线观看免费|