[jQuery] Using couchdb to build a EMAIL messaging solution with threaded inline replies

2009-01-07 Thread mobiledreamers
Using couchdb to build a EMAIL messaging solution with threaded inline replies http://pylab.blogspot.com/search/label/couchdb

[jQuery] Searching a DataGrid PlugIn

2009-01-07 Thread Stefan Sturm
Hello, I'm searching a DataGrid PlugIn. But I can't find, what I'm looking for :-( I need one feature badly: The Grid should use the complete content panel. So it needs to resize the width and height, when the browser resizes. I took a look at flexigrid and jqGrid. But they don't have a feature

[jQuery] Debugging in IE7

2009-01-07 Thread Nikola
I haven't really found a good solution for debugging in IE7. Any suggestions or recommendations? Thanks, Nikola

[jQuery] Re: How is it possible to have click on each 'a href' menu item and ALSO have another 'a href' trigger as well?

2009-01-07 Thread yvonney
wow ricardo... yes, great fun I've been having... AND your abbreviated version in your last above DOES work... SO, I use it, and remove the long duplicated version I had ONE thing.. that's kinda obvious to me now, and mentioned a bit above.. IS that of course... doing $('ul.first a,

[jQuery] Re: Debugging in IE7

2009-01-07 Thread Giovanni Battista Lenoci
Nikola ha scritto: I haven't really found a good solution for debugging in IE7. Any suggestions or recommendations? Thanks, Nikola These are 2 bookmarks, don't know if exists something better. 1. http://getfirebug.com/lite.html 2. http://www.my-debugbar.com/wiki/ Bye -- gianiaz.net -

[jQuery] Re: $(document).keydown only works in FireFox?

2009-01-07 Thread s0h0
thank you for ur reply. but it still wont work when try it the way you said. script type=text/javascript src=jquery.js/script script type=text/javascript $(document).ready(function() { $(document).keypress(function(evt) { if (!evt) evt

[jQuery] Re: Debugging in IE7

2009-01-07 Thread Giovanni Battista Lenoci
Nikola ha scritto: I haven't really found a good solution for debugging in IE7. Any suggestions or recommendations? Thanks, Nikola Forgot Fiddler for debugging xhr requests. I'm looking at the new version of firebug lite, and it seems it can debug also xhr request, but for I didn't

[jQuery] Re: What does el mean in jQuery code?

2009-01-07 Thread jNewb
Thank you everyone! You've all been very helpful! On Jan 4, 3:36 pm, Ricardo Tomasi ricardob...@gmail.com wrote: Function arguments have no value by themselves. el is just a short for element, to make scripts understandable, it makes it explicit that an element is expected. function

[jQuery] Re: Page reloading when modifying DOM

2009-01-07 Thread cyber_drac
Dear All. I have found the issue. When i'm append elements to a span tag page get refresh. But when use a Div tag all fine. Thank you for looking into this issue. On Jan 6, 9:05 pm, Ricardo Tomasi ricardob...@gmail.com wrote: could you point us to the livepagewhere this is happening? It

[jQuery] How to improve your Search Boxes with jQuery

2009-01-07 Thread AdrianMG
Hi there guys! I want to share with you a new tutorial focused on adding some functionality to search boxes of our websites: http://yensdesign.com/2009/01/improving-search-boxes-with-jquery/ It shows you how to make: - Autofocus when the DOM is ready. - Highlight a search box when it gets the

[jQuery] adding a class to an object if the next object has the same attribute value.

2009-01-07 Thread peet
Hello to you all, I have looked in this group and could not find anyone trying the same thing as i am trying to accomplish. I am trying to add a class to an object if the next object has the same attribute. I don't know the name of the attributes value the 2 have in common. the code i have is:

[jQuery] Selecting coordinates in a page

2009-01-07 Thread Christian Fazzini
Im trying to do something like this: joe would click somewhere on the page, type in a message and hit submit/enter. all of that is done with javascript. javascript also figures the X/Y coordinates on the page and then sends an AJAX request (would best in JSON format) saying user Joe wrote Hello

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread peet
isn't that not the same as setting width:100% to all childs? On Jan 7, 2:42 am, roxstyle resut...@gmail.com wrote: I have a table where each td has its width declared in css rules. Inside some td i have either p or div I want to have these elements inherit the width of the parent td. I

[jQuery] cycle, jquery loads correctly on my firefox, but not on friends.

2009-01-07 Thread Cam
Hello, I am using JQuery 1.2.6, lightbox .5, and cycle together to create a slideshow feature for a site i'm doing. the scripts load for me on my computer, but not for my client using (he tried two machines IE 6, firefox 3) it just tiles all images vertically and lightbox doesn't function.

[jQuery] [OT] form input field value

2009-01-07 Thread Joe
I've got a text field (named searchParam) that onkeypress will trigger a function that will extract the field's value using $ ('#searchParam').val() and use that value to be used in a database query. I've noticed that when I'm typing the value, the JS code is one step behind. That is, if I've

[jQuery] newbie code assessment please?

2009-01-07 Thread the_guv
I'm using a lot of jQuery for my new site, and wonder ... How can I better compress my code, which seems very long. If any kind souls could tip me off with some pointers, I'd be much, much, very much obliged. Olly the_guv guvnr.com The site is http://guvnr.com My jQ is (hopefully fairly

[jQuery] jquery UI Dialog containment

2009-01-07 Thread being
I have created a few Dialogs and want them contained within a div. I was surprised to see that the containment options is not available for the UI Dialog. Is there any technical reason for this. I have used $.extend($.ui.resizable.defaults, { containment: '#myContainingDiv' } but I also want

[jQuery] [validate] How can i count validation errors and trigger alert on submit?

2009-01-07 Thread morraine
Hello I'm new to jquery and im trying to use the jQuery plugin: Validation but i want to use an alert with it and also count how many error have occured and put that in the alert as well. how do i achieve this thanks

[jQuery] jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread David Decraene
I had some fun creating a pure HTML-DOM based Force-directed graph layout, similar to a touchgraph (http://www.touchgraph.com/) view. Built with the help of jQuery (hereby again: wonderful library), no canvas or SVG used (only DOM manipulations). You can see an experimental demo at:

[jQuery] Re: row highlite in jquery

2009-01-07 Thread vivekamar007
Very good help..can i join two condition? $('td:not(:has(table))') and $('tr:has(td)') ... On Jan 7, 10:28 am, Karl Swedberg k...@englishrules.com wrote: On Jan 6, 2009, at 8:53 PM, Vicky am wrote: Hello Karl, Very good it works. Also how isay if td does not have   table. one of my td

[jQuery] Re: cycle, jquery loads correctly on my firefox, but not on friends.

2009-01-07 Thread Mike Alsup
Hello, I am using JQuery 1.2.6, lightbox .5, and cycle together to create a slideshow feature for a site i'm doing. the scripts load for me on my computer, but not for my client using (he tried two machines IE 6, firefox 3) it just tiles all images vertically and lightbox doesn't function.

[jQuery] Re: Debugging in IE7

2009-01-07 Thread the_guv
Companion.JS from Core is useful too. Details at Debugbar site, debugbar is best I know of. -- guvnr.com - Web Design Spain inc. the_guv's Tips Tutorials:- web wise - producing, blogging surfing content - how-to's and highlights pc care - hone IT, enjoy IT ... or just fix a feed.

[jQuery] Re: display errors with a transition...

2009-01-07 Thread Paulo Eugênio
Hello Christine Davis, ShowToolTips recently added a feature, not provided further established with the approval of jquery.validate for it, the link in this demo: http://www.aemundo.com.br/jquery/validate/demo.html

[jQuery] Re: My toggleClass is not working.

2009-01-07 Thread Vincent Robert
toggleClass() takes a class name as argument, not a selector. $(document).ready(function() { $(a).filter(#click).click(function(){ $(div .six).toggleClass(two); }).end() }); On Jan 6, 10:20 pm, amuhlou amysch...@gmail.com wrote: In your script it appears that

[jQuery] Re: is accessing element by a class faster than accessing X element by ID

2009-01-07 Thread Christof Donat
Hi, $('#toto_contaner').children(); That only works, if all .toto elements are direct children of #toto_contaner and there are no other elements in #toto_contaner. In case only the second assumption does not hold, I guess $('#toto_contaner div.toto').hide() is the fastest solution. If the

[jQuery] image caching problem

2009-01-07 Thread Thomas
Hi folks! I have a simple profile image upload script. The problem is that I can't change the actual image with jQuery, because is cahed ( i suppose ). Only one picture allowed per users so I renamed their files to user1.jpg, user2.jpg, etc. I tried to use $('#somethin').attr(src, userN.jpg);

[jQuery] Re: Superfish with bgiframe does not cover position:relative div in IE

2009-01-07 Thread Jamie Krug
Thanks! I didn't think I'd ever fix that one, but with your tip it took only 5-10 minutes to fix my related issue. In my case I also had to add a position:relative to the container holding my superfish menu, so I could give it a z-index higher than the other position:relative container that was

[jQuery] Re: In a pickle -- JavaScript Pagination vs. PHP/MySQL Pagination

2009-01-07 Thread tlphipps
Just to follow this up a little, I'm guessing the slow loading you see has nothing to do with MySQL and everything to do with trying to load 800 rows worth of data into the browser. So I would guess that your option 1 would not give you any advantage since the browser would still take several

[jQuery] Re: Jquery coding direction

2009-01-07 Thread tawright915
So in my code I have: $(document).ready(function($) { if ($(#TextBox11).val()|| $(#TextBox12.val()) { $(#TextBox11).valid(); $(#TextBox12).valid(); }; $(#form1).validate( {

[jQuery] Re: image caching problem

2009-01-07 Thread MorningZ
try to append the time (something unique from the last) on the URL so if you had: img id=somethin src=user1.jpg / then setting the src to something like $(#somethin).attr(src, user1.jpg?x= + new Date()); should do the trick . On Jan 7, 9:41 am, Thomas tom.ronc...@gmail.com wrote: Hi

[jQuery] Re: image caching problem

2009-01-07 Thread Thomas
Ok, thanks! I accept it! :) On jan. 7, 16:00, MorningZ morni...@gmail.com wrote: try to append the time (something unique from the last) on the URL so if you had: img id=somethin src=user1.jpg / then setting the src to something like $(#somethin).attr(src, user1.jpg?x= + new Date());

[jQuery] Re: storing objects in jQuery data

2009-01-07 Thread gibble
I actually found this while waiting for this message to be approved to the list, what I ended up using was a slight modification so it does a deep clone/copy var aCopy = jQuery.extend(true, {}, $('#something option:first').data ('value')); dave.methvin wrote: Is there a way to get just a

[jQuery] Re: Need advice on new jQuery plugin

2009-01-07 Thread Richard D. Worth
On Tue, Jan 6, 2009 at 2:15 PM, BrianH emilyandbr...@gmail.com wrote: I had a need for a certain functionality on my web page and thought I would try my hand at writing my first jQuery plugin (I'm sure that's how everyone gets their first plugin started). Since this is my first plugin, I

[jQuery] Re: jquery UI Dialog containment

2009-01-07 Thread Richard D. Worth
The current version of dialog is designed to be a viewport dialog, not related to any other element. The general plan is to build in support like you have described when we have layout support/modules in jQuery UI. The workaround you're using seems reasonable. If it's not working as you'd expect,

[jQuery] Re: adding a class to an object if the next object has the same attribute value.

2009-01-07 Thread Ricardo Tomasi
In this line: $(.row div).next([Type=+$(this).attr(Type)+]) 'this' is refering to the 'window' object or some other context, not the element you just selected. $('.row div').each(function(){ //inside each 'this' is the current element var $this = $(this), next = $this.next(); if

[jQuery] Re: Draggable function for new created div..

2009-01-07 Thread Richard D. Worth
You have set .draggable to be called as soon as the document is ready, making any element with the id of 'myNewDiv' draggable. The problem is, you're not creating that element until you click on a link. See

[jQuery] How to prevent incremental ajax requests?

2009-01-07 Thread Web Specialist
Hi all. I'm using this very simple script to load remote content inside a div: $(document).ready(function() { $(#frm :input:visible:enabled:first).focus(); $().ajaxStart($.blockUI).ajaxStop($.unblockUI); $('.carrega').click(function(){ var row = this; row.abbr =

[jQuery] The EU will implement new regulations passenger baggage

2009-01-07 Thread cj
In order to ensure flight safety, the EU member states from November 6 passenger baggage from the implementation of the new requirements. By then, all countries in the European Union airport boarding or transfer passengers EU countries, the carry-on hair gel, toothpaste, face cream and other

[jQuery] Feature request - fadeToggle

2009-01-07 Thread Erik
I'd like to suggest a small feature, having fadeToggle() (similar to toggle() and slideToggle()). Thanks! Erik

[jQuery] Tabindex not working in Firefox on load of page

2009-01-07 Thread Bart
I've written some code to be able to set the tabindex automatically in our pages. It looks like this: $(document).ready(function() { var el = $(.fieldsetDiv); if (el.children().length == 0) { el.remove(); } //setting tabindex automatically var

[jQuery] ajax calls not happening wth jquery ans asp.net 2005

2009-01-07 Thread b u d d h a
hi, am trying to call a server function like this $(document).ready(function (){ $('#Button1').click(function() { $.ajax({ type: POST, url: remotefunctions.aspx/Test, data: {'str':'1'}, contentType:

[jQuery] Re: IE Problem

2009-01-07 Thread Thomas
It would be interesting to see './files/v-winter.txt' as well, specifically how it's being served. Total shot in the dark, but I remember having had a similar problem (IE-only) when I started playing with XML files many moons ago. Maybe it would help if you served that file with an

[jQuery] Re: mouseout problem

2009-01-07 Thread Thomas
Hi saiful! You have several syntax errors in your code, but I assume they're just typos (for once, you have isPopUp in your one selector, instead of #isPopUp). Your problem likely stems from misinterpreting the mouseout event, though. That event fires *every time the cursor leaves a child of

[jQuery] about speed up references to window

2009-01-07 Thread Jinpu Hu
I see var window = this from latest svn code I use firebug debugger it. info:Exception: redeclaration of const window but in core.js var // Will speed up references to window, and allows munging its name. window = this, // Will speed up references to undefined, and

[jQuery] Re: row highlite in jquery

2009-01-07 Thread Karl Swedberg
Yes, it can be done. I'm not sure if you're now trying to select rows or cells or both, though. Here is a way you can select rows that have descendant TDs but don't have descendant TABLEs: $('tr').filter(function() { return $('td', this).length !$('table', this).length; }); --Karl

[jQuery] Re: row highlite in jquery

2009-01-07 Thread Vicky am
thanks for you are knowledge and the best :) On Wed, Jan 7, 2009 at 9:55 PM, Karl Swedberg k...@englishrules.com wrote: Yes, it can be done. I'm not sure if you're now trying to select rows or cells or both, though. Here is a way you can select rows that have descendant TDs but don't have

[jQuery] Re: cycle, jquery loads correctly on my firefox, but not on friends.

2009-01-07 Thread Karl Swedberg
Looks good to me, too. I'm not very confident that this will work, but you might want to try changing your references to be root relative rather than document relative: So, instead of ../../assets/js/jquery-1.2.6.js just do /assets/js/jquery-1.2.6.js with all of the js and css files.

[jQuery] Re: Need advice on new jQuery plugin

2009-01-07 Thread BrianH
Thank you so much! I have fixed items 1,2, and 3. For items 4 and 5, I had created an issue on the project site: http://code.google.com/p/postlink/issues/detail?id=1 I know I shouldn't use alerts (that was more for me when I was developing the plugin). I would prefer to just ignore any

[jQuery] Re: IE Problem

2009-01-07 Thread MorningZ
Unfortunately, it doesn't help my problem Are you sure you understand what Fiddler does? With the program running to the side of IE, you can see: 1) that the getJSON request is actually made (which btw, it'll be good to get in the habit of proper capitalization in JavaScript) 2) if it was,

[jQuery] Re: feature suggestion: .attr() without params returns the whole list of attributes

2009-01-07 Thread Joe
Oh nice! Yeah what I need to do is get the source from you and add the cookie settings to the plugin. It's been working like a charm! joe On Jan 6, 11:45 am, Balazs Endresz balazs.endr...@gmail.com wrote: Hi Joe! Sorry, I was wrong, as the namespace is reversed. But maybe using it this

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread Joe
Very impressive! Seems a bit sluggish at times in FF 3.0.5, but nice work! Joe On Jan 7, 5:12 am, David Decraene david.ma.decra...@gmail.com wrote: I had some fun creating a pure HTML-DOM based Force-directed graph layout, similar to a touchgraph (http://www.touchgraph.com/) view. Built

[jQuery] Jquery validation not working in thick box

2009-01-07 Thread raj
Hi Why Jquery validation not working in thick box ? pls advise me thanks for advance

[jQuery] Tabs - reloadTab

2009-01-07 Thread Hyarion
Hi, First I just wanted to say how much I love Klaus' Tabs system, I've been using it a lot lately and it has worked flawlessly. I'm using nested tabs and I've been attempting to create a function which reloads the selected nested tab. I'm sure this is a trivial task but my limited JavaScript

[jQuery] IE bug with Thickbox and jqGalScroll

2009-01-07 Thread chadhunt...@gmail.com
Stuck on an IE bug. Check it out at: http://fansn.com/temp/thickbox/ You'll notice when you click the link in IE, the Slideshow comes above the thickbox and does not scroll with the window. Notice though when you close it, you can see it properly working for a split-second. So I've been trying

[jQuery] remote method - custom message

2009-01-07 Thread adamnfish
(I'm using the uncompressed v1.5 download here!) It looks like the implementation of the remote method is supposed to support custom messages from the server when using the remote method but because of a trivial bug, they don't work. This quick change fixes the problem (details below) From:

[jQuery] Facing issues in UI/tabs

2009-01-07 Thread Ajay
I am facing two issues in using the tabs library : 1. ) I read the old version at http://stilbuero.de/jquery/tabs/ here a method is given to adjust height of all tabs to the largest by : $('#container').tabs({ fxAutoHeight: true }); but in version 3 I couldn't find anything like this in the

[jQuery] mouseOut problem, tip not dissapearing

2009-01-07 Thread i...@wenn.com
We have a page that when you hover over images the tooltip shows, when you click on the image, the list of images is hidden but the tip seems to still say on the screen till i move mouse over another object that has a tip on it. Is there any way around this problem?

[jQuery] Re: How can i count validation errors and trigger alert on submit?

2009-01-07 Thread Jan Eggers
For counting errors, use numberOfInvalids(), which comes with the showErrors-Method. Set onfocusout: false, if you don't want the plugin to validate on leaving the element. There are some examples in the documentation: http://docs.jquery.com/Plugins/Validation/validate#toptions On Jan 7, 8:18 

[jQuery] Re: mouseOut problem, tip not dissapearing

2009-01-07 Thread amuhlou
Without an example page or code showing how the tooltips are generated, it's very difficult to diagnose the problem. On Jan 7, 11:53 am, i...@wenn.com i...@wenn.com wrote: We have a page that when you hover over images the tooltip shows, when you click on the image, the list of images is

[jQuery] Re: mouseOut problem, tip not dissapearing

2009-01-07 Thread Kean
In the hide img function just call hide tip. On Jan 7, 8:53 am, i...@wenn.com i...@wenn.com wrote: We have a page that when you hover over images the tooltip shows, when you click on the image, the list of images is hidden but the tip seems to still say on the screen till i move mouse over

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread roxstyle
no, not exactly. if the div contains a long email or url with no spaces-the div will expand beyond the intended width set for the td and essentailly break the table layout. What i am trying to achieve is to place the actual td content in a div and have the div (1) inherit the parent td width,

[jQuery] malsup cycle plugin: possible to have images change with nicer transparency

2009-01-07 Thread yvonney
DURING IMAGE CHANGES the white part of the picture which I believe is transparent is visible and cuts into the next image. Is this normal and unaviodable? On firefox/linux I have 3 jpgs 3 gif (hope I did the transparency right) and 3 png images... they are mostly white pictures so if

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread David Decraene
Thanks! It does need some computations that scale exponentially with the amount of nodes shown... but I think it seems to perform ok with a not too high amount of nodes, for an implementation that only uses html elements. Who nows, with future browsers (or a better algorithm :)) things might

[jQuery] anatomy of a web browser request

2009-01-07 Thread Tristan
Does anyone have any good documentation that describes the different steps a browser goes through when requesting a web page? I'm interested in the timing of different browser 'events' (ie 1st byte received, some HTML is rendered, dom-ready, browser.onload, all HTML is rendered page done, etc.).

[jQuery] Re: about speed up references to window

2009-01-07 Thread Balazs Endresz
Using myvar==undefined (or any variable, which is undefined) is about 30% faster than typeof myvar==undefined About window, I don't know if that would speed up accessing it but being a local variable it may be a bit faster. I think the main purpose is to allow some minifiers to replace local

[jQuery] Re: Need advice on new jQuery plugin

2009-01-07 Thread Richard D. Worth
On Wed, Jan 7, 2009 at 12:41 PM, BrianH emilyandbr...@gmail.com wrote: Thank you so much! I have fixed items 1,2, and 3. For items 4 and 5, I had created an issue on the project site: http://code.google.com/p/postlink/issues/detail?id=1 I know I shouldn't use alerts (that was more for me

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread amuhlou
I accidentally replied directly to the author, so for anyone curious about the same thing, you could use the following code: $(document).ready(function() { $(.tbl tbody td).each(function(i) { var $tdWidth = $(this).width();

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread roxstyle
thank you so much, that is going to work. On Jan 7, 11:55 am, amuhlou amysch...@gmail.com wrote: I accidentally replied directly to the author, so for anyone curious about the same thing, you could use the following code: $(document).ready(function() {         $(.tbl tbody

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread amuhlou
you're quite welcome :) On Jan 7, 3:02 pm, roxstyle resut...@gmail.com wrote: thank you so much, that is going to work. On Jan 7, 11:55 am, amuhlou amysch...@gmail.com wrote: I accidentally replied directly to the author, so for anyone curious about the same thing, you could use the

[jQuery] Re: mouseOut problem, tip not dissapearing

2009-01-07 Thread amuhlou
If I'm understanding correctly the hide img list function is based on the click event, so putting the hide tooltip function inside of it would only work if the user always clicks on every image. On Jan 7, 1:48 pm, Kean shenan...@gmail.com wrote: In the hide img function just call hide tip.

[jQuery] Re: In a pickle -- JavaScript Pagination vs. PHP/MySQL Pagination

2009-01-07 Thread chris at zeus
I would take this a step further and suggest cutting out a lot of headache in your code by using a php framework to manage a lot of the functions you want to use. I would check out codeigniter.com. CI has pagination and db helpers so you don't have to write all the code yourself. On Jan 7,

[jQuery] Re: remote method - custom message

2009-01-07 Thread Jörn Zaefferer
Thanks for the details, should get fixed in the next release: http://dev.jquery.com/ticket/3807 Jörn On Wed, Jan 7, 2009 at 5:36 PM, adamnfish adamnf...@gmail.com wrote: (I'm using the uncompressed v1.5 download here!) It looks like the implementation of the remote method is supposed to

[jQuery] Select Element CSS Attributes

2009-01-07 Thread _cam_
How would you select elements that have CSS background images ending with .png? And then add a class.

[jQuery] [autocomplete] Show all options regardless

2009-01-07 Thread Aaron Jensen
I'm trying to find an autocomplete/potentially combobox plugin that does everything we're looking for so I don't have to roll our own. So far the Jörn's is working the best but I can't seem to make it do exactly what I want. Here's the behavior I desire, perhaps there are some options I'm missing

[jQuery] Re: malsup cycle plugin: possible to have images change with nicer transparency

2009-01-07 Thread Mike Alsup
DURING IMAGE CHANGES the white part of the picture which I believe is transparent is visible and cuts into the next image. Is this normal and unaviodable? On firefox/linux I have 3 jpgs 3 gif (hope I did the transparency right) and 3 png images... they are mostly white pictures so if

[jQuery] Re: Debugging in IE7

2009-01-07 Thread Nikola
Thanks much, I'm going to try these all out later today.

[jQuery] Validation: Which and why...

2009-01-07 Thread Nikola
I am wondering what the relative advantages / disadvantages are of validating purely in php vs. in jQuery.

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Will Anderson
I choose to validate from PHP because of a couple things. 1. It's more secure because nobody can see my PHP code, but they can see my jQuery code. 2. If the user has JavaScript disabled, or for some other reason the jQuery is unable to validate the code, it will still be validated. On the other

[jQuery] Re: mouseout problem

2009-01-07 Thread Saiful Haqqi
script type=text/javascript $(document).ready( function() { $(#text_span) .mouseover(

[jQuery] (smooth) scroll to anchor but...

2009-01-07 Thread schnuck
...what if the areas i need to scroll to are defined as anchors in html map elements on top of a large inline image? and the areas that trigger the links are image map areas too. clicking on the image map areas scroll from one area to another. ideally not using absolute positioning, but with html

[jQuery] Re: having a child div inherit a parent width

2009-01-07 Thread roxstyle
$(document).ready(function(){ $(.searchUser tbody td:first-child).css({width:80px}); $(.searchUser tbody td:nth-child(2)).css({width:110px}); $(.searchUser tbody td:nth-child(3)).css({width:145px}); $(.searchUser tbody td:nth-child(4)).css({width:70px}); $(.searchUser tbody

[jQuery] Re: Debugging in IE7

2009-01-07 Thread donb
http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express is supposed to... (Although I haven't personally tried it - I have the regular version myself) On Jan 7, 4:40 pm, Nikola nik.cod...@gmail.com wrote: Thanks much, I'm going to try these all out later today.

[jQuery] event name

2009-01-07 Thread bob
var handler = function(e){ //How do I know what event triggered this function? //this does not work: alert('e = ' + e); if(e==focus) alert(focus); else if(e==blur) alert(blur); }

[jQuery] Re: mouseout problem

2009-01-07 Thread Mauricio (Maujor) Samy Silva
Here you find what bind() do: http://docs.jquery.com/Events/bind -Mensagem Original- De: Saiful Haqqi Para: jquery-en@googlegroups.com Enviada em: quarta-feira, 7 de janeiro de 2009 20:12 Assunto: [jQuery] Re: mouseout problem script type=text/javascript

[jQuery] Re: IE Problem

2009-01-07 Thread jhm
Are you sure you understand what Fiddler does? Yea, I saw what it does and I really appreciate the tip. It's really useful and I could see the actual GET was working returning the data. The problem was with the json data in the file I was opening (a fundamental mistake on my part). Just in

[jQuery] Re: event name

2009-01-07 Thread Richard D. Worth
alert(event.type) See http://docs.jquery.com/Events_(Guide)#event.type for more info. - Richard On Wed, Jan 7, 2009 at 5:46 PM, bob xoxeo...@gmail.com wrote: var handler = function(e){ //How do I know what event triggered this function? //this does

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Nikola
Thanks for the info, I was thinking along the same lines but wasn't altogether sure.

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

2009-01-07 Thread Ted
OK, I lied - one more question. I'm having an issue that appears intermittently when the user loads the page, and their mouse is already over a designated link that triggers the menus. When the user is over the link before the page has finished loading, the toggle function gets confused, and

[jQuery] Re: Select Element CSS Attributes

2009-01-07 Thread Ricardo Tomasi
This seems to work. $('elements').filter(function(){ return $(this).css('backgroundImage').indexOf('.png')+1; }); Out of curiosity, are you trying to deal with png transparency in IE6? On Jan 7, 4:29 pm, _cam_ camsk...@gmail.com wrote: How would you select elements that have CSS background

[jQuery] Re: about speed up references to window

2009-01-07 Thread Ricardo Tomasi
It has to be a local var: (function(){ var window = this; })(); On Jan 7, 11:17 am, Jinpu Hu huji...@gmail.com wrote: I see var window = this from latest svn code I use firebug debugger it. info:Exception: redeclaration of const window but in core.js var         // Will speed up

[jQuery] Re: jQuery-dependent TouchGraph Visualization (experiment)

2009-01-07 Thread Ricardo Tomasi
using NO Canvas or SVG is not that great a feature is it? :) Make that use raphael.js and it's all set! On Jan 7, 5:13 pm, David Decraene david.ma.decra...@gmail.com wrote: Thanks! It does need some computations that scale exponentially with the amount of nodes shown... but I think it

[jQuery] get tag name

2009-01-07 Thread bob
select name=month id=month option value= SELECTED/option option value=1 January/option option value=2 February/option function do_something_based_on_tag_name(selector) { if(???=='select') {} } var selector = jq('#month'); do_something_based_on_tag_name(selector); How do I get tag

[jQuery] Re: about speed up references to window

2009-01-07 Thread Jinpu Hu
oh,thank you i see On Jan 8, 9:25 am, Ricardo Tomasi ricardob...@gmail.com wrote: It has to be a local var: (function(){ var window = this; })(); On Jan 7, 11:17 am, Jinpu Hu huji...@gmail.com wrote: I see var window = this from latest svn code I use firebug debugger it.

[jQuery] Re: about speed up references to window

2009-01-07 Thread Jinpu Hu
search window in global scope is slower than search window in local scope On Jan 8, 9:50 am, Jinpu Hu huji...@gmail.com wrote: oh,thank you i see On Jan 8, 9:25 am, Ricardo Tomasi ricardob...@gmail.com wrote: It has to be a local var: (function(){ var window = this; })(); On

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Cam Spiers
I like to implement all my validation logic server side and to make it more userfriendly I like to ajax my forms and send the validation errors back as json. I know this might not be the prefered method for some but it means you only have to write your validation code in one language. (because as

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Dave Methvin
I am wondering what the relative advantages / disadvantages are of validating purely in php vs. in jQuery. Neither is a replacement for the other, so using both is the best solution. Client-side validation with jQuery lets you give the user feedback without requiring a page reload. That tends

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Nikola
Great information, I have some very strong ideas of when and how I'll impliment jQuery and php validation now. Thanks much, Nikola

[jQuery] livequery always fires initial toggle function following ajax response

2009-01-07 Thread rockrep
I'm trying to use livequery, toggle, and ajax together. The toggle methods fire off ajax requests that will update the div containing the DOM elements that are bound to the click/toggle (the reason I'm trying to use livequery in the first place). Unfortunately, it seems like livequery always

[jQuery] Superfish (and Suckerfish actually)

2009-01-07 Thread Rudeshark
I would guess that I'm missing something here rather than it being a problem of Superfish (and Suckerfish too)... Instead of wanting to change HTML page when you click on one of the a href links that are my menu items, i.e ul lia href=the_next_page.htmlNext page/a /ul I want the links to

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Tristan Burch
It seems like a good idea to to both. That way if the user does have JavaScript disabled, there is still validation on the server side. On Wed, Jan 7, 2009 at 1:47 PM, Will Anderson javayaht...@gmail.com wrote: I choose to validate from PHP because of a couple things. 1. It's more secure

  1   2   >