CSS模板上的事件问题 [英] event problem on css template

查看:66
本文介绍了CSS模板上的事件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网站上发现了一个CSS模板...然后我决定将其添加到我的网站...所以我添加了.视图很好,工作没有问题.

但是事件或我的按钮或下拉列表现在不起作用w.我单击按钮但什么都没发生.我的button_click方法不起作用或者我现在不能在下拉列表中选择一个项目..我在主页上添加了CSS代码并添加了一个新的default.aspx.但evets现在不起作用.我的一些文件位于下面的链接
thnx ..

i found a css template on a site... then i decided to add this to my site... so i added. view is good and work without problems.

but events or my buttons or dropdownlist doesnt work noww.i click buttons but nothing happens.my button_click method doesnt work or i cant select a item on dropdownlist now .. i added css codes on my masterpage and add a new default.aspx. but evets dont work now. my some files are on below link
thnx..

推荐答案

CSS没有任何内容与JavaScript有关,并且原则上不能破坏JavaScript的执行,但是JavaScript可以修改样式.

因此,我只能有一个猜测.如果您确实没有修改任何脚本,它们仍然应该按照以前的方式执行,但是由于样式或相关更改,它们的效果可能会变得不可见或可见度较低.因此,它们必须正在工作,但是您可能会注意到它.也就是说,您需要更彻底地检查.您始终可以在调试器下运行所有​​脚本.

我必须说,如果您不向代码示例提供问题,那么通常您获得有用建议的机会就很少.任何人都可以看到如何解决您的问题而无需查看任何代码?

—SA
CSS has nothing to do with JavaScript and cannot disrupt JavaScript execution in principle, but JavaScript can modify the styles.

So, I can have only one guess. If you really did not modify any scripts, they should still execute the way they did before, but the effect of them could be made invisible or poorly visible due to styles or related changed. So, they must be working but you might fail to notice it. That said, you need to check up things more thoroughly. You can always run all the scripts under debugger.

I must say, that generally you chance to get a useful advice is pretty low if you don''t provide code samples with your questions. How anyone can see how to fix your problem without looking at any code?

—SA


这篇关于CSS模板上的事件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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