[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Bruce MacKay
I haven't set breakpoints before - will follow that up now - but if it helps, my code is function saveForm(ej) { var temp=new Array(); alert(ej); temp=ej.split('*'); var sct = temp[0]; var fID = temp[1]; alert('#'+sct); var str = $('#'+sct).seriali

[jQuery] Re: jQuery.getJSON ajax loading

2008-10-03 Thread Adwin Wijaya
it doesnt work ... the block and unblock was to fast ... now i use ajaxStart and ajaxStop and it work well ;) On Oct 4, 5:39 am, MorningZ <[EMAIL PROTECTED]> wrote: > Use a plugin like blockUI > > http://malsup.com/jquery/block/ > > then it's as easy as having a div wrapped around your UI like

[jQuery] Re: Double-click and toggle

2008-10-03 Thread sere
If an is single clicked, nothing should happen. If it is double clicked, it will perform a certain action on the element. If it is double clicked again, the will revert back to normal. On Oct 3, 9:59 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > Can you describe what you want to happen? For e

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Bruce MacKay
I appreciate the input (no pun intended!) but that workaround didn't do the job. Cheers, Bruce At 01:54 p.m. 4/10/2008, you wrote: a quick workaround that springs to mind is $ ("#form :input").serialize(); On Oct 3, 6:26 pm, Bruce MacKay <[EMAIL PROTECTED]> wrote: > Hello folks, > > I've

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Bruce MacKay
Thank you Dave. The tables were formed fine (I'd checked that) but I had managed to include duplicate form IDs in the page and once that was fixed, the .serialize() is now working as expected. Cheers, Bruce At 02:54 p.m. 4/10/2008, you wrote: That code looks okay. Have you run the HTML

[jQuery] Re: NEW PLUGIN (beta): ContextMenu

2008-10-03 Thread Rick Faircloth
Nice work, Matt. I'm sure that will come in handy! Thanks for sharing it! Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Thursday, October 02, 2008 8:18 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: NEW PLUGIN (beta): Cont

[jQuery] Re: Double-click and toggle

2008-10-03 Thread Dave Methvin
Can you describe what you want to happen? For example, "When an li element is double-clicked, it should _. If it is single-clicked the first time it should ___ and the second time it should _. If it is single-clicked but then double-clicked it should ." Also, remember that a click eve

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Dave Methvin
That code looks okay. Have you run the HTML through the W3C validator? Maybe you're missing a tag somewhere.

[jQuery] Double-click and toggle

2008-10-03 Thread sere
Hello, I've been trying to figure out how to combine double-click and toggle but haven't had any luck. Here's what I have so far: $("li").dblclick(function() { $(this).toggle(function() { $(this).doSomething(); }, function() { $(this).backToNormal(); }); }); Any

[jQuery] Re: How can I to traverse a html doc starting at a form element to get an element inside a ?

2008-10-03 Thread ricardobeat
It that is valid XHTML/HTML you can simply do $('#h').html() Going straight to the ID is the fastest selector available. If that is not what you want: $('.frmRowOuter input') will suffice or $('.frmRowOuter > .frmRowField > input') (slower and unnecessary) Read all about how jQuery selector

[jQuery] Re: argument list

2008-10-03 Thread Dave Methvin
>         function nextPage(clicker) { >                 $(clicker).click(function () {... Inside the click handler, the "this" variable is the DOM element that was clicked. Try alert(this.id) and you'll see what I mean.

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread Dave Methvin
So are you calling it via $("#processthis").serialize()? Serialize doesn't fire, you just call it. If you set a breakpoint in Firebug in serialize, does it ever get there?

[jQuery] Re: .serialize and form elements in tables

2008-10-03 Thread ajpiano
a quick workaround that springs to mind is $ ("#form :input").serialize(); On Oct 3, 6:26 pm, Bruce MacKay <[EMAIL PROTECTED]> wrote: > Hello folks, > > I've been successfully using .serialize() to prepare input data when > my form has the structure > > Your name id="d1" type="text" name="dStartD

[jQuery] Re: hover question

2008-10-03 Thread Brad
I'll check out livequery. On Oct 2, 6:19 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > The livequery plugin (http://brandonaaron.net/docs/livequery/) might > help you. You only bind the hover function once for a selector, and > all TR's subsequently added to the tables will have the event covered

[jQuery] .serialize and form elements in tables

2008-10-03 Thread Bruce MacKay
Hello folks, I've been successfully using .serialize() to prepare input data when my form has the structure Your nameid="d1" type="text" name="dStartDate"> etc... However, if the input elements are enclosed within a table structure within the form, like so ... Your name etc.. ... the

[jQuery] Re: SimpleModal wierdness

2008-10-03 Thread Eric Martin
Actually, the error is being caused by the issue mentioned: http://groups.google.com/group/jquery-dev/browse_thread/thread/aabf160d9980e52d/c74b19cc8c63f996 In SimpleModal, you can get around the issue by adding persist:true : $('#modalwikivideo').modal({persist:true}); That will prevent SimpleM

[jQuery] Re: jQuery.getJSON ajax loading

2008-10-03 Thread MorningZ
Use a plugin like blockUI http://malsup.com/jquery/block/ then it's as easy as having a div wrapped around your UI like: your content . and then when you call your getJSON method: $("SomeButton").click(function() { $("Page_Block").block(); $.getJSON( "s

[jQuery] Re: Mootools and Jquery conflict

2008-10-03 Thread MorningZ
You've got "$j" being used in the last block, but no where do you define what "$j" is so, right after your line tell the page what "$j" is supposed to mean: var $j = jQuery.noConflict(); All this is clearly laid out right on this Wiki page http://docs.jquery.com/Using_jQuery_with_Other_Lib

[jQuery] Re: OT: flickr api

2008-10-03 Thread MorningZ
The *whole point* of sending the user to Yahoo is so the user isn't providing their Yahoo name to anyone *but* Yahoo Regardless if you do or don't understand that and why it's important, this discussion group: http://www.flickr.com/groups/api/discuss/ would be much more appropriate for your

[jQuery] Re: Access to restricted URI denied" code: "1012

2008-10-03 Thread [EMAIL PROTECTED]
It seems have no error now, but i stocked for a day on it! Thanks On Oct 3, 9:06 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > No error here, but that happens when you try to do an Ajax call on a > local page (not online). > > - ricardo > > On Oct 3, 12:26 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED

[jQuery] Re: star ratings performance

2008-10-03 Thread chadmichael
Okay. So, I'm using the jquery star rating plugin from the following link. http://www.fyneworks.com/jquery/star-rating/#tab-Background I had horrible performance issues when running more than a few ( 3-4+ ) star ratings WITH split stars on the same page. I went through the code and determined

[jQuery] jCarousel vertical scrolling cut off images in Safari

2008-10-03 Thread FishNYC
I have a site that I'm using the vertical scrolling jcarousel with. . It works right on initial load, however each carousel image link loads a different but similar page. Clicking between the pages and scrolling results in a cut off images on the 2nd or 3rd scrolled section.. this problem only occ

[jQuery] Multiple Carousels Controlled Simultaneously by one set of Prev/Next buttons

2008-10-03 Thread Michael Squashic
Does anyone know of an easy way to do this? I know jcarousellite can, but I need the extra functionality that jCarousel offers. Thanks in advance! Sorry if this was already posted.. i couldn't find it.

[jQuery] Re: how to use Current of superfish

2008-10-03 Thread ric
Hi Joel, die you already had time to take a quick look at my current problem? cheers ric

[jQuery] Re: List overload

2008-10-03 Thread ricardobeat
If you only want to see announcements you don't need the group, read the jQuery blog! On Oct 3, 1:05 pm, "Ca-Phun Ung" <[EMAIL PROTECTED]> wrote: > Hehe, in fact there already is > ahttp://groups.google.com/group/jquery-pluginsbut the last post is more than > a year old. > The problem with havin

[jQuery] argument list

2008-10-03 Thread [EMAIL PROTECTED]
I have some jquery code like so: $(document).ready(function() { nextPage ( 'div#advance, div#next a, div#prev a' ); }); function nextPage(clicker) { $(clicker).click(function () {... So the user can click any of the places in the argument lis

[jQuery] Re: Superfish + Mouseout Delay + IE6/7/8

2008-10-03 Thread Joel Birch
Hi Dave, When I visited the site the content looked completely unstyled and the CSS was not applied to the menu. Maybe I'm too late to check it out and you have changed things around since your original post? Joel Birch.

[jQuery] ToolTip Bassistance insert external information

2008-10-03 Thread jampov
Hello. I want to know if it is possible to insert external information in the tooltip, for example, from XML. I that by means of the function of jQuery "$get" or "$post" I can read a file XML or part of he, of the following way. $.get ("data.xml", function (xml) { … } How to implement it with th

[jQuery] Re: jQuery Cycle Lite Plugin

2008-10-03 Thread angel
Hi Mike, Finally, it's working! Thanks :) Regards, Sultan Arefin On Oct 3, 1:29 am, Mike Alsup <[EMAIL PROTECTED]> wrote: > > Thanks for helping me out. I've added: > > > > > Still not working, can you please check? > > > Regards, > > Sultan Arefin > > Hi Sultan, > > You need to change this li

[jQuery] Re: NEW PLUGIN (beta): ContextMenu

2008-10-03 Thread greenteam003
Looks good Matt. I've had to develop custom context menus in the past and the hardest thing to nail down is positioning near the edge of the viewport especially if using submenus on the top level menu. Using FF 3.0.3 if you scroll the "upwards green menu" anchor into the bottom right corner wit

[jQuery] Re: Intercept "Back" button click on browser

2008-10-03 Thread Leanan
I've looked at the plugins, but I don't think they are what I want. I basically have two divs, div#a and div#b. When I click on a link in div#a, I want to do one of two things: If this is the first click on the link in div#a, do some ajax and then hide div#a and show div#b (where the ajax stuff

[jQuery] ajax post variable error in safari/chrome

2008-10-03 Thread pedalpete
I know this is kinda weird, and I can't seem to find where the issue is. i've been working on a tag cloud for my site hearwhere.com and everything works from FF/IE, but safari and chrome won't let me pass a multi-word variable into my query. You can test it out at http://zifimusic.com/v3 The si

[jQuery] Re: Jörn's autocomplete function on no resu lts found

2008-10-03 Thread naumanp
In the case where no results are returned, I need to display a "No match" item in the autocomplete menu rather than the menu not showing up at all. Anybody tried something similar to this? Any suggestions would be greatly appreciated. On Aug 29, 12:57 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wro

[jQuery] Re: NEW PLUGIN (beta): ContextMenu

2008-10-03 Thread Giovanni Battista Lenoci
Matt Kruse ha scritto: I welcome any feedback! Thanks! Matt Kruse Eccezionale! (Awesom) Great work! -- gianiaz.net - web solutions p.le bertacchi 66, 23100 sondrio (so) - italy +39 347 7196482

[jQuery] Re: star ratings performance

2008-10-03 Thread chadmichael
I've now noticed that there are two different versions of the star ratings plugin. http://orkan.jaslo4u.pl/star_rating/index.html#overview http://www.fyneworks.com/jquery/star-rating/#tab-Background The second one claims to be the next generation of the first one. They have different versioning

[jQuery] Re: Trigger Dom Event

2008-10-03 Thread greenteam003
Dave, Thanks for the suggestion. This is the direction I've gone in the past and am using currently, but it can get pretty ugly with event delegation pretty quickly on larger applications. For example when you want to know which mouse button was clicked, you need the actual event object to det

[jQuery] Re: NEW PLUGIN (beta): ContextMenu

2008-10-03 Thread Alexandre Plennevaux
amazingly done. congratz ! LAb[au] _ *lab*oratory for *a*rchitecture and *u*rbanism Alexandre Plennevaux Lakensestraat 104 Rue de Laeken Brussel 1000 Bruxelles België _ Belgique _ Belgium tel: +32 (0)2 2196555 fax: +32 (0)2 4266986 mail: [EMAIL PROTECTED] <[EMAIL PROTECTED]> http://www.lab-au

[jQuery] Re: jQuery and Browser CPU Usage

2008-10-03 Thread craig.kaminsky
Thanks, Mike. I'm using Firebug, but I don't think I've used the profiler. I'll check into that. Thanks, again, and have a good weekend. Best, Craig On Oct 3, 11:58 am, Mike Alsup <[EMAIL PROTECTED]> wrote: > > What I am wondering is if there is a good resource for me to explore > > issues wit

[jQuery] Re: Access to restricted URI denied" code: "1012

2008-10-03 Thread ricardobeat
No error here, but that happens when you try to do an Ajax call on a local page (not online). - ricardo On Oct 3, 12:26 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Any one knows why i get this error when page is loading ?! > > Tou can see the page in : > > http://giftcenter.ir > > thank

[jQuery] Re: get parent element text while excluding child element text

2008-10-03 Thread ricardobeat
Hmm.. that seems like a dead end in jQuery, it can't handle Text objects obtained from text nodes. either text(), html() or contents() return nothing. We're left with two text objects to which we can't do anything useful. The only way I found to get the text is $('p').contents().filter("[nodeTyp

[jQuery] star ratings performance

2008-10-03 Thread chadmichael
I'm having serious performance issues with the star ratings plugin. It's specifically related to using the split:4 option on a page with ten different ratings. I'm looking through the code to find the problem, but if anyone knows anything, I'd appreciate the info. Thanks, Chad

[jQuery] Re: jQuery and Browser CPU Usage

2008-10-03 Thread Mike Alsup
> What I am wondering is if there is a good resource for me to explore > issues with jQuery and performance. I've tried Googling a series of > options but I cannot find anything useful. > > I am sure this is because of how I coded something but am just not > sure how to go about deconstructing jQu

[jQuery] 2 or more ac in one page by 1 ac function

2008-10-03 Thread moscorp
hi all, is that possible to handle 2 or more ac in one page by 1 ac function ? how to complete it $("#ac_box" + x1).autocomplete("ac.php", { .. extraParams: { main: $("#x1").val(); ac.php select * from db where xxx='$_GET["main"]' and yyy=$_GET["q"] thanks

[jQuery] jQuery.getJSON ajax loading

2008-10-03 Thread Adwin Wijaya
Hi, I need to add ajax loading before jQuery.getJSON loaded ... because on some user, the connection was pretty slow and they needs to wait for several seconds... please tell me how to add ajax loading message (i will supply with the image and overlay div) before getJSON loaded and after getJSON

[jQuery] jQuery and Browser CPU Usage

2008-10-03 Thread craig.kaminsky
Hi, I have a site I've recently built that makes heavy use of jQuery. One thing I've noticed since moving to the production server is that when one of the website pages is open in a browser (Safari, IE, Firefox, Camino, or Opera), the CPU usage spikes and continues to run high even after the page

[jQuery] Re: get parent element text while excluding child element text

2008-10-03 Thread ricardobeat
Just found a different way of doing this: var text = $('#tes').contents().filter("[nodeType=3]"); http://docs.jquery.com/Traversing/contents http://www.w3schools.com/Dom/dom_nodetype.asp - ricardo On Oct 3, 11:37 am, Michael <[EMAIL PROTECTED]> wrote: > Those methods are destructive though. >

[jQuery] Re: Alert message in jquery

2008-10-03 Thread surya
I removed that one but it is of no use. The code i had written above is used for oscommerce admin panel customers. I tried all possible ways. But the error is coming. Can you please help me out in solving this problem? On Oct 2, 5:44 pm, BB <[EMAIL PROTECTED]> wrote: > Why do you include jQuery

[jQuery] Re: SimpleModal wierdness

2008-10-03 Thread ricardobeat
IE events do not support the preventDefault method. With jQuery you can simply return false to cancel the event: $('.signup').click(function (e) { $('#modalwikivideo').modal(); return false; }); - ricardo On Oct 3, 7:28 am, willard <[EMAIL PROTECTED]> wrote: > Hi folk

[jQuery] jCarousel problem in Safari 3.1.2: "next" button disabled

2008-10-03 Thread Ben Byrne
I love jCarousel and have used it with success, but I'm in a situation where it's not behaving as expected in Safari (works fine in Firefox, thankfully). The "next" button, while being rendered in the DOM, isn't being enabled — both the CSS class and HTML attribute for "disabled" are remaining pr

[jQuery] Access to restricted URI denied" code: "1012

2008-10-03 Thread [EMAIL PROTECTED]
Any one knows why i get this error when page is loading ?! Tou can see the page in : http://giftcenter.ir thanks before

[jQuery] Re: How to display an ajax loading icon when page loading?

2008-10-03 Thread apaella
... $(document).ready(function(){ $('#mask').hide(); }); On 3 Ott, 11:53, ngocvu <[EMAIL PROTECTED]> wrote: > This is the first time I research about this product,in your page i > see the ajax icon loading before the page display,so how can i use it > with jquery?

[jQuery] ready function does not fire in Opera when the Back button is used

2008-10-03 Thread billgadget
The ready function does not fire when you hit the Back button in Opera (tested in Opera 9.52 Windows XP). It does fire in FF3, IE7, and Safari. Example: $(document).ready( function(){ alert('test');

[jQuery] Re: Adding select option values to hidden field

2008-10-03 Thread André Cassal
Hey Jamie... I'm using this one http://docs.jquery.com/Ajax/serializeArray It's working for me... On Aug 8, 7:06 am, Jamie Pittock <[EMAIL PROTECTED]> wrote: > Anyone able to offer any ideas? > > On Aug 7, 3:25 pm, Jamie Pittock <[EMAIL PROTECTED]> wrote: > > > Sorry, the value would be a comm

[jQuery] Re: tablesorter wrong ordering

2008-10-03 Thread ajpiano
i think you want sorter:"currency", in fact. --adam On Oct 3, 12:16 pm, aquaone <[EMAIL PROTECTED]> wrote: > Because it's not choosing numeric as the sorter for that column I'd wager. > '.00' may be triggering it to sort alphabetically instead. set the parser to > be numeric explicitly: > > > $

[jQuery] Re: invalid object initializer

2008-10-03 Thread Michael Geary
The problem is you're thinking in Perl. Forget Perl. You need to think in HTML and JavaScript. You're trying to debug both sides at once and that's not easy. Instead, isolate the two problems. Load your page in the browser and do a View Source to get the HTML code. Save that to a .html file. It s

[jQuery] Re: Bug with JQuery is?

2008-10-03 Thread Ariel Flesler
There's a ticket for this. We'll handle it, probably for 1.3. -- Ariel Flesler http://flesler.blogspot.com On Oct 2, 5:20 pm, Matt Kruse <[EMAIL PROTECTED]> wrote: > On Oct 2, 11:42 am, Dave Methvin <[EMAIL PROTECTED]> wrote: > > >http://docs.jquery.com/Traversing/is#expr > > "If no element fits

[jQuery] Re: Ui tabs spacing

2008-10-03 Thread Klaus Hartl
Add an id of say "login" to the li element and add a left margin... #login { margin-left: 200px; } --Klaus On 2 Okt., 06:59, wattaka <[EMAIL PROTECTED]> wrote: > Hmm formatting was destroyed, here is another try > > Home  About | Info | _ |Login | > > T

[jQuery] Re: livequery strange behaviour

2008-10-03 Thread Dan G. Switzer, II
>I've recently discovered livequery plugin, but I can't make it work. I >explain: > >I have the next code: > >$(document).ready(function (){ > > alert ("executing jquery"); > > $("[EMAIL PROTECTED]").livequery(function(){ > alert("hey, one div wanna be rounded!"); >

[jQuery] Re: tablesorter wrong ordering

2008-10-03 Thread aquaone
Because it's not choosing numeric as the sorter for that column I'd wager. '.00' may be triggering it to sort alphabetically instead. set the parser to be numeric explicitly: $(document).ready(function() { $(".tablesorter").tablesorter({ sortList: [[1,0]], headers: 1 {

[jQuery] Re: List overload

2008-10-03 Thread Ca-Phun Ung
Hehe, in fact there already is a http://groups.google.com/group/jquery-plugins but the last post is more than a year old. The problem with having multiple lists (which jQuery already has - jquery-ui, jquery-dev, jquery-ui-dev) is sometimes people do not know where to post their questions and in mos

[jQuery] Re: List overload

2008-10-03 Thread Rick Faircloth
I think separating the lists into various subgroups would be a good idea. Most groups eventually grow beyond what can be sustained on one list...and the traffic right now is quite heavy. Perhaps this main group for using the jQuery-Core, plus jQuery-Newbie, and jQuery-Plugins would be a good sta

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-03 Thread Alexandre Plennevaux
arf, well, search engines would link to it directly in any case. So better indeed put a link back to the main project page :) LAb[au] _ *lab*oratory for *a*rchitecture and *u*rbanism Alexandre Plennevaux Lakensestraat 104 Rue de Laeken Brussel 1000 Bruxelles België _ Belgique _ Belgium tel: +3

[jQuery] Re: Basic AJAX Q: how to replace current with XHR-fetched page?

2008-10-03 Thread Kynn Jones
On Fri, Oct 3, 2008 at 3:53 AM, Thomas Danemar <[EMAIL PROTECTED]>wrote: > > > Did that answer your question? > > Did it ever! That's awesome. Thanks! Kynn

[jQuery] Re: Return Object + Wrapper

2008-10-03 Thread jkappers
Right on! How incredibly simple. I put *way* too much thought into that. Thanks a ton, Riyono! On Oct 2, 9:01 pm, "Andronicus Riyono" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 3, 2008 at 6:13 AM, jkappers <[EMAIL PROTECTED]> wrote: > > > I've got a bit of a problem. I'm attempting to wrap an eleme

[jQuery] Re: how to use Current of superfish

2008-10-03 Thread ric
the example should only demonstrate that the current does not work. when clicking on "Aktuelle Info" the new page is loaded, but the menubutton does not stay as the selected one (red font/white background). although is set. thats my problem. the arrows do work when there are submenus!

[jQuery] jQuery Truncating Help

2008-10-03 Thread Zachary
I have been working with Brian Reindel's Truncate plug-intrying to get ti to do what I need. It seems simple enough, but I continue to struggle. The plug-in is designed to truncate the html content within a tag to a certain length...taking into consideration the whole last word. It works gr

[jQuery] Re: get parent element text while excluding child element text

2008-10-03 Thread Michael
Those methods are destructive though. A co-worker just came up with this very nice solution: alert($('#test').clone().children().remove().end().text()); = On Oct 3, 10:09 am, "Mauricio \(Maujor\) Samy Silva" <[EMAIL

[jQuery] Re: simple jquery snake game, some feedback appreciated

2008-10-03 Thread F1LT3R
Very cool! Nicely done. I didn't get any errors. Though one thing I would do from a UX perspective is let the user know when they have bumped into something and that's why the level is restarting. At first I thought your game had a bug, then I realized it was me. On Oct 1, 5:38 pm, Richard W <[E

[jQuery] jQuery Truncating Help

2008-10-03 Thread zacharyd
I have been working with Brian Reindel's Truncate plug-intrying to get ti to do what I need. It seems simple enough, but I continue to struggle. The plug-in is designed to truncate the html content within a tag to a certain length...taking into consideration the whole last word. It works g

[jQuery] Re: jQuery Cycle Lite Plugin

2008-10-03 Thread angel
Hi Mike Alsup, Thanks for helping me out. I've added: Still not working, can you please check? Regards, Sultan Arefin On Oct 2, 6:26 am, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I've spent hours but couldn't make it work. I don't know what I'm > > missing. Can you please checkhttp://www.chor

[jQuery] Re: Trigger Dom Event

2008-10-03 Thread Dave Methvin
> I'm having problems with jQuery events and event delegation.  I've got a > table with multiple rows and a click event registered on the tbody of that > table.  I'm trying to programmatically "click" a cell so that the event will > bubble up to the tbody click event with the correct target.   I

[jQuery] Re: get parent element text while excluding child element text

2008-10-03 Thread Mauricio (Maujor) Samy Silva
1-) alert($('*', $('p')).remove().text()) 2-) alert($('*', $('p')).empty().text()) $('*', $('p')) // contextual selector: finds all HTML elements inside the paragraphs. Chain with empty() ou remove() according your needs Maurício Is there a more elegant, concise, pure jQuery approach to

[jQuery] Re: superfish + bgiframe problem on IE6

2008-10-03 Thread Joel Birch
Hmm, this is the first time I've heard of this problem using the newer method of applying bgIframe. Are you absolutely positive you are using the bgIframe version from the link I gave you? The issue you describe has happened before but I can't remember what the cause or solution was (because I th

[jQuery] Re: Superfish problem and solution

2008-10-03 Thread Jason Mayfield
On Oct 3, 5:09 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Jason, > > This is interesting because the only problems I have seen like this > with regard to Mac FF2 have always been easily solved by setting > wmode="transparent" on the 'embed' tag. Did you give that a try that > first? Yes, th

[jQuery] Re: superfish + bgiframe problem on IE6

2008-10-03 Thread Ettiene
Thanks for that Joel. It helped. Now the dropdown goes over the select box, but it's losing it's style in the process. I.e. when i starts dropping out, it loses it's background-color, border and the word "false" is written in the first element of the dropped-down menu. Weird... This only happens

[jQuery] Re: superfish + bgiframe problem on IE6

2008-10-03 Thread Joel Birch
Or for better performance: $('ul.nav').superfish() .find('ul').bgIframe({opacity:false}) .find('li:has(ul)').addClass('isparent'); No .end() needed this way either.

[jQuery] Re: invalid object initializer

2008-10-03 Thread [EMAIL PROTECTED]
In perl I'm generating the list, e.g. = $helloworld = "hello: var1, goodbye: var2", so basically I'm getting this string from the input box, and I want to have jQuery use this string rather than expecting values, so I want thequery to be evaulated into the list for the jquery function to process i

[jQuery] Re: superfish + bgiframe problem on IE6

2008-10-03 Thread Joel Birch
Hi Ettiene, You need to add an .end() to before you add the find('ul').bgIframe() like so: $(document).ready(function(){ $("ul.nav").superfish() .find(">li>ul>li:has(ul)").addClass("isparent").end() .find('ul').bgIframe({opacity:false}); }); Joel Birch.

[jQuery] Re: How to display an ajax loading icon when page loading?

2008-10-03 Thread [EMAIL PROTECTED]
It really depends what you are doing. Are you calling the page from jquery or you just want a random loading icon to appear before the page has finished loading? On Oct 3, 4:53 am, ngocvu <[EMAIL PROTECTED]> wrote: > This is the first time I research about this product,in your page i > see the aj

[jQuery] Re: superfish + bgiframe problem on IE6

2008-10-03 Thread Ettiene
Ok, I'm struggling a bit here... My call in the head looks like this: $(document).ready(function(){ $("ul.nav").superfish() .find(">li>ul>li:has(ul)").addClass("isparent") .find('ul').bgIframe({opacity:false}); }); I've got that first "find" in there to a

[jQuery] Re: cluetip on an imagemap troubles

2008-10-03 Thread foxQuery
clueTip can handle also image maps fine (MAP AREA). There still exists interesting problem with IE6 and IE7. If you do not include hoverintent.js those IEs do not show tooltips at all! Other browsers are still showing tooltips without hoverintent.js too! I do not know actual reason for that, but

[jQuery] get parent element text while excluding child element text

2008-10-03 Thread Michael
Is there a more elegant, concise, pure jQuery approach to doing the following?... HTML: paragraph_textspan_text JAVASCRIPT: var p_txt = $('#test').text().substring(0, ($('#test').text().length - $('#test span').text().length)); alert(p_txt); OUTPUT: paragraph_text

[jQuery] Re: Superfish + Mouseout Delay + IE6/7/8

2008-10-03 Thread David Meiser
Joel, Got the mouseOut delay working in IE. Also, I think the problem with AdBlocker is now fixed (my styles were in a folder labeled ADS - our initials and a sign that advertisements are about to be foisted upon you in most circumstances. Thanks for the help! Peace, Dave Meiser On Fri, Oct 3,

[jQuery] Re: jQuery Form Plugin

2008-10-03 Thread Mike Alsup
> Don't you think we can have this feature built-in ? > Something like $('form').ajaxForm('cancel') > I don't know exactly where I can post this request Hi Andre, This is the right place to post your request. I've added it to my list of items to evaluate for future releases. Cheers! Mike

[jQuery] [validate] one form multiple validations

2008-10-03 Thread dotcomtim
In the validation plugin I am using rules and messages to validate a one form which is broken up into multiple steps within the one form. Similar to this script http://jquery.bassistance.de/validate/demo/multipart/ but altered to add custom rules and messages. Here is what I have so far. $(docum

[jQuery] Re: superfish + bgiframe problem on IE6

2008-10-03 Thread Ettiene
hmm.. I thouhgt I was using the latest method :) I've downloaded the latest version of bgiframe which is currently on the server. So what you're saying is that I replace my (complicated) call to superfish in my head with the simple one like you listed, and it should do the trick? I'll try that i

[jQuery] tablesorter wrong ordering

2008-10-03 Thread flopp
I have installed the tablesorter plugin. I use the following code to initialize it: $(document).ready(function() { $(".tablesorter").tablesorter( {sortList: [[1,0]]} ); } ); So it is going to sort the second field ("Navn"). But when I click "Antall", 120 comes under 1102. Why? See attachment

[jQuery] Re: Looking after dropdown menu like's Superfish with RTL support

2008-10-03 Thread Joel Birch
Nitsan, you are right. I just had a quick experiment with Firebug using the vertical example on the Superfish documentation. It seems that if the you have 'left:10em' you need to change that to 'left:-10em' to make the submenus appear on the left side, instead of the right. Does this solve your p

[jQuery] Re: superfish + bgiframe problem on IE6

2008-10-03 Thread Joel Birch
Hello Ettiene, There is now a much simpler and less buggy way of using bgIframe. It is described on the updated Superfish documentation page, here: http://users.tpg.com.au/j_birch/plugins/superfish/#sample2 You will need to make sure you are using the most up-to-date version of bgIframe which yo

[jQuery] TUTORIAL: How to create a stunning popup from scratch step by step

2008-10-03 Thread AdrianMG
Hi folks! I have finished a few days ago my firstl tutorial about jQuery Library: http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/ I hope you can use it for your personal projects, It's was tested on Firefox, Safari, Chrome, IE 6 & 7 & Opera Cheers!

[jQuery] Re: how to use Current of superfish

2008-10-03 Thread Joel Birch
Hi Ric, Your example is confusing me a little as there are no submenus whatsoever. This would explain why the arrows are not appearing, as they are dynamically applied only on the menu items that have a submenu associated with them. Also, you do not need to include superfish-navbar.css unless yo

[jQuery] livequery strange behaviour

2008-10-03 Thread krlosnow
Hello all: I've recently discovered livequery plugin, but I can't make it work. I explain: I have the next code: $(document).ready(function (){ alert ("executing jquery"); $("[EMAIL PROTECTED]").livequery(function(){ alert("hey, one div wanna be rounded!");

[jQuery] Re: Looking after dropdown menu like's Superfish with RTL support

2008-10-03 Thread Nitsan Bin-Nun
Its not that simple, The plugin is placing the buttons with left and top properties and if you want the submenu to be opened on the left of the menu you should re-calculate those values and re-set those properties I'm not a jquery expert and I after wasting almost 5 hours on this I think I will wa

[jQuery] Re: Alert message in jquery

2008-10-03 Thread rainbow
Maybe some symbol error,try write it use simple string.

[jQuery] SimpleModal wierdness

2008-10-03 Thread willard
Hi folks.. I can't fathom this out. I have an image which looks like this: and a bit of javascript with simplemodal that looks like this: $(document).ready(function () { $('.signup').click(function (e) { e.preventDefault(); $('#modalwikivideo').modal(); }); });

[jQuery] superfish + bgiframe problem on IE6

2008-10-03 Thread Ettiene
Hi there, Well sorry if I'm asking a question that's been answered a lot already, but I just can't seem to get it working for me on IE6. I was recently involved in building the UI for www dot geotrust dot com ., but I can't get the bgiframe to work on IE6 on pages where the menu drops down over

[jQuery] OT: flickr api

2008-10-03 Thread Javier Martínez
Hi all! I'm developing an application to allow users to copy the images from our system to their flickr account, dragging some icons from one div (system) to another (flickr). To make this I need to login the user in flickr (yahoo) before the uploads can be done. I don't like the idea of sendin

[jQuery] Re: ANNOUNCE: jQuery listnav plugin

2008-10-03 Thread Ettiene
Excellent stuff man! I'm already busy using it hehe Ettiene On Oct 3, 12:39 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > arf, well, search engines would link to it directly in any case. So better > indeed put a link back to the main project page :) > > LAb[au] _ *lab*oratory for *a*rc

[jQuery] How to display an ajax loading icon when page loading?

2008-10-03 Thread ngocvu
This is the first time I research about this product,in your page i see the ajax icon loading before the page display,so how can i use it with jquery?

[jQuery] Re: Basic AJAX Q: how to replace current with XHR-fetched page?

2008-10-03 Thread Thomas Danemar
The easiest way to fetch another page and insert it into the DOM is by using load(): $('body').load('page.htm'); injects the contents of page.htm into . You can also use selectors in the url if you only want to fetch parts of the page: $('body').load('page.html #someelement') injects only the

  1   2   >