canvas.getContext('webgl'); (2006-01-03 20:36 by benjaminj #18873)
At the moment you are creating the webgl object by sending the element as an argument, I have figured out a way to do this by adding it to the getContext function like the subject line shows, see my source code example: