*cry* the module messed up everything, please help :( |
![]() ![]() |
*cry* the module messed up everything, please help :( |
May 27 2005, 05:52 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 42 Joined: Jan 2005 Member No: 88,879 |
I have added two extra right modules using this script here.
Problem: After I added that module, my smileys dissappered, I have already tried new smiley scripts and the script I made but smiley sets doesn't work in my xanga anymore. Also, my subs scroll bar won't work anymore after I added the modules. I'm also wondering if there is a script when you can put about 3 or 4 modules on the right side and 2 on the left. Thank You! :) |
|
|
|
May 27 2005, 08:01 PM
Post
#2
|
|
![]() im addicted to my car<3 ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 635 Joined: Jan 2005 Member No: 92,236 |
hmm.. could you post all your codes up, so they can be looked at?
|
|
|
|
May 29 2005, 04:24 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 42 Joined: Jan 2005 Member No: 88,879 |
alright, sorry :(
here are my codes in my look n' feel it's pretty long and confusing.. but i tried to organize it so that it's easy to look at Header HTML: QUOTE <!--start layout--> bla bla bla bla bla <!-- end layout--> <!--start code that changes the title bar--> dee dee tha tha dee dop <!--end code that changes the title bar--> <!--start code that blocks right clicking--> booom boom boom boom <!--end code that blocks right clicking--> JavaScript Module: QUOTE Title: Shout Box QUOTE Module: <!-- begin chatter box code --> <script language="JavaScript" src="http://cbox.co.za/box/js.php?boxid=260175&boxtag=7181&width=150&heightmain=300&heightform=80&frameborder=1&bordercolor=%23ababab"></script> <!-- end chatter box code --> Website Stats: QUOTE <!-- Left Side Module-->
<div id="customLeft" style="display:none"> <!-- module:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="left"> Link Me </th></tr> <tr><td class="left" vAlign="top"> <SPAN id=istatus> <!-- begin link buttons info code provided by createblog.com --> <marquee direction="left" width="150" scrollAmount="5" scrollAmount= "6" onMouseover="this.scrollAmount=1" onMouseout="this.scrollAmount=6" onMouseDown="this.scrollAmount=1" onMouseUp="this.scrollAmount=1"> Here is a bunch of Link Buttons that I made for you if you want to link to me. Just pick the button you Like, highlight the code below the button, and press "Ctrl" + "C" keys at the same time to copy. Nextm paste the code where ever you wish. </marquee> <!-- end link buttons info code provided by createblog.com --> <!-- link box starts --> <img src="http://img210.echo.cx/img210/6885/sushiemushie4gn.png" alt="sushiemushie" width="88" height="31"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img210.echo.cx/img210/6885/sushiemushie4gn.png" border="0" alt="sushiemushie" width="88" height="31"></a></textarea><br> <img src="http://img49.echo.cx/img49/4854/27sy.png" alt="sushiemushie" width="88" height="31"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img49.echo.cx/img49/4854/27sy.png" border="0" alt="sushiemushie" width="88" height="31"></a></textarea><br> <img src="http://img46.echo.cx/img46/9926/36tq.png" alt="sushiemushie" width="88" height="31"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img46.echo.cx/img46/9926/36tq.png" border="0" alt="sushiemushie" width="88" height="31"></a></textarea><br> <img src="http://img201.echo.cx/img201/336/48nx.png" alt="sushiemushie" width="88" height="31"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img201.echo.cx/img201/336/48nx.png" border="0" alt="sushiemushie" width="88" height="31"></a></textarea><br> <img src="http://img212.echo.cx/img212/9956/57gd.png" alt="sushiemushie" width="88" height="31"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img212.echo.cx/img212/9956/57gd.png" border="0" alt="sushiemushie" width="88" height="31"></a></textarea><br> <img src="http://img206.echo.cx/img206/6947/65by.png" alt="sushiemushie"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img206.echo.cx/img206/6947/65by.png" border="0" alt="sushiemushie"></a></textarea><br> <img src="http://img220.echo.cx/img220/1587/71hv.png" alt="sushiemushie"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img220.echo.cx/img220/1587/71hv.png" border="0" alt="sushiemushie"></a></textarea><br> <img src="http://img247.echo.cx/img247/8799/88hx.png" alt="sushiemushie"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img247.echo.cx/img247/8799/88hx.png" border="0" alt="sushiemushie"></a></textarea><br> <img src="http://img250.echo.cx/img250/2900/97qv.png" alt="sushiemushie"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img250.echo.cx/img250/2900/97qv.png" border="0" alt="sushiemushie"></a></textarea><br> <img src="http://img197.echo.cx/img197/4372/106zs.png" alt="sushiemushie"><br> <textarea rows="3" class="buttoncode"><a href="http://xanga.com/sushiemushie" target="_blank"><img src="http://img197.echo.cx/img197/4372/106zs.png" border="0" alt="sushiemushie"></a></textarea><br> <!-- link box ends--><br/> </SPAN> </td></tr> </table> <br/> <!-- module:end --> </div> <script> var sbpc = document.getElementById('customLeft'); var myForm = document.getElementById('__aspnetForm'); var leftSide = sbpc.cloneNode(true); leftSide.style.display = "block"; if(!document.all){ range = document.createRange(); range.selectNode(myForm); range.insertNode(leftSide);} else{myForm.insertAdjacentElement('afterEnd', leftSide);} </script> <!-- End Left Side Module--> <!-- Start Right Side Module--> <td id="customRight" style="display:none" vAlign="top" width="200"> <!-- module:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="center"> Music Bar </th></tr> <tr><td class="left" vAlign="top"> <!-- Music Playlist--> blablablablablaba <!-- Music Playlist--> </td></tr> </table> <br/> <!-- module:end --> <!-- module:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="center"> Eye Candy </th></tr> <tr><td class="left" vAlign="top"> my second module stuff bla bla bla bla </td></tr> </table> <br/> <!-- module:end --> <!-- module:start --> <table class="left" cellSpacing="0" cellPadding="4" width="100%" border="1"> <tr><th class="left" vAlign="top" align="center"> Stats </th></tr> <tr><td class="left" vAlign="top"> <!--begin clock--> <script type="text/javascript">document.write('\u003c\u0069\u0066\u0072\u0061\u006d\u0065\u0020\u0073\u0072\u0063\u003d\u0022\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0070\u0069\u0078\u0065\u006c\u0073\u002e\u0062\u0072\u0061\u0069\u006e\u002d\u0077\u006f\u0072\u006b\u002e\u0063\u006f\u006d\u002f\u006b\u006c\u006f\u006b\u006b\u0069\u0065\u002e\u0068\u0074\u006d\u0022\u0020\u006e\u0061\u006d\u0065\u003d\u0022\u0063\u006c\u006f\u0063\u006b\u0022\u0020\u0077\u0069\u0064\u0074\u0068\u003d\u0022\u0035\u0036\u0022\u0020\u0068\u0065\u0069\u0067\u0068\u0074\u003d\u0022\u0031\u0039\u0022\u0020\u0073\u0063\u0072\u006f\u006c\u006c\u0069\u006e\u0067\u003d\u0022\u006e\u006f\u0022\u0020\u0066\u0072\u0061\u006d\u0065\u0062\u006f\u0072\u0064\u0065\u0072\u003d\u0022\u006e\u006f\u0022\u0020\u0069\u0064\u003d\u0022\u0063\u006c\u006f\u0063\u006b\u0022\u0020\u0061\u006c\u006c\u006f\u0077\u0074\u0072\u0061\u006e\u0073\u0070\u0061\u0072\u0065\u006e\u0063\u0079\u003d\u0022\u0074\u0072\u0075\u0065\u0022\u0020\u0062\u006f\u0072\u0064\u0065\u0072\u003d\u0022\u0030\u0022\u0020\u0066\u0072\u0061\u006d\u0065\u0073\u0070\u0061\u0063\u0069\u006e\u0067\u003d\u0022\u0030\u0022\u003e\u003c\u002f\u0069\u0066\u0072\u0061\u006d\u0065\u003e\u0020\u0020\u0020\u0020')</script> <!--end clock--><br> <!--begin calendar--> <script type="text/javascript">document.write('\u003c\u0069\u0066\u0072\u0061\u006d\u0065\u0020\u0062\u006f\u0072\u0064\u0065\u0072\u003d\u0022\u0030\u0022\u0020\u0066\u0072\u0061\u006d\u0065\u0062\u006f\u0072\u0064\u0065\u0072\u003d\u0022\u006e\u006f\u0022\u0020\u0066\u0072\u0061\u006d\u0065\u0073\u0070\u0061\u0063\u0069\u006e\u0067\u003d\u0022\u0030\u0022\u0020\u0073\u0072\u0063\u003d\u0022\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u006b\u0061\u006f\u0061\u006e\u0069\u002e\u0070\u0069\u0078\u0065\u006c\u006d\u006f\u006f\u0064\u002e\u0063\u006f\u006d\u002f\u0063\u0061\u006c\u0065\u006e\u0064\u0061\u0072\u0073\u002f\u0063\u0039\u002e\u0068\u0074\u006d\u0022\u0020\u0073\u0063\u0072\u006f\u006c\u006c\u0069\u006e\u0067\u003d\u0022\u004e\u006f\u0022\u0020\u0077\u0069\u0064\u0074\u0068\u003d\u0022\u0031\u0030\u0030\u0022\u0020\u0068\u0065\u0069\u0067\u0068\u0074\u003d\u0022\u0031\u0032\u0032\u0022\u0020\u0061\u006c\u006c\u006f\u0077\u0074\u0072\u0061\u006e\u0073\u0070\u0061\u0072\u0065\u006e\u0063\u0079\u003d\u0022\u0074\u0072\u0075\u0065\u0022\u003e\u003c\u002f\u0069\u0066\u0072\u0061\u006d\u0065\u003e')</script> <!--end clander--><br><br> <!-- OKcounter Code Start --> <a href=http://okcounter.com/en_status.html?id=546646> <img src=http://okcounter.com/count.html?id=546646 border=0></a> <!-- OKcounter Code Ends --><br> </td> </tr> </table> </div> <!-- end calendar code provided by createblog.com --> </td></tr> </table> <br/> <!-- module:end --> </td> <script> extra=false; j=document.getElementById('MoreoverModule1_lblModuleTitle') if(j){extra=true} index=0; var mytds = document.getElementsByTagName('td'); var i = 0; for(i=0;i<mytds.length-1;i++){ if(mytds[i].width=="200"){ index++; if(index==(extra ? 2 : 1)){break;}} } var sidebar = (extra ? mytds[i]: mytds[i].parentNode) var tsibpc = document.getElementById('customRight'); var rightSide = tsibpc.cloneNode(true); rightSide.style.display = "block"; sidebar.appendChild(rightSide); </script> <!-- end right side module --> <!-- start the second part of my layout--> bla bla bla bla bla beep <!-- end the second part of my layout--> <!-- begin comments, e-props, e-mail envelope script--> <script language="javascript"> <!-- var links = document.getElementsByTagName ('a'); for (var l = 0; l < links.length; l++) { str = links[l].innerHTML; if (str.match (/\d+:\d+ (am|pm)/i)) links[l] else if (str.match (/eprop/i)) links[l].innerHTML = str.replace (/eprop/i, "<img src=http://sherryvu.cbstaff.com/sherrys_designs/images/eprops.gif border='0'>"); else if (str.match (/comment/i)) links[l].innerHTML = str.replace (/comment/i, "<img src=http://sherryvu.cbstaff.com/sherrys_designs/images/comments.gif border='0'>"); else if (str.match (/email it/i)) links[l].innerHTML = str.replace (/email it/i, "<img src=http://sherryvu.cbstaff.com/sherrys_designs/images/envelope.jpg border='0'>"); }//--> </script> <!-- end comments, e-props, e-mail envelope script--> <!-- begin post smilies 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' ); var newsmileys = new Array( 'http://img204.echo.cx/img204/3735/happy8rz.gif', 'http://img151.echo.cx/img151/2029/cry2nm.gif', 'http://img111.echo.cx/img111/6541/wink2jr.gif', 'http://img161.echo.cx/img161/9951/tongue6ky.gif', 'http://img66.echo.cx/img66/1967/cheer2do.gif', 'http://img247.echo.cx/img247/9669/angry1sm.gif', 'http://img157.echo.cx/img157/6099/mad9kx.gif', 'http://img157.echo.cx/img157/6099/mad9kx.gif', 'http://img101.echo.cx/img101/7813/confused8dx.gif', 'http://img101.echo.cx/img101/7813/confused8dx.gif', 'http://img180.echo.cx/img180/8019/sick6wv.gif', 'http://img202.echo.cx/img202/8098/shocked6wb.gif', 'http://img202.echo.cx/img202/8098/shocked6wb.gif', 'http://img202.echo.cx/img202/8098/shocked6wb.gif', 'http://img64.echo.cx/img64/8184/bedazled3vf.gif', 'http://img53.echo.cx/img53/9913/sleeping3kn.gif', 'http://img64.echo.cx/img64/7048/blush0ec.gif', 'http://img236.echo.cx/img236/4850/cool5ls.gif', 'http://img64.echo.cx/img64/7048/blush0ec.gif', 'http://img64.echo.cx/img64/7048/blush0ec.gif', 'http://img96.echo.cx/img96/5608/love9uo.gif', 'http://img96.echo.cx/img96/5608/love9uo.gif', 'http://img96.echo.cx/img96/5608/love9uo.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 post smilies code provided by createblog.com --> <!-- comment smiley script --> <script type="text/javascript"> // HOW TO USE: // For use at Xanga only. Copy this entire code (including the script tags) // and paste in the Website Stats box at your Look and Feel page. Make sure // the previous version of this script (if any) is completely removed first. // // The script contains two arrays: "textSmileys" and "realSmileys". The items // present in the array "textSmileys" will be automatically replaced with the // corresponding images in the array "realSmileys". You can modify the arrays // as you see fit, as long as both arrays keep the exact same number of items. // // For example, suppose you want to add some smiley to the script... that would mean // in "textSmileys" you would add a shorthand like ":some_smiley:" or {somesmiley}, // and in "realSmileys" you would add it's url: "http://www.dude.com/some_smiley.gif". // // SETTINGS: // - "maxNumberOfSmileysPerRow": number of smileys that will be displayed in one row. // Smileys above that number will automatically be added to a new line. 10 by default. // - "buttonSize": size of the smiley buttons in pixels. 30 px by default. // // AVAILABILITY: // The script has been tested in the latest versions of IE, Netscape, // Mozilla and Opera (Windows 98). 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( ":angry:", ":confused:", ":cool:", ":cry:", ":happy:", ":laughing:", ":love:", ":mad:", ":no:", ":oops:", ":sleep:", ":suprised:", ":tongue:", ":unhappy:", ":wink:" ); // *** add the url's from the corresponding images below var realSmileys = new Array( "http://img69.echo.cx/img69/5750/angry5qt.gif", "http://img133.echo.cx/img133/8941/confused8rf.gif", "http://img147.echo.cx/img147/6210/cool4sp.gif", "http://img215.echo.cx/img215/5695/cry4kq.gif", "http://img217.echo.cx/img217/1489/happy7ks.gif", "http://img72.echo.cx/img72/7811/laughing8ke.gif", "http://img151.echo.cx/img151/2817/love0hg.gif", "http://img158.echo.cx/img158/8234/mad3ah.gif", "http://img16.echo.cx/img16/7097/no4vo.gif", "http://img287.echo.cx/img287/6940/oops4dt.gif", "http://img263.echo.cx/img263/8763/sleep1kz.gif", "http://img210.echo.cx/img210/6699/surprised5xb.gif", "http://img222.echo.cx/img222/4302/tongue3ae.gif", "http://img72.echo.cx/img72/2530/unhappy4xp.gif", "http://img289.echo.cx/img289/8953/wink4em.gif" ); // *** number of smileys that will be displayed per row var maxNumberOfSmileysPerRow = 10; // *** button size in pixels var buttonSize = 30; // 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 = '<img src=\"' + realSmileys[n] + '">' replacement = allTableData[i].innerHTML.replace(textSmileys[n],smiley); allTableData[i].innerHTML = replacement; } } } } } if (document.URL.indexOf('weblogs') != -1) { var smileyCollection = new Array(realSmileys.length); var smileyBar = ''; if (document.getElementById('htmleditor')) { for (i = 0; i < smileyCollection.length; ++i) { smileyCollection[i] = '<button type="button" value="" ' + 'style="width:' + buttonSize + 'px; height:' + buttonSize + 'px;" onclick="java script:insertHTML(\' ' + textSmileys[i] + '\'); return false;">' + '<img src=\"' + realSmileys[i] + '" alt="' + textSmileys[i] + '"></button>'; } } else { for (i = 0; i < smileyCollection.length; ++i) { smileyCollection[i] = '<button type="button" value="" ' + 'style="width:' + buttonSize + 'px; height:' + buttonSize + 'px;" onclick="java script:typeSmiley(\' ' + textSmileys[i] + '\'); return false;">' + '<img src=\"' + realSmileys[i] + '" alt="' + textSmileys[i] + '"></button>'; } } for (i = 0; i < smileyCollection.length; ++i) { if (i != 0) if ( (i/maxNumberOfSmileysPerRow).toString().indexOf('.') == -1) smileyBar = smileyBar + '<BR>'; smileyBar = smileyBar + smileyCollection[i]; } // add SmileyBar infoLink = '<a href="http://www.alicewoodrome.com/smileyscript.html"' + 'target=blank><font style="font-size: xx-small; font-weight: normal;">' + 'Smiley Script</font><a/><br><br>'; smileyBarHtml = '<br><b>Add Emoticons</b><br>' + 'Simply add emoticons to your comments by clicking them!' + '<br>' + smileyBar + '<br><br>'; 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 + '<br>' + smileyBarHtml; break; } } } } } } if (document.URL.indexOf('weblogs') != -1) replaceTextSmileys(); </script> <!-- comment smiley script --> <!-- begin cursor code provided by createblog.com --> <STYLE TYPE="text/css">p {align=justify} BODY{cursor: url(http://www3.telus.net/wilsoncheung/cursor.ani);} a {cursor: url(http://www3.telus.net/wilsoncheung/cursor.ani);} </STYLE> <!-- end cursor code provided by createblog.com --> |
|
|
|
May 30 2005, 01:38 AM
Post
#4
|
|
![]() I'll never be who I was again.. ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,886 Joined: Jan 2005 Member No: 77,981 |
please use codebox next time..
|
|
|
|
Jun 1 2005, 02:15 PM
Post
#5
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 42 Joined: Jan 2005 Member No: 88,879 |
|
|
|
|
![]() ![]() |