|
Post by Wormopolis on Jul 7, 2010 18:29:27 GMT -8
now change this
<!--!!!!!!!!!!!!!!!!!!!!!!!!!!!!AXEL MINI PROFILE!!!!!!!!!!!!!!!!!!!!!!!!!!!!--!>
to this
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!AXEL MINI PROFILE!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
|
Post by allthingsofgillian on Jul 7, 2010 18:32:00 GMT -8
Okay that's been done. I only did it the way above because you had me change that for ALL my codes in the past...
|
|
|
Post by Wormopolis on Jul 7, 2010 18:37:55 GMT -8
well THAT one in particular was wrong at the end.. see how I removed the ! at the end of it. notice all your other HTML comment lines dont have the !...
and now it works in IE.
that incorrect comment tag was telling IE to IGNORE the following code basically (though other browsers dont use that comment style so they were fine). the next comment tag it saw was correct (right above the refelection code) so the codes after IT started working again.
reflection code seems to be getting along with MP code. I will add in the exalt/smite links next.
|
|
|
Post by allthingsofgillian on Jul 7, 2010 18:43:19 GMT -8
Yes I see that now. Very interesting how IE doesn't quite work the same way as the other browsers. Thank you again for going through this and finding out the problem...I'll see about finding another computer with IE that I can see the codes working on both my forum and my friends. I just can't see it on my W7 or my apple computer. Thanks again for adding in the Exalt/Smite links.
|
|
|
Post by Wormopolis on Jul 7, 2010 21:01:03 GMT -8
So is it that IE8 isnt seeing it? does IE8 report any errors?
|
|
|
Post by allthingsofgillian on Jul 7, 2010 21:02:54 GMT -8
The thing is with my IE8 I hate that stupid "Compatibility" button. It just doesn't work either way and NONE of the codes on my forum work on IE8. It's just crazy.
|
|
|
Post by Wormopolis on Jul 7, 2010 22:07:08 GMT -8
I dont have IE8 to run on this laptop (work laptop) so I cant look for myself. You might have to make a PBS post to see if Craig or Martyn have any ideas.
|
|
|
Post by allthingsofgillian on Jul 12, 2010 22:44:11 GMT -8
I was wondering if you could make this code compatible with the new MP code. It doesn't show up and it seems like it was last updated three years ago. If you can make it work with the MP code could you make it work for Chrome since it doesn't state that it does? ORIGINAL CODE PAGEGlobal Footers Browsers: IE & FF <script type="text/javascript"> <!--
/*Allow Memebers to select a Mood in their profile, by Zando*/
var zEmoVar=new Array();
//Edit These zEmoVar[0]='<option value="http://s2.images.proboards.com/smiley.gif">Happy</option>'; zEmoVar[1]='<option value="http://s4.images.proboards.com/cheesy.gif">Cheesy</option>'; zEmoVar[2]='<option value="http://s2.images.proboards.com/angry.gif">Angry</option>'; zEmoVar[3]='<option value="http://s2.images.proboards.com/shocked.gif">Shocked</option>'; zEmoVar[4]='<option value="http://s2.images.proboards.com/huh.gif">Huh</option>'; zEmoVar[5]='<option value="http://s2.images.proboards.com/tongue.gif">Silly</option>'; zEmoVar[6]='<option value="http://s2.images.proboards.com/lipsrsealed.gif">Silent</option>'; zEmoVar[7]='<option value="http://s2.images.proboards.com/kiss.gif">Kiss</option>'; zEmoVar[8]='<option value="http://s2.images.proboards.com/laugh.gif">Laugh</option>'; zEmoVar[9]='<option value="http://s2.images.proboards.com/wink.gif">Wink</option>'; zEmoVar[10]='<option value="http://s2.images.proboards.com/grin.gif">Grin</option>'; zEmoVar[11]='<option value="http://s2.images.proboards.com/sad.gif">Sad</option>'; zEmoVar[12]='<option value="http://s2.images.proboards.com/cool.gif">Cool</option>'; zEmoVar[13]='<option value="http://s2.images.proboards.com/rolleyes.gif">Roll</option>'; zEmoVar[14]='<option value="http://s2.images.proboards.com/embarassed.gif">Blush</option>'; zEmoVar[15]='<option value="http://s2.images.proboards.com/undecided.gif">Unsure</option>'; zEmoVar[16]='<option value="http://s2.images.proboards.com/cry.gif">Cry</option>';
//Do not Edit below here var tdz=document.getElementsByTagName("td") var inp=document.getElementsByTagName("input") var sel=document.getElementsByTagName("select") var tbl=document.getElementsByTagName("table") if(location.href.match(/modifyprofile/)){ document.write('<input name="zDataStore" type="hidden"></input>') if(document.modifyForm.signature.innerHTML.match(/{=}(.+){\/=}/)){ var zle124=RegExp.$1 for(z=0;z<inp.length;z++){ if(inp[z].name.match(/zDataStore/)){ inp[z].value=zle124 document.modifyForm.signature.innerHTML=document.modifyForm.signature.innerHTML.replace(/{=}(.+){\/=}/, ''); } } } for(z=0;z<tbl.length;z++){ if(tbl[z].width=="650" && tbl[z].rows[0].cells[0].innerHTML.match(/Gender:/)){ var zRow=tbl[z].insertRow(4);var zCell=zRow.insertCell(0); var zCell2=zRow.insertCell(1);var zCell3=zRow.insertCell(2); zCell.width="160";zCell.vAlign="top"; zCell.innerHTML='<font size="-1">Mood:</font>'; zCell2.width="245";zCell2.vAlign="top"; zCell2.innerHTML='<select name="zEmotion" onchange="zEmDis()"><option value="zNoEm">Emotion</option><option value="zNoEm">None</option>'+zEmoVar+'</select><b'+'r /><table><tr><td id="zEmDisCell"></td></tr></table>';zCell3.width="245"; zCell3.vAlign="top"; zCell3.innerHTML='<font size="-2">If you wish to have a mood emotion displayed in your profile, then you are able to select one of the provided emotions.</font>'; } } function zEmDis(){ for(z=0;z<tdz.length;z++){ if(tdz[z].id.match(/zEmDisCell/)){ for(a=0;a<sel.length;a++){ if(sel[a].name.match(/zEmotion/)){ tdz[z].innerHTML='<img src="'+sel[a].value+'">'; for(i=0;i<inp.length;i++){ if(inp[i].name.match(/zDataStore/)){ inp[i].value=sel[a].value } } if(sel[a].value.match(/zNoEm/)){ tdz[z].innerHTML=''; } } } } } } for(a=0;a<inp.length;a++){ if(inp[a].name.match(/profileaction/) && inp[a].value.match(/Modify Profile/)){ inp[a].onclick=function(){ for(z=0;z<inp.length;z++){ if(inp[z].name.match(/zDataStore/) && !inp[z].value.match(/zNoEm/)){ document.modifyForm.signature.innerHTML+='{=}'+inp[z].value+'{\/=}'; }; } } } } } for(z=0;z<tdz.length;z++){ if(tdz[z].width=="20%" && tdz[z].vAlign=="top" && tdz[z].className.match(/windowbg(2)?/) && tdz[z].innerHTML.match(/member is/) && tdz[z+1].innerHTML.match(/{=}(.+){\/=}/)){ var zzFFEEm=RegExp.$1 if(zzFFEEm!="zNoEm"){ tdz[z].innerHTML+='<b'+'r />Mood: <img src="'+zzFFEEm+'" />'; } tdz[z+1].innerHTML=tdz[z+1].innerHTML.replace(/{=}(.+){\/=}/, ''); } }
//--> </script> For this code above, I already have my pictures uploaded to a site and placed in the code itself, if you want me to post that one instead. How is the Karma Exalt/Smite addition coming along?
|
|
|
Post by Wormopolis on Jul 12, 2010 23:29:02 GMT -8
Yeah I dropped the ball an that karma button thing... sorry. I get overwhelmed sometimes and I lose my place. feel free to bump a thread for me every once in a while to remind me.
the above code looks like it stores in signature area and in a normal MP, would place mood right after the last thing.... we can actually modify this code to place in a dedicated row in one of the MP remodel tables.. but where would you want it to show?
|
|
|
Post by Wormopolis on Aug 5, 2010 3:12:08 GMT -8
|
|
|
Post by allthingsofgillian on Aug 18, 2010 9:31:10 GMT -8
Thanks a lot!
|
|