[jQuery] Re: simple question regarding the 'this' keyword

2009-08-09 Thread svanhess
I would suggest removing the thmb1, thmb2, thmb3 classes and use a static class like "thmb" so you can create a single function that handles all of your links. You can then create a single function to grab the "src" attribute of the child "img" tag and load up the hi res version of the image. Fo

[jQuery] JQuery lightbox plugin through we can show flash in overlay..

2009-08-09 Thread Amit
Hi Is there any jQuery light box plugin by which I can make my flash look in the overlay window. I had searched for one  named fancyZOOM .js  but don't know why it is not working for multiple flash in a single page. any body having any idea pls reply ..  I am struck here. thanks

[jQuery] Re: Sloppy Documentation of Ajax Methods

2009-08-09 Thread Shawn
ALL the functions (load, get, post, etc) are wrappers for the $.ajax() function. I only use $.ajax() now and tweak it to meet my needs... Makes for less confusion. Ajax by default will only load files that are in the same domain as the calling page. This is a browser security feature. (Us

[jQuery] Re: calling a jQuery function from RJS/onclick

2009-08-09 Thread Ram
anyone? any ideas at all?? On Aug 7, 4:38 pm, Ram wrote: > Hi, > > Im using jNice (a jQuery plugin) in rails. I have the following jQuery > function on the head of my page. > > >                 jQuery.noConflict(); > >                 /* calling jNice on document ready */ >                 jQu

[jQuery] Re: getJSON response limit

2009-08-09 Thread rickoshay
I guess the surprise was his alert *appeared* to be dependent on the response size, and "of course" he did not get an error message.

[jQuery] Sloppy Documentation of Ajax Methods

2009-08-09 Thread rickoshay
Here are the descriptions for the Ajax methods: load -- Loads HTML from a remote file ... ajax -- Load a remote page ... get -- Load a remote page... getScript -- Load and execute a local javascript file... post -- Load a remote page... So, if we want arbitrary HTML we have to use "load", but if

[jQuery] jquery Cycle - number pager doubles with AJAX refresh

2009-08-09 Thread ppblaauw
When using a number pager with the cycle plugin and somewhere else on the same page a block which refreshes content with AJAX the number pager for the cycle block doubles. On the next Ajax refresh it doubles again. Anyone a solution to prevent the number pager to double. When I have the number p

[jQuery] Re: getJSON response limit

2009-08-09 Thread Michael Geary
You're giving the right answer to the wrong question. ;-) Chad's question had nothing to do with limits on GET parameters or the maximum length of a URL. The parameters were making it to the server just fine. The question was about any possible limits on the *response*. This wouldn't be affected

[jQuery] Re: getJSON response limit

2009-08-09 Thread MorningZ
"GET vs. POST would have nothing to do with this" Sure it could. http://classicasp.aspfaq.com/forms/what-is-the-limit-on-querystring/get/url-parameters.html Granted i do not know if newer browser versions have raised or removed that cap, but it's still something to consider To original po

[jQuery] Re: getJSON response limit

2009-08-09 Thread cfddream
url : datapages/getSummary.php?callback=? -- Ever Now .. -- Original --

[jQuery] Conditional form element with dropdown box

2009-08-09 Thread maple1249
Hello, I have been searching for a few days a way to have a form element slide down ONLY IF a certain option in the dropdown is selected. I have found resources using radio boxes and check boxes, but none with dropdowns. Thanks!

[jQuery] simple question regarding the 'this' keyword

2009-08-09 Thread Cyra
Hello, First time posting here, so sorry if this has been covered to death, but I couldn't find anything via searching. I'm building a gallery page, that's setup like this: - carousel based horizontal image thumbnail navigation. - main div that loads, on thumbnail click, a high res version of

[jQuery] jquery + cycle + IE

2009-08-09 Thread nspace
Having a bit of an issue with my setup with jQuery + Cycle http://negativespace.ca/clients/mirrorbuilder/ There are two divs that control the photos, #controller, and #prevNext which has two href's in it that link to #next and #prev anchors like in the demos from the Cycle website. I am using t

[jQuery] gallery question

2009-08-09 Thread Cyra
Hello, First time posting here, so sorry if this has been covered to death, but I couldn't find anything via searching. I'm building a gallery page, that's setup like this: - carousel based horizontal image thumbnail navigation. - main div that loads, on thumbnail click, a high res version of

[jQuery] Multi-Purpose MySQL Lookup Script inside

2009-08-09 Thread Miket3
I have been struggling with the validation plugin for a while. And I finally got it to work. As a result I created a multi-purpose lookup script. I hope this comes in handy for someone else. This script can be used for the validation plugin or for returning field values back to your jquery event

[jQuery] Re: [ANNOUNCEMENT] jQuery LargePhotobox plugin

2009-08-09 Thread Rick Faircloth
Good job! -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexsandro_xpt Sent: Sunday, August 09, 2009 11:43 AM To: jQuery (English) Subject: [jQuery] [ANNOUNCEMENT] jQuery LargePhotobox plugin Hi everyone, Yesterday I released the f

[jQuery] Re: tablesorter help?

2009-08-09 Thread jsrobinson
Doh! That was the one parameter I didn't experiment with to see where the problem was... Thank you! On Aug 7, 5:09 am, Paul Mills wrote: > Hi, > Change the sortList definition to > sortList: [[3,0]], > or > sortList: [[3,1]], > depending on what order you want the column sorted in. > > You coul

[jQuery] Re: Simplemodal ajax dialog

2009-08-09 Thread Eric Martin
Michael, You need to initialize any third party scripts in the SimpleModal onShow callback. Here's an example of using Datepicker with SimpleModal: http://www.ericmmartin.com/code/datepicker/ -Eric On Aug 7, 2:34 am, Michael Anckaert wrote: > Hello everyone, > > Using the simplemodal plugin I

[jQuery] Sluggish innerfade transition in new browser versions

2009-08-09 Thread ferdjuan
I'm using jQuery 1.3.2 and the latest version of the Innerfade plugin: http://medienfreunde.com/lab/innerfade/ I'm transitioning through 8 large images (1024x368) with the fade option. With Safari 4.0.2 the transition is very sluggish, making it look like it's running about 5 fps. With Firefox 3.0

[jQuery] Re: New to jquery, multiple .js files not running

2009-08-09 Thread andrew.croce
Thanks for your replies, I appreciate it. I put the contents of gallery.js inside the click function and it appears to be working now. I had tried this before, but there must have been an unrelated syntax error or something that was causing it to break. Thanks Andrew On Aug 9, 4:45 pm, Stephan

[jQuery] Re: getJSON response limit

2009-08-09 Thread thephatp
I used json_encode in php to escape the new-lines and all works great now!

[jQuery] Re: Detect Capital Letters

2009-08-09 Thread Karl Swedberg
haha, you got me! so, yeah, it would be a bit more work. point taken! :-p --Karl On Aug 9, 2009, at 1:55 PM, Michael Geary wrote: That would work for you and for me, but would it work for everyone? alert( isUpperCase('JÖRN') ? 'good' : 'bad' ); // ;-) -Mike From: Karl Swedberg Shouldn't

[jQuery] Re: Regular Expression validation

2009-08-09 Thread Karl Swedberg
Hi KeeganWatkins, Here is what the OP (nouky) wrote: I would like to validate a textbox that numbers cannot be entered into the text input That sounds to me like he doesn't want any numbers to be allowed anywhere within the value. I'm interested to hear why you think /[^\d]/g is more ele

[jQuery] Re: more VALIDATION issues

2009-08-09 Thread Jörn Zaefferer
Your assumption that the remote method is buggy is not at all verified, or: wrong. Instead of trying to write your own remote-method, please provide a testpage to find the actual issue you're dealing with. Jörn On Sun, Aug 9, 2009 at 7:07 PM, Miket3 wrote: > > OK.  the validation plugin is kicki

[jQuery] Re: New to jquery, multiple .js files not running

2009-08-09 Thread Stephan Beal
On Aug 9, 7:38 pm, "andrew.croce" wrote: > What I was trying to do with  var current_section = $(this).attr > ("name"); was to create a variable that simply contained the "name" of > the particular subsection, which I could then attach to "_tab" to ... > idea, could that be screwing up the whole

[jQuery] Using :first and :last on the first children of an element

2009-08-09 Thread Alec
I have some simple tables with multiple rows. The cells within these rows have tables of their own. I'm trying to target the rows of the first (parent) tables, like so (excuse the spacing): HTML: <-- match with :first <-- match with :last

[jQuery] Re: getJSON response limit

2009-08-09 Thread thephatp
Well, the response actually returns, but the jQuery code doesn't execute. I've isolated the problem--I have a field in the database that stores general instructions that can be entered by a user. There is a carriage return for new-lines in the text that is captured. When one of these entries is

[jQuery] Re: Jquery Remote Message is not showing up

2009-08-09 Thread chobo2
ya that is for php not Asp.net MVC. The url is right, the problem was the "bool" I was returning. It returned "False" or "True" where jquery.validate needs to have "false" or "true" in lowercase otherwise it ignores it. Once I figured that out it all worked. Field wrote: > I think you need more

[jQuery] refactoring help/ suggestions?

2009-08-09 Thread Calvin
Hi, I wrote this code for a simple "hide and show" effect and I am looking for any advice or examples of how I can refactor the code. I tried using a hash but it didn't work out right and I am thinking that maybe I should make a object method. here is the code: $(document).ready(function() {

[jQuery] Table Manipulation

2009-08-09 Thread achu
Hello Friends, I'm trying to create a dynamic table using jQuery - Manipulation/appendTo. Here is my code below: $("#btnAdd").live("click", function() { $("").appendTo("#tblGrid"); }); The above code creates 3 textboxes in a row. When I check the HTML Source, table rows

[jQuery] Re: Best cookie plug-in?

2009-08-09 Thread Jack Killpatrick
I've used this with success: http://plugins.jquery.com/project/cookie - Jack ldexterldesign wrote: Easy guys, Just getting started with cookies this afternoon and wondering what plug-in everyone is using these days? Thanks, L

[jQuery] Re: Detect Capital Letters

2009-08-09 Thread Michael Geary
That would work for you and for me, but would it work for everyone? alert( isUpperCase('JÖRN') ? 'good' : 'bad' ); // ;-) -Mike _ From: Karl Swedberg Shouldn't be too much work. Wouldn't this do it? function isUpperCase( string ) { return /^[A-Z]+$/.test(string); } On Aug

[jQuery] Re: New to jquery, multiple .js files not running

2009-08-09 Thread andrew.croce
What I was trying to do with var current_section = $(this).attr ("name"); was to create a variable that simply contained the "name" of the particular subsection, which I could then attach to "_tab" to pinpoint the currently selected tab. I cant use the ID because it has a different value, used f

[jQuery] Re: getJSON response limit

2009-08-09 Thread Michael Geary
There is no set limit on the size of a JSON response, any more than there is on an HTML or XML response. You can have very large JSON responses with no problem. GET vs. POST would have nothing to do with this. Those are only different in the way the request is sent to the server; the response for

[jQuery] more VALIDATION issues

2009-08-09 Thread Miket3
OK. the validation plugin is kicking my ass. as does every new thing I try to learn. FIRST: I need to clarify that there is a BUG up front so someone doesn't offer it as a solution. I am using version 1.5.5. It has a bug in the REMOTE rule/method so this is not an option to check for duplicate e

[jQuery] Re: New to jquery, multiple .js files not running

2009-08-09 Thread Stephan Beal
On Aug 8, 7:25 pm, "andrew.croce" wrote: >                 var current_section = $(this).attr("name"); ... >                 $("#"+current_section+"_tab").addClass("current_tab"); This is wrong. The '#' searches by ID, not by name. Try (untested): > var current_section = $(this)

[jQuery] Best cookie plug-in?

2009-08-09 Thread ldexterldesign
Easy guys, Just getting started with cookies this afternoon and wondering what plug-in everyone is using these days? Thanks, L

[jQuery] Re: Jquery Remote Message is not showing up

2009-08-09 Thread Field
I think you need more than just "Test" in the remote: call. Look at the jquery validation documentation and the examples he's provided. For instance, this is my remote: remote: { url: "/rtui/codeigniter/index.php/business_form/dupeCheck",

[jQuery] [ANNOUNCEMENT] jQuery LargePhotobox plugin

2009-08-09 Thread Alexsandro_xpt
Hi everyone, Yesterday I released the first public release of my jquery.largephotobox plugin. I've posted it on the google code page: http://code.google.com/p/jquery-largephotobox/ Demo page: http://www.interag.net/largephotobox

[jQuery] Autocomplete JSON filtering searches

2009-08-09 Thread sAmUrAi
I have a JSON dataset structured as follows { { city=>value area=>value } { city=>value area=>value } { city=>value area=>value } ... ... ... } I need two autocomplete inputs, - one allowing only selections of cities and - one allowing selection of area

[jQuery] Re: trouble defining post variable when form element is dynamic

2009-08-09 Thread bhu Boue vidya
maybe you could use the "rel" attribute to set the id of each email entry in your form (this would be done in php), and then use the value of "rel" when sending info back to your ajax script not sure exactly how your html is constructed, but this is roughly what i am thinking: johnciti...@b

[jQuery] Where is the best place to insert JQuery code or

2009-08-09 Thread humour
Where is the best place to insert JQuery code or ? I have tried and my code works in either place vut where am I supposed to put it? Is there an advantage of putting it one place (head or body) over the other? Thanks in advance. Humour

[jQuery] Question regarding jQuery.ready method

2009-08-09 Thread ujamu
I have developed an FF extension that loads a few JavaScript files (one of which is jQuery) and attaches them to any given page being viewed by the user. The loading of the js files can ether happen during or after the web page had been loaded into the browser. Obviously, once the js files get loa

[jQuery] slideshow efect

2009-08-09 Thread Sudhakar
hi i need a slieshow effec that i want to create for my personal website. following is what i need i want to display an image and below that will be text and this text should be clickable and open in a new window and this way i want to show few images and text with a certain duration for each.

[jQuery] Question regarding jQuery.ready method

2009-08-09 Thread ujamu
I have developed an FF extension that loads a few JavaScript files (one of which is jQuery) and attaches them to any given page being viewed by the user. The loading of the js files can ether happen during or after the web page had been loaded into the browser. Obviously, once the js files get loa

[jQuery] parsers is undefined in tablesorter?

2009-08-09 Thread Nelson Muntz
Hi, I am trying to generate dynamically a table from a csv by using jquery csv plugin and the jquery tablesorter plugin and tablesorter is giving me a bizarre error each time I try to click on a header of the table to sort it. Firebug shows: parsers is undefined return parsers[i].type;\n seems

[jQuery] getJSON response limit

2009-08-09 Thread thephatp
I'm employing the getJSON call in a site I'm working on, but I'm having a problem with the response not coming through if it is too large. I've read a number of posts talking about the request string being too large (forcing a user to use POST), but what about the response string being too large?

[jQuery] Multiple Image Fade

2009-08-09 Thread dc
Hi, I'm trying to write a script to fade in/out some image thumbnails. I'm trying to achieve the following: 1) Fade in/out individual thumbnails on thumbnail hover 2) Fade in/out all thumbnails of the a class when hovering over a text link of the same class. Everything works except that in #2 t

