<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在线V网站| 亚洲成a人片在线观看日本| 国产免费久久久久久无码| 亚洲AⅤ优女AV综合久久久| 精品在线免费视频| 亚洲美女在线国产| 99麻豆久久久国产精品免费 | 日韩在线天堂免费观看| 亚洲乱亚洲乱妇无码| 日韩一区二区三区免费体验| 亚洲av无码一区二区三区在线播放| 欧洲精品免费一区二区三区| 国产AV无码专区亚洲AV琪琪| 亚洲人成人网站在线观看| 精品久久久久久国产免费了 | eeuss影院www天堂免费| 亚洲va无码专区国产乱码| 免费在线中文日本| 亚洲精品亚洲人成在线观看麻豆| 免费福利在线播放| 亚洲av永久无码精品秋霞电影秋| 亚洲AV无码一区二三区 | 91免费人成网站在线观看18| 国产精品亚洲精品青青青 | 亚洲91av视频| 免费观看成人毛片a片2008| 中文字幕的电影免费网站| 亚洲一区二区三区日本久久九| 99热这里只有精品6免费| 亚洲精品福利网泷泽萝拉| 999在线视频精品免费播放观看| 亚洲jizzjizz少妇| 亚洲熟女少妇一区二区| 免费观看国产网址你懂的| 青青视频免费在线| 91情国产l精品国产亚洲区 | 亚洲欧美日韩一区二区三区 | 精品免费视在线观看| 亚洲首页国产精品丝袜| 亚洲国产成人乱码精品女人久久久不卡|