Click here to Skip to main content
15,885,309 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: weird javascript issues Pin
compninja256-Nov-09 1:30
compninja256-Nov-09 1:30 
GeneralRe: weird javascript issues Pin
Marc Firth6-Nov-09 1:41
Marc Firth6-Nov-09 1:41 
GeneralRe: weird javascript issues Pin
compninja256-Nov-09 9:24
compninja256-Nov-09 9:24 
GeneralRe: weird javascript issues Pin
Marc Firth8-Nov-09 21:51
Marc Firth8-Nov-09 21:51 
GeneralRe: weird javascript issues Pin
compninja259-Nov-09 2:24
compninja259-Nov-09 2:24 
GeneralRe: weird javascript issues Pin
compninja259-Nov-09 3:16
compninja259-Nov-09 3:16 
GeneralRe: weird javascript issues Pin
Marc Firth9-Nov-09 4:03
Marc Firth9-Nov-09 4:03 
GeneralRe: weird javascript issues [modified] Pin
compninja259-Nov-09 6:19
compninja259-Nov-09 6:19 
Ah, turns out that wasn't it after all. If I remove the image.onload section, then it works, although it never changes to the desired image after it loads. I guess it's coming back to the 'onload' function after Current has hit 5 and that's where it's bombing out. I'll have to search for dynamic image.onload functions. So far, I've been basing my code from this

[Update] it is definately something to do with the image.onload event. I was able to finally step through the code and it does work fine, but it appears that after the function completes, it then goes off and works on the rest of the page before coming back to the code in the image.onload event. Then, it tries to execute those lines of code but fails because the image_Counter is now 5. I thought that the image.onload would be setting a new function for each image box, but instead it looks like that is not the case. The overall goal is to have a "loading" gif display as the thumbnails are loading, but then display the image once it is properly loaded. I can get it to work just fine with a single static image, but not programatically for each of the thumbnails. Does anyone have any recommendations to help point me in the right direction?

Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.

modified on Monday, November 9, 2009 3:49 PM

Question[Message Deleted] Pin
bahar.ghara4-Nov-09 22:21
bahar.ghara4-Nov-09 22:21 
AnswerRe: file uploade Pin
Not Active5-Nov-09 1:13
mentorNot Active5-Nov-09 1:13 
AnswerRe: file uploade Pin
Shameel5-Nov-09 2:47
professionalShameel5-Nov-09 2:47 
QuestionSynchronization Calendar API Pin
Pradeep kumar.V4-Nov-09 17:26
Pradeep kumar.V4-Nov-09 17:26 
QuestionASP.NET GridView Add Rows From JS and Reflect to Srerver-Side. Pin
BhavinBhatt4-Nov-09 16:17
BhavinBhatt4-Nov-09 16:17 
AnswerRe: ASP.NET GridView Add Rows From JS and Reflect to Srerver-Side. Pin
Not Active4-Nov-09 16:40
mentorNot Active4-Nov-09 16:40 
QuestionNice And Complex With DIVS........ HELP Pin
SRJ924-Nov-09 14:57
SRJ924-Nov-09 14:57 
AnswerRe: Nice And Complex With DIVS........ HELP Pin
Not Active4-Nov-09 16:36
mentorNot Active4-Nov-09 16:36 
GeneralRe: Nice And Complex With DIVS........ HELP Pin
SRJ925-Nov-09 0:12
SRJ925-Nov-09 0:12 
AnswerRe: Nice And Complex With DIVS........ HELP Pin
enhzflep5-Nov-09 0:26
enhzflep5-Nov-09 0:26 
GeneralRe: Nice And Complex With DIVS........ HELP Pin
SRJ925-Nov-09 0:28
SRJ925-Nov-09 0:28 
GeneralRe: Nice And Complex With DIVS........ HELP Pin
Not Active5-Nov-09 1:12
mentorNot Active5-Nov-09 1:12 
GeneralRe: Nice And Complex With DIVS........ HELP Pin
SRJ925-Nov-09 9:48
SRJ925-Nov-09 9:48 
QuestionHow to create Dialogs and notifications? Pin
Alivemau54-Nov-09 12:23
Alivemau54-Nov-09 12:23 
AnswerRe: How to create Dialogs and notifications? Pin
Oakman4-Nov-09 13:03
Oakman4-Nov-09 13:03 
GeneralRe: How to create Dialogs and notifications? Pin
Alivemau54-Nov-09 13:48
Alivemau54-Nov-09 13:48 
GeneralRe: How to create Dialogs and notifications? Pin
Oakman4-Nov-09 15:54
Oakman4-Nov-09 15:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.