[jQuery] New to jquery, multiple .js files not running

2009-08-09 Thread andrew.croce
I am very new to JQuery and to scripting in general so bear with me, this might be a very easy fix and I dont know it. I believe what Im trying to do is about as simple as jquery gets... Im building a simple portfolio site for myself and I am trying to use the .hide() and .show() methods to hide

[jQuery] Re: Cross-browser problem

2009-08-09 Thread Charlie
suggest putting a test page together on your server or you can use jsbin.com which has jQuery library available Denis Abramov wrote: Any solution?

[jQuery] Re: Attribute selection not working in MSIE; eg $("input[name=name]").val()

2009-08-09 Thread HerrJuergen
On Aug 8, 11:34 am, V wrote: > Wow, that is strange it indeed works :o > > The error is; > Object doesn't support this property or method > > But i figured what the problem is because I changed the code; > >     >     >     > > > name = $("#contactform input[name=name]").val(); > > But, it g

[jQuery] Re: News scroller

2009-08-09 Thread Sander Thalen
Marquee is of course way different and less flexible, plus it looks ugly. :) On Wed, Aug 5, 2009 at 9:16 AM, ramachandran natesan wrote: > > You can do this using MARQUEE a simple HTML tag > > On Jul 28, 12:59 pm, Andrea - Aosta wrote: >> I have found thsi example made width >> mootoolshttp://j

[jQuery] Re: Navigation and sub navigation plugin

2009-08-09 Thread Stephan Beal
On Aug 9, 5:59 am, bharani kumar wrote: > Assume if i have around 20 naviation means the i have to write > jquery navigation and sub navigation snippet all pages ? Every menu has to be populated, and if you've got 20 menus then you've got to populate 20 menus. However, if you have so many of the

[jQuery] Re: Selecting element where the href contains string

2009-08-09 Thread Stephan Beal
On Aug 7, 9:36 pm, gray8110 wrote: > $('li has(a[href$=".xls"])').addClass('excel'); Try: $("li:has(...)") Note the ":" before "has" http://docs.jquery.com/Selectors/has#selector :)

[jQuery] Re: Cross-browser problem

2009-08-09 Thread Denis Abramov
Any solution?