Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Zoho Docs
Google Docs
Each Attachment size should not exceed 1MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery UI
jedierikb
unable to get custom icon on jQueryUI button
in
Using jQuery UI
•
4 months ago
Here is what I am trying to do -- use base64 data on my button...
http://jsfiddle.net/ryFSx/
but it is not working out. Any suggestions?
( got the idea from here:
http://stackoverflow.com/questions/3224537/change-the-icon-of-a-jquery-ui-button-with-own-image
)
1
Reply
Replies(2)
kbwood.au
Re: unable to get custom icon on jQueryUI button
4 months ago
The
!important
modifier needs to be within the style declaration:
.test {
background-image: url(data:;base64,/9j/4AAQ...ibn//2Q==)
!important;
}
Leave a comment on kbwood.au's reply
jedierikb
Re: unable to get custom icon on jQueryUI button
4 months ago
Thank you -- I see that the !important modifier wasn't where it needed to be.
I fixed that here:
http://jsfiddle.net/U3qdY/
However, now the image is being cropped! The base64 png data is 50px x 50px... how do I size the buttons with this graphic to be the right size?
Leave a comment on jedierikb's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to jedierikb's question
Top
Reply
{"z2953500":[14737000003903062],"z4481430":[14737000003901238,14737000003901541]}
Statistics
2
Replies
247
Views
0
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
dialog close event
Using Events in Combobox
UI: Dialog: Form: Add a Button with...
Fx Bounce and JQuery Tabs
Draggable button