Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Smilies Above Text Box
Topic Started: Dec 4 2008, 03:19 PM (391 Views)
Brandie
Member
 *  
Hi. This code never had directions on where to place it in the wrappers. Would someone please help me and tell me if this is the right code now and where to place it in the wrappers? Thanx

<script type="text/javascript">
<!--
/*
Smilies Above Posting Area
Coded By Greg/Moose
Don't repost or edit
*/
if(location.href.match(/act=Post&CODE=/) && document.getElementsByName('Post')[0]){
var addsmilies = new Array();
var table = document.getElementsByTagName('table');
for(t=0;t<table.length;t++){
if(table[t].className == "tablefill" && table[t].cellPadding == "4" && table[t].align == "center" && table[t].rows[0].cells[0] && table[t].rows[0].cells[0].colSpan == "3" && table[t].rows[0].cells[0].innerHTML.match(/^<b>Clickable Smilies<\/b>$/i)){
var lesmilies = table[t].getElementsByTagName('a');
for(a=0;a<lesmilies.length;a++){
if(lesmilies[a].href.match(/^javascript:emoticon/i)){
addsmilies.push(lesmilies[a]);
}}
var smdiv = document.createElement('div');
for(a=0;a<addsmilies.length;a++){
smdiv.appendChild(addsmilies[a]);
smdiv.appendChild(document.createTextNode(' '));
}
table[t].parentNode.style.display = "none";
document.getElementsByName('Post')[0].parentNode.colSpan = "2";
document.getElementsByName('Post')[0].parentNode.align = "center";
document.getElementsByName('Post')[0].parentNode.insertBefore(smdiv,document.getElementsByName('Post')[0]);
break;
}}}
//-->
</script>





http://z13.invisionfree.com/Friendship_Circle/index.php?act=idx
Edited by Brandie, Dec 4 2008, 03:22 PM.
Offline Profile Quote Post Goto Top
 
Tony
Member Avatar
If found, please report missing.

You could always try placing it within the Footer: section and see if it works for you.

Edit: This code works correctly for me at the top of my footer box.
Edited by Tony, Dec 4 2008, 03:58 PM.
Offline Profile Quote Post Goto Top
 
Brandie
Member
 *  
Ok I'll try that again. But i put it at the beginning of the footers and at the bottom of the footers already and under navigation just to see if it would work. Ive tried everything in the footers.
Offline Profile Quote Post Goto Top
 
Brandie
Member
 *  
I put it back in the footers and its still not working.
Offline Profile Quote Post Goto Top
 
boy of the corn
Member
 *  
i woulda guessed you put it in javascript but i tried it since mine was blank and didnt see anything. dont they already have clickable smileys? or does this add to them? btw i like your board!
Edited by boy of the corn, Dec 7 2008, 09:18 PM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards - Skinning & Code Support · Next Topic »
Add Reply