本文介绍了CSS ASP预期')'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正试图想出这个问题。我不是CSS或ASP的专业人士。我很清楚VBScript。


a href行中有一个预期的'')''错误。在两个< li>之间标签。这与我试图如何显示屏幕描述有关。


我要做的是显示图像的描述,然后当您将鼠标悬停在描述上时,图像将会出现。


感谢您提供的任何帮助。


我设法通过图像预览来完成此操作,但将其切换为文本它不起作用。

这是我从中获取图像的地方:


主站点:



图片的工作代码预览:


Response.Write("< tD ALIGN ="" CENTER"" BGCOLOR =#FFFFFF>")

回复.Write("< li>")

Response.Write("< a href =""#"">

< img src ="" Image_Web_Gallery\Image_"& rsGetRecords(" StaticImageTimedNumber")&" .jpg"" />< img src ="" Image_Web_Gallery\Image_"& ; rsGetRecords(" StaticImageTimedNumber")&" .jpg"" class ="" preview"" />< / a>")

Response.Write("< / li>")

Response.Write("< / tD>")


我想做的事情:


Response.Write("< tD ALIGN ="" CENTER"" BGCOLOR =#FFFFFF>")

Response.Write("< li>")

Response.Write("< a href =" rsGetRecords(" StaticImageTimedDescription)""> rsGetRecords(" StaticImageTimedDescription")< img src =""" Image_Web_Gallery \Image_"& rsGetRecords(" StaticImageTimedNumber")&"。 jpg"" class ="" preview"" />< / a>")

Response.Write("< / li>")

Response.Write("< / tD>")

Hi,

I am having a heck of a time trying to figure this one out. I am not a pro with CSS or ASP. I know VBScript fairly well.

There is a Expected '')'' error in the line with the "a href" between the two <li> tags. It has to do with how I am trying to display the Description to screen.

What I am trying to do is display the description of the image and then when you hover/mouse over the description the image will appear.

Thanks for any help you can offer.

I managed to do this with an image preview, but switching this to text it isn''t working.
Here is where I got the image working from:
http://host.sonspring.com/hoverbox/
main site:
http://sonspring.com/journal/hoverbox-image-gallery

Working code for the image preview:

Response.Write ("<tD ALIGN=""CENTER"" BGCOLOR=#FFFFFF>")
Response.Write ("<li>")
Response.Write ("<a href=""#"">
<img src=""Image_Web_Gallery\Image_" & rsGetRecords("StaticImageTimedNumber") & ".jpg"" /><img src=""Image_Web_Gallery\Image_" & rsGetRecords("StaticImageTimedNumber") & ".jpg"" class=""preview"" /></a>")
Response.Write ("</li>")
Response.Write ("</tD>")

What I am trying to do:

Response.Write ("<tD ALIGN=""CENTER"" BGCOLOR=#FFFFFF>")
Response.Write ("<li>")
Response.Write ("<a href=""rsGetRecords("StaticImageTimedDescription") ""> rsGetRecords("StaticImageTimedDescription") <img src=""Image_Web_Gallery\Image_" & rsGetRecords("StaticImageTimedNumber") & ".jpg"" class=""preview"" /></a>")
Response.Write ("</li>")
Response.Write ("</tD>")

推荐答案


展开 | 选择 | Wrap | Line数字



这篇关于CSS ASP预期')'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 10:48