Ticket #353 (closed defect: fixed)
Skins for plugins /popups too
| Reported by: | gocher | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Xinha Core | Version: | |
| Severity: | normal | Keywords: | Skin |
| Cc: |
Description
I want to insert some style informations for the plugins /popups in the skin.css!
For Example:
.dialog {
background-color: #EEEEEE;
}
.dialog .title {
background-image: url(button-background.png);
}
.dialog .button{
background-image: url(button-background.png);
}
Where is the place to put this few lines in?
if(editor.config.skin != "") {
var head = document.getElementsByTagName("head")[0];
var link = document.createElement("link");
link.type = "text/css";
link.href = _editor_url + 'skins/' + editor.config.skin + '/skin.css';
link.rel = "stylesheet";
head.appendChild(link);
}
I think the right place is in popups\popup.js function dlg_init but how can I get the editor.config.skin value?
Change History
Note: See
TracTickets for help on using
tickets.
