[jQuery] Re: window close

2008-11-25 Thread Namrata Vagyani
yes the content of pop-up is in external file. I tried with ID also but not able to hide it. On Tue, Nov 25, 2008 at 10:41 AM, brian <[EMAIL PROTECTED]> wrote: > Is the content of the pop-up (including the "close" link) an external file? > > In any case, why not just give the pop-up div an ID? >

[jQuery] Re: Linked tabs that slide in and out when hovering over images

2008-11-25 Thread yaayme
The image will be different as will the IDs. I was thinking of using animate instead of append to make the tabs appear to slide out from beneath the image. Would append work for that? Not entirely sure what append does. I don't want to have to wait for the image to completely appear before I can

[jQuery] Re: Linked tabs that slide in and out when hovering over images

2008-11-25 Thread Jack Killpatrick
Is what will appear for each image exactly the same (other than maybe an id or something)? If so, you could use jQuery's .append method to move the thing that appears around on the page. If you're fading out the thing that appears, append might not work if you don't want to wait for the fade

[jQuery] Re: Any Fortune 500 using the Google Ajax Hosting?

2008-11-25 Thread Karl Swedberg
thanks for reporting that, Bil. I'm sure a lot of people will be happy to hear that! --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 25, 2008, at 6:59 PM, Bil Corry wrote: Bil Corry wrote on 9/9/2008 11:43 AM: Google, on the other hand, doesn't use t

[jQuery] Re: remove doesn't prevent a request for the image

2008-11-25 Thread Dave Methvin
I don't think it makes a difference whether the elements are in the DOM or not; if you assign a src property the browser can start to fetch the data. I've taken advantage of that before with "new Image()" to do preloading. It's probably browser-dependent but in any case I'd say it's outside the sc

[jQuery] Re: $('#id').width()

2008-11-25 Thread Dave Methvin
Most browsers cannot determine the width of an element if it is not currently visible. That includes the case where one of the parent elements is hidden. That makes sense when you think about it; the layout engine doesn't know how the element would "look" unless it's visible and interacting layout

[jQuery] Re: weird 404 records in website statistics on jquery js file

2008-11-25 Thread Dave Methvin
Do the IPs those requests have some common ISP, for example Hughes? If you log the user-agent you might find something in common there too.

[jQuery] Function Optimization w/ jQuery

