Opened 15 years ago

Closed 15 years ago

#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


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( != "") {
  var head = document.getElementsByTagName("head")[0];
  var link = document.createElement("link");
  link.type = "text/css";
  link.href = _editor_url + 'skins/' + + '/skin.css';
  link.rel = "stylesheet";

I think the right place is in popups\popup.js function dlg_init but how can I get the value?

Change History (4)

comment:1 Changed 15 years ago by gocher

  • Component changed from Documentation to Xinha Core
  • Owner changed from akaEdge to gogo

comment:2 Changed 15 years ago by gogo

Currently I don't think the various popups are going to be co-operative with skins (well, they are just not skinable).

I'd also advise not using that code you pasted ( if( ) because when I get around to implementing skin selection it will be as


because it is a global setting relative to all editors on a page.

comment:3 Changed 15 years ago by gocher

I changed to _editor_skin and implemented the skin for popups in changeset 239!

I prepared the example skin's and the following plugins already works fine: EditTag?, InsertMarquee?, Equatation, Forms, InsertSmily?, CharacterMap?, FullPage?, InsertAnchor?, Abbreviation, QuickTag?, Template, FindReplace?.

comment:4 Changed 15 years ago by gocher

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.