|
Post by bawheid on Jan 29, 2006 14:01:14 GMT -2
opinions please! I did find more than this, but can only fit so many here unless i work out how to get the ones at the top of the page to work.change any ideas Andy? ur good at these things. and now you can do the ha ha ha who wants to
|
|
|
Post by bawheid on Jan 29, 2006 14:02:19 GMT -2
let me know what ones u like/don't like
or ones you would like to see
|
|
lucy56
Trainee Bampot
Posts: 8
|
Post by lucy56 on Jan 29, 2006 21:32:32 GMT -2
Wow, so many to choose from! Is there a way to save them to my Messenger smilies??
|
|
|
Post by Heelandcoo on Jan 29, 2006 22:59:49 GMT -2
for some reason I cannae see oany ah thum Lish....ah kin oanly git the quick repy tae show???
|
|
|
Post by Satman on Jan 30, 2006 9:35:56 GMT -2
|
|
|
Post by Satman on Jan 30, 2006 14:11:58 GMT -2
OK, here is one that might be easier. It will give a drop down menu with smileys.....no need for adding anything to the cencored words list.
This will add a drop down menu to the left of the text box listing your smilies with a preview box below it. There is also an option to 'view all' smilies which will open a pop-up window containing all of your smilies...
All you have to do is edit the red part with the full url of your smileys....
Put this in your Global Footer.
<SCRIPT language=JavaScript> <!--
/* Extra Smilies, with preview, drop down menu and option to view all by Todge (Todge-@ntlworld.com) Copyright © 2005 Please keep this header intact */
if (location.href.indexOf('action=headersfooters') == -1) {
var smilieCode = ' '; var smCode = new Array(); var smilie = new Array(); var content = ' ';
// Edit below here...
smilie[0]="URL OF SMILIE"; smilie[1]="URL OF SMILIE"; smilie[2]="URL OF SMILIE"; smilie[3]="URL OF SMILIE";
// Edit above here...
// Cache smilies... document.write('<font ID="theSmilies" style="display: none;">'); for(t=0; t<smilie.length; t++) { smCode[t] = '#'+smilie[t].split('/')[smilie[t].split('/').length-1].split('.')[0]+'#'; document.write(' <a href=\'javascript:add(" '+smCode[t]+' ")\'><img src="'+smilie[t]+'" border="0" alt=" '+smCode[t]+' "/></a> '); } document.write('</font>');
// set variables smilieCode += '<br /><br /><table bgcolor="000000" border="0"><TR><TD><select name="selectsmilie" style="width: 120px;" onChange="aS(this.options[this.selectedIndex].value)"><option>Select Smilie'; for (p2=0; p2<smCode.length;p2++) { smilieCode += '<option value=" '+smCode[p2]+' ">'+smCode[p2]; } smilieCode += '</select></TD></TR><TR><TD ID="smile" class="windowbg2" height="60" align="center" valign="middle">'; smilieCode += '</TD></TR>'; smilieCode += '<TR><TD class="windowbg2" align="center" valign="middle" height="15"><a href="javascript:void(0)" onClick="popsmilies()">View all smilies</a></TD></TR></table>';
var winleft = (screen.width/2)-250; var winatts = 'width=500,height=200,left='+winleft+',top=50,scrollbars';
content = document.getElementsByTagName('style')[0].innerHTML; content = '<html><head></head><style>'+content+'</style><body>'; content += '<br><table width="450" cellspacing="1" cellpadding="0" border="0" align="center" class="bordercolor">'; content += '<tr><td width="450" class="catbg" align="center"><font>Extra Smilies</font></td></tr>'; content += '<tr><td width="450" class="windowbg2" align="center">' for(t=0; t<smCode.length; t++) { content += " <img src=\""+smilie[t]+"\" border=\"0\" alt=\" "+smCode[t]+" \" style=\"cursor:hand;\" onMouseDown=\"window.opener.add(\' "+smCode[t]+" \');document.focus();\"> "; } content += '</td></tr></table></body></html>';
// display smilies function aS(smiley) { for(t=0; t<smCode.length; t++) { if(smiley.match(smCode[t])) { document.getElementById('smile').innerHTML = ' <a href=\'javascript:add(" '+smCode[t]+' ")\'><img src="'+smilie[t]+'" border="0" alt=" '+smCode[t]+' "/></a> '; } } }
function popsmilies() { var smilieWindow = window.open("","newWindow",winatts); smilieWindow.document.write(content); }
// list smilies var TD = document.getElementsByTagName('TD'); for(t=0; t<TD.length; t++) { if(TD[t].width == '30%' && TD[t].className == 'windowbg2' && TD[t].innerHTML.match('Message:')) { TD[t].vAlign = 'top'; TD[t].innerHTML += smilieCode; } }
// show smilies in posts var post = document.getElementsByTagName('TD'); for(pc=0; pc<post.length; pc++) { if(post[pc].colSpan =='3' && post[pc].vAlign == 'top') { for(t=0; t<smCode.length; t++) { post[pc].getElementsByTagName('font')[0].innerHTML = post[pc].getElementsByTagName('font')[0].innerHTML.replace(new RegExp(smCode[t],"g"),'<img src="'+smilie[t]+'" border="0">'); } } } } // --> </script>
|
|
|
Post by bawheid on Jan 30, 2006 16:01:46 GMT -2
thank you
I will try it out
lol
|
|