Re: [jQuery] I could use help with Drag-drop

2007-01-25 Thread barrel
Yes, this can be done. I have used the following code in a list of items (a html table structure) where items can be dragged to either a folder or a trashbin. Here is some of the code: [code] 86 $(.dndFolder).Draggable ( 87 { 88

[jQuery] Retrieve a from iframe

2007-01-25 Thread David Gironella
How can I get all A from all IFRAMES in web? Thk. Giro. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] attr scrollHeight

2007-01-25 Thread Andreas Wahlin
$(element).attr('scrollHeight') does not work (returns undefined) but $(element)[0].scrollHeight does, is this right? andreas ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] preceding sibling

2007-01-25 Thread Stéphane Nahmani
Hello again, I have written a simple menu in the most basic way i could: just an unordered list, with only the active tab getting a class=active. I am adding the correct styles to the first and last tabs with the :first and :last selector. Works just fine. The last thing i need is to be able to

Re: [jQuery] Select Box

2007-01-25 Thread Peter Bengtsson
Consider this plugin http://www.texotela.co.uk/code/jquery/select/ You can do stuff like $(#myselect).selectOptions(Value); David Gironella wrote: I have a multiple selection select. I can use jquery to check which options are selected? Some example? Thk. Giro.

Re: [jQuery] preceding sibling

2007-01-25 Thread Blair McKenzie
Try $(#menu li.actif ~ li) Translation: Find an element with id menu (id by itself is faster than id with tag), then find a descendent LI with class actif, and return the preceding element if it is a LI. Blair On 1/25/07, Stéphane Nahmani [EMAIL PROTECTED] wrote: Hello again, I have written

Re: [jQuery] OT: CSS Conditional Comments

2007-01-25 Thread Olaf Bosch
Aaron Heimlich schrieb: I don't recall whether IE Mac can read conditional comments, but it shouldn't matter much considering it's pretty much dead and gone by now. The IE Mac ignore CC's -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de

Re: [jQuery] attr scrollHeight

2007-01-25 Thread Klaus Hartl
Andreas Wahlin wrote: $(element).attr('scrollHeight') does not work (returns undefined) but $(element)[0].scrollHeight does, is this right? Maybe that's because scrollHeight is a property of an element and not an attribute (that is reflected in the HTML tag's attribute list). Try:

[jQuery] ie6 submit button error

2007-01-25 Thread Marie du Toit
Hi, I found the following error, This command is not supported, when trying this line of code in IE6, $(':submit').attr({ src: images/button_submit.png, type: image }); This works fine in Firefox. I have the latest update of jQuery and I'm currently using the compressed version. Thanks in

Re: [jQuery] How to find out if form was submitted via Ajax?

2007-01-25 Thread Dmitrii 'Mamut' Dimandt
Thank you! This worked beautifully Dr. Tarique Sani wrote: On 1/24/07, Dmitrii 'Mamut' Dimandt [EMAIL PROTECTED] wrote: When I use the Form plugin, how can I find out on the server that the form was submitted via Ajax? if using PHP then testing env('HTTP_X_REQUESTED_WITH') ==

Re: [jQuery] ie6 submit button error

2007-01-25 Thread Karl Rudd
My guess is that IE doesn't like you changing the type of the INPUT element from submit to image. I'd advise doing something along this line (untested code): $(':submit') .attr('disable','true') .hide() .before( $('input src=images/button_submit.png type=image') ); Karl Rudd On 1/25/07,

[jQuery] Problem with form plugin and xml

2007-01-25 Thread Dmitrii 'Mamut' Dimandt
I'm trying to ajaxify my forms. I'm using the forms plugin: $(#FindHotel).ajaxForm( { success: showFormSubmitResult, dataType: 'xml' } ); function showFormSubmitResult(responseText, statusText) {

[jQuery] Some Firefox search plugins I made

2007-01-25 Thread Kenneth
Greetings all, Being new to jQuery (just implemented it yesterday), I have done quite a bit of searching for information on various jQuery topics, and to help me to that end I created some Firefox search plugins (for that little box in the upper-right corner)I hope you guys don't mind! I

Re: [jQuery] ie6 submit button error

2007-01-25 Thread Karl Rudd
Bah. I missed a closing bracket. $(':submit') .attr('disable','true') .hide() .before( $('input src=images/button_submit.png type=image') ); Karl Rudd ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] preceding sibling

