我该如何调用此功能 [英] How do I call this function

查看:68
本文介绍了我该如何调用此功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手。

有人可以告诉我如何调用此功能。请务必明白

您的解释

许多thnaks

< SCRIPT language =" JavaScript">

function messageWindow(title,msg)

{

var width =" 300",height =" 125" ;; var left =(screen.width / 2) - width / 2; var

top =(screen.height / 2) - height / 2; var styleStr =

''toolbar = no,location = no,directories = no,status = no,m enubar = no,scrollbar = no,resizable = no,copyhistory = ye s,width =' '+ width +'',height =''+ height +'',left =''+ left +'',top =''+ top +'',screenX =''+ left +'',screenY =''+ top;

var msgWindow = window.open(""," msgWindow",styleStr); var head =''

< / SCRIPT>


-

Norton Professional 2004说这封邮件很干净..相信它

解决方案

2004年11月2日星期二15:26:12 -0500,PCOR写道:

我是新手。
有人可以告诉我如何调用这个功能。你的解释是非常明确的
许多thnaks

< SCRIPT language =" JavaScript">
function messageWindow(title,msg) {
var width =" 300",height =" 125" ;; var left =(screen.width / 2) - width / 2;
var
top =(screen.height / 2) - height / 2; var styleStr =
''toolbar = no,location = no,directories = no,status = no,m enubar = no,scrollbar = no,resizable = no,copyhistory = ye s,width =''+ width +' ',height =''+ height +'',left =''+ left +'',top =''+ top +'',screenX =''+ left +'',screenY =''+ top;
var msgWindow = window.open(""," msgWindow",styleStr); var head =''
< / SCRIPT>




< script type =''text / javascript''>

messageWindow(''我的标题'',''我的留言'');

< / script>


-

im

美国爱国者法案是美国历史上最不爱国的行为。




试过,但.........我无法让它工作

我把功能放在HEAD中。以及你在BODY中给出的代码。但

什么都没发生。任何建议

谢谢


" Ivan Marsh" <一个***** @ you.now>在留言中写道

news:pa **************************** @ you.now ... < blockquote class =post_quotes> 2004年11月2日星期二15:26:12 -0500,PCOR写道:

我是新手。
有人能说出来吗我如何调用此功能。你的解释是非常明确的
许多thnaks

< SCRIPT language =" JavaScript">
function messageWindow(title,msg) {
var width =" 300",height =" 125" ;; var left =(screen.width / 2) - width / 2;
var
top =(screen.height / 2) - height / 2; var styleStr =
''toolbar = no,location = no,directories = no,status = no,m enubar = no,scrollbar = no,resizable = no,copyhistory = ye s,width =''+ width +' ',height =''+ height +'',left =''+ left +'',top =''+ top +'',screenX =''+ left +'',screenY =''+ top;
var msgWindow = window.open(""," msgWindow",styleStr); var head =''
< / SCRIPT>



< script type =''text / javascript''>
messageWindow(''我的标题'',''我的信息'');
< / script>

-
im
美国爱国者法案是美国最不爱国的行为历史。



" PCOR" < IA ****** @ hotmail.com> skrev i meddelandet

新闻:Ga ******************** @ rogers.com ...

你好
尝试了但是.........我无法让它工作
我把功能放在HEAD中。以及你在BODY中给出的代码。但没有发生任何事情。任何建议
谢谢

Ivan Marsh <一个***** @ you.now>在消息中写道
新闻:pa **************************** @ you.now ...

2004年11月2日星期二15:26:12 -0500,PCOR写道:

我是新手。
有人可以告诉我怎么打电话这个功能。请在你的解释中明确

许多thnaks

< SCRIPT language =" JavaScript">
function messageWindow(title,msg)
{
var width =" 300",height =" 125" ;; var left =(screen.width / 2) - width / 2;
var
top =(screen.height / 2) - height / 2; var styleStr =

''toolbar = no,location = no,directories = no,status = no,m enubar = no,scrollbar = no,res

izable = no ,copyhistory = yes,width =''+ width +'',height =''+ height +'',left =''+ left +'',

p =''+ top +'',screenX = '' +左+ '',screenY = '' +顶部; var msgWindow = window.open(""," msgWindow",styleStr); var head =''
< / SCRIPT>



< script type =''text / javascript''>
messageWindow(''我的标题'',''我的信息'');
< / script>




删除无意义的var head ='' "最后,在

函数中添加一个结束},检查弹出窗口阻止软件(包括浏览器首选项),

如果不能正常工作则再次写入。


Joakim Braun


I am new at this stuff.
Can someone tell me how to CALL this function. PLease be very explicit in
your explanation
Many thnaks
<SCRIPT language="JavaScript">
function messageWindow(title, msg)
{
var width="300", height="125"; var left = (screen.width/2) - width/2; var
top = (screen.height/2) - height/2; var styleStr =
''toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbar=no,resizable=no,copyhistory=ye s,width=''+width+'',height=''+height+'',left=''+left+'', top=''+top+'',screenX=''+left+'',screenY=''+top;
var msgWindow = window.open("","msgWindow", styleStr); var head = ''
</SCRIPT>

--
Norton Professional 2004 says this email is clean...believe it

解决方案

On Tue, 02 Nov 2004 15:26:12 -0500, PCOR wrote:

I am new at this stuff.
Can someone tell me how to CALL this function. PLease be very explicit in
your explanation
Many thnaks
<SCRIPT language="JavaScript">
function messageWindow(title, msg)
{
var width="300", height="125"; var left = (screen.width/2) - width/2;
var
top = (screen.height/2) - height/2; var styleStr =
''toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbar=no,resizable=no,copyhistory=ye s,width=''+width+'',height=''+height+'',left=''+left+'', top=''+top+'',screenX=''+left+'',screenY=''+top;
var msgWindow = window.open("","msgWindow", styleStr); var head = ''
</SCRIPT>



<script type=''text/javascript''>
messageWindow(''My Title'', ''My message'');
</script>

--
i.m.
The USA Patriot Act is the most unpatriotic act in American history.


Hi
Tried that but.........I could not get it to work
I place the function in the "HEAD" and the code you gave in the "BODY" but
nothing happened. Any suggestions
Thanks

"Ivan Marsh" <an*****@you.now> wrote in message
news:pa****************************@you.now...

On Tue, 02 Nov 2004 15:26:12 -0500, PCOR wrote:

I am new at this stuff.
Can someone tell me how to CALL this function. PLease be very explicit in
your explanation
Many thnaks
<SCRIPT language="JavaScript">
function messageWindow(title, msg)
{
var width="300", height="125"; var left = (screen.width/2) - width/2;
var
top = (screen.height/2) - height/2; var styleStr =
''toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbar=no,resizable=no,copyhistory=ye s,width=''+width+'',height=''+height+'',left=''+left+'', top=''+top+'',screenX=''+left+'',screenY=''+top;
var msgWindow = window.open("","msgWindow", styleStr); var head = ''
</SCRIPT>



<script type=''text/javascript''>
messageWindow(''My Title'', ''My message'');
</script>

--
i.m.
The USA Patriot Act is the most unpatriotic act in American history.



"PCOR" <ia******@hotmail.com> skrev i meddelandet
news:Ga********************@rogers.com...

Hi
Tried that but.........I could not get it to work
I place the function in the "HEAD" and the code you gave in the "BODY" but
nothing happened. Any suggestions
Thanks

"Ivan Marsh" <an*****@you.now> wrote in message
news:pa****************************@you.now...

On Tue, 02 Nov 2004 15:26:12 -0500, PCOR wrote:

I am new at this stuff.
Can someone tell me how to CALL this function. PLease be very explicit in your explanation
Many thnaks
<SCRIPT language="JavaScript">
function messageWindow(title, msg)
{
var width="300", height="125"; var left = (screen.width/2) - width/2;
var
top = (screen.height/2) - height/2; var styleStr =
''toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbar=no,res
izable=no,copyhistory=yes,width=''+width+'',height='' +height+'',left=''+left+'',to
p=''+top+'',screenX=''+left+'',screenY=''+top; var msgWindow = window.open("","msgWindow", styleStr); var head = ''
</SCRIPT>



<script type=''text/javascript''>
messageWindow(''My Title'', ''My message'');
</script>



Remove the nonsensical "var head = ''" at the end, add a closing } to the
function, check for popup-blocking software (including browser preferences),
and write again if it doesn''t work.

Joakim Braun


这篇关于我该如何调用此功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