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


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


    網站導航:
     
    主站蜘蛛池模板: 亚洲中久无码永久在线观看同| 国产免费怕怕免费视频观看| 亚洲精品无码乱码成人| 曰批全过程免费视频免费看 | 国产亚洲欧美日韩亚洲中文色| 青春禁区视频在线观看直播免费| 亚洲国产精品综合久久网各| 黄+色+性+人免费| 亚洲一区中文字幕在线观看| 日韩免费一区二区三区在线播放| 亚洲人成影院午夜网站| 最近最新的免费中文字幕| 亚洲一区二区无码偷拍| 国产国产成年年人免费看片| 日韩少妇内射免费播放| 亚洲女同成人AⅤ人片在线观看| 亚洲精品视频免费观看| 日本亚洲视频在线| 91免费国产自产地址入| 亚洲人成色99999在线观看| 免费v片在线观看品善网| 中国国语毛片免费观看视频| 亚洲av色福利天堂| 成人免费视频77777| 日韩精品免费一线在线观看 | 亚洲综合日韩久久成人AV| 嫩草影院在线播放www免费观看| 亚洲男人都懂得羞羞网站| 99久久免费国产精品特黄| 美女的胸又黄又www网站免费| 国产偷窥女洗浴在线观看亚洲| 久久精品免费电影| 亚洲综合色婷婷在线观看| 国产v片免费播放| 日韩免费无码一区二区三区| 中文字幕乱码亚洲无线三区| 久久久青草青青国产亚洲免观 | 久久久久亚洲AV无码专区网站| 久久国产精品免费专区| 亚洲欧美成人av在线观看| 国产亚洲精品资在线|