[jQuery] Re: problem using jquery and prototype together

2008-12-11 Thread Karl Rudd
If you take a look at the last part of http://docs.jquery.com/Using_jQuery_with_Other_Libraries you'll see a solution. Basically wrap your jQuery code in one of these two: (function($) { /* some code that uses $ */ })(jQuery) jQuery(function($) { /* some code that uses $. run on document.ready */

[jQuery] Re: newbie: unfold form on checkbutton

2008-12-11 Thread frits1607
On Dec 11, 9:42 pm, ksun wrote: > I think I like this one better. Removed the anchor tag, and used > this.checked (DOM object) [...] I used this one. It looks elegant and works flawlessly Thank you.

[jQuery] problem using jquery and prototype together

2008-12-11 Thread ♫ cheskonov
This could sound a stupid question but here is my problem : is there a way to use $ sign while working with jQuery and Prototype together? it seems that using both causes a conflict with the "$" sign and if i use jQuery.noConflict(true); i need to replace all $ sign with jQuery . is there a way i

[jQuery] Re: Cycle plugin: some images not loading

2008-12-11 Thread TNTitan
> It sounds like the size of the images could not be determined and that > is unexpected if the markup explicitly declares the size.   If you > have time, post a link for us to look at.  Thanks. Thanks for responding, Mike. I noticed today that setting the height and width explicitly with CSS di

[jQuery] Re: change input[type=button] value

2008-12-11 Thread brian
On Fri, Dec 12, 2008 at 12:36 AM, brian wrote: > Lots of false-positives googling this. > > > > $('#a_button').attr('value', 'bar'); > > Doesn't work? Or, am i losing my mind? > 2 rules of programers' email lists (in no particular order): 1) the longer you futz about trying to make something w

[jQuery] Re: Top 5 Movies of the Box Office Watch Online

2008-12-11 Thread Bil Corry
Karl Swedberg wrote on 12/11/2008 3:51 PM: > On Dec 11, 2008, at 12:41 PM, Bil Corry wrote: >> >> And I'm assuming the JQuery list owner(s) are also making use of "ban" >> feature to ban users that only post spam (via the Manage Users option >> at Google Groups). If not, it's something to consid

[jQuery] change input[type=button] value

2008-12-11 Thread brian
Lots of false-positives googling this. $('#a_button').attr('value', 'bar'); Doesn't work? Or, am i losing my mind?

[jQuery] Re: SimpleModal container not showing up

2008-12-11 Thread Isaac
Thank you, this seems to have resolved the issue. Isaac

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread Bil Corry
ricardobeat wrote on 12/11/2008 7:06 PM: > Hi Bill, it seems that that technique doesn't work for FF3, so it's > out, unfortunately. It makes reference to an "original prototype" that does work with FF3, you can see it work here: http://ydnar.typepad.com/css-rpc/css-rpc.html Although

[jQuery] Re: Change the data attribute of flash object - works in FF, not IE [SOLVED]

2008-12-11 Thread VaughanJ
Hoorah!! The jQuery.swfobject plugin came to my rescue. http://jquery.thewikies.com/swfobject/ My jQuery script has been modified like so: // changes the value of the object data attribute to fetch an XML file for the flash billboard jQuery('h3.toggler a').click(function() {

[jQuery] Re: Selector difficulty/removeClass

2008-12-11 Thread brian
~ahem~ sorry 'bout that. $('label', '#quiz').removeClass('qyes'); On Thu, Dec 11, 2008 at 11:31 PM, brian wrote: > $('#quiz') > > On Thu, Dec 11, 2008 at 11:25 PM, Bruce MacKay wrote: >> >> Hello folks, >> >> I want to remove a css class (.qyes) from every label element inside a >> single div

[jQuery] Re: Selector difficulty/removeClass

2008-12-11 Thread brian
$('#quiz') On Thu, Dec 11, 2008 at 11:25 PM, Bruce MacKay wrote: > > Hello folks, > > I want to remove a css class (.qyes) from every label element inside a > single div (id="quiz"). > > Each label element has an ID of the form "fb***" where *** represents a > unique identifier (that is not in n

[jQuery] Selector difficulty/removeClass

2008-12-11 Thread Bruce MacKay
Hello folks, I want to remove a css class (.qyes) from every label element inside a single div (id="quiz"). Each label element has an ID of the form "fb***" where *** represents a unique identifier (that is not in numerical sequence and is not related to the label element's position or orde

[jQuery] can one detect if the current tab is still visible?

2008-12-11 Thread Rene Veerman
I've got a slideshow that polls the server each 7 seconds for new images to display, and want to pause it when the tab that the user is on isn't visible.. I have little hope of it being possible (in all browsers), but am asking anyway ;) Perhaps, perhaps, they thought of it.. If u know of a

[jQuery] Re: Need help with Ajax-ColdFusion-Modal Login...

2008-12-11 Thread Rick Faircloth
Thanks for the perspective, Mike. Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Mike Chabot > Sent: Thursday, December 11, 2008 10:16 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Need help with Ajax-ColdFus

[jQuery] Re: Iterating through .data() elements...

2008-12-11 Thread Ariel Flesler
You mean this: http://dev.jquery.com/ticket/3539 You're right indeed, I forgot queue was blindly executing any queued data. I was sure it'd only do that for fx queues. I was confusing it with my patch. So yes, queuing is only good for functions for now, we'll hopefully have a nicer queuing syste

[jQuery] Re: Iterating through .data() elements...

2008-12-11 Thread Nick
Also, I should mention (as I see a patch request for exposing queue) that I am working on a fairly large framework and patching in an update for one module of the site is not an easy task nor something I want to approach someone with at this time. We are using a more recent version of JQuery, but

[jQuery] Re: Iterating through .data() elements...

2008-12-11 Thread Nick
queue as in effect queue? I'm not finding any documentation on queue except as used for effects and your sample seems to put items in a queue as if I had to execute things in order. That's not what I'm looking for. I need to store key/value pairs to specific elements on the page for nav request

[jQuery] Re: Need help with Ajax-ColdFusion-Modal Login...

2008-12-11 Thread Mike Chabot
I evaluated the jQuery modal windows a few months back and jqModal and Thickbox were at the top of the list due to their popularity, good examples, and they do most everything you want. I would lean towards jqModal since the author is active with keeping it up to date. The built-in UI Dialog is ce

[jQuery] Re: detect when content of element changes?

2008-12-11 Thread ricardobeat
In case you are changing the text content using jQuery's html/text functions, there is a plugin that can observe calls to this methods: http://quiiver.appspot.com/method_observer_for_jquery - ricardo On Dec 11, 8:49 pm, Geuis wrote: > On the site I'm working on, we have some span tags with IDs.

[jQuery] Re: Iterating through .data() elements...

2008-12-11 Thread ricardobeat
Hi Ariel, Is there any documentation for this use of queue(), or could you give me a brief explanation? thanks :) - ricardo On Dec 11, 10:28 pm, Ariel Flesler wrote: > You need to use $().queue() not data. > > $().queue('foo',1).queue('foo',2).queue('foo',3) > > Also, $().queue('foo').each() w

[jQuery] cluetip and sortable

2008-12-11 Thread v.ventura
Hi, quick question -- i am using cluetip and I'm trying to place on it a listbox that uses the sortable() plugin to provide a way to order elements. However I am unable to get the sortable behavior when I use cluetip. If I take the same html and put it directly on the page, it works correctly. I

[jQuery] Re: IE Opacity Issue

2008-12-11 Thread wileyl...@gmail.com
And, backgroundColor: '##fff' should be written '#fff' [One hex.] On Dec 11, 2:22 pm, "Josh Nathanson" wrote: > Maybe try removing the quotes around .9 - it is probably looking for a > number rather than a string.  I could see this borking IE. > > -- Josh > > -Original Message- > From: j

[jQuery] Re: Iterating through .data() elements...

2008-12-11 Thread Jake Rutter
unsubscribe me please On Dec 11, 2008, at 7:28 PM, Ariel Flesler wrote: > > You need to use $().queue() not data. > > $().queue('foo',1).queue('foo',2).queue('foo',3) > > Also, $().queue('foo').each() won't work because the returned data is > an array. > > $.each($().queue('foo'), function(){ });

[jQuery] Re: Need help with Ajax-ColdFusion-Modal Login...

2008-12-11 Thread Rick Faircloth
Thanks for the tips and overview, Mike! Of the two you mentioned, Thickbox and jqModal, which one do you use? Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Mike Chabot > Sent: Thursday, December 11, 2008 9:20 PM > To: jq

[jQuery] Re: Need help with Ajax-ColdFusion-Modal Login...

