htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Add-Ons:
DynamicCSS plugin drop down position.


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


mr_nil
New User

Jan 31, 2005, 5:49 AM

Post #1 of 2 (81725 views)
Shortcut
DynamicCSS plugin drop down position. Can't Post

Hi there,

I've got everything up and running from a roughly default set up with a few tweaks without getting into building the menus myself. Everything seems good, except that with the DynamicCSS plugin loaded it pushes the display out (I only want it to be about 600px wide), because with all the default toolbar buttons plus the CSS drop down loaded it is exceptionally wide.

Is there anyway to make the DynamicCSS drop down appear somewhere else or force a line break before the default (core) toolbar?


morris
Novice

Feb 8, 2005, 6:27 PM

Post #2 of 2 (81551 views)
Shortcut
Re: [mr_nil] DynamicCSS plugin drop down position. [In reply to] Can't Post

Hi there,

to do this you will need to edit the dynamiccss.js file...

the three lines, 31-33


Code
	toolbar[0].splice(1, 0, "separator"); 
toolbar[0].splice(1, 0, "DynamicCSS-class");
toolbar[0].splice(1, 0, "T[CSS]");


need to be changed to:


Code
	toolbar[ROW].splice(CELL, 0, "separator"); 
toolbar[ROW].splice(CELL, 0, "DynamicCSS-class");
toolbar[ROW].splice(CELL, 0, "T[CSS]");


where row is the the different toolbars, and cell is the horizontal position along the toolbar.

Smile the first time I've answered a question rather than asked it

 
 
 


Search for (options)