The item they need help with



  • It's not really necessary to go into great detail on what sort of project this code was found in; suffice to say that it pretends to be a user-friendly website. As for developer-friendly, well... Let's just look at these two functions out of a sea of them:

    function cl()
    {
      text1="<b><br><br><br><br><br><br><br><br><br><br>Place the pointer over the item with which you need help.</b>";
      text2="";
      writit(text2,'hspan');
      writit(text1,'spanid');
    }

    function cl2()
    {
      text1    = "<b><br><br><br><br><br><br><br><br><br><br>Place the pointer over the item with which you need help.</b>";
      text2    = "";
     
      writit(text2, 'hspan');
      writit(text1, 'spanid');

      text1    = "";
      text2    = "";
     
      writit(text2, 'hspan2');
      writit(text1, 'spanid2');
    }



  • Good thing all those line breaks are bolded. They're so hard to read otherwise.



  • Does "writit" stand for "write it"? That would be hilarious.



  • Of course. That part was not anonymized.


Log in to reply