弹出flash层 弹出层自动消失 示例代码 弹出图片层 例子源码 tinybox
T$('click_test1').onclick = function(){TINY.box.show('test.html',1,300,150,1)}//test.html为弹出层对应网页 var content2 = "<img width='554' height='344' src='image/img.png' />";//弹出图片 T$('click_test2').onclick = function(){TINY.box.show(content2,0,0,0,1)} var content3 = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='550' height='400'><param name='movie' value='flash/as3_clock_2.swf' /><param name='quality' value='high' /><param name='wmode' value='opaque' /><embed height='400' width='550' src='flash/as3_clock_2.swf' type='application/x-shockwave-flash'></embed></object>";//弹出flash动画 T$('click_test3').onclick = function(){TINY.box.show(content3,0,0,0,1)} var content4 = "该浮动div层将在3秒钟内消失。";//弹出层自动消失 T$('click_test4').onclick = function(){TINY.box.show(content4,0,0,0,0,3)}
评论