2012-10-21, 03:34 PM
So i have the smilie inserter working (finally). But there is still 1 last issue i have with it.
I would like to style it a bit differently. Then how it looks currently.
The things i would like to change:
I tried a few things in CSS but simply couldn't get it to to change.
Only by editing line 30 but that had an affect on all the buttons :<
If anybody is able to help me i would greatly appreciate it.
How the menu is created:
I would like to style it a bit differently. Then how it looks currently.
The things i would like to change:
- The size of the container (it needs to be able to hold 4 buttons)
- I want to remove most to all of the styling for the buttons. I purely want the mouse to become a pointer on hover.
But no longer the color of the button , the border and all those things. So i want to more or less make it look like the default on the left (without the top bar).
I tried a few things in CSS but simply couldn't get it to to change.
Only by editing line 30 but that had an affect on all the buttons :<
If anybody is able to help me i would greatly appreciate it.
How the menu is created:
drawSmileyOption: function(option)
{
var item = document.createElement('button');
item.extra = option.value;
item.className = 'editor_dropdown_smiley_item';
item.title = option.value;
item.innerHTML = '<img src="jscripts/editor_themes/default/images/smiley/'+option.value+'.gif">';
return item;
},