Closed Thread
Results 1 to 3 of 3

Thread: JavaScript function is supposedly undefined

  1. #1
    Junior Member craig1709's Avatar
    Join Date
    Jan 2008
    Location
    Shropshire, United Kingdom
    Posts
    3

    JavaScript function is supposedly undefined

    I have this bit of javascript, right. general pastebin - Stuff - post number 897511
    Thing is, I've never written a line of JavaScript in my life, just PHP. I understand the variables, and defining functions and so on but that's where it stops. The problem is I have this error:
    Code:
    Error: loadAlbums is not defined
    Source File: chrome://albumapplet/content/albumart.js
    Line: 118
    every time it's loaded.

    Can anybody cleverer than me point me in the right direction?

    Edit: the file linked is the albumart.js file
    Last edited by craig1709; 09-02-2008 at 05:04 PM.
    Add Post to del.icio.usBookmark Post in Technorati Share on Facebook


  2. #2
    Member Design-Disaster's Avatar
    Join Date
    Feb 2008
    Location
    UK
    Posts
    66
    loadAlbums();
    Don't you need to define it between the brackets?
    :nann: <Is this the best or what?
    Add Post to del.icio.usBookmark Post in Technorati Share on Facebook

  3. #3
    Mr. Tambourine Man LeadMagnet's Avatar
    Join Date
    Jun 2007
    Location
    Ireland
    Posts
    2,864
    Are you calling loadAlbums() anywhere else besides in the initAlbumApplet() function?
    Subtlety is my middle name... and first and last in case you didn't get the point.
    http://www.eoingriffin.com
    Add Post to del.icio.usBookmark Post in Technorati Share on Facebook

Closed Thread

Similar Threads

  1. Javascript Mario
    By jinny in forum Games
    Replies: 7
    Last Post: 04-06-2008, 07:47 PM
  2. Javascript SmoothGallery 2.0
    By Graphic Design Links in forum Graphic Design Links
    Replies: 0
    Last Post: 24-01-2008, 01:10 PM
  3. Yahoo & Javascript
    By Toon in forum General Web Design Forum
    Replies: 0
    Last Post: 12-12-2007, 09:05 PM
  4. New Javascript Menu
    By Toon in forum General Web Design Forum
    Replies: 1
    Last Post: 26-03-2007, 01:31 PM
  5. Fatal error: Call to undefined function: showimage()
    By Russlock in forum Programming Forum
    Replies: 1
    Last Post: 18-02-2007, 07:28 PM

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


The Graphics Forum Web Design Stuff Free Decent Downloads Free Quality Wallpapers Graphics Forum Free Vista Themes
The Top The Best Images Tech Talk 247 Logo Design - $149 Affordable Stock Vector Illustrations Creativecurio - Design Blog Graphic Design Advertising

Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.



Web Hosting - UK Web Hosting services for business or personal website hosting needs.

Dedicated Servers - A full range of Managed Dedicated Server solutions suitable for all your requirements.

Graphic Design Blog | Web Design Forum | Graphic Design and Print Forum | Graphic Design Links | Advertise On This Site

Web Design UK | Vision.To Design | Leaflet Printing | Estetica Design Forum's Privacy Policy

Flyer Printing | Photography Blog | Design Forum Links | Logo Design | Graphic Design Social Network | Logo Design

Graphic Design Tutorials | Logo Designer | UK Logo Design Studio | Land for sale | Vector Art Blog | Leaflet Printing

Free Web Hosting | Custom Logo Design - $149 Only | Affordable Print Design Templates | Small Business Logo Design | Company Logo Design

Logo Design Service | Logo Design Firm | Logo Design Reseller | Custom Logo Design | Letterhead Printing | Flyer Printing | Business Card Printing

Printing | Leaflet Printing | Online Backup | T-Shirt Printing | Personalised Mugs | Canvas Printing | Free Web Hosting Comparison Site