大家先看下演示效果:
http://www.wk2009.com/360/fys/test/index.html
用到这种特效时,要在页面上直接写<a rel="shadowbox......" > 特效</a>。
我想请问有没有什么办法通过 <a href="#" onclick="" />特效</a> 或者 <a hre="javsscript:..."/> 这种onclick的方法来实现以上效果?因为flash的连接中可以调用js,而<a rel....>之类的不可调用啊。如果很麻烦,各位高手需要改写代码,小弟另附100分赠送。
下载地址:http://www.wk2009.com/360/fys/shadowbox.rar 若以上地址失效,可到我资源里下载http://download.csdn.net/source/1415189
<a id="abc" rel="...">aaa</a><script>
function abc(){
document.getElementById("abc").click();
}
</script>abc能调用了吧?