我的flash中要调用下面JS中的这个网址
getURL里面应该怎么写啊
请大家指教一下小弟,谢谢了
for (i = 1; i <= 3; i++)
{
......
_root.movie["image" + i].onRelease = function ()
{
mName = new String(this._name);
mNum = mName.substr(5, 1);
getURL("javascript:menu" + mNum + "();","_blank
};
}
我这样写哪里错了啊??请高手指教下
下面是JS代码
function menu1() { location.href = "http://www.csdn.net/1.html"; }
function menu2() { location.href = "http://www.csdn.net/2.html"; }
function menu2() { location.href = "http://www.csdn.net/3.html"; }
getURL里面应该怎么写啊
请大家指教一下小弟,谢谢了
for (i = 1; i <= 3; i++)
{
......
_root.movie["image" + i].onRelease = function ()
{
mName = new String(this._name);
mNum = mName.substr(5, 1);
getURL("javascript:menu" + mNum + "();","_blank
};
}
我这样写哪里错了啊??请高手指教下
下面是JS代码
function menu1() { location.href = "http://www.csdn.net/1.html"; }
function menu2() { location.href = "http://www.csdn.net/2.html"; }
function menu2() { location.href = "http://www.csdn.net/3.html"; }
getURL("javascript:alert()", "_self");
getURL( "javascript:alert() ", "_self ");
----------------------------------------------------
弹了一个IE对话框出来,什么提示没有,只有一个黄色的感叹号
这个是什么意思呢?