JQuery :: Getting The Webshims Plugin Canvas Polyfill To Work
May 20, 2011
I am having problems getting the webshims plugin canvas polyfill to work. I get the following error in IE9 using IE7 mode: SCRIPT438: Object doesn't support property or method 'fillRect' problem.html, line 21 character 7 when I try to run this code:
I have a menu in which is applied typeface script. Typeface 0.11 version doesn't support hover on links. There is an experimental version but doesn't work very well for me, so i tried to implement hover by myself. Problem is: hover works pretty well changing canvas context property fillColor and then calling fill(), but the stroke on hovered voice remains on another color. Difficult to explain, so i put some test code online: TEST CODE As you can see, passing with mouse on the menu voices triggers the hover and the element change, but remains bordered in red.
I have make a javascript program that uses HTML canvas and I can't get it to work in Internet Explorer. I tried using excanvas and jqcanvas but had trouble getting them to work.
I've been having problems with some simple(?) lines of code...
What I'm trying to do is to simply turn the canvas black and show a small gif on it. Upon executing initCnv(), the canvas turns black as it should, while the sprite image doesn't show up at all. I can't figure out what's going on, I scoured the code for syntax errors, even tried other image formats but to no avail. Image paths are also correct.
I'm trying to take the hex value chosen from a jQuery colorpicker plugin, and store it as a cookie using the jQuery cookie plugin. I just don't know the appropriate way to tie the two together.
I have a script that runs a sprite animation on the canvas, adapted from here: [URL] After wondering why it wouldn't work on Safari or older versions of Firefox, I saw this: [URL] and implemented the suggested shim. However, I'm still getting some errors that I can't explain for the life of me. To make this easy for everyone, I threw it in a jsfiddle: [URL]
I want to delete some lines on the canvas that i have created in HTML5 (with the <canvas> tag). I know one solution and that is using clearRect() (give this function the HEIGHT and WIDTH of the canvas and you clears the whole canvas.).But i don't want to clear the whole canvas, i only want to delete a few lines made by the function lineTo().
I am trying to make a jquery plug in work for me. I am using the horizontal scroller jquery easing plug in but I cannot get in to work right? The way the tutorial I used has you set it up is you use divs for each link so it scrolls to the next div. My problem is that I have 3 different pages that my navigation needs to scroll to so I have no idea how to make those into divs?
The way the tutorial has it the links are actually divs but I have changed it to attempt to make it work but it doesnt........
I am combining a select box enhancer called Chosen from [URL].. and the jQueryUI accordian with toggler from here:[URL].. Now, when I place the chosen plugin inside one of the togler sections, it just doesn't show correctly.
Here is a demo: [URL].. Click on the States section to see the chosen plugin. I can't figure out why it is not displaying correctly. If I use it outside the toggler, it works fine.
Has anyone got the jCrumb plugin to work? I've read the fine manual, and have followed the demo code, but my test page gives the following error in Firebug:
jQuery Plugin: [URL]. I've been trying for 3days to get this plugin to work, I've contacted the developers and no response. the demo on the site seems to work with a json output but the downloaded code & example does not work. I'm trying to get it to work with PHP as the backend and nothing. The instructions are very vague like a lot of jquery plugins. Are there any developers or experience jquery plugin users that can assist with telling me how to get this plugin to work correctly?
I am using simpleTreeMenu plugin and it is working fine except for the following. I am building the tree dynamically. If I put in an alert ( //alert("Herem1" + ulidp); )prior to the call of the simpleTreeMenu() function, the page works as expected. It allows me to expand and close the tree, and an alert appears if I pick the selected leafs. But if I take out the alert prior to the call of the simpleTreeMenu() function, the page is not working as expected. The tree hangs, it will not expand once closed. It is like the simpeTreeMenu needs a bit of hang time between the unorderd list (the tree) being built and the invokation of the simpleTreeMenu() function. Does anyone have an idea why this might be the case?
i am using facybox to open the form and the intention was to use malsup form plugin to send/receive etc. however, form plugin does not work with facybox. if i just use the form in normal html page(non-modal) then the form plugin works. but if i use with facybox, then i get the response in the results page that the form submitted. ie, fileadd.php. is anyone familiar with this or have a workaround?
validation plugin is very good and work perfect with jquery 1.4.2, but don't work with jquery 1.4.3 on ie8. Have plans to fix it?The error message:Menssage: Object doesn't support this property or methodLine: 100Char: 330Code: 0
I'm trying to get Joerns awesome autocomplete-plugin to work with UTF-8 but I've had no luck in making it work. Has anyone managed to query the backend using UTF-8 encodend characters?
Right now I'm trying my best to decode the incoming string ie "q=Ă–stman" but nothing happens? Do I need to encode the returned string as well?
I installed IE9 and the jquery.media plugin from http://jquery.malsup.com/media/# stopped working on all my pages the error is SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5) in line 382 var o = document.createElement(a.join(''));
Having some trouble with this plugin. I've tried in both IE8 and FF3, but it doesn't seem to work. Basically the background position isn't moving...the function toArray(strg) is suppose to return the following....return [parseFloat(res[1],10),res[2],parseFloat(res[3],10),res[4]]; this is the line where I'm getting an error code.
The values res[2] and res[4] are coming back as NaN. I'm not sure what these values represent, or why they are Null.
We are using some old java script framework, which is not working on tablets(we are targetting android, ipad) but working fine on IE, Firefox. Even this is not working on desktop safari. We decided to move to higher version of java script framework so that it can work in all desktop browsers and tablet browsers (atleast in ipad, android). We are not targetting mobiles now. My question is if I move to Jquery without mobile plugin, does it going to work in both browsersof desktop and tablets (I am not looking for touch screen functionality like expanding the screen.. but looking forhorizontal, vertical scrolls to work, equivalent of mouse onclick should work).