[jQuery] Re: noob: table row level link and hover

2007-10-20 Thread Chris Jordan
I just noticed Glen's reply and looked at that example. It's almost identical to what i was suggesting with a couple of minor differences that I thought I'd point out. His example: var newURL; $("td").click(function(){ newURL = $(this).parents("tr").attr("goto"); window.location.href = ne

[jQuery] Re: noob: table row level link and hover

2007-10-20 Thread Chris Jordan
crybaby, Given the following markup: Row 1 Cell 1Row 1 Cell 2 Row 2 Cell 1Row 2 Cell 2 you could do something like this: $(function(){ $("tr[link]").bind("click", function(){ var link = $(this).attr("link"); window.location.href = link; }); }); In case you had

[jQuery] Re: iTunes album flipping simulation

2007-10-20 Thread Benjamin Sterling
sf, There was some close that was posted a few months back that used js with canvas, not sure of the site, but I don't recall it working well in IE. I will see if I bookmarked it and will post the link here if I find it. On 10/19/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > > > Greetings al

[jQuery] Re: Masked Input Plugin Direction

2007-10-20 Thread Josh Bush
Thanks for the input I like the idea of just giving a string for formatting purpose and then overriding the default behavior with some other kind of include to specify decimal and grouper. I'll come up with something for that. What's your take on including with the mask plugin? They might share

[jQuery] Re: noob: table row level link and hover

2007-10-20 Thread Glen Lipka
Here is one way. There are alot of ways to do this. http://commadot.com/jquery/tableClick.php You could populate the expandos out of an array. You could do an each to iterate through the TRs and add the click. Glen On 10/20/07, crybaby <[EMAIL PROTECTED]> wrote: > > > I need to have each table

[jQuery] Re: How would I modify this to...

2007-10-20 Thread Rick Faircloth
No problem... I appreciate your reply. I'll just repost the question and see if I get any more response. Thanks, Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Wizzud > Sent: Saturday, October 20, 2007 6:51 PM > To: jQuery (English)

[jQuery] Re: jQuery Logging (to firebug)

2007-10-20 Thread Mike Alsup
Joan, that code is going to bork if console is undefined. > $.fn.log = function(msg){ > if (window.console || console.firebug){ > msg = msg || ''; > if(msg !== '') msg += ': '; > console.log("%s%o", msg, this); > } > return this;

[jQuery] Re: jQuery Logging (to firebug)

2007-10-20 Thread Michael Geary
Looks good - but that first || needs to be && instead... :-) _ From: Joan Piedra Try this one :) http://pastemonkey.org/paste/471a49a0-fc54-4ca8-b8e7-5411404fdb0d (function($){ // block scope $.fn.log = function(msg){ if (window.console || console.firebug){ ms

[jQuery] ajax() and get() not working, only load(). Why?

