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: Re: [Sobreira] Insert Smiley Plugin: Edit Log



kimastergeorge
Novice

Oct 8, 2004, 5:59 PM


Views: 103568
Re: [Sobreira] Insert Smiley Plugin

I don't understand... They don't have to have the smileys ordered, they just have to have every one from 1 to 580. If you changed the names to 1, 2, 3, etc. rather than 0001, 0002 etc., simply remove this block of code:

Code
if(i < 1000) { 
if(i < 100) {
if(i < 10) {
inum = "000" + i;
} else {
inum = "00" + i;
}
} else {
inum = "0" + i;
}
}
else {
inum = i;
}

And replace it with this code:

Code
inum = i;

I can't check which smileys they do have unless I use PHP, ASP, Perl, etc., and I want it to work on any server. To change how many smileys there are, change this line:

Code
var totalsmileys = 580;

EDIT: Including updated file in original post.


(This post was edited by kimastergeorge on Oct 8, 2004, 6:01 PM)


Edit Log:
Post edited by kimastergeorge (Novice) on Oct 8, 2004, 6:01 PM


Search for (options)