2007-01-25 Thread Sam Collett
On 25/01/07, Blair McKenzie [EMAIL PROTECTED] wrote: Try $(#menu li.actif ~ li) Translation: Find an element with id menu (id by itself is faster than id with tag), then find a descendent LI with class actif, and return the preceding element if it is a LI. Blair $(#menu

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-25 Thread agent2026
I agree. My modified thickbox.js is just 6k packed. Why break it up into separate downloads? There are features I would like to see built in (which I've been able to add with the help of the community), circular browsing for example, but it's very important to me that ThickBox stays small in

Re: [jQuery] OT: CSS Conditional Comments

2007-01-25 Thread Klaus Hartl
Ⓙⓐⓚⓔ wrote: sure looks right! IE is disgusting, as so are conditional comments! I prefer to kludge IE all at once in an if ($.browser.msie) block , and even load in a different style sheet for those crazy browsers! I read a way that IE naturally ignores some css (without conditional

Re: [jQuery] jQuery French chapter / groupe francophone jQuery

2007-01-25 Thread Fil
Salut je viens de créer la liste de discussion [EMAIL PROTECTED] pour tous ceux qui souhaitent parler de jQuery, en français. A bientôt ! Pour s'inscrire il suffit d'envoyer un email à l'adresse [EMAIL PROTECTED] ou se rendre à http://listes.rezo.net/mailman/listinfo/jquery-fr à

Re: [jQuery] preceding sibling

2007-01-25 Thread Stéphane Nahmani
On 25 janv. 07, at 10:24, Blair McKenzie wrote: Try $(#menu li.actif ~ li) Translation: Find an element with id menu (id by itself is faster than id with tag), then find a descendent LI with class actif, and return the preceding element if it is a LI. Yes, it works and your explanation of it is

Re: [jQuery] OT: CSS Conditional Comments

2007-01-25 Thread Klaus Hartl
Olaf Bosch wrote: Aaron Heimlich schrieb: I don't recall whether IE Mac can read conditional comments, but it shouldn't matter much considering it's pretty much dead and gone by now. The IE Mac ignore CC's Yes, IE Mac is (was) a completely different browser (apart from the name). If

Re: [jQuery] Select Box

2007-01-25 Thread David Gironella
Yes. I see, but my question is how can check ALL options. With classical dom, i can do this: me=document.getElementById('subselect'); for(var i = 0;i me.length;i++) { if(me.options[i].selected == true){ } } But, with jquery? Giro. -Mensaje original-

Re: [jQuery] OT: CSS Conditional Comments

2007-01-25 Thread Klaus Hartl
Ⓙⓐⓚⓔ wrote: Micheal, so that only works with inline styles? On 1/24/07, Michael Geary [EMAIL PROTECTED] wrote: !-- ... - is an HTML comment, not a CSS comment. So, conditional comments go in your HTML code, not in CSS code. div.SiteHeader{ border: 1px solid #336566; /*AA*/

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-25 Thread Sam Collett
On 25/01/07, agent2026 [EMAIL PROTECTED] wrote: I agree. My modified thickbox.js is just 6k packed. Why break it up into separate downloads? There are features I would like to see built in (which I've been able to add with the help of the community), circular browsing for example, but it's

Re: [jQuery] unobtrus

2007-01-25 Thread Klaus Hartl
John Beppu wrote: Imagine... a PHP page that makes SQL queries right before it populates a big HTML table that makes heavy use of nested tables for layout but also has some inlined CSS via the style attribute, and to top it all off the HTML is littered with onclick handlers and script tags at

Re: [jQuery] Select Box

2007-01-25 Thread Sam Collett
On 25/01/07, David Gironella [EMAIL PROTECTED] wrote: Yes. I see, but my question is how can check ALL options. With classical dom, i can do this: me=document.getElementById('subselect'); for(var i = 0;i me.length;i++) { if(me.options[i].selected == true){ } } But,

Re: [jQuery] Why am I getting this error message?

2007-01-25 Thread agent2026
Actually he's not trying to debug in IE, he's testing in IE and getting that error. @Rick: The error you're getting may be caused by http://jquery.com/dev/bugs/bug/843/ this bug . Basically you need to change your settings of zIndex to a string. Adam Ⓙⓐⓚⓔ wrote: and as to why you get

Re: [jQuery] Form Ajax and PHP

2007-01-25 Thread Massimiliano Marini
Hi Mike, There is some good material here, just updated tonight. http://www.malsup.com/jquery/form/ Yes a very good work and material where I can learn more ... tnx 1K :) -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ It's easier to invent the future than to predict

Re: [jQuery] ie6 submit button error

2007-01-25 Thread old9
t many brackets, that's why jQuery always drove me crazy. :D On 1/25/07, Karl Rudd [EMAIL PROTECTED] wrote: Bah. I missed a closing bracket. $(':submit') .attr('disable','true') .hide() .before( $('input src=images/button_submit.png type=image') ); Karl Rudd

Re: [jQuery] unobtrus

2007-01-25 Thread Klaus Hartl
John Beppu wrote: I'd like to also add that Unobtrusive Javascript is just cleaner and easier to understand than the alternative. And here's another aspect I'd like to add: To me UOJS not also means graceful degradation plus separation of JS and HTML, it also means to not add elements to your

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-25 Thread agent2026
But if you want something that does a lot more, than why would you be using ThickBox in the first place? There are plenty of other lightboxes out there with bells and whistles you can blow to your hearts content. ThickBox is the lightweight, 'One box to rule them all' solution. Keep it simple,

Re: [jQuery] unobtrus

2007-01-25 Thread John Beppu
To be fair to the Rails people, there is a plugin called UJS for Rails that promotes the use of Unobtrusive Javascript in Rails web applications. http://www.ujs4rails.com/ With that said, I'm not really a big fan of the helpers that Rails provides for generating obtrusive Javascript in your

[jQuery] Another simple JQuery example

2007-01-25 Thread Kush Murod
Hi guys, Just wanted to post quick piece of code I've developed It is a replacement for js alert function I'll be using. It is a very early stage, but I thought someone may learn from it. code itself is written as plugin and hopefully comments are clear It uses dimensions and bounce plugin

Re: [jQuery] Problem with form plugin and xml

2007-01-25 Thread Dmitrii 'Mamut' Dimandt
anyone? Dmitrii 'Mamut' Dimandt wrote: I'm trying to ajaxify my forms. I'm using the forms plugin: $(#FindHotel).ajaxForm( { success: showFormSubmitResult, dataType: 'xml' } ); function

Re: [jQuery] unobtrus

2007-01-25 Thread Klaus Hartl
John Beppu wrote: To be fair to the Rails people, there is a plugin called UJS for Rails that promotes the use of Unobtrusive Javascript in Rails web applications. http://www.ujs4rails.com/ With that said, I'm not really a big fan of the helpers that Rails provides for generating

Re: [jQuery] ie6 submit button error

2007-01-25 Thread Blair McKenzie
Breaking lines and indenting help. Blair On 1/25/07, old9 [EMAIL PROTECTED] wrote: t many brackets, that's why jQuery always drove me crazy. :D On 1/25/07, Karl Rudd [EMAIL PROTECTED] wrote: Bah. I missed a closing bracket. $(':submit') .attr('disable','true') .hide() .before(

Re: [jQuery] Retrieve a from iframe

2007-01-25 Thread Blair McKenzie
The only way to use jQuery across frames is to include jQuery in each frame's source. If they do, then you could do something like: var a=$(nothing); $(iframe).each(function(){ if (this.jQuery) a.add(this.jQuery(a)); }); Blair On 1/25/07, David Gironella [EMAIL PROTECTED] wrote: How can I

Re: [jQuery] Retrieve a from iframe

2007-01-25 Thread David Gironella
I can’t place code inside Iframe. Thk. Giro. _ De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Blair McKenzie Enviado el: jueves, 25 de enero de 2007 12:18 Para: jQuery Discussion. Asunto: Re: [jQuery] Retrieve a from iframe The only way to use jQuery across

[jQuery] Imagebox doesn't work in Safari

2007-01-25 Thread lukas | dressy vagabonds
hi everyone, i've been trying to integrate interface's imagebox into my site, using jQuery 1.1.1 and Interface 1.1.1. As soon as i'm clicking on an image, the imagebox enters the loading image phase and is stuck there. i've put some debugging code into my site, reading --

Re: [jQuery] cant append() form objects

2007-01-25 Thread Blair McKenzie
I refactored your function to use jQuery: function appLayer(id){ //create layerbox this.$layer = $(div id=' + id + _layer' class='layerbox'/div).appendTo(#content); //create form this.$layer.append(this.$form = $(form id=' + id + _form' name=' + id + _form' action='index.php'

Re: [jQuery] Retrieve a from iframe

2007-01-25 Thread David Gironella
I test it but firefox 2 say me that I cant access to HTMLDocument.getElementByTagName Giro. _ De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Blair McKenzie Enviado el: jueves, 25 de enero de 2007 12:41 Para: jQuery Discussion. Asunto: Re: [jQuery] Retrieve a

[jQuery] fadeIn fadeOut on timers, elem.style empty error

2007-01-25 Thread Neko
Hello to you jquery fans out there, Im using innerfade to fade two areas randomly, stopping the random fading when a user hovers a link, showing the assozieated logo for the hovered link. The Problem is that after some time the random fading just stops, while an error is thrown within jquery.js.

Re: [jQuery] Retrieve a from iframe

2007-01-25 Thread Blair McKenzie
Ah. That was my last idea. Sorry Blair On 1/25/07, David Gironella [EMAIL PROTECTED] wrote: I test it but firefox 2 say me that I cant access to HTMLDocument.getElementByTagName Giro. ___ jQuery mailing list discuss@jquery.com

[jQuery] Release: Treeview plugin

2007-01-25 Thread Jörn Zaefferer
I'd like to announce the release of my Treeview plugin for jQuery, which is based on the work of a href=http://be.twixt.us/jquery/;Myles Angell/a. It allows you to take nested unordered lists and convert them into a collapsable and expandable tree. It provides options to animate toggling,

Re: [jQuery] Release: Treeview plugin

2007-01-25 Thread limodou
On 1/25/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: I'd like to announce the release of my Treeview plugin for jQuery, which is based on the work of a href=http://be.twixt.us/jquery/;Myles Angell/a. It allows you to take nested unordered lists and convert them into a collapsable and expandable

Re: [jQuery] Release: Treeview plugin

2007-01-25 Thread Rafael Santos
Thank you so much Jörn, it's really good although animations it's not beautiful @ my IE. Anyway, i'd like to know how the plugin detected the actions inside #treecontrol? reading textNodes inside a? 2007/1/25, Jörn Zaefferer [EMAIL PROTECTED]: I'd like to announce the release of my Treeview

Re: [jQuery] Some Firefox search plugins I made

2007-01-25 Thread j. siefer
*g funny, but i think ill use it, thanks -- View this message in context: http://www.nabble.com/Some-Firefox-search-plugins-I-made-tf3097158.html#a8612971 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list

Re: [jQuery] dropdown menu with IE select fix?

2007-01-25 Thread Brandon Aaron
It just needs to be applied to the element that *should* show up on top of a select in IE. -- Brandon Aaron On 1/24/07, rolfsf [EMAIL PROTECTED] wrote: What element would I apply bgiframe to - the select or the nested lists in the menu? I've played a bit with the lists but it's not working

Re: [jQuery] Select Box

2007-01-25 Thread Dave Methvin
me=document.getElementById('subselect'); for(var i = 0;i me.length;i++) { if(me.options[i].selected == true){ } } Doesn't this work? $(#subselect option:selected).each(function(){ // do something with selected options }); The plugin is good if you are adding/removing

[jQuery] API-Draft Looks great!

2007-01-25 Thread Christopher Jordan
This may have already been dicussed, but I just now noticed it. Has anyone looked at http://joern.jquery.com/api-draft/cat.xml#cat recently? It now contains the different sections of the API in a collapsible tree-view. I think this is Jörn's baby (the link contains 'joern' so I'm making that

Re: [jQuery] Thickbox incompatible with jQuery 1.1

2007-01-25 Thread Sam Collett
On 25/01/07, agent2026 [EMAIL PROTECTED] wrote: But if you want something that does a lot more, than why would you be using ThickBox in the first place? There are plenty of other lightboxes out there with bells and whistles you can blow to your hearts content. ThickBox is the lightweight,

Re: [jQuery] cant append() form objects

2007-01-25 Thread Brandon Aaron
Is this just in IE or in other browsers too? -- Brandon Aaron On 1/24/07, Jeremy Dill [EMAIL PROTECTED] wrote: After upgrading from 1.0.4 to 1.1.1 the following code no longer works. Please tell me if there is a solution to this issue. ---WORKING HTML TEST

Re: [jQuery] Giving up regular DOCTYPES

2007-01-25 Thread arnaud sellenet
Hi ! I'm new to the list, and to jQuery too (I've played a little with prototype, but jquery realy seems worth a try) This is an example I think, where using your own attributes gets useful, not to say necessary : I'm writing a calendar where user can select a days range clicking on the

Re: [jQuery] Why am I getting this error message?

2007-01-25 Thread Rick Faircloth
Thanks, Adam... Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of agent2026 Sent: Thursday, January 25, 2007 4:55 AM To: discuss@jquery.com Subject: Re: [jQuery] Why am I getting this error message? Actually he's not trying to debug in IE, he's

Re: [jQuery] Giving up regular DOCTYPES

2007-01-25 Thread Olaf Bosch
arnaud sellenet schrieb: Do you think of a better way, without using a custom attribute (I'm not 100% sure but seems like you can't use numeric classes nor id right ?) Yes you have a way. Append a second class, so: div class=calendarmonthh3January/h3 div class=calendarday1/div

[jQuery] help with append

2007-01-25 Thread Vaska
I've been toying with this backwards and forwards and I can't get it...have tried using 'after' as well. I'm trying to append a paragraph with an ID of 'dhtml'. In the past, this worked, but it was not inserting the line within the paragraph... $('div#dhtml').html(html); My best guess has

Re: [jQuery] Effect function runs twice

2007-01-25 Thread Jon Ege Ronnenberg
This might stupid question but how do I get version 1.1.1? The one I just downloaded from jquery.org is 1.1. On 1/22/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: looks like twice firing clicks was fixed in 1.1.1! On 1/21/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: is it really hiding 2 times... or a jerky hide

[jQuery] Presentacular rewrite with jQuery?

2007-01-25 Thread Shane Graber - jQuery
I just happened onto Presentacular [1] for the S5 slideshow script this morning and was wondering if anyone has rewritten it using jQuery. Shane [1] http://labs.cavorite.com/presentacular/ -- - Bender: Amy, you like cute things so I baked you a pony. - http://www.reefs.org -

Re: [jQuery] help with append

2007-01-25 Thread Sam Collett
On 25/01/07, Vaska [EMAIL PROTECTED] wrote: I've been toying with this backwards and forwards and I can't get it...have tried using 'after' as well. I'm trying to append a paragraph with an ID of 'dhtml'. In the past, this worked, but it was not inserting the line within the paragraph...

Re: [jQuery] API-Draft Looks great!

2007-01-25 Thread Mike Alsup
This may have already been dicussed, but I just now noticed it. Has anyone looked at http://joern.jquery.com/api-draft/cat.xml#cat recently? It now contains the different sections of the API in a collapsible tree-view. I agree. It's really quite nice. And it makes great use of plugins.

Re: [jQuery] Giving up regular DOCTYPES

2007-01-25 Thread Kristinn Sigmundsson
It is always (if not then atleast almost always) possible to do thing like you describe without using custom attributes, BUT don't you think that arnauds example makes more sense, codewise? That way you can set the attribs easily ($(something).attr(selectableday, 1)) and then get all the

Re: [jQuery] Release: Treeview plugin

2007-01-25 Thread Jörn Zaefferer
limodou schrieb: I tried it recently, and it's excellent. And I want to know if it can support live modify, just like : add , remove, change? Well, so far it's only a tree*view* plugin. But it should be a good basis for further work in that area. And I don't know if it uses metadata

Re: [jQuery] Release: Treeview plugin

2007-01-25 Thread Jörn Zaefferer
Rafael Santos schrieb: Thank you so much Jörn, it's really good although animations it's not beautiful @ my IE. Anyway, i'd like to know how the plugin detected the actions inside #treecontrol? reading textNodes inside a? Take a look at the treeController function inside the plugin. It

[jQuery] Easy DOM Creation plugin not working as expected.

2007-01-25 Thread bmsterling
Hey guys and gals, I am using the Dom creation plugin and when I pass the json information I get nothing in return. Below is the function I use: buildScenarioTableList = function(list){ $.tpl(list, function(){ return [ 'tr', { 'class':MyTableRow }, [

Re: [jQuery] External or anonymous function - which is best?

2007-01-25 Thread Jörn Zaefferer
PragueExpat schrieb: My question: is it better to define this function as above and pass this or to define an anonymous function within the .each statement? I read that the above method only has to compile the function once, as opposed to a re-compile each time the (anonymous) function runs.

[jQuery] Getting Started with the Form Plugin

2007-01-25 Thread Mike Alsup
For anyone seeking information about how to manage forms with jQuery, I've just updated the Form Plugin example page at: http://malsup.com/jquery/form/ You can find a quick start guide, API docs, examples, a FAQ and more. Mike ___ jQuery mailing list

Re: [jQuery] Getting Started with the Form Plugin

2007-01-25 Thread Jörn Zaefferer
Mike Alsup schrieb: For anyone seeking information about how to manage forms with jQuery, I've just updated the Form Plugin example page at: http://malsup.com/jquery/form/ You can find a quick start guide, API docs, examples, a FAQ and more. Great work on that page, Mike! And another

Re: [jQuery] External or anonymous function - which is best?

2007-01-25 Thread Prague Expat
Thanks, that makes sense. One more thing - after this code runs, is the resizeDiv function in the global namespace, in a persistant JQuery object, or garbage collected? - Original Message - From: Jörn Zaefferer [EMAIL PROTECTED] To: jQuery Discussion. discuss@jquery.com Sent:

Re: [jQuery] Getting Started with the Form Plugin

2007-01-25 Thread Klaus Hartl
Jörn Zaefferer wrote: Mike Alsup schrieb: For anyone seeking information about how to manage forms with jQuery, I've just updated the Form Plugin example page at: http://malsup.com/jquery/form/ You can find a quick start guide, API docs, examples, a FAQ and more. Great work on that

Re: [jQuery] External or anonymous function - which is best?

2007-01-25 Thread Jörn Zaefferer
Prague Expat schrieb: Thanks, that makes sense. One more thing - after this code runs, is the resizeDiv function in the global namespace, in a persistant JQuery object, or garbage collected? The DOM ready function provides a private scope, therefore the function shouldn't be visible anywhere

Re: [jQuery] Getting Started with the Form Plugin

2007-01-25 Thread Klaus Hartl
Mike Alsup wrote: For anyone seeking information about how to manage forms with jQuery, I've just updated the Form Plugin example page at: http://malsup.com/jquery/form/ You can find a quick start guide, API docs, examples, a FAQ and more. Mike I like how you combined bookmarkable and

Re: [jQuery] External or anonymous function - which is best?

2007-01-25 Thread Michael Geary
$(document).ready(function(){ function resizeDiv(that){ var x = $(that); if(x.height() 600){ x.css(height,600px); } }; $(#mydiv).each(function(){resizeDiv(this)}); }); My question: is it better to define this function as above and pass this or to define an

Re: [jQuery] simple selector with ID doesn't work anymore

2007-01-25 Thread jgrucza
I have a somewhat similar problem with ID selectors, and I posted a message about it and a bug but so far I haven't gotten a single response from anyone (here's the bug: http://jquery.com/dev/bugs/bug/881/). My problem is IDs preceded by a class or another ID (i.e. .myClass #myId or #firstId

Re: [jQuery] Getting Started with the Form Plugin

2007-01-25 Thread Mike Alsup
Did you use a (modified) version of my docTool for the API? Hi Jörn, Unfortunately I already had that part done when you posted about your docTool! When I get time I may update that page using the docTool because it provides some extra bits that I didn't include (tooltips, etc). But first I

Re: [jQuery] Getting Started with the Form Plugin

2007-01-25 Thread Jörn Zaefferer
Mike Alsup schrieb: Did you use a (modified) version of my docTool for the API? Hi Jörn, Unfortunately I already had that part done when you posted about your docTool! When I get time I may update that page using the docTool because it provides some extra bits that I didn't include

[jQuery] Why won't this code work?

2007-01-25 Thread Rick Faircloth
The link Toggle the Box and the boxed text show up on the page, but the boxed text is not hidden and the link does not toggle the box. What's wrong? Rick !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titlejQuery Slick Box/title script

Re: [jQuery] cant append() form objects

2007-01-25 Thread Jeremy Dill
With Jquery 1.1.1 Firefox 1.5 - Fails Firefox 2.0 - Fails IE 6.0 - Fails IE 7.0 - Fails With Jquery 1.0.4 Firefox 1.5 - Works Firefox 2.0 - Works IE 6.0 - Works IE 7.0 - Works Seems to be fairly consistant at least across these browsers. -Original Message- From: Brandon Aaron

Re: [jQuery] Getting Started with the Form Plugin

2007-01-25 Thread Mike Alsup
I'd also like to use Chili for the API browser. Looks like I have the same problem that you had. What exactly did you modify to get it working? Yeah, I like Chili a lot. I made a couple changes for optimization because I didn't want unnecessary server calls and there were a couple minor bugs

Re: [jQuery] Getting Started with the Form Plugin

2007-01-25 Thread Mike Alsup
Recently I've started using the form plugin and I've noticed in firebug that the X-Requested-With header is not being sended for POSTs requests. GETs work fine. I'm using last versions for both jquery and form plugin and Firefox 2.0 is it normal behaviour or do I loosing something? Jip, I

Re: [jQuery] Why won't this code work?

2007-01-25 Thread Christof Donat
Hi, $(document).ready(function() { // hides the slickbox as soon as the DOM is ready // (a little sooner than page load) $('#slickbox').hide(); }); // toggles the slickbox on clicking the noted link $('a#slick-toggle').click(function() { $('#slickbox').toggle(400);

Re: [jQuery] unobtrus

2007-01-25 Thread Mark D. Lincoln
All, Okay, I am confused by the responses and maybe it's my own fault for asking the question the way that I did. We are on board with the idea of keeping the presentation and behavior separate for both flexibility and maintainability of the application. In fact all of our client

Re: [jQuery] unobtrus

2007-01-25 Thread Marshall Salinger
Hi Mark, It seems that in this very 'controlled' situation, you shouldn't have to be too concerned with it. They aren't web based so you don't have to cater to every situation. You set the bar for the requirements of your portal, so it's more like software. You have to have XYZ to run it,

Re: [jQuery] unobtrus

2007-01-25 Thread Rey Bango
Mark, Having come from the corporate world, I fully understand your question and here's my perspective. If you effectively control your application's usage requirements (ie: browser, browser features, OS, hardware, etc), then you have the ultimate say in which direction to head to. It sounds

Re: [jQuery] unobtrus

2007-01-25 Thread Mike Alsup
Is it important for us to be concerned with our Web portal applications degrading gracefully if the user has scripting disabled in their browser? That's a question only you (and your team and your managers) can answer. But don't code yourself into a corner if you don't have to. Consider what

[jQuery] Using jQuery Ajax to save PhotoNotes

2007-01-25 Thread Julie Carl
Hello everyone. I am a jQuery newbie. Help! I recently found a really useful image annotation javascript code called PhotoNotes. http://www.dustyd.net/projects/PhotoNotes . Unfortunately, it did not come with an example code on saving PhotoNotes notes using any ajax library to get me started- I

Re: [jQuery] Why won't this code work?

2007-01-25 Thread Rick Faircloth
Hi, Christof... Thanks for the suggestion, but that didn't work either...same response as before. I wonder...on the source of the demo page showing this effect, there is reference to both the jquery.js file and another file, examples.js, which I don't have access to or reference in my code to.

Re: [jQuery] unobtrus

2007-01-25 Thread Tim Gossett
Reduce risk by not putting all your eggs in one basket. Eliminate risk by building a damn good basket, and putting all your eggs in it. What do you and your team consider to be a damn good basket? Reliance on a certain environment creates the risk of a single point of failure: if one of things is

Re: [jQuery] scroll buttons on one side in carousel plugin

2007-01-25 Thread Vikrant Azad
Thanks for your reply. But I have played enough with the css. Infact most of the things in css do not produce any result. I don't know how but the script generated most of the style and css is not respected for so many things. I wish I could give you examples here. vik Beren wrote:

[jQuery] I'm so confused...

2007-01-25 Thread jgrucza
I started getting this error message after switching to 1.1 and then 1.1.1, but then I tried going back to older versions of jQuery, and I'm still getting the same error! I never got it before I tried the upgrade, though. And this error is not showing up on our production servers either. I'm

[jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
Looking through the docs, I'm not sure that jQuery can do this, but perhaps someone can point me in the right direction? I administer an intranet and we recently changed from intranet.something.com to staff.something.com. Getting 300 users to change their browser's start page to point to the new

Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Mike Alsup
So I thought, JavaScript or jQuery might be of help. If I detect the old domain name, use jQuery to force a change. We mainly use FF2, IE6, You should handle this type of redirect on the server. ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] unobtrus

2007-01-25 Thread Mark D. Lincoln
Tim, I guess the issue for us is that we want to give our clients as rich a UI as possible both in Windows and the Web and if we focus on degradation, we may have to compromise on the richness of the UI. If you try to use the Google word processor or the Google spreadsheet without scripting

Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
Mike, I know I can do DNS forwarding, or PHP forwarding on the login page. I just want to blow the old domain away without everybody calling the help desk. I want to clean house and do for the user what they won't do themselves. Gerry On 1/25/07, Mike Alsup [EMAIL PROTECTED] wrote: So I

Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Jonathan Sharp
On 1/25/07, Mike Alsup [EMAIL PROTECTED] wrote: So I thought, JavaScript or jQuery might be of help. If I detect the old domain name, use jQuery to force a change. We mainly use FF2, IE6, You should handle this type of redirect on the server. He wants to help users change their browsers

Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Olaf Bosch
Gerry Danen schrieb: Mike, I know I can do DNS forwarding, or PHP forwarding on the login page. I just want to blow the old domain away without everybody calling the help desk. I want to clean house and do for the user what they won't do themselves. I would give the old domain a static

Re: [jQuery] simple selector with ID doesn't work anymore

2007-01-25 Thread Giuliano Marcangelo
Jennifer, I am far from being an expert, but as you know an id must be unique..therefore .myClass #myId is not necessary to target #myId.surely you should only target the idsame with #firstId #secondIdsimply declare the id that you wish to target hth On 25/01/07,

Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Andy Matthews
I'm pretty sure this would be a MAJOR security breach and I doubt that it's allowed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerry Danen Sent: Thursday, January 25, 2007 1:54 PM To: jQuery Discussion. Subject: [jQuery] Changing a browser's

Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread jgrucza
That would be a nightmare if sites could willy nilly change users' start pages. I'm pretty sure there's no way to do this or all the evil spammers in the world would have already done so, right? Jennifer Gerry Danen wrote: Looking through the docs, I'm not sure that jQuery can do this, but

Re: [jQuery] simple selector with ID doesn't work anymore

2007-01-25 Thread jgrucza
Yeah I know that, but consider this situation: Two different kinds of pages each have an element with the same ID. I want my Javascript to only affect the element on one of those pages. So I precede the ID with the class name I use for that page type, to target the right one. Isn't this a

Re: [jQuery] simple selector with ID doesn't work anymore

2007-01-25 Thread Aaron Heimlich
On 1/25/07, jgrucza [EMAIL PROTECTED] wrote: Two different kinds of pages each have an element with the same ID. I want my Javascript to only affect the element on one of those pages. So I precede the ID with the class name I use for that page type, to target the right one. Isn't this a

Re: [jQuery] simple selector with ID doesn't work anymore

2007-01-25 Thread Karl Swedberg
Hi Giuliano, I tried to reproduce your problem, but both types of selectors worked fine for me. I used jQuery 1.1.1 packed (Rev. 1173). You can see the test here: http://test.learningjquery.com/ids.htm Here is the relevant script and css placed in the head: script type=text/javascript

  1   2   >