wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Dialog Jquery : Changing the color of the close button in titlebar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dialog Jquery : Changing the color of the close button in titlebar" Watch "Dialog Jquery : Changing the color of the close button in titlebar" New topic
Author

Dialog Jquery : Changing the color of the close button in titlebar

ankita sarma
Greenhorn

Joined: Nov 13, 2012
Posts: 25
Hi Fellow Programmers,

I am using jQuery Dialog and change the color of the title-bar to black

Due to this the close button on the extreme right corner has become invisible.
Anybody has a idea how to change the color of that X button.


As of now I am using

.


Thanks in Advance


Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 295
    
    5

Replace the image being used for the close button with one of a different colour. If you want different colours in jQuery UI it's easier just to modify the theme than it is to go hacking in the CSS files.


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
ankita sarma
Greenhorn

Joined: Nov 13, 2012
Posts: 25
Hay Thank you for your reply.

I achieved it by using


this is the jsfiddle its very helpful jsfiddle for changing image of close button

hope it helps somebody who needs it later on
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dialog Jquery : Changing the color of the close button in titlebar
 
Similar Threads
How to disable the close(cross) button of a window
JQuery.UI Dialog & $().load() & JavaScript
JQuery Dialog Box Positioning and Replacing X with Close
Jquery Problems : Jquery Dialog Box
Issue with Jquery Dialog on IE