Smilies in Entries help... |
Smilies in Entries help... |
Apr 8 2005, 11:56 PM
Post
#1
|
|
![]() Yay, Me! ![]() ![]() ![]() Group: Member Posts: 71 Joined: Jan 2005 Member No: 87,837 |
I tried to override my default entry smiles with this code:
<!-- begin code provided by createblog.com --> <script language=javascript> var oldsmileys = new Array( 'http://www.xanga.com/Images/happy.gif', 'http://www.xanga.com/Images/sad.gif', 'http://www.xanga.com/Images/winky.gif', 'http://www.xanga.com/Images/silly.gif', 'http://www.xanga.com/Images/laughing.gif', 'http://www.xanga.com/Images/angry.gif', 'http://www.xanga.com/Images/censored.gif', 'http://www.xanga.com/Images/bitter.gif', 'http://www.xanga.com/Images/confused.gif', 'http://www.xanga.com/Images/clueless.gif', 'http://www.xanga.com/Images/wtf.gif', 'http://www.xanga.com/Images/shocked.gif', 'http://www.xanga.com/Images/stunned.gif', 'http://www.xanga.com/Images/surprised.gif', 'http://www.xanga.com/Images/whatevah.gif', 'http://www.xanga.com/Images/bummed.gif', 'http://www.xanga.com/Images/pleased.gif', 'http://www.xanga.com/Images/cool.gif', 'http://www.xanga.com/Images/blush.gif', 'http://www.xanga.com/Images/shy.gif', 'http://www.xanga.com/Images/kiss2.gif', 'http://www.xanga.com/Images/smooch.gif', 'http://www.xanga.com/Images/heart2.gif', 'http://www.xanga.com/Images/heart2.gif ); var newsmileys = new Array( 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Happy.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Sad.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Wink.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Silly.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Laughing.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Angry.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Censored.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Bitter.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Confused.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Clueless.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/WTF.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Shocked.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Stunned.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Surprised.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Whatevah.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Bummed.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Pleased.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Cool.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Blush.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Shy.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Kiss2.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Smooch.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/Heart2.gif', 'http://i2.photobucket.com/albums/y5/xxhellhathnofuryxx/Emoticons/BigMouth.gif' ); for (var i = 0; i < document.images.length; i++) { for (var s = 0; s < oldsmileys.length; s++){ if (document.images[i].src == oldsmileys[s]){ newsmiley = document.createElement('img'); newsmiley.src = newsmileys[s]; document.images[i].parentNode.replaceChild(newsmiley, document.images[i]); break; } } } </script> <!-- end code provided by createblog.com --> And it just won't work...I put alot of effort into it andI cannot get it to work! I went by this thingy>> http://www.createblog.com/forums/index.php...1098&hl=smilies Please help me! PS. Sorry about the codebox> It wasn't working for me... |
|
|
|
xxhellhathnofuryxx Smilies in Entries help... Apr 8 2005, 11:56 PM
EXPLO5ION Did you put it in Website Stats? Apr 9 2005, 12:03 AM
xxhellhathnofuryxx Yes....
Please hurry...I need some sleep but I w... Apr 9 2005, 12:08 AM![]() ![]() |