vForums Support :: vForums :: Report a Bug :: Resolved Bugs :: 'Laugh' & 'Huh?' Smileys - View Topic (Page 3 of 3)
 |  |
| Nick Very Senior Member
    
![[Avatar]](http://uploads.vforums.co.uk/forums/support/f_5e7b1402b305d883af97446b2fedc6c2_1-eog.jpeg) Posts: 3,013 Status: Offline Gender: Male Location: vForums Age: 35 Joined:
pmwww | Re: 'Laugh' & 'Huh?' Smileys (10th Dec 07 at 8:38pm UTC) | | Taking out the smileys that show up? what about the No0bs (No offense to em) what if they dont know and are lazy to figure it out them selves, Ive seen many people like that | |
| Luke Junior Member
 
![[Avatar]](http://i41.tinypic.com/2vkz4n8.jpg) "It costs nothing to pass on knowledge, but the rewards are massive." - All Seeing Eyes Posts: 96 Status: Offline Gender: Male Location: vForums Joined:
pmwww | Re: 'Laugh' & 'Huh?' Smileys (10th Dec 07 at 8:44pm UTC) | | Well, to bad for those noobs... If they want it so badley, they should take the time to fill it out. | |
http://vzerohost.com/
|
| Marc vChat Developer
     I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 33 Joined:
Additional Groups: Coding Team
  
pmwww | Re: 'Laugh' & 'Huh?' Smileys (10th Dec 07 at 8:45pm UTC) | | Easy way to fix that is just... Uhhh self explanitory...  Code: - <script type="text/javascript">
- <!--
- /*
- Smileys with quick reply - global footers
-
- Created by Peter
-
- This code cannot be reposted at anywhere other than SSDesigns or ProBoards, without permission.
-
- This header must stay intact at all times.
- */
-
- // Base url for the smileys folder
- var sBaseImg = "http://www.4d5.net/v4images/";
-
- // List of smileys - [SMILEY FILE, CODE, TITLE]
- var iSmileys = [ ["smiley.gif", ":)", "Smiley"],
- ["wink.gif", ";)", "Wink"],
- ["cheesy.gif"," ","Cheesy"],
- ["grin.gif", ";D", "Grin"],
- ["angry.gif", ">:(", "Angry"],
- ["sad.gif", ":(", "Sad"],
- ["shocked.gif", ":o", "Shocked"],
- ["cool.gif", "8-)", "Cool"],
- ["rolleyes.gif", "::)", "Roll Eyes"],
- ["tongue.gif", " ", "Tongue"],
- ["embarassed.gif", ":-[", "Embarassed"],
- ["lipsrsealed.gif", " ", "Lips Sealed"],
- ["undecided.gif", " ", "Undecided"],
- ["kiss.gif", " ", "Kiss"],
- ["cry.gif", ":'(", "Cry"]
- ];
-
- var iTable = document.getElementsByTagName("table");
-
- function addSmiley(smiley){
- var isIE = (document.all)? true : false;
- var mArea = document.getElementById("qrform").message;
- if(isIE){
- mArea.focus();
- var iCurSelect = document.selection.createRange();
- iCurSelect.text = smiley + iCurSelect.text
- } else if(!isIE){
- var selStart = mArea.value.substr(0, mArea.selectionStart);
- var selEnd = mArea.value.substr(mArea.selectionEnd, mArea.value.length);
- var curSelection = mArea.value.replace(selStart, '').replace(selEnd, '');
- mArea.value = selStart + smiley + curSelection + selEnd;
- } else {
- mArea.value += smiley;
- }
- mArea.focus();
- }
-
- for(t = 0; t < iTable.length; t ++){
- var iBR = document.createElement("br");
- if(iTable.item(t).cellPadding == "4" && iTable.item(t).cellSpacing == "1" && iTable.item(t).rows.item(0).innerHTML.match(/>Quick Reply</)){
- var iMCell = iTable.item(t).rows.item(1).cells.item(0);
- iTable.item(t).getElementsByTagName("form").item(0).id = "qrform";
- iMCell.insertBefore(iBR, iMCell.firstChild);
- iSmileys.reverse();
- for(s = 0; s < iSmileys.length; s ++){
- var sLink = document.createElement("a");
- var sImg = document.createElement("img");
-
- sImg.border = "0";
- sImg.src = sBaseImg + iSmileys[s][0];
- sImg.title = iSmileys[s][2];
- sLink.href = "javascript: addSmiley(" " + iSmileys[s][1] + "")";
- sLink.appendChild(sImg);
-
- iMCell.insertBefore(sLink, iMCell.firstChild);
- iMCell.insertBefore(document.createTextNode(" "), iMCell.firstChild);
- }
- }
- }
-
- //-->
- </script>
I still think it would be much easier to just center them. | |
rroll.to— Shorten a link, rickroll your friends. |
| Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 2:16pm UTC) | | How does that look now? | |
|
| Graham Support Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 1,642 Status: Offline Gender: Male Location: Sussex, UK Age: 40 Joined:
Additional Groups: Support Team
  
pmwww | Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 3:19pm UTC) | | They look a bit squashed for me Would it depend on the screen res/browser how they look?
I don't mind how they look too much as long as they work. | |
| Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 3:45pm UTC) | | Firefox didn't seam to like the way they were done Are they looking OK now? | |
|
| BizzD Full Member
  
Posts: 306 Status: Offline Gender: Male Location: Washington Joined:
pm | Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 4:45pm UTC) | | I see they are all spread out though they all have some cut off except | |
| Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 7:05pm UTC) | | Are they showing OK now? I was so worried about getting them right in firefox I went and messed them up in IE instead | |
|
| Graham Support Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 1,642 Status: Offline Gender: Male Location: Sussex, UK Age: 40 Joined:
Additional Groups: Support Team
  
pmwww | Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 11:06pm UTC) | | Looks fine in both for me | |
| BizzD Full Member
  
Posts: 306 Status: Offline Gender: Male Location: Washington Joined:
pm | Re: 'Laugh' & 'Huh?' Smileys (13th Dec 07 at 11:52pm UTC) | | Are they showing OK now? I was so worried about getting them right in firefox I went and messed them up in IE instead
Perfect. | |
| |
 |  |
|