我现在有frame.html: <HTML>
<HEAD>
<TITLE> New Document </TITLE>
<script type= "text/javascript " language= "javascript " src= "http://www.dolem.com/lytebox/lytebox.js "> </script>
<link rel= "stylesheet " href= "http://www.dolem.com/lytebox/lytebox.css " type= "text/css " media= "screen " />
</HEAD> <BODY> <a href= "http://www.dolem.com/lytebox/misc/orion1.jpg " rel= "lytebox[vacation] "> <img src= "http://www.dolem.com/lytebox/misc/orion1_thumb.jpg "> </a>
<a href= "http://www.dolem.com/lytebox/misc/orion2.jpg " rel= "lytebox[vacation] "> <img src= "http://www.dolem.com/lytebox/misc/orion2_thumb.jpg "> </a>
<a href= "http://www.dolem.com/lytebox/misc/orion3.jpg " rel= "lytebox[vacation] "> <img src= "http://www.dolem.com/lytebox/misc/orion3_thumb.jpg "> </a> </BODY>
</HTML> 这样没问题,特效可以显示! 我现在想把这个页面做为一个iframe内嵌在一个页面test.html:
<HTML>
<HEAD>
<TITLE> </TITLE> </HEAD> <BODY> <IFRAME align= "middle " border= "0 " frameBorder= "0 " frameSpacing= "0 " id= "frame3 " marginHeight= "0 " marginWidth= "0 " scrolling= "no " src= "frame.html " width= "500 " height= "300 "> </IFRAME> </BODY>
</HTML> 点击图片后效果只能在那个iframe中显示,我想让它在父页面test.html中显示!
网站中说可以实现:
IFRAMES: If you plan to use Lytebox in an iFrame environment, then you need to include lytebox.css in the parent document, while including lytebox.js in the iFrame document. 把lytebox.css 放在父页面,把lytebox.js放在iframe页面.但是我试过了好象不行啊!(点击后没反应了) 有没有人用过啊?或者帮我研究一下怎么搞的?谢谢了
<HEAD>
<TITLE> New Document </TITLE>
<script type= "text/javascript " language= "javascript " src= "http://www.dolem.com/lytebox/lytebox.js "> </script>
<link rel= "stylesheet " href= "http://www.dolem.com/lytebox/lytebox.css " type= "text/css " media= "screen " />
</HEAD> <BODY> <a href= "http://www.dolem.com/lytebox/misc/orion1.jpg " rel= "lytebox[vacation] "> <img src= "http://www.dolem.com/lytebox/misc/orion1_thumb.jpg "> </a>
<a href= "http://www.dolem.com/lytebox/misc/orion2.jpg " rel= "lytebox[vacation] "> <img src= "http://www.dolem.com/lytebox/misc/orion2_thumb.jpg "> </a>
<a href= "http://www.dolem.com/lytebox/misc/orion3.jpg " rel= "lytebox[vacation] "> <img src= "http://www.dolem.com/lytebox/misc/orion3_thumb.jpg "> </a> </BODY>
</HTML> 这样没问题,特效可以显示! 我现在想把这个页面做为一个iframe内嵌在一个页面test.html:
<HTML>
<HEAD>
<TITLE> </TITLE> </HEAD> <BODY> <IFRAME align= "middle " border= "0 " frameBorder= "0 " frameSpacing= "0 " id= "frame3 " marginHeight= "0 " marginWidth= "0 " scrolling= "no " src= "frame.html " width= "500 " height= "300 "> </IFRAME> </BODY>
</HTML> 点击图片后效果只能在那个iframe中显示,我想让它在父页面test.html中显示!
网站中说可以实现:
IFRAMES: If you plan to use Lytebox in an iFrame environment, then you need to include lytebox.css in the parent document, while including lytebox.js in the iFrame document. 把lytebox.css 放在父页面,把lytebox.js放在iframe页面.但是我试过了好象不行啊!(点击后没反应了) 有没有人用过啊?或者帮我研究一下怎么搞的?谢谢了
解决方案 »
- extjs的分页grid整体导出为excecl
- 滤镜filters.revealTrans.Transition出现未知的错误
- 获取鼠标位置所在的控件
- 请问这样的菜单用js怎样做
- 急救~!当屏幕大于1000时,显示对联,否则不显示
- 两个frame间刷新问题
- 有劳各位先进、劳模了,activeX 调用
- 急!急!急!高手帮忙.为什么我刷新父窗口时,本窗口最小化到状态栏.我想让它永远保持在上面.多谢了
- 请问 href="javascript:playAudio('2001/08/10/EPSL_2001-08-10_13.wav')" 是什么意思?
- 一个id为bk的表格,我怎样可以判断当鼠标离开这个表格的时候,隐藏表格?
- 如何判断object里面是否包含某一字段?
- 关于fileupload控件的,在ie下面与ff下面的值不同的问题
IFRAMES: If you plan to use Lytebox in an iFrame environment, then you need to include lytebox.css in the parent document, while including lytebox.js in the iFrame document.
你将父页面和iframe里面将它的js和css都放进去就好了!
我用过的 有问题继续!