Click here to Skip to main content
15,885,032 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: JQuery datePicker SelectMultiple format dd/mm/yy Pin
xnaLearner10-Dec-12 0:04
xnaLearner10-Dec-12 0:04 
QuestionDelete selected rows by table id using javascript Pin
Member 88023075-Dec-12 8:05
Member 88023075-Dec-12 8:05 
AnswerRe: Delete selected rows by table id using javascript Pin
Deepak Kr15-Dec-12 18:45
Deepak Kr15-Dec-12 18:45 
GeneralRe: Delete selected rows by table id using javascript Pin
Member 88023076-Dec-12 6:20
Member 88023076-Dec-12 6:20 
AnswerRe: Delete selected rows by table id using javascript Pin
Graham Breach6-Dec-12 21:41
Graham Breach6-Dec-12 21:41 
QuestionHTML5 Javascript Issue Pin
#realJSOP3-Dec-12 1:09
mve#realJSOP3-Dec-12 1:09 
AnswerRe: HTML5 Javascript Issue Pin
Graham Breach3-Dec-12 5:00
Graham Breach3-Dec-12 5:00 
GeneralRe: HTML5 Javascript Issue Pin
#realJSOP3-Dec-12 5:22
mve#realJSOP3-Dec-12 5:22 
Graham Breach wrote:
Running it in the IE9 debugger I found that the "complete" member of the current image was false when the script fails. So the browser hasn't loaded the relevant image before trying to draw it.

Is there a way to wait until complete is true before continuing with processing? I got the background image from someone else, and neglected to post-process the background image so that it was a reasonable size on disk. Maybe doing that will fix it...

Graham Breach wrote:
I managed to get the page to work in Opera by changing both occurrences of
context.drawImage(collection[i].OnImage.ItemImage, collection[i].ImageX, collection[i].ImageY);

to
context.setTransform(1, 0, 0, 1, collection[i].ImageX, collection[i].ImageY);    
context.drawImage(collection[i].OnImage.ItemImage, 0, 0);

I don't know why that should make any difference though.

I wonder why that would even matter...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997


GeneralRe: HTML5 Javascript Issue Pin
Graham Breach3-Dec-12 6:29
Graham Breach3-Dec-12 6:29 
GeneralRe: HTML5 Javascript Issue Pin
#realJSOP3-Dec-12 6:40
mve#realJSOP3-Dec-12 6:40 
GeneralRe: HTML5 Javascript Issue Pin
Graham Breach3-Dec-12 6:48
Graham Breach3-Dec-12 6:48 
GeneralRe: HTML5 Javascript Issue Pin
#realJSOP3-Dec-12 9:09
mve#realJSOP3-Dec-12 9:09 
GeneralRe: HTML5 Javascript Issue Pin
Graham Breach3-Dec-12 11:02
Graham Breach3-Dec-12 11:02 
GeneralRe: HTML5 Javascript Issue Pin
#realJSOP3-Dec-12 15:20
mve#realJSOP3-Dec-12 15:20 
GeneralRe: HTML5 Javascript Issue Pin
Media2r18-Dec-12 0:51
Media2r18-Dec-12 0:51 
GeneralRe: HTML5 Javascript Issue Pin
BrainiacV18-Dec-12 3:46
BrainiacV18-Dec-12 3:46 
GeneralRe: HTML5 Javascript Issue Pin
#realJSOP3-Dec-12 5:29
mve#realJSOP3-Dec-12 5:29 
GeneralRe: HTML5 Javascript Issue Pin
#realJSOP4-Dec-12 1:06
mve#realJSOP4-Dec-12 1:06 
GeneralRe: HTML5 Javascript Issue Pin
#realJSOP4-Dec-12 7:31
mve#realJSOP4-Dec-12 7:31 
GeneralRe: HTML5 Javascript Issue Pin
Zaf Khan19-Dec-12 20:36
Zaf Khan19-Dec-12 20:36 
AnswerRe: HTML5 Javascript Issue Pin
Zaf Khan19-Dec-12 20:42
Zaf Khan19-Dec-12 20:42 
QuestionCatching Exceptions in Javascript Pin
Ved Yo29-Nov-12 14:43
Ved Yo29-Nov-12 14:43 
QuestionPartial Overlay to cover ajax request Pin
Sentenryu29-Nov-12 1:51
Sentenryu29-Nov-12 1:51 
QuestionHow to get value from TD Pin
Chitttapa26-Nov-12 10:03
Chitttapa26-Nov-12 10:03 
Questionhelp me please Pin
nth9224-Nov-12 4:16
nth9224-Nov-12 4:16 

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.