OZONE Asylum
Forums
DHTML/Javascript
Opera won't be nice to me
This page's ID:
31605
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
You have errors in there. In Opera, you can see these by opening the Error Console (Tools > Advanced > Error Console). Anyway. since Opera doesn't support the text API in canvas (it comes in 10.5), it will stop on line 187. ctx.restore() will never be reached, and that's why stuff gets messed up. The next problem is that negative values for height are sent to ctx.fillRect() on line 172 resulting in an exception. Just check for negative values and set height to 0 in those cases. With those fixes, it looks like the other browsers (except no labels). HTH. [small](Edited by [url=http://www.ozoneasylum.com/user/2269]HZR[/url] on 01-21-2010 22:32)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »