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


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


    網站導航:
     
    主站蜘蛛池模板: 一区二区三区免费电影| 热re99久久6国产精品免费| 红杏亚洲影院一区二区三区| a级毛片无码免费真人久久| 亚洲欧洲中文日产| 一级毛片直播亚洲| 中文字幕在线观看免费视频 | 亚洲电影日韩精品| 99精品视频免费观看| 久久精品国产亚洲AV| 久久亚洲精品成人综合| 日韩一级免费视频| 99re6在线视频精品免费| 最新亚洲春色Av无码专区| 亚洲国产一成人久久精品| 大学生a级毛片免费观看| 99精品免费视频| 视频一区在线免费观看| 亚洲天天做日日做天天欢毛片| 国产精品视频免费一区二区三区 | 日韩免费三级电影| 日本卡1卡2卡三卡免费| 国产亚洲福利精品一区二区| 亚洲高清视频免费| 国产亚洲精品a在线观看| 在线精品免费视频| 99精品视频在线视频免费观看| 一区视频免费观看| 亚洲av无一区二区三区| 亚洲国产成人精品电影| 亚洲老妈激情一区二区三区| 日本高清免费中文字幕不卡| 99在线精品视频观看免费| 免费人成毛片动漫在线播放 | 男女超爽刺激视频免费播放| 两性色午夜免费视频| 免费人成再在线观看网站| 亚洲日韩精品国产一区二区三区| 亚洲黄色三级网站| 亚洲AV日韩AV永久无码绿巨人| 亚洲无码黄色网址|