Click here to Skip to main content

JavaScript

 
GeneralRe: JQuery datePicker SelectMultiple format dd/mm/yy PinmemberxnaLearner10-Dec-12 1:04 
QuestionDelete selected rows by table id using javascript PinmemberMember 88023075-Dec-12 9:05 
AnswerRe: Delete selected rows by table id using javascript PinmemberDeepak Kr15-Dec-12 19:45 
GeneralRe: Delete selected rows by table id using javascript PinmemberMember 88023076-Dec-12 7:20 
AnswerRe: Delete selected rows by table id using javascript PinmemberGraham Breach6-Dec-12 22:41 
QuestionHTML5 Javascript Issue [modified] PinmvpJohn Simmons / outlaw programmer3-Dec-12 2:09 
AnswerRe: HTML5 Javascript Issue PinmemberGraham Breach3-Dec-12 6:00 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 6: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 PinmemberGraham Breach3-Dec-12 7:29 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 7:40 
GeneralRe: HTML5 Javascript Issue PinmemberGraham Breach3-Dec-12 7:48 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 10:09 
GeneralRe: HTML5 Javascript Issue PinmemberGraham Breach3-Dec-12 12:02 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 16:20 
GeneralRe: HTML5 Javascript Issue PinmemberMedia2r18-Dec-12 1:51 
GeneralRe: HTML5 Javascript Issue PinmemberBrainiacV18-Dec-12 4:46 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 6:29 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer4-Dec-12 2:06 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer4-Dec-12 8:31 
GeneralRe: HTML5 Javascript Issue PinmemberZaf Khan19-Dec-12 21:36 
AnswerRe: HTML5 Javascript Issue PinmemberZaf Khan19-Dec-12 21:42 
QuestionCatching Exceptions in Javascript PinmemberVed Yo29-Nov-12 15:43 
QuestionPartial Overlay to cover ajax request PinmemberSentenryu29-Nov-12 2:51 
QuestionHow to get value from TD PinmemberChitttapa26-Nov-12 11:03 
Questionhelp me please Pinmemberdoa'a_9224-Nov-12 5:16 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.150123.1 | Last Updated 23 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid