jquery-1.3.2

jquery remove coming as part of richfaces

落花浮王杯 提交于 2021-01-28 05:08:09
问题 I am using the 3.3.x version of richfaces and that contains the 1.3.2 jquery version. and our system(other resources) found that jquery version 1.3.2 have security vulnerability. I want to remove completly the jquery version and want to use later version 1.6.4 jquery. If it possible than let me know how? and If not than what should I do? NOTE: I can't update the richfaces jar version :( 回答1: Changing jQuery version was a task when I decided to add PrimeFaces to my Richfaces project. I don't

slideToggle and :visible

回眸只為那壹抹淺笑 提交于 2019-12-29 06:40:31
问题 When using the sliderToggle method, the :visible expression never seems to return anything other than true. If I manually use show / hide in conjunction with :visible expression it'll work just fine. Example of failure : jQuery(".fileNode .nodeExpander").click(function() { var notes = jQuery(this).parent().siblings(".fileNotes"); notes.slideToggle ("fast"); var isVisible = notes.is(":visible"); // Always returns true... // Do stuff based on visibility... }); Example of working : jQuery("

How do i run the .animate function in jQuery forever?

北慕城南 提交于 2019-12-21 04:57:22
问题 $(this).css("left","100px"); function endless(){ $(this).animate({ left:'-=100px', },{ easing: "linear", duration: 5000, complete: function() { $(this).css('left','100px'); endless(); } }); }; endless(); This is what I tried, but using this approach i can't get stuff moving. Im' using jQuery 1.3.2. Any Suggestions? 回答1: You have the parameters to animate wrong. It doesn't take an options hash, just the actual options for easing, duration, and a callback. Also, you need to take care when using

Is it possible to Stop jqGrid row(s) from being selected and/or highlighted?

不问归期 提交于 2019-12-20 11:21:21
问题 I've looked at the documentation but I've been unable to find an answer. Is there a way to prevent a row from being highlighted when selected? That or even a way to stop the row being selected at all. I like the "hoverrows: true" option, but ideally I would like to stop a row from being selected on-click. Thanks, Update: I've been able to "hackily" implement something which seems to be an interim fix. I don't really like it at all and would idealy like a better solution, if there is one... I

JQuery 1.3.2 vsdoc does not produce Visual Studio intellisense

喜夏-厌秋 提交于 2019-12-18 17:16:33
问题 In past i have worked with JQuery 1.2 vsdoc file which generates intellisense for vs2008 sp1. I have recently downloaded latest version of JQuery 1.3.2 and JQuery 1.3.2 vsdoc file. When i tried to get intellisense for jquery in vs2008 - I am getting following error- Warning 1 Error updating JScript IntelliSense: C:\Documents and Settings\sonx3d\My Documents\Visual Studio 2008\Projects\WebApplication2\WebApplication2\jquery-1.3.2.js: Object doesn't support this property or method @ 2139:1 Can

Jquery problems in IE8

可紊 提交于 2019-12-11 02:49:21
问题 Jquery runs fine in Safari and Firefox. In IE8 (using the Developer Tools), I get the error: "Could not get the position property. Invalid argument jquery-1.3.2.js, line 12 character 12949". Using debugging, the script highlights the characters {J[G]=K}. I have no idea what this does, but it seems to cause the problem! The result is when a thumbnail image is clicked in one of my galleries, the image does not open in IE8. If anyone understands this or how to correct it, I'd be very grateful!

Why am I getting a jQuery 'ui.element is undefined' error?

☆樱花仙子☆ 提交于 2019-12-10 14:53:51
问题 I have the following: $('#widgets ul').sortable( { connectWith: ['#widgets ul'], opacity: 0.7, start: function(e, ui) { fromWidgetPosition = ui.item.prevAll().length + 1; fromRowId = ui.element.attr('id'); I just upgraded jQuery from 1.2.6 to 1.3.2, and I also upgraded the jQuery UI library to the latest version. 回答1: The 'element' got removed in newer jQuery UI versions, see this bug report and the corresponding source changeset. According to those, you should use $(this) instead: fromRowId

How to resize a YouTube player, from thumbnail size to 'normal' size

拟墨画扇 提交于 2019-12-05 07:46:30
问题 I guess this is similar to what Facebook does, but...I haven't worked out how to follow what they do and if this is a dupe, I apologise. The idea is to have a thumbnail-size player ( width="220px" height="180px" ) that, when clicked, resizes to a 'normal' size (normal is arbitrary, of course, but for the sake of this example, if we go with width="445px" , height="364px" as the Youtube default) and then plays. I'm assuming that the onClick event should change the height and width properties

Is it possible to Stop jqGrid row(s) from being selected and/or highlighted?

十年热恋 提交于 2019-12-03 02:30:09
I've looked at the documentation but I've been unable to find an answer. Is there a way to prevent a row from being highlighted when selected? That or even a way to stop the row being selected at all. I like the "hoverrows: true" option, but ideally I would like to stop a row from being selected on-click. Thanks, Update: I've been able to "hackily" implement something which seems to be an interim fix. I don't really like it at all and would idealy like a better solution, if there is one... I have found that if I pass the option onSelectRow: function(rowid, status) { $('#'+rowid).removeClass(

slideToggle and :visible

允我心安 提交于 2019-11-29 05:47:04
When using the sliderToggle method, the :visible expression never seems to return anything other than true. If I manually use show / hide in conjunction with :visible expression it'll work just fine. Example of failure : jQuery(".fileNode .nodeExpander").click(function() { var notes = jQuery(this).parent().siblings(".fileNotes"); notes.slideToggle ("fast"); var isVisible = notes.is(":visible"); // Always returns true... // Do stuff based on visibility... }); Example of working : jQuery(".fileNode .nodeExpander").click(function() { var notes = jQuery(this).parent().siblings(".fileNotes"); var