SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript Anthology

    Hi,

    does anyone know if the code in SitePoint's JavaScript Anthology book was written specifically for IIS? I am new to js but not html or css. I copied the code verbatum onto an Apache 2.0 server to study how it is done but none of the code from chapter 13 thru 14 wants to work for me I ran it through FF Firebug and it returns "addLoadListener is not defined addLoadListener(initSortableList)". Below is the beginnning of the code:

    <script language="JavaScript" type="text/JavaScript">
    addLoadListener(initSortableList);

    function initSortableList()
    {
    if (identifyBrowser().indexOf("ie") != -1 && identifyOS() == "mac")
    {
    return false;
    }
    Thanks in advance.

    js - rookie

  2. #2
    SitePoint Member
    Join Date
    Mar 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Never mind I resolved this issue. If anyones curious let me know.

  3. #3
    SitePoint Guru
    Join Date
    Apr 2007
    Posts
    813
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you mean it was written for IE only?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •