| CLKRazorblade: weblog - photos - videos - audio - pulse - profile - subscribe! |
|
Wednesday, December 14, 2005
Saturday, September 24, 2005
Friday, September 09, 2005
Friday, September 02, 2005
Thursday, September 01, 2005
|
|
|
// Smiley Changer
function typeSmiley(sSmiley)
{
if (document.getElementsByTagName('textarea')[0].getAttribute('name') == 'bdescr')
var editor = document.getElementsByTagName('textarea')[0];
else
{
var allTextAreas = document.getElementsByTagName('textarea');
for (i = 0; i < allTextAreas.length; ++i)
{
if (allTextAreas[i].getAttribute('name') == 'bdescr')
{
var editor = allTextAreas[i];
break;
}
}
}
editor.value = editor.value + sSmiley;
}
function replaceTextSmileys()
{
// ***add textual emoticons to the array below
var textSmileys = new Array(
":Naruto:",
":Rasengan:",
":Sasuke:",
":SasukeSeal:",
":Fireball:",
":Sakura:",
":Kakashi:",
":Paradise:",
":Kawarimi:",
":KKChidori:",
":NiceGuyGai:",
":NiceGuyLee:",
":Hinata:",
":Neji:",
":Shino:",
":Konohamaru:",
":TheSand:",
":Gaara:",
":Gaaraball:",
":Haku:",
":Kisame:",
":Kabuto:",
":Orochimaru:",
":Tsunade:",
":Jiraiya:",
":JiraiyaRas:",
":Yondaime:",
":Sarutobi:",
":Itachi:",
":EbisunB:");
// *** add the url's from the corresponding images below
var realSmileys = new Array(
"http://forums.narutofan.com/images/smilies/nar_kyubi.gif",
"http://forums.narutofan.com/images/smilies/nar_rasengan.gif",
"http://forums.narutofan.com/images/smilies/sasuke_still.gif",
"http://forums.narutofan.com/images/smilies/sasuke_seal.gif",
"http://forums.narutofan.com/images/smilies/sasuke_grandfireball.gif",
"http://forums.narutofan.com/images/smilies/shannaro.gif",
"http://forums.narutofan.com/images/smilies/kks_shar.gif",
"http://forums.narutofan.com/images/smilies/kks_reads.gif",
"http://forums.narutofan.com/images/smilies/kks_kawarimi.gif",
"http://forums.narutofan.com/images/smilies/kks_chidori1.gif",
"http://forums.narutofan.com/images/smilies/gai_nice_pose.gif",
"http://forums.narutofan.com/images/smilies/lee_nice_pose.gif",
"http://forums.narutofan.com/images/smilies/hinata_smile.gif",
"http://forums.narutofan.com/images/smilies/neji.gif",
"http://forums.narutofan.com/images/smilies/shino_still.gif",
"http://forums.narutofan.com/images/smilies/07.gif",
"http://forums.narutofan.com/images/smilies/th_sandsibs.gif",
"http://forums.narutofan.com/images/smilies/gaara_sandspin.gif",
"http://forums.narutofan.com/images/smilies/gaara_ball.gif",
"http://forums.narutofan.com/images/smilies/th_haku1.gif",
"http://forums.narutofan.com/images/smilies/kisame_blush.gif",
"http://forums.narutofan.com/images/smilies/th_kabuto.gif",
"http://forums.narutofan.com/images/smilies/oro1.gif",
"http://forums.narutofan.com/images/smilies/Tsunade.gif",
"http://forums.narutofan.com/images/smilies/jir_perv.gif",
"http://forums.narutofan.com/images/smilies/jir_rasengan2.gif",
"http://forums.narutofan.com/images/smilies/yondaime_wind.gif",
"http://forums.narutofan.com/images/smilies/3rd_pipe.gif",
"http://forums.narutofan.com/images/smilies/itachi_mange2.gif",
"http://forums.narutofan.com/images/smilies/EbisuNB.gif");
// *** number of smileys that will be displayed per row
var maxNumberOfSmileysPerRow =10;
// *** button size in pixels
var buttonSize = 60;
// preloading images
var preloadedImages = new Array(realSmileys.length);
for (i = 0; i < preloadedImages.length; ++i)
{
preloadedImages[i] = new Image();
preloadedImages[i].src = realSmileys[i];
}
var allTableData = document.getElementsByTagName('td');
var indx;
var smiley;
var replacement;
for (var i = 0; i < allTableData.length; ++i )
{
for ( var n = 0; n < textSmileys.length; ++n )
{
if ((allTableData[i].innerHTML.toUpperCase().indexOf('TABLE') == -1) &&
(allTableData[i].innerHTML.indexOf('previewHTML()') == -1))
{
indx = allTableData[i].innerHTML.indexOf(textSmileys[n]);
if (indx != -1)
{
while (indx != -1)
{
replacement = '';
indx = allTableData[i].innerHTML.indexOf(textSmileys[n]);
smiley = ' '; smileyBar = smileyBar + smileyCollection[i]; } // add SmileyBar infoLink = '' + 'Smiley Script '; smileyBarHtml = ' Add Naruticons ' + 'Simply add Naruticons to your comments by clicking them! Get smilies like these at xanga.com/butterpopcorn315!!! ' + smileyBar + ' '; if (navigator.userAgent.indexOf('Mac') == -1) { if (document.getElementById('htmleditor')) var obj1 = document.getElementById('htmleditor').parentNode; else { if (document.getElementsByTagName('textarea')[0].getAttribute('name') == 'bdescr') var obj1 = document.getElementsByTagName('textarea')[0].parentNode; else { var allTextAreas = document.getElementsByTagName('textarea'); for (i = 0; i < allTextAreas.length; ++i) { if (allTextAreas[i].getAttribute('name') == 'bdescr') { var obj1 = allTextAreas[i].parentNode; break; } } } } var obj2 = document.createElement('span'); obj2.setAttribute('ID','idSmileyBar'); obj2.innerHTML = smileyBarHtml; obj1.insertBefore(obj2,obj1.firstChild); } else { // alternative solution for the Mac for (var i = 0; i < allTableData.length; ++i ) { if ((allTableData[i].innerHTML.toUpperCase().indexOf('TABLE') == -1) && (allTableData[i].innerHTML.indexOf('previewHTML()') == -1)) { if (allTableData[i].innerHTML.toUpperCase().indexOf('(OPTIONAL)') != -1) { var temp = allTableData[i].innerHTML; allTableData[i].innerHTML = temp + ' ' + smileyBarHtml; break; } } } } } } if (document.URL.indexOf('weblogs') != -1) replaceTextSmileys(); special thanx to dantheman for the urls to linkin park..and one last thing i wann say or slay wattever u wanna calll it1! lol ^_^ http://xb6.xanga.com/99b857106533011232099/b8269891.jpg You kill for revenge. That is because you have lost something or someone you held very dear. Now you can't seem to get over the loss that marked your soul, and the only solution is to go after the one person who brought all this pain to you. Chances are you are angry inside and you bottle everything up and don't talk to anyone about it. People may want to help, but you think that they can never understand your pain and only get frustrated because of this. But it is important to see all that you have left and be thankful of that even if you have lost something great. It may not be true that Times heals all wounds, but with time and talking about your feelings, maybe the hurt will ease. Main weapon: Yourself Quote: "You can close your eyes to reality but not to memories" -Stainslaw J. Lec Facial expression: Gritted teeth and teary eyes What Type of Killer Are You? [cool pictures] brought to you by Quizilla |
| xanga - your site - terms - privacy - jobs - help - press - join - Language |
| safety - parents - law enforcement |
| report inappropriate content |