View Single Post
  #6  
Old 03-23-2019, 05:16 PM
loramin loramin is offline
Planar Protector

loramin's Avatar

Join Date: Jul 2013
Posts: 10,518
Default

Quote:
Originally Posted by Caldwin [You must be logged in to view images. Log in or Register.]
I don't know if this helps any (not at all familiar with debuggers), but in "load.php" the debugger in IE11 says "Object doesn't support property or method 'startsWith'" for the following statement:

$(function(){var hideDelay=0;var trigDelay=250;var hideTimer=null;var ajax=null;var currentPosition={left:'0px',top:'0px'};var container=$('<div id="itemHoverContainer">'+'<div id="itemHoverContent"></div>'+'</div>');$('body').append(container);var $mouseoverTargets=$('span.ih a');var isItemCategory=document.title.startsWith('Category:')&&document.title.includes('Equipment - Project 1999 Wiki')&&!document.title.includes('Worshiper Equipment');if(isItemCategory){$mouseoverTargets=$ mouseoverTargets.add('.mw-content-ltr a');}
Thank you Caldwin, you're awesome. The non-tech speak version of that is that most browsers added a "startsWith" method ages ago, but evidently Internet Explorer didn't get around to it until IE12. I usually am careful to only use older Javascript code (for this reason), but I didn't realize "startsWith" was something IE had failed to implement.

I have since fixed the page; if any IE11 people could check and let me know if it works now I'd appreciate it!
__________________

Loramin Frostseer, Oracle of the Tribunal <Anonymous> and Fan of the "Where To Go For XP/For Treasure?" Guides
Anyone can improve the wiki! If you are new to the Blue or Green servers, you can improve the wiki to earn a "welcome package" of platinum and/or gear! Send me a forum message for details.