[jQuery] Re: Cross domain problems

2008-07-08 Thread Alexsandro_xpt
Well, I thought this is security browser issue. I always solve this problem this way: Eg.: To ajax this: http://feedproxy.feedburner.com/undergoogle I create this: http://blog.alexsandro.com.br/application/load/feedproxy.feedburner.com/undergoogle -- Alexsandro www.alexsandro.com.br On

[jQuery] Re: Links injected with jQuery not active in IE6

2008-07-08 Thread M. Miller
Funny, after setting up a test page I resolved my problem. It seems that a bug causes links inside nested floats to sometimes become inactive in IE6. Removing the float, or strangely, removing the background image, caused the inserted links to function properly. More about the bug here: http://w

[jQuery] Re: 1.2.4 to 1.2.6 question

2008-07-08 Thread Karl Swedberg
Hi Shelane, I just had major issues today adding some jQuery (1.2.6) to an old site that has legacy Prototype code. This has come up a few times before on the list, but I totally forgot about that while I was in the midst of my agony. If I recall correctly, the conflict only occurs with c

[jQuery] Re: caching AJAX data?

2008-07-08 Thread [EMAIL PROTECTED]
What I ended up doing was setting a variable and testing for it. If it's set, then I just toggle the display instead of grabbing the data via AJAX. On Jul 8, 1:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi folks, > > I have a page with a photo and comments on it.  I load the replies

[jQuery] Re: Cross domain problems

2008-07-08 Thread Erik Beeson
Add this somewhere in your javascript: document.domain = 'site.com'; Google document domain --Erik On 7/8/08, flycast <[EMAIL PROTECTED]> wrote: > > Simple problem (I think)... > > I am new to JS and ajax. > > I am building an ajax capability on a clients site. I am running into > cross d

[jQuery] Cross domain problems

2008-07-08 Thread flycast
Simple problem (I think)... I am new to JS and ajax. I am building an ajax capability on a clients site. I am running into cross domain problems. If I get the page using the url form http://www.site.com but I do a load using the url form "http://site.com"; (www vs. no www in the url) I get nothi

[jQuery] imagebox display problem - z-index issue??

2008-07-08 Thread ktpmm5
Im using the imagebox interface plugin to display 6 pictures. However, they display not on top of my page, but partially on top and partially behind the rest of the page - ??? It's not complicated to use, so Im wondering if others have this problem. I'm using it with jquery 1.2.6- Here is ho

[jQuery] problem with a draggable object

2008-07-08 Thread darren
Hi I wrote a script that makes objects that are kind of like sticky notes. You can move them around the page. I'm using .draggable() via the UI core library. My problem is that these notes often have scroll bars on them. When a user clicks the scrollbar to scroll the div, they move the object

[jQuery] Re: Firefox Error (bug?) with Sortable

2008-07-08 Thread Richard D. Worth
change void function OnSorted(InE) { to function OnSorted(InE) { - Richard On Tue, Jul 8, 2008 at 6:25 PM, PeteShaw <[EMAIL PROTECTED]> wrote: > > Hi, > > I've searched around a bit and can't find any examples of someone > having the same issue, so hopefully someone out there can help. I'm >

[jQuery] Re: Draggable by proxy

2008-07-08 Thread Richard D. Worth
I would recommend the following: 1. On element.mousedown, bind document.mousemove and document.mouseup. 2. On document.mouseup, unbind mousemove and mouseup. 3. Don't worry about sending the drag events (mousemove) to the element that's actually going to be moving, just handle the events at the do

[jQuery] Re: Display (or not display) content based on url hash

2008-07-08 Thread mitchel
Thank you again. That certainly helped. But I still don't quite understand what to do with the event handler. I gave the links ids of "cross-link1", "cross-link2", etc. and tried this: $('#cross-link1').click(function() { location.reload(true) }); but it doesn't really do anything. Thanks again

[jQuery] Re: Cycle Plugin - play/pause button?

2008-07-08 Thread Eric
Great thanks alot > Here's a couple demos: > > http://www.malsup.com/jquery/cycle/pause.htmlhttp://www.malsup.com/jquery/cycle/hover.html

[jQuery] Re: using doc.ready in an external .js file

2008-07-08 Thread kgosser
Bingo, that was it. Big time "duh" noob moment :) On Jul 8, 4:50 pm, Carl Von Stetten <[EMAIL PROTECTED]> wrote: > kgosser, > > Are you loading jQuery.js after your main.js file? If you are, try > loading jQuery first, as it must be present before using any of its > functions. > > Carl > > kgoss

[jQuery] changing value of a object sub variable

2008-07-08 Thread Kevin Pepperman
I figured out a workaround for this. I don't think it is the best way but it will have to do until I figure out how to do it another way. I just created all the initial variables as one structure then passed them into the jquery.flash plugin after converting them into the correct format. If some

[jQuery] How would I substitute the term jquery('class') for $('class')

2008-07-08 Thread mickbw
I am working on a page that works correctly when I call it directly in any browser. If I include the page in my RIA app and run the script in firebug, the jquery script works correctly. If I include it in my RIA app with the script part of an external .js script, the script functions do not wo

[jQuery] Re: $.getScript() - how to load into JSON formatted object?

2008-07-08 Thread Michael Geary
OK, try this. It's the same idea as the code I posted before: var blah = { dynaLoad : function( variable ) { $.get( 'alert.js', function( code ) { var fn = new Function( 'variable', code ); fn( variable ); }); },

[jQuery] Firefox Error (bug?) with Sortable

2008-07-08 Thread PeteShaw
Hi, I've searched around a bit and can't find any examples of someone having the same issue, so hopefully someone out there can help. I'm try to save sort order server side through a ajax call on sortable stop. I've got this to work in IE6/7 using the stop: event to call a function i.e.: var so

[jQuery] Re: using doc.ready in an external .js file

2008-07-08 Thread Carl Von Stetten
kgosser, Are you loading jQuery.js after your main.js file? If you are, try loading jQuery first, as it must be present before using any of its functions. Carl kgosser wrote: > Here's what I'm not getting about jQuery from a novice point of view. > Let's say I have this: > > >

[jQuery] Re: Validation and Tabs plugins compatibility

2008-07-08 Thread peace4theapes
Diego, Thanks for the reply. I tried this idea but it threw up another interesting problem. I was wondering if you could throw some light on it. When the validation plugin adds an error class, it does not remove it once the form is validated. Therefore when I switch to the tab with the error cla

[jQuery] BlockUI in IE 7 does not unblock

2008-07-08 Thread DroidCommander
perhaps you can help me, I have the following code: var waitDiv; var selectMachineDialog; $(document).ready(function() { waitDiv = document.getElementById("waitDiv"); selectMachineDialog = document.getElementById("selectMachineDialog");

[jQuery] Re: slideDown hidden portion/bump

2008-07-08 Thread Karl Swedberg
Try wrapping the form in a div and sliding that down. That should work. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 8, 2008, at 8:31 AM, noon wrote: Anyone have any ideas on this one? It's really stumping me. On Jul 7, 9:15 am, noon <[EMAIL PROTE

[jQuery] Re: Cycle Plugin - play/pause button?

2008-07-08 Thread Mike Alsup
> Hi I am using the Cycle Plugin which is great.  I know you can set > pause:1 in the function options so that you get a pause on mouse > hovering over the image.  I was wondering if there is a way to set a > play/pause function to some button in the page? Here's a couple demos: http://www.malsu

[jQuery] Re: Cycle Plugin Fade Issue

2008-07-08 Thread mnordyke
It's actually only on my Mac machines (FF2, FF3 and Safari). All windows machines seem to be displaying correctly. Actually, I just got home to my other mac .. and everything seems fine. Must be my browsers at work. On Jul 8, 12:00 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > >I have noticed

[jQuery] replace string.prototype functions with jquery

2008-07-08 Thread seaofclouds
i made a very simple jquery plugin that displays your twitter status. http://tweet.seaofclouds.com/ naturally, there is much work to be done in the way of optimizing this plugin. first off, i have a few search and replace functions, which i would like to replace with the jquery equivilent. String

[jQuery] Re: $("something").text() doesn't preserve whitespace in IE

2008-07-08 Thread alistairholt
Thanks for opening the ticket. I could use that but I don't think it would give me what I'm looking for.. my is full of HTML junk (needed for syntax highlighting) from Textmate. Have a look at http://pastie.org/230104 for an example. On 8 Jul, 15:55, Dave Methvin <[EMAIL PROTECTED]> wrote: > > T

[jQuery] Re: .hide() Doesn't Work Fast Enough?

2008-07-08 Thread madacc
I'm having this exact same issue and was hoping to get a resolution. It happens for me on Opera and Safari. I am using a Mac, but I'd be surprised if that was any cause for this issue. Anyone have any thoughts on this? On Jul 7, 11:41 am, Vik <[EMAIL PROTECTED]> wrote: > I'm using jQuery to fade

[jQuery] passing variable from javascript to php via iframe using tableeditor

2008-07-08 Thread ktpmm5
The user starts out by clicking a link - [code] Location This leads to a js file where an iframe is called to pop up a dialog box - it is at this point that I want to pass a variable in the url: [code] var vtwo = { two: function() { var url = 'test.php?gameno=2';

[jQuery] UI Tabs and Mootools conflict

2008-07-08 Thread Mike
Greetings, Thanks for taking the time to read this! I tried to post previously, but I am afraid the post was lost as I cannot see it. I apologize if my previous post is already up. I hope you can help me. I am afraid when it comes to javascript I am all thumbs. I am attempting to get UI tabs an

[jQuery] Re: Cycle Plugin Fade Issue

2008-07-08 Thread mnordyke
Here's the fix that Mike provided. I forgot to mention it turned out to be Mac/FF2 issue: http://snipplr.com/view/6581/jquery-firefox-mac-hack/ Thanks again Mike. On Jul 8, 12:00 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > >I have noticed on my website, as well as the JQuery Cycle Plugin's > >

[jQuery] using doc.ready in an external .js file

2008-07-08 Thread kgosser
Here's what I'm not getting about jQuery from a novice point of view. Let's say I have this: $(document).ready(function() { $("#switcherBtn").click(function(){ $("#target").toggleClass("nodisplay");

[jQuery] Cycle Plugin - play/pause button?

2008-07-08 Thread Eric
Hi I am using the Cycle Plugin which is great. I know you can set pause:1 in the function options so that you get a pause on mouse hovering over the image. I was wondering if there is a way to set a play/pause function to some button in the page?

[jQuery] UI Tabs and Mootools.js conflict, Advice Needed

2008-07-08 Thread Mike
Hello Everyone, Thank you for taking the time to read this message. I am attempting to use mootools with UI Tabs and I am having a conflict. Basically, only the last one to load (closest to the tag) is working. I have tried to use the tutorial here http://docs.jquery.com/Using_jQuery_with_Other

[jQuery] Re: returning a string of html in a matched tag

2008-07-08 Thread [EMAIL PROTECTED]
On Jul 7, 6:56 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > I've used the equivalent of $("summary voters a").html() for this, but I > wonder if it's really correct and works in all browsers or not? It uses > innerHTML. I just tried this and got undefined return value. The docs on the html f

[jQuery] Re: search and replace, updating string.prototype with jquery equivalent

2008-07-08 Thread seaofclouds
huh, it looks like i did post this question. no answers yet. anyone? On Jul 7, 12:22 pm, seaofclouds <[EMAIL PROTECTED]> wrote: > i've got the following code in my jquery plugin, tweet, which pulls in > twitter updates unobtrusively. admittedly, it's a little cumbersome, > but it does the job. no

[jQuery] Draggable by proxy

2008-07-08 Thread JohnC
Can I (and if so, how) drag an element without actually mouse-downing and -moving on the element I want to move? For reasons I will happily explain, the user can't actually click on the object I want them to drag. So can I get them to click on something else and then have that pass the dragging

[jQuery] Re: 1.2.4 to 1.2.6 question

2008-07-08 Thread Shelane
It looks like the problem has to do with me still having prototype on the page. It's the first jQuery site I ever did and the autocomplete plugin wasn't far enough along for me to use at that point. I've pointed to an older version of jQuery until I get around to rewriting that page to use the j

[jQuery] Re: Running a loop for array numbers

2008-07-08 Thread Jonathan Sharp
Hi Johnee, Another approach would be: $('.equipment a.i-right1').each(function(i) { if ( i > 0 && i < 9 ) { $(this).hide(); } }); or this would work too: $('.equipment a.i-right1').filter(function(i) { return ( i > 0 && i < 9 ); }).hide(); Cheers, -Jonathan On Tue, Jul 8,

[jQuery] Re: [validate] Adding rules and messages at once using the jquery validation plugin

2008-07-08 Thread Jörn Zaefferer
Maybe this helps, for a start: http://docs.jquery.com/Plugins/Validation#Refactoring_rules Otherwise you could also predefine messages for all inputs (add via $(...).validate(...)) and only later add rules to individual elements. If that doesn't help, take a look at the rules-implementation: htt

[jQuery] Re: [validate] completely resetForm

2008-07-08 Thread Jörn Zaefferer
A reset doesn't clear all state associated with the form validation. You'd have to manually reset all that state, see http://dev.jquery.com/browser/trunk/plugins/validate/jquery.validate.js#L263 Just calling validator.init() again wouldn't work well, as that is also used to bind events and parse

[jQuery] Re: Similar Plugins

2008-07-08 Thread Jörn Zaefferer
Thanks for sharing the idea. I've mentioned it to Mike, who maintains the plugin repository, he agreed that its a good idea. Expect to see something soon! Jörn On Mon, Jul 7, 2008 at 8:51 AM, Mahbub <[EMAIL PROTECTED]> wrote: > > I think JQUERY site should have a reporting system where users ca

[jQuery] Chili 2.2 supports local line numbers

2008-07-08 Thread aercolino
I've just released version 2.2 of Chili, the jQuery Code Highlighter. (http://code.google.com/p/jquery-chili-js/) It now supports local line numbers too, which means that you can turn on line numbers on a PRE by PRE basis. Apart from the necessary start from an offset other than 1, I've implemen

[jQuery] Re: jScrollPanel not always initializing in Safari

2008-07-08 Thread hubbs
Thanks Dan, I really appreciate that tip. It looks like it did the trick, and is something I would have never thought of! Nic On Jul 8, 10:53 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > $(document).ready() will not fire consistently in Safari (and I believe FF3) > unless you load all

[jQuery] 1.2.4 to 1.2.6 question

2008-07-08 Thread Shelane Enos
I just found out that this function that worked (doubled checked to confirm) worked under 1.2.4 but isn't working under 1.2.6. I'm not sure what. Can anyone see anything obvious? bindDeleteLinks = function(who){ $("a.rembtn", '#' + who).unbind('click'); $("a.rembtn", '#' + who).

[jQuery] load event on opened window

2008-07-08 Thread Luc Heinrich
Hi, I have a vague intuition of why this wouldn't work... var win = window.open(); $(win).bind('load', function() { alert("LOADED"); }); win.location = someURL; ...except that it does work, but only in Firefox (only tested with FF3). Safari and IE7 never show the alert. So who's right ? -

[jQuery] Re: Display (or not display) content based on url hash

2008-07-08 Thread noon
> I the if/else statement doesn't seem to be working. You're if statement is using the equals sign as an assignment operator (=) instead of comparison which is double equals (==). > Also, it only > reads the current hash on a manual refresh of the page. Here is the > link if helps any:http://www.

[jQuery] Re: Running a loop for array numbers

2008-07-08 Thread Josh Nathanson
Try this for the first one: $('.equipment a.i-right1').not(':eq(0)').hide(); For the second one, check out the slice() method. -- Josh - Original Message - From: "JohneeM" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Tuesday, July 08, 2008 10:00 AM Subject: [jQuery] Running a l

[jQuery] Re: Running a loop for array numbers

2008-07-08 Thread jquertil
not knowing your actual HTML I would try something like this: $('.equipment a.i-right1:gt(0)').each(function(){ $(this).hide(); }); loops over the colletion of your tabs or whatever it is except the one that has index 0. read up jquery docs on each() and :gt() for details .

[jQuery] Re: Running a loop for array numbers

2008-07-08 Thread MorningZ
$('.equipment a.i-right1:eq(1)').hide(); $('.equipment a.i-right1:eq(2)').hide(); $('.equipment a.i-right1:eq(3)').hide(); $('.equipment a.i-right1:eq(4)').hide(); $('.equipment a.i-right1:eq(5)').hide(); $('.equipment a.i-right1:eq(6)').hide(); $('.equipment a.i-right1:eq(7)').hide(); $('.equipme

[jQuery] Re: is dimensions now part of jquery or not? (I hear different opinions)

2008-07-08 Thread jquertil
excellent! > Yes, Dimensions is completely a part of jQuery as of jQuery 1.2.6.

[jQuery] Re: Cycle Plugin Fade Issue

2008-07-08 Thread Mike Alsup
>I have noticed on my website, as well as the JQuery Cycle Plugin's > Home Page, that when the fade effect is used, divs in the header > (including the text) are undergoing the fade effect not just the > slideshow. > > Any thoughts? > > An example is athttp://malsup.com/jquery/cycle/fade-in-first.

[jQuery] QUER

2008-07-08 Thread sweety
Family home evening is a special time set aside each week that brings family members together and strengthens their love for each other, helps them draw ... ^^ http://www.freewebs.com/gypsum/ ^

[jQuery] Re: Display (or not display) content based on url hash

2008-07-08 Thread mitchel
Thanks! I think that gets me started in the right direction. However, I am still having some issues. Here is what I have so far: var current = (document.location.toString().split('#')[1]) if (current = "1") {document.write( "Title 1Body text." ); }

[jQuery] jQuery Tabs

2008-07-08 Thread Wooty
Does anyone have a COMPLETE set of css elements and working HTML for the UI tabs? I have spent the last two days trying to get the CSS to work for a simple set of tabs and it just doesnt want to play (all my fault - I'm useless with CSS). My page looks like this (its basically the example page).

[jQuery] Re: Custom sort on table cell attribute value in tablesorter plugin rather than innerHTML value: help please!

2008-07-08 Thread tatlar
Hi Dan and tiphipps, I tried Dan's approach, but because I want this to work on every column, all or only one of which can displayed (based on a users cookie preferences), I went with tiphipps solution. This worked very well. Simple too. In testing, tiphipps method turned out to be much faster,

[jQuery] Running a loop for array numbers

2008-07-08 Thread JohneeM
Hi guys how can i run this in a single statement without manually putting in the numbers? $('.equipment a.i-right1:eq(1)').hide(); $('.equipment a.i-right1:eq(2)').hide(); $('.equipment a.i-right1:eq(3)').hide(); $('.equipment a.i-right1:eq(4)').hide(); $('.equipment a.i-right1:eq(5)').hide(); $(

[jQuery] help needed with simplemodal

2008-07-08 Thread sree
I want to slide-in and slide-out the simplemodal. Anyone familiar with jquery simple modal please reply. Very urgent Thanks

[jQuery] jQuery Tabs

2008-07-08 Thread Wooty
RE: My earlier post Never mind - problem(s) solved... P

[jQuery] [validate] Adding rules and messages at once using the jquery validation plugin

2008-07-08 Thread Mike
I really love the validation plugin (http://docs.jquery.com/Plugins/ Validation/rules#.22add.22rules). I am using the functionality to add a rule for an input one one line. See below: $("#myinput").rules("add", { required: true, minlength: 2 }); I am wondering if there is something equivalen

[jQuery] Re: jMaps and other G* functions

2008-07-08 Thread Colin Guthrie
noon wrote: > I'm aware that it binds opening to the click function but I want to > open without click. I think you should modify the jmaps' addMarker function to pass the marker to the callback. It's probably meant to do that anyway :) You can then just do something like: function(marker) { G

[jQuery] Cycle Plugin Fade Issue

2008-07-08 Thread mnordyke
I have noticed on my website, as well as the JQuery Cycle Plugin's Home Page, that when the fade effect is used, divs in the header (including the text) are undergoing the fade effect not just the slideshow. Any thoughts? An example is at http://malsup.com/jquery/cycle/fade-in-first.html (Pay at

[jQuery] Re: Fade in background image.

2008-07-08 Thread lamy
Hm, good idea. I'm gonna try it tomorrow. -- View this message in context: http://www.nabble.com/Fade-in-background-image.-tp18336552s27240p18345124.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re: is dimensions now part of jquery or not? (I hear different opinions)

2008-07-08 Thread John Resig
Yes, Dimensions is completely a part of jQuery as of jQuery 1.2.6. --John On Tue, Jul 8, 2008 at 2:49 PM, jquertil <[EMAIL PROTECTED]> wrote: > > the other day was told latest jquery now includes dimensions plugin > but I was certain it does not... I still assume it does not, thus I > compile t

[jQuery] is dimensions now part of jquery or not? (I hear different opinions)

2008-07-08 Thread jquertil
the other day was told latest jquery now includes dimensions plugin but I was certain it does not... I still assume it does not, thus I compile the dimensions plugin into my standard jquery deployments... can anyone shed light on this? thanks.

[jQuery] Re: .removeClass() performance is very low on IE7

2008-07-08 Thread Brian J. Fink
Be sure to change that [ to a ( so it will work. :) On Jul 8, 8:31 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Evert, > > '.someclass' is a slow selector as it has to check every single > element on the page to see if it matches class="someclass". Limiting > the search closer to the desired

[jQuery] Re: Position cursor at end of textbox?

2008-07-08 Thread Brian J. Fink
Please note: This discussion group is malfunctioning and you must open quoted text in order to read the last line of the previous post. The last tow lines should be }); }); If you do not copy the second }); my code will fail. On Jul 8, 2:26 pm, "Brian J. Fink" <[EMAIL PROTECTED]> wrote: > T

[jQuery] Re: Position cursor at end of textbox?

2008-07-08 Thread Brian J. Fink
This is the best I can come up with. I wanted to catch the onselect event, but for some reason Safari won't respond. (Didn't want to keep using a timeout. It's a hack, but it works.) I reduced the length of the timeout to 0 milliseconds, and I cleaned up the call by passing the this object as a pa

[jQuery] Re: jScrollPanel not always initializing in Safari

2008-07-08 Thread Dan G. Switzer, II
$(document).ready() will not fire consistently in Safari (and I believe FF3) unless you load all the external CSS stylesheets before your JS scripts. Try moving all your and blocks above any tags and see if that doesn't resolve the issue. There's been talk about making it a requirement that i

[jQuery] Re: jScrollPanel not always initializing in Safari

2008-07-08 Thread Sam Sherlock
i've had troubles too; I've tried $(window).ready and also tried calling it twice. with a bit of tweaking and tinkering I thought I found a solution - but then lost it 2008/7/8 hubbs <[EMAIL PROTECTED]>: > > I am using jScrollPanel, and I have noticed that it does not always > get initialized wh

[jQuery] Re: Fade in background image.

2008-07-08 Thread noon
I see your problem now. What about using a z-index and have them float on top of each other? This way no element is kicked out of position. I don't know your CSS savvy but having a container for the item with a position of relative, and then the children with absolute positioning would have the

[jQuery] Re: Fade in background image.

2008-07-08 Thread Liam Byrne
Maybe try using hoverIntent ? Liam lamy wrote: Hi there! I'd like to create an effect like the one on the jquery Ui website. Someone hovers over an item and is changes its background color smoothly. This is how far I've got: $(".actionmenu").mouseover(function(){ if($(this).css("b

[jQuery] jScrollPanel not always initializing in Safari

2008-07-08 Thread hubbs
I am using jScrollPanel, and I have noticed that it does not always get initialized when the page first loads in Safari. If I refresh the page, it correctly loads up jScrollPanel. Any ideas why this might be happening? http://www.puc.edu/ Thanks!

[jQuery] [Announce] jQuery Session

2008-07-08 Thread Jay Salvat
Hi jQueriers ! Please check a quick plugin which try to simulate session variables in javascript (without ajax or cookies). Source code. http://code.google.com/p/jquery-session/ Demo: http://jaysalvat.com/session/ Usage: $(function() { $.sessionStart(); $.session("var1", "value1");

[jQuery] Re: temporarily hide options from a select box

2008-07-08 Thread Toby J
On Jul 7, 7:30 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > It's a known problem with IE. Keeping a cloned copy of the select or > keeping a list of the removed options (with where they were > originally) is about the only way to do it. Thanks for your help Karl, I was afraid of that. I'll modify

[jQuery] [validate] completely resetForm

2008-07-08 Thread caseyw
I have a hidden form, when someone clicks on another element it shows. If you just hit submit, it validates false, and shows the proper errors. All is well there. I have a close button in the form, it should close the form, and completely reset it. What's happening is, it resets the form data,

[jQuery] Re: Display (or not display) content based on url hash

2008-07-08 Thread noon
alert(document.location.toString().split('#')[1]) will get you the hash. From there an if statement or a switch/case would serve you. On Jul 8, 8:54 am, mitchel <[EMAIL PROTECTED]> wrote: > Hello. > > Admittedly, I know very little about jQuery or javascript in general > but it seems like it shou

[jQuery] Re: $("something").text() doesn't preserve whitespace in IE

2008-07-08 Thread Dave Methvin
> The problem for me is that using text() in IE 6/7 doesn't preserve > whitespace... As a workaround, you can use an expression like this: var pre = $("").get(0); alert(pre.innerText || pre.textContent); All the browsers seem to support one property or the other--or both. Their text output isn

[jQuery] Display (or not display) content based on url hash

2008-07-08 Thread mitchel
Hello. Admittedly, I know very little about jQuery or javascript in general but it seems like it should be able to do what I need it to do fairly easily. I am trying to create a div on a page which would display different content based on the hash in the url. Is there a way to create several hid

[jQuery] HTML Parsing issue

2008-07-08 Thread shruthi
Hi, I noticed JQuery does some clean up while appending html to an element. This is a problem for me, because I'm trying to use a text area which gets loaded with a soap request. My soap request looks like this. http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSc

[jQuery] Re: slideDown hidden portion/bump

2008-07-08 Thread noon
Anyone have any ideas on this one? It's really stumping me. On Jul 7, 9:15 am, noon <[EMAIL PROTECTED]> wrote: > I don't know why it does this.  I am experiencing hidden content (the > username label) until the animation is complete and the "bump" > occurs.  See it for yourself > > http://nunyez

[jQuery] Re: $(...).get() order reversed between 1.2.4 and 1.2.5

2008-07-08 Thread Ariel Flesler
Bah... you already said so... I should had read it all before posting :P -- Ariel Flesler http://flesler.blogspot.com/ On 7 jul, 20:43, "Michael Geary" <[EMAIL PROTECTED]> wrote: > The array returned by .get() does have its elements in the correct order. > The bug is actually in your code: > > >

[jQuery] Re: $(...).get() order reversed between 1.2.4 and 1.2.5

2008-07-08 Thread Ariel Flesler
Just in case you want some background knowledge... jQuery.makeArray uses a reversed loop, to improve perfomance. That's why the indexes are set like that. Cheers -- Ariel Flesler http://flesler.blogspot.com/ On 7 jul, 20:43, "Michael Geary" <[EMAIL PROTECTED]> wrote: > The array returned by .g

[jQuery] Re: Custom sort on table cell attribute value in tablesorter plugin rather than innerHTML value: help please!

2008-07-08 Thread tlphipps
I agree with Dan 100%. I'd also offer an alternative solution. Before Tablesorter 2.0, I had a similar situation and resolved it by adding a hidden tag before the data that contained the 'raw' timestamp integer for sorting purposes. This worked really well with the old tablesorter (and still w

[jQuery] Re: Cluetip Params Not Working?

2008-07-08 Thread Karl Swedberg
Hi James, Can you tell me which version (and date) of the plugin you're using? There was a problem with this sort of thing with one revision because I tried to be clever but ended up putting some variables in the wrong spot. The showTitle issue should be resolved with latest version. Not

[jQuery] Re: .removeClass() performance is very low on IE7

2008-07-08 Thread Joel Birch
Hi Evert, '.someclass' is a slow selector as it has to check every single element on the page to see if it matches class="someclass". Limiting the search closer to the desired elements will speed up the selection hugely. For example, choose the closest common ancestor that all potential target el

[jQuery] Re: $(...).get() order reversed between 1.2.4 and 1.2.5

2008-07-08 Thread joelarson
Looks like you are right. Thanks for the quick answer! On Jul 7, 4:43 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > The array returned by .get() does have its elements in the correct order. > The bug is actually in your code: > > >         for(ai in arr) { txt.push(arr[ai].innerHTML); } > > Y

[jQuery] Cluetip Params Not Working?

2008-07-08 Thread James Simm
Hi there, I'm using the cluetip plugin to provide tooltips on my current project. I've declared my tooltips like this: $('.ic a').cluetip({ positionBy: 'mouse', showTitle: false, activation: 'click', mouseOutClose: true, ajaxSettings: {dataType: 'html'} }); The tooltips are a

[jQuery] Re: jMaps and other G* functions

2008-07-08 Thread noon
I'm aware that it binds opening to the click function but I want to open without click. On Jul 7, 6:19 pm, Colin Guthrie <[EMAIL PROTECTED]> wrote: > noon wrote: > > All jMaps functions never seen to return a handler that I can use, but > > only fire the callback if provided.  I used jMaps to add

[jQuery] Re: Custom sort on table cell attribute value in tablesorter plugin rather than innerHTML value: help please!

2008-07-08 Thread Dan G. Switzer, II
>I am using the tablesorter plugin, which I really like. However, in >several of my table cells I have oddly formatted time values that look >like the following: > >1d 12h 34m 25s > >Which maps to: > >1 day, 12 hours, 34 mins and 25 seconds > >I cannot change how these values are displayed - they

[jQuery] Re: How to catch function call

2008-07-08 Thread Luiz Abrahao
Hi Michael, I tried, but I've got no response. I double checked the spelling (the iframe's id and the javascript function's name), and the function is global. What I did: - I'm using jquery-1.2.6.min.js - inside my head tag I have: ;(function( $ ) { $.fn.frameHook = function( name, hook )

[jQuery] changing value of a object sub variable

2008-07-08 Thread Kevin Pepperman
I have a simple plugin working that utilizes the jquery.flash plugin. I am using my plugin to load a flash file that has around 20 flashvars. (i only listed a few here). Most of the time the default flashvars are fine..but sometimes I need to modify only certain flashvariables... but not all of t

[jQuery] caching AJAX data?

2008-07-08 Thread [EMAIL PROTECTED]
Hi folks, I have a page with a photo and comments on it. I load the replies to the comments for this photo via an AJAX request like so (I also use LiveQuery): JavaScript: /* Show Replies button action. */ $(".show_replies").livequery('click', function() { var photo_id_val = $("#photo_id").va

[jQuery] Re: overflow:visible; during animate?

2008-07-08 Thread Manuel
I'm successfully using this way on a website i'm currently developing: $j( '#tsContainer' ).animate ( { height: "410px" }, textSlider.animationDelayMs, "easeboth" ).css( 'overflow', 'visible' ); Let me know if it works for you as well: fyi i'm usin

[jQuery] Re: $("something").text() doesn't preserve whitespace in IE

2008-07-08 Thread alistairholt
The problem for me is that using text() in IE 6/7 doesn't preserve whitespace... On 8 Jul, 04:22, Dave Methvin <[EMAIL PROTECTED]> wrote: > > Results are athttp://pastie.org/228916 > > The code for jQuery.text has changed a lot in two years, but those > test results still look pretty familiar...

[jQuery] Fade in background image.

2008-07-08 Thread lamy
Hi there! I'd like to create an effect like the one on the jquery Ui website. Someone hovers over an item and is changes its background color smoothly. This is how far I've got: $(".actionmenu").mouseover(function(){ if($(this).css("background-image").length <= 4) {

[jQuery] Re: Superfish / Firefox 3 PC / Flash issue

2008-07-08 Thread Kevin Pepperman
Get Firefox and install the Firebug Plugin. It will let you inspect the DOM and see whatever generated code there is in realtime. It will also let you see the CSS applied to each element do see if you may have any Z indexing issues or strange div spans. On Mon, Jul 7, 2008 at 11:50 PM, Joel Bi

[jQuery] Re: Database Request

2008-07-08 Thread DigiCelebs
Help me please :(

[jQuery] Re: Avoiding concurrency when updating a database through AJAX

2008-07-08 Thread Luis Abreu
> This is definitely more of a general AJAX topic than a JQuery question > per se. What are some strategies for avoiding concurrency errors when > updating a database through AJAX? That is, what are some ways to > prevent a given user from modifying the same row in a database with > simulta

[jQuery] Re: jQuery events don't work after AJAX load

2008-07-08 Thread [EMAIL PROTECTED]
Thanks Chris and Hamish! I ended up using the awesome LiveQuery plugin. On Jul 7, 7:08 pm, "Chris Bailey" <[EMAIL PROTECTED]> wrote: > Are you using the Livequery plugin to bind your events?  If not, then the > event binding, that presumably is setup in some other source file (other > than the

[jQuery] Re: .removeClass() performance is very low on IE7

2008-07-08 Thread Evert
The code is simple... .simpleclass{ opacity: 0.5; background: green; } ... $(function() { $(".simpleclass").removeClass("simpleclass"); } ); P/S: I had made a mistake in my previous post. It is not an id. It is a class. On Jul 3, 12:37 am, spicyj <[EMAIL PROTECTED]> wrote: > Can you

[jQuery] FlexiGrid IE6 Refresh Problem

2008-07-08 Thread arno
I use the FlexiGrid plugin and have a problem with IE6. If I delete rows from a FlexiGrid the JSON request is sent properly but the table won't refresh in IE6 so that the delete rows are still shown in the table after being deleted from the databases. Any tips what the problem could be?

  1   2   >