[jQuery] Re: ClueTip - local content without attribute

2007-12-07 Thread FrenchiINLA
I haven't test it but it makes sense to me. $('.green').cluetip("#msg1"); On Dec 7, 1:46 pm, rolfsf <[EMAIL PROTECTED]> wrote: > I'm using ClueTip, and loading the content from some hidden divs > using the default "rel" attribute. > > Is there a way I can do this without using the "rel" attribut

[jQuery] Re: Code feedback... Callbacks for timing...

2007-12-07 Thread Micky Hulse
Hi Wizzud, thanks for the comprehensive reply... The information you provided should be very helpful to me... I am at work now, but plan on fix'n up my code later tonight. :) I will work on things a bit further and report back with my findings. Again, many thanks! I really appreciate your time a

[jQuery] Remove class from an element x, by clicking on y or z?

2007-12-07 Thread El Magnifico
Hi, Although I figured out the part to add/remove class to an element: $("li.x").click(function(){ var $this = $(this); if( $this.is('.xshown') ) { $this.removeClass('xshown'); $this.addClass('xhidden'); } else { $this.removeClass('xhidden'); $this.addClass('xshown'); } return false; }); ...now

[jQuery] Re: Looking for a faster way

2007-12-07 Thread Shawn
I was able to implement some of the changes you recommended. I did away with the .each() bit, switched to using tr#ID instead of tr[id=], and stored the commonly used bits in temporary variables (one search then, multiple references). The end result is that the code is a lot cleaner looking,

[jQuery] framing

2007-12-07 Thread mokeur
I would like to know if it is possible to protect one of my framed website page for being framed by another site. Thanks

[jQuery] Re: ClueTip - local content without attribute

2007-12-07 Thread Karl Swedberg
Hi Rolf, The way it's set up now, it requires some sort of attribute to know where to find the content. It doesn't have to be the rel attribute if you use the "tipAttribute" option. One thing you could do is set the value of that attribute in your script. For example, this would set the

[jQuery] Re: Code feedback... Callbacks for timing...