2007-10-20 Thread bro
Hi, I'm not sure what i'm doing wrong. However, with this it works $("#About").click(function() { $("#content").load( "getthis.txt", function(){

[jQuery] search through ajax object

2007-10-20 Thread brobro
Hi, if I use $.ajax() to fetch a file. Would it be possible to search throught that file for a certain element and use that? like $.ajax({ url: "getthis.html", success: function(html){ var mynewdiv = lookformydi

[jQuery] Re: jQuery Logging (to firebug)

2007-10-20 Thread Joan Piedra
Try this one :) http://pastemonkey.org/paste/471a49a0-fc54-4ca8-b8e7-5411404fdb0d (function($){ // block scope $.fn.log = function(msg){ if (window.console || console.firebug){ msg = msg || ''; if(msg !== '') msg += ': '; console.log("%s%o", msg, th

[jQuery] Does storing DOM references in object properties affect browser performance?

2007-10-20 Thread pford
Warning perhaps this is a dumb question. I naively would have thought that storing DOM references (in this case, in object properties because our scripts are object-oriented) would improve performance, eliminating needless lookups. However, now I wonder if doing so taxes browser memory, particul

[jQuery] noob: table row level link and hover

2007-10-20 Thread crybaby
I need to have each table rows point to different link. I am looking at table striping and how hover works in 15daysofjquery.com. http://15daysofjquery.com/table-striping-made-easy/5/ I need to make the whole table row clickable and should take the user to a different link on the site. How do I

[jQuery] Re: jqGrid new version

2007-10-20 Thread Ryura
Tony, I can't seem to get jqGrid to work. I've looked at all the examples but I must be missing something somewhere. I would appreciate if you would take a look at my PHP. include("dbconfig.php"); include("JSON.php"); $json = new Services_JSON(); $examp = $_GET["q"]; $page = $_GET['page'];

[jQuery] Re: clueTip feedback and suggestions

2007-10-20 Thread DaveG
Responses below. Karl Swedberg wrote: 5] Consider adding a top/bottom arrow pointer for use with positionBy:'bottomTop'. Added! :-) Already had this working, but forgot to upload the new images and the updated css file to the server. I see it working on the demo site -- now you just need to

[jQuery] Re: How would I modify this to...

2007-10-20 Thread Wizzud
I'm sorry but I haven't got the faintest idea. I can't even tell if what I proposed will work (I doubt it). I suspect that the HTML I would see in my browser would not look like that however, and it's what the browser sees that determines what the script needs to do. Sorry, but ColdFusion means no

[jQuery] jqModal ajax question

2007-10-20 Thread danrich
I'm issuing an ajax call, and passing a parameter. The parameter is the value of a text box on the page, which loads with a default based on a database call. But for some reason, the value isn't being sent in the ajax call. It just stays the same as it is when the page loads, even if the user

[jQuery] Re: clueTip feedback and suggestions

2007-10-20 Thread Karl Swedberg
David, Thank you so much for the excellent feedback! I appreciate your taking the time to offer suggestions and report problems. I'll respond to the individual items below, but overall, this is really, really helpful. Please especially look at my response to #7, as I hate the thought of

[jQuery] clueTip feedback and suggestions

2007-10-20 Thread DaveG
After looking into a few of the tooltip libraries, I've ended up implementing clueTip (http://jquery.com/plugins/project/cluetip/) on an existing project. In general it fit in very well, with pretty nearly all the features we need. The only real issue was [7], which I didn't manage to work ar

[jQuery] Re: binding dynamically inserted DOM elements

2007-10-20 Thread Flesler
I was answering, not asking... Ariel Flesler On Oct 19, 10:28 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > Yep... > > There's another plugin called LiveQuery. > > > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Flesler > Sent: Frid

[jQuery] Re: Selecting elements WITHOUT children?

2007-10-20 Thread Damien
Thanks all, this is exactly what I was looking for! I was not aware of the :not or :has selectors, this should make my life significantly easier. (I also need to pay a bit more attention next time I RTFM).

[jQuery] ui calendar missing

2007-10-20 Thread Greg Warner
>From the ui.jquery.com page... 2 3404 Not Found 4 5Not Found 6The requested URL /view/trunk/ui/calendar/jquery-calendar.js was not found on this server. 7 8Apache/2.0.59 (Unix) Server at dev.jquery.com Port 80 9 10 I believe several of the other components are broken too.

[jQuery] Re: ui.tabs bug

2007-10-20 Thread Klaus Hartl
On 20 Okt., 16:16, Mayowa <[EMAIL PROTECTED]> wrote: > Sorry if this is the wrong place to post this but i've found a > ui.tabs bug. > > To recreate > 1. create a tab that uses ajax to load the tabs > > > $(function() { > $('#maintab ul').tabs({ remote: tru

[jQuery] Re: disable effect in images

2007-10-20 Thread Feijó
Nice idea!! Will try that one :) Thanks, Wizzud On Oct 19, 7:31 pm, Wizzud <[EMAIL PROTECTED]> wrote: > The simplest way is to reduce it's opacity ... > > jQuery('img').css({opacity:0.5}); > > On Oct 19, 10:31 am, "Alessandro Feijó" <[EMAIL PROTECTED]> wrote: > > > Its possible to turn any imag

[jQuery] Re: Selecting elements WITHOUT children?

2007-10-20 Thread Jörn Zaefferer
Damien schrieb: Hey all, this is my first time posting to the mailing list, so please, be gentle. ;) Anyway, to the point, I have long lists of items similar to the HTML below Item 1 Item 2 Item 3 Now, what I need to do here is be able to select and apply a function to Item 1, without having

[jQuery] Re: Selecting elements WITHOUT children?

2007-10-20 Thread Karl Swedberg
On Oct 19, 2007, at 8:12 PM, Damien wrote: Hey all, this is my first time posting to the mailing list, so please, be gentle. ;) Anyway, to the point, I have long lists of items similar to the HTML below Item 1 Item 2 Item 3 Now, what I need to do here is be able to select and apply a functi

[jQuery] Re: select the last 2 elements in list

2007-10-20 Thread Karl Swedberg
On Oct 20, 2007, at 8:41 AM, figo2476 wrote: e.g. a b <- c <- I did: $(document).ready(function() { $("#update li:last").addClass("last_li"); $(jQuery.sibling("#update li:last").prev).addClass("sec_last_li"); }); The

[jQuery] Re: Masked Input Plugin Direction

2007-10-20 Thread Jörn Zaefferer
Josh Bush schrieb: A lot of people seem to need dynamic width number masking. Where currency symbols, decimal separators, and thousands separators are applied automatically. I'm thinking about taking this on, but I have a few questions. 1.Should is be a part of the masked input plugin or a se

[jQuery] Re: AJAX and dynamically created dropdowns

2007-10-20 Thread Karl Swedberg
One other Firefox add-on that allows you to see the *generated* source is "Web Developer" toolbar: http://chrispederick.com/work/web-developer/ Click on the "View Source" menu, and then choose "View Generated Source." Web Developer, along with Firebug, is a must-have extension. Also, look

[jQuery] ui.tabs bug

2007-10-20 Thread Mayowa
Sorry if this is the wrong place to post this but i've found a ui.tabs bug. To recreate 1. create a tab that uses ajax to load the tabs $(function() { $('#maintab ul').tabs({ remote: true }); }); ... ...

[jQuery] Re: jquery 1.2.1 and form plugin

2007-10-20 Thread Mike Alsup
Mark, My demo page is using jQuery v1.2.1 and I'm not aware of any problems. http://www.malsup.com/jquery/form/ If you can post a demo page that is not working I'm sure someone here can figure out the problem. Mike On 10/19/07, Mark <[EMAIL PROTECTED]> wrote: > > Hi, please check if is every

[jQuery] Binding functions referenced by an array

2007-10-20 Thread Jarodium
Hello I'm having some troubles regarding binding functions referenced by an Array: I have this piece of code function f1() { alert("dklfsd"); } function Dialog(title) { this._dlg_btns_fns = new Array("f1"); } Dialogo.prototype.setButtons = function (val) { var tp = valor.split("@"

[jQuery] Re: AJAX and dynamically created dropdowns

2007-10-20 Thread Brook Davies
You'll never see it in the 'view source' if its dynamically added. If you use the Inspect function of firefox you can see the dynamically added content. I think the IE developer toolbar does the same thing. Make sure that you are setting the length of the selects option array and setting a text/v

[jQuery] select the last 2 elements in list

2007-10-20 Thread figo2476
e.g. a b <- c <- I did: $(document).ready(function() { $("#update li:last").addClass("last_li"); $(jQuery.sibling("#update li:last").prev).addClass("sec_last_li"); }); The last element works, but not the 2nd last

[jQuery] Re: slideDown problem in IE6 and IE7

2007-10-20 Thread chrisandy
Sorry - very new to this and thought that it maybe a known issue - anyway here's the link: http://www.nedhomes.com/Manners-Court-Averham-Newark.html Thanks

[jQuery] Re: Does anyone know about Easy Dom?

2007-10-20 Thread charliend
Thank you a lot for your answer, It will help me a lot i'm sure about it, I will look at it soonly Because I'm done for today I finally succeed to do what I wanted. I will contact you if have any problem. Thank you again have a good weekend! Charlie On 19 oct, 20:58, polyrhythmic <[EMAIL PROTECTE

[jQuery] Re: Masked Input Plugin Direction

2007-10-20 Thread sidisinsane
I've been using a i18n.css which makes heavy use of serving language specific styles using the lang attribute as selector. While at the moment this is pure css (IE needs some javascript), I would love to see more use of the lang attribute in more sofisticated ways. Just for better understanding,

[jQuery] jquery 1.2.1 and form plugin

2007-10-20 Thread Mark
Hi, please check if is everything fine with the new jquery version. I am having a problem with ajaxSubmit. It seems like never call the success funcion configured in the options object. It works with jquery 1.1.3, but dont with the new one. I am using the latest form plugin published in the form

[jQuery] Selecting elements WITHOUT children?

2007-10-20 Thread Damien
Hey all, this is my first time posting to the mailing list, so please, be gentle. ;) Anyway, to the point, I have long lists of items similar to the HTML below Item 1 Item 2 Item 3 Now, what I need to do here is be able to select and apply a function to Item 1, without having the said function

[jQuery] Re: Getting window portal size in 1.2.1

2007-10-20 Thread Alexandre Plennevaux
oups, sorry i answered before reading the origin of this thread. Nevermind!! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexandre Plennevaux Sent: samedi 20 octobre 2007 13:54 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Getting wind

[jQuery] Re: Getting window portal size in 1.2.1

2007-10-20 Thread Alexandre Plennevaux
i think with jquery1.2.1 you can just do this: $(window).width(); $(window).height(); if not, you can do that using the dimensions.js plugin. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Olaf Bosch Sent: samedi 20 octobre 2007 8:23 To: jque

[jQuery] Re: Getting window portal size in 1.2.1

2007-10-20 Thread Olaf Bosch
Jeffrey Kretz schrieb: Using jQuery 1.2.1, I wanted to get the window portal size for use in some layer positioning. I am able to obtain the correct width but NOT the correct height. I use this function from Thickbox ;) function TB_getPageSize(){ var de = document.documentElement;