2008-12-11 Thread Mike Chabot
I don't think Shadowbox is very common since it costs money and most of the jQuery modal windows are free. If you are paying money for it you should try to get support from the person that sells it. Some of the other modal windows have great examples, like Thickbox. Maybe try a modal window that h

[jQuery] Need help with Ajax-ColdFusion-Modal Login...

2008-12-11 Thread Rick Faircloth
I just can't seem to get my head around the processing flow for an ColdFusion and Ajax-based login using a Shadowbox modal window... Does anyone know of any tutorials that show how to use ColdFusion, jQuery, and a modal window (doesn't have to be a Shadowbox) for login? I found a tutorial by Ray

[jQuery] Re: Trouble with extending Object prototype

2008-12-11 Thread Michael Geary
p.s. Don't get me wrong, Eric, I'm not criticizing you for offering that possible solution! It's great that you were willing to take the time to give it a shot. I just wish that there were a clean way to add Object methods without breaking existing code. Ah well, we must play the hand we're dealt

[jQuery] Re: Invisible Element Opens on Page Load

2008-12-11 Thread David Blomstrom
Perfect fix. Thanks. On Thu, Dec 11, 2008 at 5:07 PM, Michael Geary wrote: > It's up to you to make the #menu2 element invisible when the page loads. > > You *could* do this by adding this code inside your ready function, and > outside the hover code: > > $('#menu2').hide(); > > However, it wou

[jQuery] Re: externalizing script seems to break append()

2008-12-11 Thread Brian
Thank you for your reply. I was using character entities in the strings that were to be appended to the HTML in order to avoid confusing my template engine, and didn't think to take them out when I externalized the script. On Dec 11, 10:25 am, Liam Potter wrote: > show us your script > > Brian

[jQuery] Re: Invisible Element Opens on Page Load

2008-12-11 Thread Michael Geary
It's up to you to make the #menu2 element invisible when the page loads. You *could* do this by adding this code inside your ready function, and outside the hover code: $('#menu2').hide(); However, it would be much better to do it with CSS, to avoid the chance of the element being displayed t

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread ricardobeat
Hi Bill, it seems that that technique doesn't work for FF3, so it's out, unfortunately. On Dec 11, 6:35 pm, Bil Corry wrote: > Roy M wrote on 12/10/2008 4:17 AM: > > > Is it possible to get remote contents if page is in another domain, > > without use of proxy? > > I haven't used it, but you mig

[jQuery] Re: Trouble with extending Object prototype

2008-12-11 Thread Michael Geary
That code breaks $.each in exactly the same way as Bill's original code. Note that you had to add an explicit test for the getKeys method name to get it to work. That does essentially the same thing as the hasOwnProperty test used - but hard coded for the specific method name that got added to the

[jQuery] Re: Invisible Element Opens on Page Load

2008-12-11 Thread David Blomstrom
Yes; I'm echoing the code in PHP. On Thu, Dec 11, 2008 at 4:29 PM, MorningZ wrote: > > is there a reason you are escaping the selector strings? ie/$ > (\'#MSFree\')[\'zebra\'] etc > > > > > David Blomstrom wrote: > > I recently modified my JQuery code to create an element that open

[jQuery] Re: Invisible Element Opens on Page Load

