jquery

IE8 Out of memory and "Object doesn't support this property or method"

Hello, I am using jqgrid for a website i am developing and can't seem to find the problems in ie8. In ff everything works fine, but in ie8 i get the "Out of memory at line 12" message followed by a list of "Object doesn't support this property or method" Here is the list with all the js files i include: <script src="js/jquery-1.4.2.m...

Is scrollHeight of <textarea> in MSIE8 and FF differ

Hi, Thanks for your time, I have calculated scrollHeight of <textarea> and run it on Microsoft Internet Explorer 8 and Firefox. I am getting different scrollHeight in above mentioned browsers. Code used in my application function getScrollHeight(id) { textareaObj = document.getElementById(id); var scrollH = textareaObj.scro...

jQuery add to current width

I need this code to, if #vid is present, add 855px to its current width. If not, it should do nothing. I'm not sure how to get jQuery to add to an already existing number, but I'm sure it's pretty simple. Here is the code I have so far: if ($("#vid").length) { $("#img-container").width(+=855), } else { re...

Error in ScriptResource.axd: "Object of type 'Sys.Extended.UI.AccordionBehavior' cannot be converted to type 'Sys.UI.Behavior'

I have an asp.net web site where I'm trying to resolve what looks like a problem with ASP.NET AJAX: Microsoft JScript runtime error: Sys.ArgumentTypeException: Object of type 'Sys.Extended.UI.AccordionBehavior' cannot be converted to type 'Sys.UI.Behavior'. Parameter name: instance I've googled around a lot, and looked ...

Paperclip with valums's file-uploader

I am using Paperclip to upload image on Rails3. Now I want to use valums's file-uploader to do multiple image upload. I have already set the multiple image upload correctly. Each Product(a particular model) has_many photos. each photo has_one item. (FROM: rails g paperclip photo item) My question is how to use valums's file-uploader? And...

Safari bug with embed videos and jQuery Easing?

I just checked my theme (http://reggi.tumblr.com/) in safari and it throws all of the embed videos around, I'm guessing it because of the easing. Anyone know what this problem is or how to fix it? ...

JQSlickWrap doesn't work with modern browsers.

I am trying to use JQSlickWrap, I have all .js files required and Jquery files as well. but still it doesn't work with modern browsers like Chrome. I have tested many canvas example and other html5 examples in this browsers and they all work fine. ...

Draggable jQuery UI elements using wrong start position when browser is scrolled?

I have been using jQuery 1.4.2 and jQuery UI 1.8.5 to create draggable elements that revert back to their original position. There is a problem though; when you've scrolled the browser window the start position will be changed to start somewhere higher. It looks like an absolute position is used but the amount that has been scrolled is n...

does jquery fancy box support mp3s?

hi, does jquery fancy box support mp3s? if not is there a a stable plugin? thanks ...

How to replace image with flash video file?

I have video gallery written in ASP.NET. Each video has an .flv file hosted on FMS and image. I want to replace image with flash file each time use mouseover on video. ...

jQuery accordion -- is not collapsing completely

Hello, I am using jQuery accordion. All works normally, until i try to include table-like display in one of the LI section then those additional "section" would never collapse, although the rest (including one inside the same li) would be collapsed. Any idea? ...

Jquery/Ajax cookie making ajax call

Hi, (Following on from my previous questions - earlier queston) This is the code I've ended up with, although it still doesn't work and is driving me crazy! Any help greatly appreciated. S $(document).ready(function(){ function initialize() { $.ajax({ type: "POST", ...

$ is not a function - jQuery error

I have the jQuery loaded fine, I've quadruple-checked, though I'm getting this error in FireBug "$ is not a function" and my code doesn't work. Here's my code: <script type="text/javascript"> $("ol li:nth-child(1)").addClass('olli1'); $("ol li:nth-child(2)").addClass("olli2"); $("ol li:nth-child(3)").addClass("olli3"); ...

Cloning li elements in JQuery

I'm using EasySlider, but unlike any of the examples of this plugin that I've found, I show multiple elements at any one time and the width is 100%. The separate images make up a full, long consecutive image, which is Photoshopped so even the borderline between first and last looks natural. It's configured to be a continuous slide automa...

Uncheck all other checkboxes

I need to clear all other checkboxes when a user clicks a checkbox. Pretty much the same behavior as a radio button. User clicks checkbox 'A' and checkboxes 'B' and 'C' are both unchecked. I am using jquery but I can't figure out how to accomplish this. Any ideas? Here are how the checkboxes are set u: <div class="sales_block_one">...

Server control - singleton for client side.

How do I create server control that will be single instance on client side for any user controls, nested masterpages etc. Also this class should be visible by intellisense in any place where it included, so i can write javascript code in any control: Manager.getInstance().add(someObj1); in other user control: Manager.getInstance().ad...

Set width of td depending on No of td using jquery

I have several web pages with different amount of tables with different amount of columns. I was looking on the net for a jquery spinet which gets the number of columns of the table and depending on the number of columns will define the width of each column. Ex. if (noOfTdOnTable == 2) { tdWidth = "50%"; } if (noOfTdOnT...

Horizontally and vertically exclusive radio button

Hi folks Been using this site for ages and have never had to go as far as to ask my own question... cheers in advance. I have a group of "questions" which are to be listed. The user then has to rank these questions as 1st, 2nd, and 3rd (there can be many more than three questions however). The problem I have is that, if I make the ra...

Custom youtube player and shadowbox

Hello everybode, I have a custom youtube player and shadowbox. You can see it here: http://mikevierwind.nl/youtube/youtube-player.html Now my question? How can i make the custom you tube player in shadowbox? Thanks!!!!! ...

jQuery bind trigger function

Hey guys. I need some help with an item. Kwicks takes an initial argument, click or mouseover for its event parameter, by default its mouseover. in my index.php it looks like this $('.kwicks').kwicks({ min : 10, max : 480, duration: 800, easing: 'easeOutQuint', sticky : true, defaultKwick : 3, event : 'm...