Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-02-2008, 03:55 PM
craig1709's Avatar
Junior Member
 
Join Date: Jan 2008
Location: Shropshire, United Kingdom
Posts: 3
Default 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 04:04 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #2 (permalink)  
Old 14-02-2008, 10:37 AM
Design-Disaster's Avatar
Junior Member
 
Join Date: Feb 2008
Location: UK
Posts: 48
Default

Quote:
loadAlbums();
Don't you need to define it between the brackets?
__________________
<Is this the best or what?
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 14-02-2008, 02:19 PM
LeadMagnet's Avatar
Mr. Tambourine Man
 
Join Date: Jun 2007
Location: Ireland
Gender: Male
Posts: 1,537
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Mario jinny Games 7 04-06-2008 07:47 PM
Javascript SmoothGallery 2.0 Graphic Design Links Graphic Design Links 0 24-01-2008 12:10 PM
Yahoo & Javascript Toon General Web Design Forum 0 12-12-2007 08:05 PM
New Javascript Menu Toon General Web Design Forum 1 26-03-2007 01:31 PM
Fatal error: Call to undefined function: showimage() Russlock Programming Forum 1 18-02-2007 06:28 PM


All times are GMT. The time now is 02:21 AM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0