2007-12-07 Thread Micky Hulse
Hi Dave, thanks for the feedback, I really appreciate your help. :) Here is my code again: $('.paginate li > a').livequery('click', function(event) { what = this.rel; $('#' + what).fadeOut('slow', function() { $(this).load(this.href, {'targ': what}, function() {

[jQuery] Re: redundancy - dimensions plugin and toggle?

2007-12-07 Thread Wizzud
Your 2 toggles are simply swapping 'right' and 'down' classes around, otherwise they are the same. So you could just use a click handler, and toggleClass on 'right' and 'down'. Eg. $('.container').click(function(){ $(this).toggleClass('right').toggleClass('down'); // check height of windo

[jQuery] Re: Code feedback... Callbacks for timing...

2007-12-07 Thread Wizzud
There's a difference in the origin of your href between the initial code that 'worked' and the first posted re-try that didn't. In the first one - the working code, as was - // 'this' must be referring to some element, say X $('#' + this.rel) // select some other element, say Y .fadeOut('slow'

[jQuery] Re: validation in IE6

2007-12-07 Thread [EMAIL PROTECTED]
Hi Guy, i solved the 2 matters: 1) The validation in IE6 is solved by the new 1.2 version. I found that in the jorn repository files. 2) maybe I lost something but i was using an old metadata plugin but i really did not see in any place a notice for a new release. Installing the new one ( the o

[jQuery] jqModal: how to get the attribute of the trigger link?

2007-12-07 Thread pixeline
hi friends! i would like to use the jqModal plugin in an addressbook-like application, where, from the list of contacts, clicking on an icon next to a contact show the full contact information in a jqModal window. the html i have is unobtrusive:    jqModal gets its parameters like this: $()

[jQuery] Re: jquery.ifixpng.js IE 7 Transparency is Black instead of transparent

2007-12-07 Thread Andy Matthews
Do you have a link? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cfdvlpr Sent: Friday, December 07, 2007 4:24 PM To: jQuery (English) Subject: [jQuery] Re: jquery.ifixpng.js IE 7 Transparency is Black instead of transparent Am I the only on

[jQuery] Re: jquery.ifixpng.js IE 7 Transparency is Black instead of transparent

2007-12-07 Thread cfdvlpr
Am I the only one with IE 7 that has noticed this problem? I'm using IE 7.0.5730.11

[jQuery] ClueTip - local content without attribute

2007-12-07 Thread rolfsf
I'm using ClueTip, and loading the content from some hidden divs using the default "rel" attribute. Is there a way I can do this without using the "rel" attribute? For example: I have some cells in a table: 99 99 and some hidden divs: this is green this is red If I hover over an anchor insid

[jQuery] Re: Show/Hide Div with checkbox options providing same results

2007-12-07 Thread Dave Methvin
> It is shorter, but it just doesn't seem quite as jQuery-ish. ;) I always figured that there was a good reason for the "this" object being a bare DOM object in callbacks, events, and .each loops. jQuery doesn't try to hide the DOM, but it's just a $(this) away when you really need it. If you p

[jQuery] Re: Nice post about jQuery Selectors by Ben Sterling

2007-12-07 Thread Rey Bango
:) Benjamin Sterling wrote: Thanks Rey. On 12/7/07, *Rey Bango* <[EMAIL PROTECTED] > wrote: http://benjaminsterling.com/jquery-what-are-the-fastest-selector/ Rey -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.ben

[jQuery] Re: Show/Hide Div with checkbox options providing same results

2007-12-07 Thread Glen Lipka
It is shorter, but it just doesn't seem quite as jQuery-ish. ;) Glen On Dec 7, 2007 1:13 PM, Dave Methvin <[EMAIL PROTECTED]> wrote: > > > $("#"+this.className).[(this.checked?"show":"hide")](); > > Belay that, try this: > > $("#"+this.className)[this.checked?"show":"hide"](); > > I'm always m

[jQuery] Re: Nice post about jQuery Selectors by Ben Sterling

2007-12-07 Thread Benjamin Sterling
Thanks Rey. On 12/7/07, Rey Bango <[EMAIL PROTECTED]> wrote: > > > http://benjaminsterling.com/jquery-what-are-the-fastest-selector/ > > Rey > -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com

[jQuery] Re: Show/Hide Div with checkbox options providing same results

2007-12-07 Thread Dave Methvin
> $("#"+this.className).[(this.checked?"show":"hide")](); Belay that, try this: $("#"+this.className)[this.checked?"show":"hide"](); I'm always making code longer than it has to be. :)

[jQuery] Re: Show/Hide Div with checkbox options providing same results

2007-12-07 Thread Dave Methvin
> I kept thinking, "hmm, I think this should be shorter". Wouldn't this work? (I haven't tried it.) $("input:checkbox").click(function(){ $("#"+this.className).[(this.checked?"show":"hide")](); }); I am pretty sure all the browsers support .className and .checked as properties.

[jQuery] Re: validation in IE6

2007-12-07 Thread Guy Fraser
[EMAIL PROTECTED] wrote: > I am trying with validator 1.2 and metadata and I get an issue in all > the browsers : > > jQuery(element).metadata is not a function > > Any help?? > I'm guessing the plugin is assuming that you have the metadata plugin installed and borks when it's missing. That be

[jQuery] Re: Code feedback... Callbacks for timing...

2007-12-07 Thread Dave Methvin
Your original code looked okay to me BTW, this is the docs on ajax load, the other is the load event binding. http://docs.jquery.com/Ajax/load What error are you getting? The diff with the working version seems to point to a problem with the fadeOut callback...

[jQuery] Re: validation in IE6

2007-12-07 Thread [EMAIL PROTECTED]
I am trying with validator 1.2 and metadata and I get an issue in all the browsers : jQuery(element).metadata is not a function Any help?? andrea On Dec 7, 12:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am using the validation and forms plgin together like that: > > > $(document

[jQuery] Nice post about jQuery Selectors by Ben Sterling

2007-12-07 Thread Rey Bango
http://benjaminsterling.com/jquery-what-are-the-fastest-selector/ Rey

[jQuery] Re: jQuery 1.2.1 errors with Interface

2007-12-07 Thread Philippe Rathe
For those having those bugs, are you augmenting the Object.prototype anywhere in your code? Because I realize that doing something like: Object.prototype.anyFunctionName = function () { // any code } Were making Interface crash. It the Interface code I realize that it calls my function wha

[jQuery] Re: UI vs Interface

2007-12-07 Thread Philippe Rathe
I've been sad to see that you cannot augment the global Object prototype using Drag or Drop (at least those two) of the Interface plugin. I've look in the code and see that there is many loops over the global Object without any check over the identifier, taking my function as if it were "I don't k

[jQuery] Re: Code feedback... Callbacks for timing...

2007-12-07 Thread Micky Hulse
Hi Jake, thanks for the reply, I really appreciate your help. :) Here is a version of my code that works: $('#' + this.rel).fadeOut('slow').load(this.href, {'targ': this.rel}, function() { $(this).fadeIn('slow'); }); Where 'targ' is a post variable. Basically, I would like to wait for

[jQuery] Interface plugin + Object.prototype.anyPropertyName = BUG

2007-12-07 Thread Philippe Rathe
I've been trying the Interface Sortables module that requires the Drag and Drop modules and got bugs when I decided to augment the Object prototype. I've looked at each of the code of those 3 files and realize that there was a loop over the Object properties (maybe indirectly by the jQuery object

[jQuery] validation in IE6

2007-12-07 Thread [EMAIL PROTECTED]
I am using the validation and forms plgin together like that: $(document).ready(function() { var options = { target:'.cfjq_form_target1', beforeSubmit: function(){ $('.cfjq_form_target1').empty(); $('.loading1').show(); }, success: function() { $('.loading1').hide

[jQuery] redundancy - dimensions plugin and toggle?

2007-12-07 Thread Priest, James (NIH/NIEHS) [C]
I've got some toggle code where I want to check the height of something using the dimensions plugin and am not sure the best way to do this: $('.container').toggle( function() { $(this).removeClass('right').addClass('down');

[jQuery] Re: UI: Autogenerated tabs

2007-12-07 Thread Sam Sherlock
I would try using jquery wrap to add the tab mark up to the html before initializing tabs http://docs.jquery.com/Manipulation/wrap On 07/12/2007, Gordon <[EMAIL PROTECTED]> wrote: > > > I am looking into using jQuery for implementing tabs. Up to now we've > been using the Tabber library (www.bare

[jQuery] Re: Problem selecting a table row

2007-12-07 Thread Karl Swedberg
On Dec 7, 2007, at 11:41 AM, Glen Lipka wrote: One followup. tr[th] would only find something like this: The stuff in the brackets are attributes, not child elements. Just to clarify ... This is correct as of jQuery 1.2. However, in previous versions (for example, the version that ships

[jQuery] Re: Problem selecting a table row

2007-12-07 Thread Glen Lipka
One followup. tr[th] would only find something like this: The stuff in the brackets are attributes, not child elements. Glen On Dec 7, 2007 7:48 AM, Glen Lipka <[EMAIL PROTECTED]> wrote: > I whipped up a demo for you. > http://www.commadot.com/jquery/selectorHas.php > > Where I figured it out

[jQuery] UI: Autogenerated tabs

2007-12-07 Thread Gordon
I am looking into using jQuery for implementing tabs. Up to now we've been using the Tabber library (www.barelyfitz.com/projects/tabber/), and have been happy with the unobtrusive tabs it creates. However, we have a minor nightmare of javascripts from disparate libraries scattered all over our w

[jQuery] Re: Select type upon jeditable start

2007-12-07 Thread Mika Tuupola
On Dec 7, 2007, at 9:06 AM, bhays wrote: I'd like to have jEditable, or jQuery, auto select all the type in the input that I am going to edit. I am basically looking for the same effect of clicking on the URL address bar in a browser. Select all on first click, then let the user decide what

[jQuery] Re: Code feedback... Callbacks for timing...

2007-12-07 Thread Jake McGraw
What are you trying to accomplish with load()? From the documentation: http://docs.jquery.com/Events/load I don't see any reference to the usage you're attempting. - jake On Dec 6, 2007 8:34 PM, Micky Hulse <[EMAIL PROTECTED]> wrote: > > Hi all, I hope my question is not too silly... I just wa

[jQuery] Re: jChess

2007-12-07 Thread Chris Jordan
Sweet! Thanks for the update. :o) Chris On Dec 7, 2007 6:38 AM, aldur <[EMAIL PROTECTED]> wrote: > > I'm in the process of setting up my web site again. > > it will be on the http://www.bloodmoongames.com site when the new > version goes up. > > I've had to move hosting companies. > > -- http

[jQuery] Re: jQuery 1.2.1 errors with Interface

2007-12-07 Thread ProxyDev
I'm having the same issue. If anyone figures this out .. please let us know. Thanks! :) On Nov 27, 12:31 am, SimonRaven <[EMAIL PROTECTED]> wrote: > On Nov 19, 7:40 am, alexanmtz <[EMAIL PROTECTED]> wrote: > > > > > Im having the same issue, if you fix the problem, please report > > here... >

[jQuery] Re: Problem selecting a table row

2007-12-07 Thread Glen Lipka
I whipped up a demo for you. http://www.commadot.com/jquery/selectorHas.php Where I figured it out: http://docs.jquery.com/Selectors/has#selector Desc: Matches elements which contain at least one element that matches the specified selector. Selector page. Is this the one you looked at? http://do

[jQuery] Re: jQuery API Reference in CHM

2007-12-07 Thread [EMAIL PROTECTED]
Thank you, much useful. On Dec 7, 6:49 am, char101 <[EMAIL PROTECTED]> wrote: > Hi, > > This is (yet another, if there is any) API reference of jQuery in CHM > format > > http://charupload.wordpress.com/2007/12/07/jquery-documentation-chm/ > > The pages are taken directly fromhttp://docs.jquery.c

[jQuery] Re: jQuery API Reference in CHM

2007-12-07 Thread Nguyễn Quốc Vinh
Thank in advance! I'm in Vietnam! I don't have adsl at home! i must go to internet cafe and spent much money! 2007/12/7, Cloudream <[EMAIL PROTECTED]>: > > > thanks a lot. ^^ jquery.com is slow in China, this is pretty useable > > On 12月7日, 下午5时49分, char101 <[EMAIL PROTECTED]> wrote: > > Hi, > > >

[jQuery] Re: accessible edit in place

2007-12-07 Thread Christian Bach
Hi, Just extact the value of the input fields and replace it with a text node. This is untested but should work: $("input:text").each(function() { var $this=$(this); $this .after($("") .html($this.val())) .hide(); }); /c 2007/12/7, Johan_S <[EMAIL PROTECTED]>: > > > Hello. >

[jQuery] Re: jQuery API Reference in CHM

2007-12-07 Thread Cloudream
thanks a lot. ^^ jquery.com is slow in China, this is pretty useable On 12月7日, 下午5时49分, char101 <[EMAIL PROTECTED]> wrote: > Hi, > > This is (yet another, if there is any) API reference of jQuery in CHM > format > > http://charupload.wordpress.com/2007/12/07/jquery-documentation-chm/ > > The page

[jQuery] accessible edit in place

2007-12-07 Thread Johan_S
Hello. Is there a way / plugin to have this plugin work "the other way around" ? http://www.appelsiini.net/projects/jeditable/default.html If JS is turned off, i want the form controls to be visible on the page so you can use them. If JS is turned on, i want to activate them with a click/mouse

[jQuery] Problem selecting a table row

2007-12-07 Thread Kirov
Hello Dear Reader, I am stuck with the following problem. I've read the whole documentation of jQuery about traversing and selecting DOM nodes and found that i can select all nodes that contain a certain type of node - the example was $('p[a]'); all paragraphs that contain a link (anchor). But fo

[jQuery] Re: jChess

2007-12-07 Thread aldur
I'm in the process of setting up my web site again. it will be on the http://www.bloodmoongames.com site when the new version goes up. I've had to move hosting companies.

[jQuery] Re: Can figure out the diference between input button and button

2007-12-07 Thread Marcelo Wolfgang
Thanks a mix between the button type="button" and the tip about my form beeing submit before the ajax help me figure out what was the problem. Ryan wrote: My question has been hijacked with another! :) On Dec 6, 4:36 pm, "Jake McGraw" <[EMAIL PROTECTED]> wrote: Perhaps try in

[jQuery] Re: hiding page elements instantly on page load

2007-12-07 Thread KidsKilla .grin! wuz here
I think it's better to do like that: .js .myclass{display:none;} document.body.className+=' js'; ... 2007/12/6, bytte <[EMAIL PROTECTED]>: > > Hi guys, > > I use php to fetch a menu out of a mysql database. Basically the menu > is made up of a lot of nested unordered lists

[jQuery] Re: Strange unwanted delay problem

2007-12-07 Thread Trond Ulseth
Hi Glen, The reason that you can't reproduce the problem is because someone else fixed it for me. It is now working just like I want it to. Sorry about that. I should have thought about coming in here to notify. Best regards, Trond On Dec 6, 7:22 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: >

[jQuery] newbie - validationAide and submit

2007-12-07 Thread gazzar
I am using dnaides validationAide and need some help. I am building a web app and need to do client side validation before commiting data into a postgresql database. I am using validationAide to validate, but need to change the pagelayout once part of the page is valid. To cut a long story short

[jQuery] jQuery API Reference in CHM

2007-12-07 Thread char101
Hi, This is (yet another, if there is any) API reference of jQuery in CHM format http://charupload.wordpress.com/2007/12/07/jquery-documentation-chm/ The pages are taken directly from http://docs.jquery.com/Main_Page because I unfortunately know that there is a documentation in xml after creati

[jQuery] different in IE and Firefox

2007-12-07 Thread [EMAIL PROTECTED]
i have this code: http://www.w3.org/TR/html4/loose.dtd";> http://code.jquery.com/jquery-latest.js";> $(document).ready(function(){ $("button").click(function () { var text = $(this).val(); $("input").val(text); }); }); button { margin:4px; cursor:pointe

[jQuery] i am getting design problem while using jquery plugin

2007-12-07 Thread sranabhat
i frequently getting design problem (css) while using jquery plugin. so how can i overcome these problems while using jquery plugins.

[jQuery] Select type upon jeditable start

2007-12-07 Thread bhays
I'd like to have jEditable, or jQuery, auto select all the type in the input that I am going to edit. I am basically looking for the same effect of clicking on the URL address bar in a browser. Select all on first click, then let the user decide what they will edit. I really have no idea how to

[jQuery] Re: fxFade + tabsRotate

2007-12-07 Thread Klaus Hartl
On 6 Dez., 14:48, RamoNMol <[EMAIL PROTECTED]> wrote: > Okay guys, kinda new to this whole discussiongroup thing, so if i'm > completely posting something in the wrong section or anything, then > please forgive fot my ignorance.. > > I have a small problem with the tabsRotate function from jQuery,

[jQuery] Re: [NEWS] Getting jQuery Adopted in Corporations

2007-12-07 Thread 1Marc
I guess I should digg my own post, hehe. Thanks for the mention, Rey! On Dec 6, 6:31 pm, Guy Fraser <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Although I keep coming up against the following: > > > 1. Is jQuery going to be here for the long term? > > 2. Why not use prototype, what