在asp.net中使用javascript [英] javascript using in asp.net

查看:154
本文介绍了在asp.net中使用javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要知道如何使用JavaScript在asp.net中创建幻灯片.
在Macromedia Dreamweaver中制作的相同代码是否可以在asp.net中使用,否则将无法工作....


作者:sudharsan

Hi,

I need to know how to use javascript to create a slideshow in asp.net.
Whether the same code made in MacroMedia Dreamweaver can be used in asp.net or it won''t work ....


by sudharsan

推荐答案

只要JavasScript,CSS(如果适用)并已呈现,浏览器就不会知道或不在乎您使用的是ASP.NET. HTML都是正确的,它将起作用.因此,您从Dreamweaver获得的代码将可能有效.

我建议您使用 jquery/ [ ^ ]您的任务的Javascript库.您希望幻灯片显示的工作方式与实际代码有关(例如,您可能希望预先加载URL或在每次调用时加载URL),因此没有人能够为您提供所有所需的确切信息可能性.如果您通过Google搜索"Jquery Slideshow",您将获得许多示例入门.
The browser doesn''t know or care that you are using ASP.NET, so as long as the JavasScript, CSS (if applicable) and rendered HTML are all correct it will work. So the code you have from Dreamweaver will probably work.

I suggest you use the jquery/[^] Javascript library for your task. How you want the slideshow to work has a bearing on the actual code (for example you might want to load the urls up front or load them with each call) so no-one will be able to provide you with exactly what you need in all probability. If you google for "JQuery Slideshow" you''ll get lots of examples to get you started.


一个简单的Google搜索返回了大约329,000,000个结果. Google是您的朋友,应该永远是第一个检查的地方.
A simple google search returned about 329,000,000 results. Google is your friend and should always be the first place to check.
javascript slideshow[^]


"在MacroMedia Dreamweaver中可以在asp.net中使用它,否则它将无法工作...."

Yes it will work.

此处是一个很好的链接,您可以在其中找到一些很酷的示例.希望你会喜欢.

如需进一步的帮助,请告诉我.
"Whether the same code made in MacroMedia Dreamweaver can be used in asp.net or it won''t work .... "

Yes it will work.

Here is an excellent link, where you will find some cool samples. Hope you will enjoy.

For further help, please let me know.


这篇关于在asp.net中使用javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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