日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 前端技术 > HTML >内容正文

HTML

html5手机网站照片查看器,HTMLayout仿Picasa照片查看器效果

發(fā)布時(shí)間:2024/10/12 HTML 81 豆豆
生活随笔 收集整理的這篇文章主要介紹了 html5手机网站照片查看器,HTMLayout仿Picasa照片查看器效果 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

import win.ui;

/*DSG{{*/

var winform = win.form( text = "仿Picasa照片查看器效果";exmode="toolwindow" )

/*}}*/

winform.transparent(true);//啟用分層窗口以支持透明

winform.fullscreen(true);//全屏

import web.layout;//導(dǎo)入內(nèi)置瀏覽器引擎

import web.layout.behavior.windowCommand;//導(dǎo)入標(biāo)題欄按鈕支持庫(kù)

wbLayout = web.layout(winform); //創(chuàng)建瀏覽器

wbLayout.html = /**

r

**/

wbLayout.css = /**

html { background: none; } /* HTML背景透明 */

body, html { margin:0; padding:0; height:100%; width:100% }

body { margin:0; outline: none; background-color:rgba(0,0,0,0.7); }

/* 窗體控制按鈕 */

#hl_ctrl_bar { max-width: max-intrinsic; padding-right: 5px; position: absolute; right:0; top:0; padding: 0; }

#hl_ctrl_bar span {

display: block; float: left; color: #fff; line-height: 22px; padding: 0 5px;

font-family: Webdings; font-weight: bold; font-size: 13px;

behavior: windowCommand; /* 添加標(biāo)題欄按鈕交互行為 */

}

#hl_ctrl_bar #close {

width: 40px; height: 40px; padding:0; overflow: hidden;line-height: 28px;

text-indent: 16px; font-size: 14px;background-color:#666; border-radius:0 0 0 100%;

}

#hl_ctrl_bar span#close:hover { background-color: #da3610; }

#simulate_area[ready]{

background:#000;/* 設(shè)背景色后發(fā)光效果性能會(huì)好點(diǎn) */

outline:15px glow #000 0px;

width:0; height:0;

}

/* 圖像已下載完成 */

#simulate_area[src]:not(:incomplete){

top: 50%%; left: 50%%; right: 50%%; bottom: 50%%;

position: absolute;

/*初始化事件*/

assigned!:

self.start-animation( 0.9s ); /*啟動(dòng)動(dòng)畫*/

/*動(dòng)畫事件*/

animation-step!:

self::width = morph("cubic-in-out", 1px, self.min-intrinsic-width()),

self::height = morph("cubic-in-out", 1px, self.min-intrinsic-height() );

animation-end!:

self.ready = "true"; /* 動(dòng)畫完了再顯示發(fā)光效果 */

}

**/

winform.updateImage = function(url){

var ltEle = wbLayout.queryEle('#simulate_area'); //CSS選擇器獲取節(jié)點(diǎn)對(duì)象

ltEle.src = url;//動(dòng)態(tài)修改圖像

}

//預(yù)覽指定圖像

winform.updateImage( "http://bbs.aardio.com/data/attachment/portal/201308/20/165515p11prhr96zp919xh.jpg" )

winform.show();

win.loopMessage();

總結(jié)

以上是生活随笔為你收集整理的html5手机网站照片查看器,HTMLayout仿Picasa照片查看器效果的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。