在asp.net中闪烁asp链接按钮 [英] Blink asp link button in asp.net

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

问题描述

我想在asp.net页面中显示一个闪烁的按钮。请帮助。

解决方案

定义一个CSS类,如$



.blink

{

text-decoration:blink

}



将此CSS称为linkbutton。 />


< asp:linkbutton id =LinkBut​​ton1runat =serverCssClass =blink> LinkBut​​ton< / LinkBut​​ton>


< blockquote> Dhanashree Dive



我仍​​在努力解决你的问题在java脚本中尝试了很多代码,使用css和html ........... .i有一个问题是浏览器兼容性有问题....有些代码只在谷歌Chrome上运行,但有些只有浏览器和一些Mozilla Firefox .....

但大多数代码很容易在Firefox上运行.....这是在Mozilla上运行的所有练习中非常简单的代码....



  //  页面加载事件在LinkBut​​ton1是您的控件ID ...  
LinkBut​​ton1.Attributes.Add( style text-decoration:blink);





谢谢

乐于助人


Blink在每个浏览器中都不起作用。尝试使用一些ohter浏览器。

如果它在其他浏览器中工作,那么你的编码是正确的。 。 。 。



Chk由CSS'的装饰或仅在aspx页面中的HTML'的Blink标签。


I want a blinking button in asp.net page. please help.

解决方案

Define a CSS class like-

.blink
{
text-decoration:blink
}

call this CSS for the linkbutton.

<asp:linkbutton id="LinkButton1" runat="server" CssClass="blink">LinkButton</LinkButton>


Dhanashree Dive

still i am working on your problem tried many code in java script using css and also in html............i got one thing that there is issue with browser compatibility....some code only runs on google Chrome however some only explorer and also some Mozilla Firefox.....
but most of all codes easily run on Firefox.....this is a very easy code out of all practice that run on Mozilla....

//on page load event do it where LinkButton1 is your control Id... 
 LinkButton1.Attributes.Add("style", "text-decoration:blink");



thanks
Happy to help


Blink doesnot work in every Browser. Try using Some ohter Browser.
If it is working in other Browsers then you your coding is correct . . . .

Chk by CSS''s decoration or by HTML''s Blink tag in aspx page only.


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

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