This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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: 296
    
    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
 
GeeCON Prague 2014
 
subject: Dialog Jquery : Changing the color of the close button in titlebar