<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 -->


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


    網站導航:
     
    主站蜘蛛池模板: 国产成人精品免费视| 亚洲av永久无码精品古装片| 日本免费一区二区三区四区五六区| 亚洲AV无码无限在线观看不卡| 亚洲国产日韩在线视频| 最新69国产成人精品免费视频动漫| 未满十八18禁止免费无码网站 | 亚洲毛片基地4455ww| 亚洲精品字幕在线观看| 亚洲AV无码乱码在线观看| 午夜私人影院免费体验区| 91av在线免费视频| 成在人线av无码免费高潮喷水| 国产亚洲精品AAAA片APP| 亚洲白色白色永久观看| 午夜亚洲www湿好大| 亚洲熟女一区二区三区| 亚洲 无码 在线 专区| 国产精品色午夜免费视频| 国内免费高清在线观看| 中文字幕亚洲免费无线观看日本 | 97视频免费观看2区| 三级黄色片免费看| 一级中文字幕乱码免费| 牛牛在线精品免费视频观看| 亚洲欧洲日产国码久在线| 亚洲成a人片在线不卡| 亚洲国产成人精品无码区在线秒播| 久久久婷婷五月亚洲97号色| 国产精一品亚洲二区在线播放| 久久亚洲国产成人精品无码区| 免费人成网站在线高清| 四虎国产精品免费久久影院| 国产大片51精品免费观看| 国产一区在线观看免费| 国产精品无码一区二区三区免费| 女人被弄到高潮的免费视频 | 香蕉视频免费在线| 日本高清免费中文在线看| 日韩少妇内射免费播放| 一本大道一卡二大卡三卡免费 |