document.getElementById('spanLink').onclick=function(e){
e = window.event?window.event:e;//兼容ie和ff的event定义,ie不认dom2的事件模型
if (e.stopPropagation) {//FF浏览器下,dom2事件模型中event存在该方法
e.stopPropagation();//停止事件传播
e.currentTarget.parentNode.href=e.currentTarget.getAttribute('title'&...
Just in case you didn’t know, I also have a collection of Illustrator tutorials right here on Blog.SpoonGraphics, to finish off the last 10 here’s some shameless self promotion of Illustrator turorials of my very own!
//////////////////actionscript code//////////////////////////////////////////
//声明一个URLLoader
var loader:URLLoader = new URLLoader();
//监听数载加载完成事件
loader.addEventListener(Event.COMPLETE,loaded);
//事件相应函数
function loaded(e:Event)...{
trace(loader.data);
// output : this data is from php!
}
//加载test.php
loader.load(new URLRequest("test.php"));
// ////////////////test.php code/////////////////////////////////