2008-11-25 Thread halcyonandon
I've been reading the jQuery documentation and trying to improve this function(well functions) and its siblings, however I'm running into all sorts of syntactical errors when I make changes past this point. For example, I know there is a better way to write this.elements ['activities[ActivitiesTa

[jQuery] Re: Selector Help

2008-11-25 Thread Jason
Excellent, thank you. On Nov 25, 4:24 pm, "Charlie Griefer" <[EMAIL PROTECTED]> wrote: > On Tue, Nov 25, 2008 at 3:28 PM, Jason <[EMAIL PROTECTED]> wrote: > > > Code: > > > > > > > > > > > > > > > > > > > > > > > > When a link is clicked, I would like to be able to reference the > > part

[jQuery] Re: Selector Help

2008-11-25 Thread Charlie Griefer
On Tue, Nov 25, 2008 at 3:28 PM, Jason <[EMAIL PROTECTED]> wrote: > > Code: > > > > > > > > > > > > > > When a link is clicked, I would like to be able to reference the > particular parent fieldset element, and not all of them. > > Something like this doesn't work: > > $('.link').click(fu

[jQuery] Re: problem with document ready function

2008-11-25 Thread ricardobeat
that's odd. Try using a minified (instead of packed) version of your galleria.js On Nov 25, 6:16 pm, firstarsbrnwhite <[EMAIL PROTECTED]> wrote: > except on IE 6 and 7. FF and Safari both hide the main photo in the > gallery when clicking on collapsing menu

[jQuery] Re: Any Fortune 500 using the Google Ajax Hosting?

2008-11-25 Thread Bil Corry
Bil Corry wrote on 9/9/2008 11:43 AM: > Google, on the other hand, doesn't use the Expires header, they instead > use the Last-Modified header. This means that instead of the browser > just outright using the cached jQuery library, it first has to ask > Google if the file has been modified for *

[jQuery] Re: MIT or GPL License

2008-11-25 Thread Karl Swedberg
Yes, you can use one or the other. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 25, 2008, at 9:13 AM, Jason Coudriet wrote: Hello, When using jQuery, do have we have the option to use just the MIT license? Thanks, Jason

[jQuery] Re: animate problem with IE7

2008-11-25 Thread ^AndreA^
Ticket opened... http://dev.jquery.com/ticket/3650 bye, Andrea On Nov 24, 11:35 pm, "^AndreA^" <[EMAIL PROTECTED]> wrote: > Yesterday I tried to open a ticket but the server (onhttp://dev.jquery.com/) > was not responding as it should so I posted a thread also in the > jQuery development google

[jQuery] Selector Help

2008-11-25 Thread Jason
Code: When a link is clicked, I would like to be able to reference the particular parent fieldset element, and not all of them. Something like this doesn't work: $('.link').click(function () { $(this+':parent').BLAHBLAHBLAH(); }); Thanks in advance, the help here is top not

[jQuery] Re: Linked tabs that slide in and out when hovering over images

2008-11-25 Thread yaayme
Jack, Thanks a bunch! That worked for one image, but what if I have a whole slew of images that I want to add the same functionality to? I tried created another container with another image, but when I hovered over one, tabs for both images showed up. Thanks again! -- View this message in con

[jQuery] Instant animations (Superfish)

2008-11-25 Thread Paul DelRe
I'm using the Superfish plugin and which only allows the switching of submenus with .animate. Anyone know a options configuration that makes and instant "animation" (behaves like .show)? 1ms speed isn't fast enough either.

[jQuery] Re: IE7: loading XML per ajax

2008-11-25 Thread George
The error message does indicate that it does not like something about XML. Try folowing. 1. Save xml on your drive and simply open it with IE. See if it gives you an error. 2. What does errorThrown points to? 3. The standalone="no" not sure it's valid... George. On Nov 25, 3:56 pm, w-o-m <[EM

[jQuery] Re: validate - only show certain messages

2008-11-25 Thread [EMAIL PROTECTED]
Hi there, i suppose, when you dont want to show a message error, you also do not want validate that particular input?? (else it sounds not logic to me, if you validate, you show error messages) Assuming your code is derivated from the example from the plugin, you see rules and messages inside the

[jQuery] Re: plug-in questions

2008-11-25 Thread lukas
thank you, yes i had a look at it. but i don't have the time to test out all the available options and hence posted my question in order to get some hands-on experiences.

[jQuery] Re: How to bind validation to new loaded form?

2008-11-25 Thread [EMAIL PROTECTED]
I still dont get it, how to bind my new loaded form. I have installed live query now, but i am still doing it the wrong way. used this to bind: $("#signupForm").bind("submit", function() { return false; }) I should expect that submitting this form, would be disabled thenbut no tried this:

[jQuery] Re: plug-in questions

2008-11-25 Thread Charlie Griefer
On Tue, Nov 25, 2008 at 2:33 PM, lukas <[EMAIL PROTECTED]> wrote: > > I am a bit confused with all the possibilities! I am looking for cross- > browser plug-ins for > > tabbing > > vertical accodion > > flexible pop-ups (thickbox, lightbox, facebox,...) which you also > can use for forms or a g

[jQuery] plug-in questions

2008-11-25 Thread lukas
I am a bit confused with all the possibilities! I am looking for cross- browser plug-ins for > tabbing > vertical accodion > flexible pop-ups (thickbox, lightbox, facebox,...) which you also can use for forms or a gallery. > pull-down menu that can display sub-folders and offers the option of

[jQuery] Creating a mini menu attached to thumbnail

2008-11-25 Thread spherop
I am trying to create a small menu arrow that will appear next to an image when moused over. The Menu arrow should go away when the user mouses out of the image, except if the user mouses into the arrow istelf, in which case it will display some ajax content. function postMenus(){ $(".im

[jQuery] Re: formatting splitting the response from the server using jquery syntax

2008-11-25 Thread Charlie Griefer
On Tue, Nov 25, 2008 at 2:12 PM, Sean <[EMAIL PROTECTED]> wrote: > > Hi There, > > I'm getting a response back from a .net page. The response looks like > this and is variable in length. What is the best way to handle this on > the client using jquery syntax? > > Sean > > {"first": "slideshow/52/2

[jQuery] formatting splitting the response from the server using jquery syntax

2008-11-25 Thread Sean
Hi There, I'm getting a response back from a .net page. The response looks like this and is variable in length. What is the best way to handle this on the client using jquery syntax? Sean {"first": "slideshow/52/2.jpg","second": "slideshow/52/2_2.jpg"}

[jQuery] Re: dynamic tree / treeview

2008-11-25 Thread Dirceu Barquette
try my treeview plugin. Maby it can help you. http://sourceforge.net/projects/jqtreevial/ Dirceu Barquette 2008/11/25 Bhavin <[EMAIL PROTECTED]> > > > Thanks Jeffrey. I solved issue# 1 almost similar way you suggested. > But I am more concern about issue # 2. I am not sure about the flow. I > wa

[jQuery] Re: dynamic tree / treeview

2008-11-25 Thread Bhavin
I am using Struts here...referring "Action class" of struts.. Yes, when user saves the page it is inserted successfully in the database. Data is then displayed on the same page...Now, user clicks on refresh I need to fire an event to bring the data and render HTML. Since I manipulated DOM, I won

[jQuery] Re: IE7: loading XML per ajax

2008-11-25 Thread w-o-m
That's true. But a SVG is still just an XML file. I don't need IE to draw the grapic, I just need the data. My script, btw, doesn't work with other XML's either. ricardobeat wrote: > IE7 doesn't support SVG afaik. > > On Nov 25, 6:08�am, w-o-m <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I tried

[jQuery] Re: scope issues in safari

2008-11-25 Thread Jeffrey Kretz
You could try this: jQuery('div.clause').each(function(){ var width = 0; var words = jQuery(this).children('div.word'); for (var i=0;imailto:[EMAIL PROTECTED] On Behalf Of thesubtledoctor Sent: Tuesday, November 25, 2008 10:44 AM To: jQuery (English) Subject: [jQuery] scope

[jQuery] jqmodal and ui datepicker problem

2008-11-25 Thread Daniel
Hi I have a problem with jqmodal and ui datepicker. Often datepicker just doesn't appear when I initiate in in a jqmodal window. Funnywise there isn't any warning or error in firebug. than I have to clean cache in Firefox and datepicker appears again during next load of modal window - even it

[jQuery] scope issues in safari

2008-11-25 Thread thesubtledoctor
I need to calculate the widths of the divs of class 'clause' dynamically based on the widths of their contents, divs of class 'word'. The following code works correctly in Firefox: jQuery('div.clause').each(function(){ var width = 0; jQuery(this).children('div.word').each(functi

[jQuery] validate - only show certain messages

2008-11-25 Thread dmikester1
I am using the validate plugin. It is very cool and very handy. I want to only show the label message error for my email and not show them for any other inputs. Can someone help me with this? Thanks Mike

[jQuery] Re: :nthchild, :eq help

2008-11-25 Thread meatwad5675
Thank-you Ricardo, the syntax for adding the variable was exactly what I needed. ricardobeat wrote: > > > For eq() you can use > > $('.images').eq(variable) > > nth-child doesn't have it's own function, but you only need to add the > variable to the selector string: > > $('.images:nth-chi

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-11-25 Thread serpicolugnut
Wow - Thanks Liam. That worked like a charm. Liam Potter wrote: > > > bind a mouseenter function to the menu div, then a mouseleave function > to the sub menu. > > Ted wrote: >> I have, and have used the suckerfish method before. The problem is >> I've already created the CSS for the menus

[jQuery] Re: problem with document ready function

2008-11-25 Thread firstarsbrnwhite
except on IE 6 and 7. FF and Safari both hide the main photo in the gallery when clicking on collapsing menu

[jQuery] Re: dynamic tree / treeview

2008-11-25 Thread Jeffrey Kretz
Unfortunately, I'm not familiar with "Action class" Is this a JSP thing? When the user saves the new page with an ajax call, is it recorded in a database? If so, when the user then refreshes, shouldn't the server output the new page nodes correctly during the HTML render? JK -Original Mes

[jQuery] Re: dynamic tree / treeview

2008-11-25 Thread Bhavin
Thanks Jeffrey. I solved issue# 1 almost similar way you suggested. But I am more concern about issue # 2. I am not sure about the flow. I want something like: 1) Click on Create Page link. I want to allow users to create data which will be internally displayed in elements and user can drag&dro

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-11-25 Thread Jeffrey Kretz
I made a few changes and reposted it here: http://test1.scorpiondesign.com/LocalTest7.htm Changes: menu1 through menu5 were moved underneath their respective LIs. When the menus were NOT children of the LIs, the mouseenter mouseleave kept firing. #nav { position:relative; } This allows the ab

[jQuery] Re: Instantiating multiple plugin instances on the same page

2008-11-25 Thread howardk
I went back to scratch and did up a simplified rewrite of my plugin. I haven't found the problem with the actual plugin yet, but at least now I know how the architecture is *supposed* to work. Chaining doesn't come into it (as suggested by Sean), but the test code at http://fatdog.com/multiP

[jQuery] Re: Validate and Ajax. Could someone, please, help me?

2008-11-25 Thread Jörn Zaefferer
With the 1.5 release you will be able to use this instead: $("#myform").validate({ rules: { username: { required: true, remote: { url: "checkusername.php", type: "post" data: { email: function() { return $("#email").val() } } }

[jQuery] Re: remote validation with additional parameter

2008-11-25 Thread Jörn Zaefferer
With the 1.5 release you will be able to use this instead: $("#myform").validate({ rules: { username: { required: true, remote: { url: "checkusername.php", type: "post" data: { email: function() { return $("#email").val() } } }

[jQuery] Re: [validate] Sending Two Inputs Together to Remote Validation?

2008-11-25 Thread Jörn Zaefferer
With the 1.5 release you will be able to use this instead: $("#myform").validate({ rules: { username: { required: true, remote: { url: "checkusername.php", type: "post" data: { email: function() { return $("#email").val() } } }

[jQuery] Re: POST METHOD IN REMOTE PARAM FOR VALIDATE PLUGIN

2008-11-25 Thread Jörn Zaefferer
With the 1.5 release you will be able to use this instead: $("#myform").validate({ rules: { username: { required: true, remote: { url: "checkusername.php", type: "post" data: { email: function() { return $("#email").val() } } }

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-11-25 Thread serpicolugnut
Here's a link to a simplified version of the code. The mouseenter/mouseleave events helped, but I'm seeing some strangeness on the first menu item, and then some flickering on the others. http://dl.getdropbox.com/u/21984/menu_test.html Jeffrey Kretz wrote: > > > If you have a sample url of y

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread howardk
You can do this entirely on the client if (1) you either know the names of all the image files in the directory on the server or (2) you can construct them programatically at runtime. The latter works for instance if the file names are something like image_1.png, image_2.png, image_3.png, ..., i

[jQuery] Re: problem with document ready function

2008-11-25 Thread firstarsbrnwhite
only problem is upon toggling of this menu it also hides the photos in my jquery gallery --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery (English)" group. To post to this group, send email to jquery-en@googleg

[jQuery] Re: problem with document ready function

2008-11-25 Thread firstarsbrnwhite
Thanks again richardo, here is the final script that works great $(document).ready(function(){ var subs = $('.menu > ul ul'); subs.hide(); $('.menu > ul > li a').click(function(){ $(this).next('ul').toggle(); }); });

[jQuery] Re: validate - error in IE6

2008-11-25 Thread gnix
Actually, I found the problem. Apparently it was an encoding issue. My page uses "UTF-8" encoding which messes up the validation plugin. Instead, this is what the experts recommend: --- @Greg: Thanks for investigating this. I guess the trouble is this: jquery.validate.js is encoded as ISO-

[jQuery] Re: The last script on ready function

2008-11-25 Thread ricardobeat
Right. That means code at the end of the body then. I've never seen anything bad happen with that though. Anyone out there knows the reason for this? - ricardo On Nov 25, 2:20 pm, "Pierre Bellan" <[EMAIL PROTECTED]> wrote: > I'm not sure of that. > > In the doc of the ready event, it says > > P

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-11-25 Thread Jeffrey Kretz
If you have a sample url of your code, that would be helpful. But at a guess, the flyout div is probably not a child of the main menu element, so the mouseenter and mouseleave won't work properly. If this is the case, it will require a minor change to the hover plumbing. The z-index with flash

[jQuery] Re: Replacing DIV with XML

2008-11-25 Thread ricardobeat
Hi, 1. appendTo() appends content: adds content after everything that already exists. You can use empty() to remove the contents before appending, that's the exact same result as replace(). 2. replaceAll only works the first time because you are replacing the element with a , so on the second ru

[jQuery] Re: problem with document ready function

2008-11-25 Thread ricardobeat
Hi, Try removing all the comments in the javascript, Google Groups adds line breaks that can cause errors. Also I forgot to wrap 'this' in jQuery: var subs = $('.menu > ul ul'); subs.hide(); $('.menu > ul > li a').click(function(){ subs.hide(); $(this).next('ul').

[jQuery] Re: validate - error in IE6

2008-11-25 Thread gnix
Thanks for noticing that. I made those changes but the error messages keep coming. On Nov 24, 6:21 pm, DumpsterDoggy <[EMAIL PROTECTED]> wrote: > I didn't notice at first, but also, your tags aren't closed > properly either: > > Should be: > name="txtZip" id="txtZip" value="" /> > > On Nov 24, 8

[jQuery] Re: find table rows that contains text

2008-11-25 Thread Sridhar
Thank you that worked. I made some changes since my table row contains more than one cell. var mySearch = '63'; var a = $('table tbody tr td a:contains("' + mySearch + '")').filter (function(){ //alert($.trim($(this).text())); if($.trim($(this).text

[jQuery] Re: scope inside callback?

2008-11-25 Thread ricardobeat
How are you using this constructor? Where are you calling the methods? On Nov 25, 1:08 am, Jeremy <[EMAIL PROTECTED]> wrote: >  Could someone help me figure out how to load the total number > returned in the post request into the total variable of the object? > > Currently, the value of this.tota

[jQuery] Tabs - #Link not working for ajax tab in IE 7

2008-11-25 Thread strummer75
I am having an issue in IE 7 and UI/Tabs as follows: I am linking directly to a tabs id from another page like so: http://devapp/contacts/#organizations My tab link is Organization I also have a div id in the page that matches the title attribute on the li - In Firefox the tab is selected an

[jQuery] Re: pixelperfect

2008-11-25 Thread Eric Martin
Pretty cool - thanks for sharing! On Nov 25, 8:30 am, weepy <[EMAIL PROTECTED]> wrote: > http://www.parkerfox.co.uk/labs/pixelperfect/ > > Is a bookmarklet that will allow you to drag elements around any page > and informs you of the new coordinates. > > Uses jQuery and jQueryUI

[jQuery] Re: :nthchild, :eq help

2008-11-25 Thread ricardobeat
For eq() you can use $('.images').eq(variable) nth-child doesn't have it's own function, but you only need to add the variable to the selector string: $('.images:nth-child('+variable+')') - ricardo On Nov 25, 11:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Basic Issue:  Can you use

[jQuery] pixelperfect

2008-11-25 Thread weepy
http://www.parkerfox.co.uk/labs/pixelperfect/ Is a bookmarklet that will allow you to drag elements around any page and informs you of the new coordinates. Uses jQuery and jQueryUI

[jQuery] Re: clicking at bottom of long list moves entire page up.

2008-11-25 Thread ricardobeat
Those are not anchors so it's not scrolling because of the click. I guess the scrolling happens when the content is being replaced, do you have a test page up somewhere? On Nov 24, 8:20 pm, tmat <[EMAIL PROTECTED]> wrote: > Greetings! > I'm developing a list of events, and when someone clicks on

[jQuery] Re: Appending text works; appending element doesn't

2008-11-25 Thread ricardobeat
Your code, exactly as it is, works perfectly for me. I didn't include the tablesorter plugin in my test. results: =quack quack= PlaintextElem (IE7) =quack quack = PlaintextElem (FF3) - ricardo On Nov 25, 1:30 am, Rodent of Unusual Size <[EMAIL PROTECTED]> wrote: > I still can't find anything w

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread Liam Potter
any server side language. fr0st003 wrote: So what I could do is use something like PHP, to pull images from the folder place them into a array, use the math function to pull something at random then use Javascript to style the information. Would this be possible to do with Python? I have some e

[jQuery] Re: The last script on ready function

2008-11-25 Thread Pierre Bellan
I'm not sure of that. In the doc of the ready event, it says Please ensure you have no code in your onload event handler, otherwise $(document).ready() may not fire. Rodney Dangerfield - "I looked up my family tree and found out I was the sap." 2008/11/25 ricardobeat <[EMAIL PROTECTED]> > >

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread fr0st003
So what I could do is use something like PHP, to pull images from the folder place them into a array, use the math function to pull something at random then use Javascript to style the information. Would this be possible to do with Python? I have some experience with Python. And or Ruby? craig

[jQuery] Re: find table rows that contains text

2008-11-25 Thread Pierre Bellan
Hi, I think you must use the filter function. I made this little test : var mySearch = '63'; $('table tr:contains("'+mySearch+'")').filter(function(){ if ($.trim($(this).text()) == mySearch ) { return true; } else{ return false; } }); The text() method removes all

[jQuery] Re: Trouble in Table sorter

2008-11-25 Thread hyon
Hi, I think that's a bug. The data are generated well in decending order, such as 54, 31, 0, No data. But, the order is 0, No data, 31, 54 in acending order. Am I right? On Nov 24, 9:51 am, Carpii <[EMAIL PROTECTED]> wrote: > On Nov 22, 10:24 am,hyon<[EMAIL PROTECTED]> wrote: > > > Hi, > > > Wh

[jQuery] Re: IE7: loading XML per ajax

2008-11-25 Thread ricardobeat
IE7 doesn't support SVG afaik. On Nov 25, 6:08 am, w-o-m <[EMAIL PROTECTED]> wrote: > Hello, > > I tried to load a .svg vector graphic with $.ajax, which works > perfectly well in FF and Opera, but not in Internet Explorer. > > My script looks like this: > > $(document).ready(function(){ >      

[jQuery] Re: The last script on ready function

2008-11-25 Thread ricardobeat
You can also run it on page load (as opposed to DOM ready): $(window).load(function(){ // scripts to run after page load here }); - ricardo On Nov 25, 8:08 am, "Pierre Bellan" <[EMAIL PROTECTED]> wrote: > Hi, > > Put it at the very bottom of your page. > $(document).ready are executed in L

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-11-25 Thread Ted
I have, and have used the suckerfish method before. The problem is I've already created the CSS for the menus based upon them living each in their own div, and would like to engineer them based upon that as opposed to having to recode the CSS based upon another method. Basically my HTML looks lik

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-11-25 Thread Liam Potter
bind a mouseenter function to the menu div, then a mouseleave function to the sub menu. Ted wrote: I have, and have used the suckerfish method before. The problem is I've already created the CSS for the menus based upon them living each in their own div, and would like to engineer them based

[jQuery] Re: problem with document ready function

2008-11-25 Thread firstarsbrnwhite
ricardobeat, thank you very much for your response. This is obviously my first time working with jquery. I have translated your code to my page with some unexpected results. When I click on any .menu > ul > li a all the page does is hide the image in my main gallery which is also ran by jquery. I

[jQuery] MIT or GPL License

2008-11-25 Thread Jason Coudriet
Hello, When using jQuery, do have we have the option to use just the MIT license? Thanks, Jason

[jQuery] tabs postback problem

2008-11-25 Thread Jade
Hi all, i am beginner on jquery framework.I want to use jquery tabs script and i did.But on my form i click my postback button tabs reloaded.My button in 3. tab and reloaded 1 after postback How resolve this problem?

[jQuery] find table rows that contains text

2008-11-25 Thread Sridhar
Hi, I am trying to get a reference to a table row that contains an exact match of a text. But I am getting more than one row. can you please help me? Following is the html table structure and the jquery script. -- html 063 63 -- script var rows = $('table tr:co

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-11-25 Thread RyOnLife
Have you looked at the Son of Suckerfish method? http://htmldog.com/articles/suckerfish/dropdowns/ Might be a good starting point to get everything working, then you can customize the CSS to get whatever look you're going for. On Nov 25, 10:07 am, serpicolugnut <[EMAIL PROTECTED]> wrote: > I'm

[jQuery] Re: MultiSelect Name Problem

2008-11-25 Thread Sai Krishna
Thank you, the problem is solved. I had to alter the id. I was dynamically generating the multi select box, I had to rename the ID which was same as name of select box On Nov 25, 7:05 pm, Sai Krishna <[EMAIL PROTECTED]> wrote: > Well that was an edited code. Infact, I was not returning any qty in

[jQuery] Using jquery to construct menus like nbc.com

2008-11-25 Thread serpicolugnut
I'm trying to utilize jquery to construct a menu structure that is similar to what you see at fox.com and nbc.com. Basically I have a menu that is a ul list, with each li selector given it's own id. Below I have a div container for each menu item, which are set to be hidden by jquery upon loa

[jQuery] Re: MultiSelect Name Problem

2008-11-25 Thread Sai Krishna
Well that was an edited code. Infact, I was not returning any qty in my original code. That was mistake. My Server side code seems to be not taking name parameters. When I rename the parameters to parameters[], POST seems to get all selected values other wise I get the last selected value. $(#pa

[jQuery] Re: MultiSelect Name Problem

2008-11-25 Thread MorningZ
You're making it much more complex than it needs to be, besides the fact that your posted code doesn't make much sense as that "return qty" isn't returning the value anywhere $("#parameters").change(function () { var values = $(this).val() || []; $("#qty").val(values.length; })

[jQuery] MultiSelect Name Problem

2008-11-25 Thread Sai Krishna
Hi, I'm a newbie to Jquery. I wrote the following function for multi select var quantity =0; $("#parameters").click(function () { var qty = 0; $("#parameters option:selected").each(function () { qty = qty+1; }); $("#qty").val(qty); return qty; }) and the mult

[jQuery] remove doesn't prevent a request for the image

2008-11-25 Thread Webbes
Hi there, It is my goal to defer loading of images in the cycle plugin. Which I have accomplished as follows. But please have a look at the 4th line: $( function() { var imgStack = []; $('.slideshow > img:gt(2)').remove().each(function() { imgSt

[jQuery] tabindex for beginners

2008-11-25 Thread gil_yoktan
Hello I finally managed to make jquery work for me. I want to set all "input" tabindex to -1 (not selectable by tab key). This is what I wrote (taken from the source of an example) $(document).ready(function() { // set tabs $(':input').each(function(i, e) { alert

[jQuery] tabindex for beginners

2008-11-25 Thread gil_yoktan
Hello I finally managed to make jquery work for me. I want to set all "input" tabindex to -1 (not selectable by tab key). This is what I wrote (taken from the source of an example) $(document).ready(function() { // set tabs $(':input').each(function(i, e) { alert

[jQuery] Using jquery to construct menus like nbc.com

2008-11-25 Thread Ted
I'm trying to utilize jquery to construct a menu structure that is similar to what you see at fox.com and nbc.com. Basically I have a menu that is a ul list, with each li selector given it's own id. Below I have a div container for each menu item, which are set to be hidden by jquery upon load. I

[jQuery] :nthchild, :eq help

2008-11-25 Thread [EMAIL PROTECTED]
Basic Issue: Can you use a variable in place of the index in functions like :nthchild() and :eq() and if so, how? Detailed description: I'm new to jquery and am trying to create an image viewer. I've marked it up and used jquery so that when you click on a thumbnail image, jquery returns the o

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread craig.kaminsky
BlueSky is correct. JavaScript that runs in the browser does not have access to either a local or server-based file system. For that you need either: (1) a classic server-side programming language (ala BlueSky's notes for PHP, ASP.NET, ColdFusion, etc.) or (2) a site that runs the Jaxer server fro

[jQuery] Re: Doing Ajax call to a page that requires authentication

2008-11-25 Thread Pierre Bellan
Hi, If the authentification is form-based, then the login credentials is passed by GET or POST. So you just have to add it to your ajax request see the data option. $.ajax({ type: "POST", url: "some.php", data: "name=John&location=Boston", success: function(msg){ alert( "Data Sav

[jQuery] Re: table striping performance with livequery

2008-11-25 Thread Ariel Flesler
LiveQuery supports the whole set of selectors, while Listen doesn't. There's also Intercept, which is sort of in the middle. It uses event delegation, and supports any selector. But it also has more overhead than Listen. IMO, If you can solve your situation with Listen, than go ahead. But if you

[jQuery] Re: ajax post variable error in safari/chrome

2008-11-25 Thread RodrigoPoloDOTcom
WebKit sucks parsing Dynamic XML, I had this problem and I found it was because Gzip... The SOLUTION in PHP, add the fallowing code in your PHP code: header('Content-Type: application/xml'); ob_start('ob_gzhandler'); another problem reasons could be that your dynamic XML is not a real XML, my a

[jQuery] Re: jQuery XHR problems with safari 3.2

2008-11-25 Thread RodrigoPoloDOTcom
WebKit sucks parsing Dynamic XML, I had this problem and I found it was because Gzip... The SOLUTION in PHP, add the fallowing code in your PHP code: header('Content-Type: application/xml'); ob_start('ob_gzhandler'); another problem reasons could be that your dynamic XML is not a real XML, my a

[jQuery] Re: window close

2008-11-25 Thread brian
Is the content of the pop-up (including the "close" link) an external file? In any case, why not just give the pop-up div an ID? On Tue, Nov 25, 2008 at 12:05 AM, Namrata Vagyani <[EMAIL PROTECTED]>wrote: > This is also not working :( > > On Mon, Nov 24, 2008 at 7:51 PM, Isaak Malik <[EMAIL PROT

[jQuery] jQuery Game Attempt

2008-11-25 Thread feenikz
Hi all, We've attempted to write a game in jQuery and learnt a lot doing it. We started with a base of gameQuery (http://gamequery.onaluf.org/) which makes most of the collisions/sounds etc possible. http://www.vertigo-project.com/projects/redline-game -- any opinions / suggestions welcome. One

[jQuery] form field change to hide and show page elements

2008-11-25 Thread athanasiusrc
I am new to jquery and am having a hard time figuring out this problem. I want to hide certain table rows containing form fields when a page loads and only show them when the rel value in a select option equals the rel value of the table row. The first part is simple $(function(){ $("tr[rel]

[jQuery] scope inside callback?

2008-11-25 Thread Jeremy
Could someone help me figure out how to load the total number returned in the post request into the total variable of the object? Currently, the value of this.total remains zero through the script even though the post returns 12. $(document).ready(function() { function ajax_page(statsendpoint

[jQuery] Replacing DIV with XML

2008-11-25 Thread Dipi Evil Danger
I´m trying to make an dynamic page with XML values. When the visitor click on an item it replaces the content. But it is not doing his job. This is the code: $('a').click(function() { var key = $(this).attr('id').charAt(4); $('a').click(function() { var key = $(this).attr('id').charAt(4); $.aj

[jQuery] Re: ANN: Books-a-million.com using jQuery

2008-11-25 Thread [EMAIL PROTECTED]
top site? 1Mb homepage downloadjq and proto...hmmm Am I missing something? On Nov 25, 4:37 am, Andy Matthews <[EMAIL PROTECTED]> wrote: > I used to work for the web company who developed the original BAM > site, and now a friend of mine is project manager for them. They just > released a new

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread TheBlueSky
As per my understanding, you want jQuery to read a folder on your server and extract all the images there, right? If so, I don't think it's possible. jQuery is client-side scripting platform (JavaScript) and it runs on your browser not your server. Yes, you may integrate it with serer-side script

[jQuery] IE7: loading XML per ajax

2008-11-25 Thread w-o-m
Hello, I tried to load a .svg vector graphic with $.ajax, which works perfectly well in FF and Opera, but not in Internet Explorer. My script looks like this: $(document).ready(function(){ $.ajax({ type: "GET", url: "test.svg", dataType: "xml",

[jQuery] jcarousel extension suggestion

2008-11-25 Thread me me me
I've some pages which have quite a lot of content and the client wants some kind of "loading animation" to be displayed while the page loads. I fiddled around with a few ideas but wasn't very happy with the results. I realised that it'd be best to just extend jCarousel to allow it to hide the widg

  1   2   >