2008-12-11 Thread MorningZ
is there a reason you are escaping the selector strings? ie/$ (\'#MSFree\')[\'zebra\'] etc David Blomstrom wrote: > I recently modified my JQuery code to create an element that opens when > someone mouses over it. It should be closed by default. > > It works, with one small probl

[jQuery] Re: Iterating through .data() elements...

2008-12-11 Thread Ariel Flesler
You need to use $().queue() not data. $().queue('foo',1).queue('foo',2).queue('foo',3) Also, $().queue('foo').each() won't work because the returned data is an array. $.each($().queue('foo'), function(){ }); will work. -- Ariel Flesler http://flesler.blogspot.com/ On Dec 11, 7:42 pm, Nick w

[jQuery] Invisible Element Opens on Page Load

2008-12-11 Thread David Blomstrom
I recently modified my JQuery code to create an element that opens when someone mouses over it. It should be closed by default. It works, with one small problem. When you first load the page the element opens. It doesn't close unless you mouse over it. Is there some way to fix it so that the eleme

[jQuery] Re: SimpleModal container not showing up

2008-12-11 Thread Eric Martin
Eric - the styling is coming from SimpleModal. Isaac - please upgrade your version of jQuery - the height() call is returning an invalid value - which is causing your modal dialog to appear off of the screen. On Dec 11, 10:55 am, "Eric Garside" wrote: > Isaac, > > It's a compound of problems.

[jQuery] Re: Cycle plug in Next/Prev image Alt issue

2008-12-11 Thread Mike Alsup
> $(function() { >  $('#s1').cycle({ > fx:     'scrollHorz', > speed:  'fast', >  timeout: 0, > prevNextClick: onBefore, > next:   '#next2', > prev:   '#prev2' > }); > Don't use the prevNextClick option, that callback is only invoked when the prev or next item is clicked. Use the 'before' option

[jQuery] [autocomplete] here's mod for afterNoMatch option

2008-12-11 Thread justanyone
Below please find a mod for adding an option to AutoComplete. The option is 'afterNoMatch'. It specifies a function to call if the value provided does not match any value in the dropdown box. This may not be perfect, but it does get the job done. First, how to call it: var autocompleteJSON =

[jQuery] Cycle plug in Next/Prev image Alt issue

2008-12-11 Thread MVimmer
Hi, I am a newbie so bare with me here :) I am using the jQuery Cycle Plugin by Mike Alsup (thank you, Mike). I am using prev and next buttons to scroll the images, and I want to show the image alt with it. When the page loads on the first time, the first image is there, but the alt isn’t. Only

[jQuery] Iterating through .data() elements...

2008-12-11 Thread Nick
Does anyone know how I can iterate through the elements stored in the data element instead of referring to them individually? Say I: $(someObj).data('myData1', 'Here is some text') .data('myData2', 'Here is some more text') .data('myG', 'Here is some more text'); How could I loop through the dat

[jQuery] [autocomplete] NEW: Diff and example of afterNoMatch option

2008-12-11 Thread justanyone
Below please find a mod for adding an option to AutoComplete. The option is 'afterNoMatch'. It specifies a function to call if the value provided does not match any value in the dropdown box. This has been mentioned as a problem, and I needed a solution. So, here it is. If the autocomplete can

[jQuery] Re: Safari/WebKit bug with maxWidth?

2008-12-11 Thread Syamsundar
Hi Dan, I'm having the same issue. Is this a known issue with the webkit engine? I searched in the webkit wiki too, but couldn't find anything useful. If anyone else can shed some light on this, would really help me with some peace of mind. If possible an alternate solution to carry over max-wi

[jQuery] Re: detect when content of element changes?

2008-12-11 Thread brian
You could force the issue: $(function() { $("#make_change").click(function() { $("#the_span").html('some content').trigger('change'); }); $("#the_span").change(function() { alert('change happens');

[jQuery] detect when content of element changes?

2008-12-11 Thread Geuis
On the site I'm working on, we have some span tags with IDs. The spans are initially rendered on the page with no text content. When certain events happen, text error messages are loaded into these spans. I want to write an additional handler that is triggered when the text content of the span is

[jQuery] Re: IE Opacity Issue

2008-12-11 Thread Josh Nathanson
Maybe try removing the quotes around .9 - it is probably looking for a number rather than a string. I could see this borking IE. -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Eric Sent: Thursday, December 11, 2008 11:47 AM

[jQuery] Re: Problems with Validate's errorPlacement

2008-12-11 Thread Jörn Zaefferer
Try this: errorPlacement: function(error, element) { error.appendTo(element.prev()); } Jörn On Thu, Dec 11, 2008 at 3:30 PM, knal wrote: > > Hi there, > > I'm using Validate on my website, but i'm having difficulties with the > errorPlacement. > > In simple a part of my f

[jQuery] Re: Jquery autocomplete with spring MVC

2008-12-11 Thread Jörn Zaefferer
Though in this case you don't really need JSON, just a line-delimited list. searchVal = ServletRequestUtils.getStringParameter(request, "q"); list= service.getResult(searchVal ); for (String entry : list) { response.getWriter().write(entry + "\\n"); } return null; On Thu, Dec 11, 2008 at 11:03

[jQuery] Re: Jquery autocomplete with spring MVC

2008-12-11 Thread Jörn Zaefferer
You should use a JSON library (see json.org) to generate valid JSON, then write that directly to the response, returning null to indicate to Spring that the response is already rendered. Something like this: searchVal = ServletRequestUtils.getStringParameter(request, "q"); list= service.getResul

[jQuery] Re: Top 5 Movies of the Box Office Watch Online

2008-12-11 Thread Karl Swedberg
On Dec 11, 2008, at 12:41 PM, Bil Corry wrote: And I'm assuming the JQuery list owner(s) are also making use of "ban" feature to ban users that only post spam (via the Manage Users option at Google Groups). If not, it's something to consider. Yes, we are making use of the "ban" feature. M

[jQuery] Re: Simple FadeIn with Appending

2008-12-11 Thread WhoButSB
The variable fieldName is something that I'am pulling in from somewhere else. Here is the full code: if(val == ''){ var fieldName = $("select[name='fieldcategoryID'] :selected").text(); $("#fieldValue label").fadeIn('slow', function (){ $(this).after("You need to enter a " +fieldName+" here."); }

[jQuery] Re: Styling the 2nd table tag above a row

2008-12-11 Thread Guy
OK, Figured it out and am posting this for anyone who may have this question later on. Here's what I used: $("tr.myClass").each(function() { $(this).parents("table").slice(1,2).css("border", "4px black solid"); }); Hope that is helpful to others. Guy On Dec 11, 12:13 pm, Guy wrote: > Hi,

[jQuery] Re: newbie: unfold form on checkbutton

2008-12-11 Thread ksun
I think I like this one better. Removed the anchor tag, and used this.checked (DOM object) I tend to rewrite stuff a lot with Jquery, I guess thats part of the learning. $(document).ready(function() { $(':checkbox').click(function(){ if(this.checked) $('#showtime').show

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread Bil Corry
Roy M wrote on 12/10/2008 4:17 AM: > Is it possible to get remote contents if page is in another domain, > without use of proxy? I haven't used it, but you might be able to use this: CSSHttpRequest (CHR) is a method for cross-domain AJAX using CSS for transport. http://nb.io/ha

[jQuery] IE Opacity Issue

2008-12-11 Thread Eric
Having a problem setting the overlay opacity in IE. The default works fine, but as soon as I try to change it, all I get is the overlay color at 100% opacity. Here's my call: $.blockUI({ message: $(".dialogPopup"), css: { border: 'none', textAlign: 'left' }, overlayCSS: { backgroundColor: '##fff

[jQuery] Re: Trouble with adding 'addClass' to an existing piece of Jquery code

2008-12-11 Thread Jim D
Oh, one more thing I forgot, change the .menu-on declaration to ".menu- on a"

[jQuery] Re: newbie: unfold form on checkbutton

2008-12-11 Thread ksun
Welcome to JQuery. Try this $(document).ready(function() { $('#time').click(function(){ if($('input[type="checkbox"]').attr('checked')) $('#showtime').show(); else $('#showtime').hide(); } ) }); set report period [] On Dec 11, 2:2

[jQuery] Re: Trouble with extending Object prototype

2008-12-11 Thread Michael Geary
You really can't extend Object.prototype. It will break jQuery and any other code that uses a for..in loop on any object, because your method will be enumerated as part of the loop. Yes, there is the hasOwnProperty trick as you're using, but it costs some efficiency and most code (including jQuery

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread ricardobeat
Flash allows you to set cross-domain policies via a file called crossdomain.xml, see here: http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1085.html But that requires access to the server which will provide the data anyway, so you mi

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread ricardobeat
On Dec 10, 5:33 pm, aquaone wrote: > Tangent question: > 1. If someone was to add an iframe to a page, would cookies be sent to the > page within the iframe? AFAIK cookies are stored an a per-domain basis, so if your iframe page resides in the same domain it has access to the same cookies, and

[jQuery] Re: Trouble with extending Object prototype

2008-12-11 Thread Eric Garside
Works fine for me. I suspect that there may be some issue with some of your other code somewhere. Try opening a new JS file and using: --- code --> Object.prototype.getKeys = function(){ var arr = []; $.each(this, function(k){ if(k!='getKeys') arr.push(k) }); return arr; } $(function

[jQuery] Jquery autocomplete with spring MVC

2008-12-11 Thread anny
I have jquery auto complete example working. Trying to integrate with spring MVC. I use InternalResourceViewResolver and SimpleUrlHandlerMapping. I am trying to pass url in autocomplete(url), which is mapped to multiactioncontroller which returns array based on value entered in tex box. But its

[jQuery] Re: Trouble with extending Object prototype

2008-12-11 Thread Bill
Thanks Eric, that's definitely a more jQuery-centric approach. But the Javascript error persists. On Dec 11, 11:24 am, "Eric Garside" wrote: > Try: > > Object.prototype.getKeys = function(){ >     var arr = []; >     $.each(this, function(k){ arr.push(k) }); >     return arr; > > > > } > On Thu

[jQuery] Re: dialog box plugin

2008-12-11 Thread Raghu
Please ignore this mail. ClueTip plugin will solve my problem. Thanks On Thu, Dec 11, 2008 at 2:11 PM, Raghu wrote: > Hi, > I am looking for jquery plugin which shows dialog box on mouseover event... > Dialog box must disappear on mouseout event and reapper on mouseover event. > > Any idea whic

[jQuery] Re: hover event going to infinite loop

2008-12-11 Thread Eric Garside
Do you have an example page up somewhere of what the issue is? On Thu, Dec 11, 2008 at 2:12 PM, brian wrote: > > I'm sorry, I don't understand your problem. If you cannot set a width > on the div then you should probably look at the hoverIntent plugin, > which will keep your hover events from fi

[jQuery] Re: Trouble with extending Object prototype

2008-12-11 Thread Eric Garside
Try: Object.prototype.getKeys = function(){ var arr = []; $.each(this, function(k){ arr.push(k) }); return arr; } On Thu, Dec 11, 2008 at 2:17 PM, Bill wrote: > > If you know of another way of accomplishing this using jQuery, please > let me know! > > On Dec 11, 11:12 am, Bill wrot

[jQuery] Re: newbie: unfold form on checkbutton

2008-12-11 Thread frits1607
On Dec 11, 6:47 pm, Paul Mills wrote: > Hi, > > This selector looks a bit strange  $('a#period'). > > Can you post the relevant HTML code please. > > Paul Paul, It looks like this: set report period [] It looks a bit funny, but I do not know what is wrong.

[jQuery] Re: Trouble with extending Object prototype

2008-12-11 Thread Bill
If you know of another way of accomplishing this using jQuery, please let me know! On Dec 11, 11:12 am, Bill wrote: > Hi all, > > I extended the Object object with a method called getKeys() that works > like Perl's keys() function -- given a hash, or associative array, the > method returns an ar

[jQuery] Re: hover event going to infinite loop

2008-12-11 Thread brian
I'm sorry, I don't understand your problem. If you cannot set a width on the div then you should probably look at the hoverIntent plugin, which will keep your hover events from firing when the cursor passes over quickly (that is, accidentally). The plugin allows for setting a delay after which the

[jQuery] Trouble with extending Object prototype

2008-12-11 Thread Bill
Hi all, I extended the Object object with a method called getKeys() that works like Perl's keys() function -- given a hash, or associative array, the method returns an array containing all keys: Object.prototype.getKeys = function() { var arr = new Array(); for (var s in this) {

[jQuery] Re: Simple way to suppress display of title attribute on hover?

2008-12-11 Thread René
jQuery.data is exactly what I needed! Thanks. On Dec 1, 6:30 pm, "Jeffrey Kretz" wrote: > A CSS-compliant browser will render the title attribute -- it's probably not > the best way to store data. > > You can use the jQuery.data method instead: > > http://docs.jquery.com/Core/data#name > > JK >

[jQuery] dialog box plugin

2008-12-11 Thread Raghu
Hi, I am looking for jquery plugin which shows dialog box on mouseover event... Dialog box must disappear on mouseout event and reapper on mouseover event. Any idea which plugin to use... Thanks Raghu

[jQuery] Re: Potential Bug when .append (ing) html and then selecting on it?

2008-12-11 Thread ksun
> $(this).children('span a').click(function() This is not allowed, you can only select the immediate children, so you have to do it twice I guess. I am not sure if there is a better way. Also I used toggle function instead of click, that lets you run 2 functions alternatively. Also using n

[jQuery] Re: SimpleModal container not showing up

2008-12-11 Thread Eric Garside
Isaac, It's a compound of problems. If you've got firebug, and you change position:fixed to position:absolute, you will see the box dead center in the middle of the page (with scrolling). Are you stying the box iteself? Or is this some plugin setting its display attributes? On Thu, Dec 11, 2008

[jQuery] Re: Click event fires only once with SImpleModal

2008-12-11 Thread Ron
So I tested out the page more carefully. I noticed when I do click "Help", it does seem to go to the server--implying some sort of partial postback. I substituted the asp control with just html and wired the code to the html. Now it works fine. So you were absolutely right--the problem is it i

[jQuery] Re: SimpleModal container not showing up

2008-12-11 Thread Isaac
Eric, You can see the page at http://www.lacopts.org/dbase/register.php You will see that this doesn't work in any browser (ie, ff, or chrome). Thanks, Isaac

[jQuery] Re: Click event fires only once with SImpleModal

2008-12-11 Thread Ron
http://www.w3.org/1999/xhtml"; > MeasureResults - Project Wizard #simplemodal-overlay { background-color:#000; cursor:wait; } #simplemodal-container { height:200px; width:300px; background-color:#fff; border:3px solid #ccc; padding:5px; } #simplemod

[jQuery] Re: hover event going to infinite loop

2008-12-11 Thread Sridhar
Hi brian, I cannot set the width on the tag unless the image is separated from the tag. In my case, the image will be smaller compared to the width. The reason I included both of them in the same tag is so that when I can hover over the details . If it is outside the main (#EmpDeta

[jQuery] Re: Simple FadeIn with Appending

2008-12-11 Thread Eric Garside
The code looks like it should work. What exactly isn't working? On Thu, Dec 11, 2008 at 1:03 PM, ksun <[EMAIL PROTECTED]> wrote: > > > $(this).after("You need > to enter a " > > +fieldName+" here."); > > What is "fieldName", you need get that value from somewhere, before >

[jQuery] Re: Styling the 2nd table tag above a row

2008-12-11 Thread Guy
Paul, I appreciate your help but the reason I want to use jQuery is because I don't have access to the source. I'm trying to style a SharePoint site and many of these tags are auto-generated so I'm limited as to what I can and cannot directly access via a class or id tag. So although I would norm

[jQuery] Re: JSONP and callback function name

2008-12-11 Thread Eric Garside
If you are writing the webservice, why not just have it exclude the callback param, or change the authentication method to not just hash the params sent in? On Thu, Dec 11, 2008 at 3:54 AM, jtuchscherer <[EMAIL PROTECTED]>wrote: > > Hi there, > > I am about to write a web service client with JQu

[jQuery] Re: Simple FadeIn with Appending

2008-12-11 Thread ksun
> $(this).after("You need to > enter a " > +fieldName+" here."); What is "fieldName", you need get that value from somewhere, before trying to use it. Also the effect is applied only on the object on which it is called, so if your label is hidden then it will appear slowl

[jQuery] NyroModal - open manual in iframe not working

2008-12-11 Thread Info
Hello - I am using the great plug NyroModal. I have it tied to a ajax form submit and when a failed retun comes back I want to span a new NyroModal. Here is the code I am using: $('#chk_login').ajaxForm(function(login_return) { if (jQuery.tr

[jQuery] Re: aspx page not selecting id (yes i am new at this :-)

2008-12-11 Thread MorningZ
Well, to start with this line var $j = jQuery; should be this var $j = jQuery.noConflict(); http://docs.jquery.com/Using_jQuery_with_Other_Libraries On Dec 10, 5:59 pm, ricva <[EMAIL PROTECTED]> wrote: > First time trying jquery.  VS2008, .net 3.5, IE 8 > I expected to see the “Hello”, b

[jQuery] Re: Styling the 2nd table tag above a row

2008-12-11 Thread Paul Mills
Hi, Give the outer table a unique id such as id="outer" then use a css style to set bthe border #outer {border:1px solid red;} Not sure why you want to use jQuery? Paul On Dec 11, 5:13 pm, Guy <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a dilemma where I need to style the table which encl

[jQuery] Re: Beginner question about toogeling a status

2008-12-11 Thread brian
On Thu, Dec 11, 2008 at 10:30 AM, heohni <[EMAIL PROTECTED]> wrote: > > Hi, > > this is my first post, I hope I do everything right! Most of us only post questions here when we're doing something wrong ;-) > For the moment I toogle only active into inactive. > Because I do not know how to send 2

[jQuery] Re: newbie: unfold form on checkbutton

2008-12-11 Thread Paul Mills
Hi, This selector looks a bit strange $('a#period'). Can you post the relevant HTML code please. Paul On Dec 11, 4:19 pm, frits1607 <[EMAIL PROTECTED]> wrote: > Hello, > > I need to make a dynamic form. This morning I found jquery and this > looks like the tool I need. > > My first challenge

[jQuery] Re: Top 5 Movies of the Box Office Watch Online

2008-12-11 Thread Bil Corry
JQueryProgrammer wrote on 12/10/2008 11:26 PM: > Stop spamming the group with such posts. This is irrelevant here. It's an automated bot, it won't read your reply. It's better to just report either the message as spam via Google Groups, or in the case of a "user" that only posts spam, report

[jQuery] Re: .parent().parent() ... better way to get parents' parent

2008-12-11 Thread ricardobeat
Nope. You can use parents() but that will give you *all* parents up to the unless you filter() or stop it some other way (you can pass a selector too): $('#cat').parents('.wanted') - ricardo On Dec 11, 2:01 am, Joel Taylor <[EMAIL PROTECTED]> wrote: > Is there a better way

[jQuery] Re: Simultaneous $.load() calls wait for eachother

2008-12-11 Thread ricardobeat
By what George explained, irrespective of what you are doing with it server-side, one call will only be 'answered' after the other has finished, and that will be your server refusing to answer both at the same time. On Dec 11, 6:06 am, Robin Speekenbrink <[EMAIL PROTECTED]> wrote: > That's the we

[jQuery] Re: xml find element with this attribute value

2008-12-11 Thread ricardobeat
$(xml).find('event[test]').each(function(){ var name = $(this).attr('name'); $('').html(name).appendTo ('#select_event'); }); or $(xml).find('event').each(function(){ if ( $(this).attr('test') ) { // do something special } else { var name = $(this).attr('name'); $(''

[jQuery] Re: Prefixing all href attributes (or how to get .attr('href') to return a string)

2008-12-11 Thread Karl Swedberg
Hi Kris, jQuery should be normalizing the href attribute when you use .attr('href'). Not sure why it's not working for you. In any case, you should be able to do this a bit more easily: var path_prefix = '/cms/'; $('#content_main a:not(.external)').attr('href', function() { return path

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-11 Thread howa
On 12月11日, 上午2時32分, ricardobeat <[EMAIL PROTECTED]> wrote: > I believe you have already answered that to yourself but was hoping > for a misteryous miraculous solution right? :) > > No, there isn't, you'll have to do it server-side. Or if you're not > playing with the remote page's content use a

[jQuery] Re: externalizing script seems to break append()

2008-12-11 Thread Liam Potter
show us your script Brian wrote: When I move my script to an external file, where before it was between

[jQuery] Re: jQuery reloads all JS files on show()

2008-12-11 Thread pbergqvist
Wow. Truly sorry about the spam. This is my first post ever on google groups and I've posted this message a bunch of times without it showing on the page. Again, apologies. // Peter On Dec 11, 6:04 pm, pbergqvist <[EMAIL PROTECTED]> wrote: > Hi, > > I experience the exact same problem. I have a

[jQuery] Latets Bollywood Movies

2008-12-11 Thread 24 Hrs Movies
Maharathi And More > Top 5 Movies of the Box Office Watch It OnLine > > > 1. Four Christmases Reese Witherspoon, Vince Vaughn, Mary Steenburgen > 2. Twilight Kristen Stewart, Robert Pattinson, Billy Burke

[jQuery] Re: jQuery reloads all JS files on show()

2008-12-11 Thread pbergqvist
(This message might cause a duplicate) Hi, I experience the exact same problem. I have a modal dialog window which content is loaded dynamically from a separate page. That page includes three additional scripts. These three scripts are never cached due to a timestamp added after the file name..

[jQuery] externalizing script seems to break append()

2008-12-11 Thread Brian
When I move my script to an external file, where before it was between

[jQuery] Re: jQuery + jQuery.form ajaxForm file upload problems

2008-12-11 Thread cas...@gmail.com
Thank you man, save my day! On 12 nov, 01:58, Sam Coughlin <[EMAIL PROTECTED]> wrote: > Hi, Sam again here. > > Just thought I'd let everyone know I had to change the headers to be > content type HTML and it worked fine. > > On Nov 12, 4:02 pm, Sam Coughlin <[EMAIL PROTECTED]> wrote: > > > > > Hi

  1   2   >