使用ASP和VBscript的弹出窗口 [英] popup window using ASP and VBscript

查看:74
本文介绍了使用ASP和VBscript的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好吧


我对asp页面有一点问题。

我正在尝试创建一个主页/详细页面,但就此而言场合,它只是

a少量细节,所以我想创建一个小页面,细节,

并弹出。你要做的事情就是在你的详细页面上显示一个链接到

a更大的图形。

很明显我做错了什么,因为而不是打开

新页面,在弹出窗口中,主页面移动到细节,然后弹出

窗口,然后打开错误。

例如此处
http://www.tripak.me.uk/sublisting.a...9&TexSpecID=34

点击链接会给我详细页面,但不是我想要

吧。


这是我在母版页上的代码,错误可能就在这里

< a href =" info.asp?GradeID =<%=(rsSublisting(" GradeID"))%>"

onClick =" window.open(''nameofwindow'', '''',''width = 100,height = 100'');返回

false"><%= rsSubListing(" Grades&quo t;)%>< / a>


有人可以指出我做错了吗?


非常感谢


Raphael

Hi everyone

I am having a little problem with an asp page.
I am trying to create a master/detail page, but on this occasion, it''s only
a small amount of detail, so i want to create a small page, for the detail,
and have that pop up. something you would do for instance to show a link to
a larger graphic on your detail page.
It''s obvious that i am doing something wrong, because instead of opening the
new page, in the pop up, the main page moves to the detail, and the pop up
window then opens up as an error.
For example here
http://www.tripak.me.uk/sublisting.a...9&TexSpecID=34
Clicking on a link there will give me the detail page, but not where i want
it.

This is my code from the master page, and the error is probably here
<a href="info.asp?GradeID=<%=(rsSublisting("GradeID") )%>"
onClick="window.open(''nameofwindow'','''',''width=100, height=100'');return
false"><%=rsSubListing("Grades")%></a>

Could someone point out what i have done wrong?

Thanks so much

Raphael

推荐答案

尝试


< A href = "#"

onclick =" window.open(''nameofwindow'',''info.asp?Grad eID =<%= rsSublisting(" Grade

ID")%>'',width = 100,height = 100)"><%= rsSubListing(" Gr ades")%>< / A>


Ray在工作中


Raphael Gluck < iwish我可以告诉你@alas责怪垃圾邮件发送者>写在

消息新闻:u0 ************** @ TK2MSFTNGP10.phx.gbl ...
Try

<A href="#"
onclick="window.open(''nameofwindow'',''info.asp?Grad eID=<%=rsSublisting("Grade
ID")%>'',width=100,height=100)"><%=rsSubListing("Gr ades")%></A>

Ray at work

"Raphael Gluck" <iwish i could tell you @alas blame the spammers> wrote in
message news:u0**************@TK2MSFTNGP10.phx.gbl...
大家好

我在asp页面上遇到了一些问题。
我正在尝试创建一个主页/详细页面,但在这种情况下,它只是
只有少量的细节,所以我想创建一个小页面,为
细节,并弹出。你可以做些什么,例如在你的详细页面上显示一个更大的图形链接

很明显我做错了,因为而不是打开
新页面,在弹出窗口中,主页面移动到细节,然后弹出窗口然后打开错误。
例如这里
http://www.tripak.me.uk/sublisting.a...9& ; TexSpecID = 34
点击一个链接会给我详细页面,但不会给我
想要它的地方。

这是我的代码来自大师页面,错误可能在这里

< a href =" info.asp?GradeID =<%=(rsSublisting(" GradeID")))%>"
onClick =" window.open(''nameofwindow'','''',''width = 100,height = 100''); return
false"><%= rsSubListing("等级)%>< / a>

有人可以指出o我做错了什么?

非常感谢

Raphael
Hi everyone

I am having a little problem with an asp page.
I am trying to create a master/detail page, but on this occasion, it''s only a small amount of detail, so i want to create a small page, for the detail, and have that pop up. something you would do for instance to show a link to a larger graphic on your detail page.
It''s obvious that i am doing something wrong, because instead of opening the new page, in the pop up, the main page moves to the detail, and the pop up
window then opens up as an error.
For example here
http://www.tripak.me.uk/sublisting.a...9&TexSpecID=34
Clicking on a link there will give me the detail page, but not where i want it.

This is my code from the master page, and the error is probably here
<a href="info.asp?GradeID=<%=(rsSublisting("GradeID") )%>"
onClick="window.open(''nameofwindow'','''',''width=100, height=100'');return
false"><%=rsSubListing("Grades")%></a>

Could someone point out what i have done wrong?

Thanks so much

Raphael



谢谢

我试过了,但它似乎没有用,我输入了所有这些


< A href ="#"

onclick =" window.open(''nameofwindow'',''info.asp?Grad eID =<%= rsSublisting(" Grade

ID")%> '',width = 100,height = 100)"><%= rsSubListing(" Gr ades")%>< / A>


它只是不动。我可以在

网页的底部看到一个错误三角形,第188行,它不包含任何可以帮助我的内容

我误解了你的脚本行吗?我必须修改吗?


请帮助


Raphael
Thanks
I tried that, but it doesnt seem to work, I entered all this

<A href="#"
onclick="window.open(''nameofwindow'',''info.asp?Grad eID=<%=rsSublisting("Grade
ID")%>'',width=100,height=100)"><%=rsSubListing("Gr ades")%></A>

And it just doesnt move. I can see an error triangle in the bottom of the
web page, line 188 which doesnt contain anything to help me
Have i misunderstood your script line? must i modify it?

Please help

Raphael


对不起,如果这个一个双帖,但它看起来不像它发送​​了


谢谢Ray

我的页面是ASP和VBscript

会那样是可能的原因还是一个愚蠢的问题?


Raphael
sorry if this a double post, but it doesnt look like it sent

Thanks Ray
my pages are in ASP and VBscript
would that be possible cause or is that a silly question?

Raphael


这篇关于使用ASP和VBscript的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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