In Focus
Jabalpur Chapter - Windows 8 Developers Day
Delhi Chapter Hands On June 22: Limited Seats Register Now
Kolkata Chapter Developer Day: May 25
C# Corner Delhi Chapter Meet, May-18, 2013 Official Recap
Istanbul Chapter May 2013 2nd Seminar Announced : Learn WinJS, Windows Store, MVC
Email :
Password :
Remember me?
Forgot password
Contribute
An Article
A Blog
A News
A Video
A Link
An Interview Question
Ask a Question
TECHNOLOGIES
.NET 4.5
Current Affairs
Leadership
SharePoint 2010
Web Development
.NET Assemblies
Databases & DBA
Learn .NET
SharePoint 2013
Web Services in C#
ADO.NET in C#
Design & Architecture
LightSwitch 2012
Silverlight with C#
Windows 8
AJAX in C#
Exception Handling C#
LINQ
Smart Devices
Windows Azure
Android Programming
Graphics Design
Mobile & Embedded
SQL
Windows Controls C#
Articles C#
Hardware
Office 2013
SQL Server 2012
Windows Forms C#
ASP.NET Controls in C#
How do I
OOP/OOD
Testing
Windows Phone 8
ASP.NET MVC with C#
HTML 5
Operating Systems
TypeScript
Windows Server 2012
ASP.NET Programming
Internet & Web
PHP
Visual C#
Windows Store Apps
C# Language
iPhone/iPad
Products
Visual Studio .NET
Workflow Foundation in C#
C# Tutorials
Java
Project Management
Visual Studio 2010
WPF
C, C++, MFC
Java and .NET
Reports using C#
Visual Studio 2012
XAML
Career Advice
JavaScript, CSS
Robotics & Hardware
WCF with C#
XML
Chapters
JQuery
Security in .NET
Request a new Category
|
View All
ANSWERS
BLOGS
VIDEOS
INTERVIEWS
BOOKS
LINKS
NEWS
CHAPTERS
CAREER ADVICE
Making your Web Browser in C#
HTML 5 vs Native Apps
Secure Your Android Application from Hackers
Why to fear Object Oriented Programming approach
Difference between IEnumerable and IEnumerator
Compare strings using StringComparison.Ordin ...
Import Email from Gmail in ASP.NET
Class vs Structure
Project Cost Estimation
Get The Value From DataGridView To TextBox On c#
Blog
JQuery script to get nice style on a button
Posted by
Sateesh Arveti
in
Blogs
|
JQuery
on
Jul 02, 2010
Below script gives nice mouseover effect for a button
Tweet
3746
0
0
<style type="text/css">
.btn
{
color: black;
font: bold 95% 'trebuchet ms' ,helvetica,sans-serif;
background-color: white;
border: 1px solid;
border-color: #696 #363 #363 #696;
filter: progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr= 'white' ,EndColorStr= '#ffeeddaa' );
}
.btnhov
{
background-color: orange;
font: bold 95% 'trebuchet ms' ,helvetica,sans-serif;
filter: progid:DXImageTransform.Microsoft.Gradient (GradientType=0,StartColorStr= 'orange' ,EndColorStr= 'orange' );
border: 1px solid;
border-color: #696 #363 #363 #696;
color: White;
}
</style>
<script type="text/javascript">
$(function() {
$('input[type="button"]').attr('class', 'btn');
$('input[type="button"]').mouseover(function() { $(this).attr('class', 'btnhov'); });
$('input[type="button"]').mouseout(function() { $(this).attr('class', 'btn'); });
});
</script>
This Feature is Sponsored By
DynamicPDF Merger is a developers dream for interacting with any existing PDF documents. Merge, append, split, form fill, flatten stamp and so much more.
jQuery.Spritely Plugin
JQuery script to get nice style on a button
post comment
COMMENT USING
PREMIUM SPONSORS
DynamicPDF Developer Components
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
More Blogs from this Blogger
VS 2010 Keyboard Shortcut posters
SQL Query to get objects count in database
Update on ASP.NET Vulnerability
Visual Studio Tip
Solving 'OraOLEDB.Oracle.1' provider is not registered on the local machine issue.
Shortcut to set debug="false" in all applications running on IIS
Look at Razor
Hack to change view of GAC
Look at C# constants
Look at Class representation in UML Class Diagram
View All
SPONSORED BY
DynamicPDF ReportWriter Suite
PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Follow @twitterapi
Latest Blogs
Export Gridview Data to Excel in ASP.NET
Convert Multiple Rows into One Comma Separated Values in SQL server 2008
Excel Tips and Tricks
All about Abstract Class
How to use Ajax MaskedEditExtender and MaskedEditValidator for Currency
Converting DataSet into Byte Array
Mathematical Symbols in Views
Restricting numeric value in Textbox
Creating Inner Join on Multiple Tables in SQL Server
Bind GridView with MS Access Database Table in ASP.NET
View All
Poll
Result
All Polls
What is the best product to build Mobile apps?
What is the best product to build Mobile apps
PhoneGap
Icenium
Xamarin Studio
KendoUI Mobile
JQueryMobile
Native iOS/Android
What is the best product to build Mobile apps
Options
Votes
%
PhoneGap
2
2.56
Icenium
0
0.00
Xamarin Studio
1
1.28
KendoUI Mobile
2
2.56
JQueryMobile
63
80.77
Native iOS/Android
10
12.82
Total
78
100%