[jQuery] Re: when Javascript is disabled...

2007-10-12 Thread Michael Geary
I found JQuery very easy to use and start to add it to my page, however, it does not work when browser's javascript is disabled, how can we detect if a user turns it off so that we can take care of that in another non script way? Thanks. 1) Write your page in such a way that it works OK

[jQuery] Re: Send an image to the server with $.ajax

2007-10-12 Thread Giovanni Battista Lenoci
On Oct 11, 5:56 pm, Maggi Trymbill [EMAIL PROTECTED] wrote: Hello Giovanni, To be able to send a file via AJAX with jQuery you need a plugin because jQuery doesn't know how to post a file via AJAX. There is one that works quite well, you can see the demo for it

[jQuery] Re: Jscrollpane and Jquery UI when combined gives error.

2007-10-12 Thread Kelvin Luck
Hi, jScrollPane is currently tested against jQuery 1.2.1 and it works fine. I just noticed there was some misleading information on the jScrollPane homepage which I've now updated to make it clear it uses 1.2.1... Do you have an example URL where it is failing? If you can provide that I

[jQuery] Re: jQuery UI Tabs

2007-10-12 Thread Tom
I just had a look at the view source for you page and cannot see the 2 required CSS files 'ui.tabs.css' and 'ui.tabs.ie.css' or have you included them in your 'flora.all.css' file? I am also experiencing you first issue and had assumed that I could fix it by altering line 19 of the ui.tabs.css

[jQuery] Re: Send an image to the server with $.ajax

2007-10-12 Thread Giovanni Battista Lenoci
I've solved, the plugin creates a form in a iframe, where it clones the input file getting it by the id passed in the constructor. After line 159 I've addedd: $('input').clone().appendTo($(form)); this is the piece of code to modify: 154 { 155 // var io = $('#' + frameId); 156

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread Suni
Amazingly simple and elegant, nice work!

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread Andy Matthews
Never mind. I see now that it can. I just hadn't gotten to that page. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Friday, October 12, 2007 8:40 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: JQuery Cycle Plugin

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread Kelvin Luck
have a look at the bottom of this page: http://malsup.com/jquery/cycle/int2.html Andy Matthews wrote: Just out of curiosity, does this plugin do text to, or just images? Could it be wired up to do a div instead of an image? andy -Original Message- From:

[jQuery] Beginner problem: Link is not working (JQuery Cycle Plugin)

2007-10-12 Thread tlob
Hello I am working with the fantastic JQuery Cycle Plugin. Thank you very much for creating such great librarys! I am almost there But I have a very basic problem. Start/stopping the slideshow is fine with click on thumbnails/pictures/ slideshow. But when you click on the thumbnails, the

[jQuery] Re: Superfish Dropdown: Menu falls behind tabs

2007-10-12 Thread Joel Birch
Hi, In IE you have to apply z-index to certain ancestors, due to a bug. On another thread, Olivier Percebois-Garve provided this link to a discussion of the problem. http://verens.com/archives/2005/07/15/ie-z-index-bug/ Of particular note on that page is Michael's comment. Joel Birch.

[jQuery] Targeting specific attributes not working

2007-10-12 Thread skube
I am trying to target all input fields which have a maxlength attribute specified. However, the latest jQuery seems to not be filtering properly and ends up ignoring the filter. So if one has: input type=text / input type=text maxlength=10 / And executes: $([EMAIL PROTECTED]).addClass(test); I

[jQuery] Re: Release: jQuery treeview plugin 1.3

2007-10-12 Thread Christiaan van Woudenberg
FYI, this version of Treeview raises warnings when validating against JSLint in a few critical areas, and causes the JS compressor that I use by LCASoft ( http://www.lcasoft.com/compress-js.html ) to break the plugin. In SVN revision 3522, they are: * On line 67, asignment not terminated with ; *

[jQuery] Re: Star rating plugin for 1.2?

2007-10-12 Thread Mark
Sorry for reviving this thread but i'm kinda stuck with this plugin. The plugin itself is working how it should work so there is not a issue there.. it's just that i want to do something that i find hard to do in this case. Thsi is what i try to do: 1. The user sees rating images and can cast a

[jQuery] Re: Table show/hide rows slow in IE

2007-10-12 Thread Matt Kruse
On Oct 12, 5:28 am, kamiseq [EMAIL PROTECTED] wrote: try to put your class style definition in your css file and then change only the name in className, and the fact is that class name changing is always faster then using something like style= in pure JS. In IE, I've always found the

[jQuery] Re: One-liner that accelerates JavaScript on IE

2007-10-12 Thread Glen Lipka
How much faster? I can plug in a version of jQuery with that line and a version without that line into the css selector speed test I guess to try. Glen On 10/11/07, luci [EMAIL PROTECTED] wrote: http://dankogai.vox.com/library/post/one-liner-that-accelerates-javascript-on-ie.html This is

[jQuery] slow livequery after loading 900 rows of table

2007-10-12 Thread kamiseq
im loading simple table into my DOM tree, i have about 900 rows and 7 cols, it shouldnt be that bad. now i used liveguery to bind events to 6 objects for each row. I understand that livequery is going through the whole 900x6 elements and binds events but then it should be all fine. I dont

[jQuery] Combo with images

2007-10-12 Thread Andrea - Aosta
at this url http://scbr.com/docs/products/dhtmlxCombo/index.shtml a combo with the image my question: it is possible to create a similar combo with the jquery?

[jQuery] One-liner that accelerates JavaScript on IE

2007-10-12 Thread luci
http://dankogai.vox.com/library/post/one-liner-that-accelerates-javascript-on-ie.html This is very interesting suggestion to accelerate js. Replacing document object to a argument, it works more speedy on IE.

[jQuery] Re: validation plugin: validation of checkboxes fail

2007-10-12 Thread Alexander Graef
Did a workaround that I should have thought of before :), using the provided submitHandler function. For those looking for a similar solution, here it is : $(#Form).validate({ submitHandler: function(form) { $(.multi).each(function(i){ var val = $(this).attr(name);

[jQuery] How to apply tabs to content loaded by ajax

2007-10-12 Thread sukhminder
Hi All, I am loading an .html file using ajax and then trying to do: $ ('#tabholder ul').tabs(); to apply tabbing but am unable to do it. I am loading content is the div like: div id=showcontent/div and my .html file looks somewhat like: div id=citytabs class=flora ul

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread Andy Matthews
Nice one. Thanks Karl. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Friday, October 12, 2007 8:56 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: JQuery Cycle Plugin On Oct 12, 2007, at 9:39 AM, Andy Matthews

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread Karl Swedberg
On Oct 12, 2007, at 9:39 AM, Andy Matthews wrote: Just out of curiosity, does this plugin do text to, or just images? Could it be wired up to do a div instead of an image? Absolutely! If you want to see one in the wild, I'm using it with ULs here: http://www.calvin.edu/festival/

[jQuery] how to disable events on a iframe?

2007-10-12 Thread Rodrigo Moraes
Hey, Do you know a jQuery solution to disable events on an iframe? Basically, I want to display an iframe, but disallow all interactions (click on links, forms, etc) on it. The blockUI plugin seems to not work in this case... Any ideas? thanks, rodrigo moraes

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread Mika Tuupola
On Oct 12, 2007, at 6:16 AM, MikeR wrote: Ran across this while digging through jQuery plugins... http://malsup.com/jquery/cycle/begin.html Great plugin too. I wonder how I can have missed it... -- Mika Tuupola http://www.appelsiini.net/

[jQuery] Re: Accessing dynamically created divs

2007-10-12 Thread Wizzud
If you don't have control over the php then ... $('a[id^=showtxt]').click(function() { var divID = this.id.replace(/^showtxt(\[)(\d+)(\])$/, '#textbox \\$1$2\\$3'); $(divID).slideToggle(400); return false; }); If you DO have control over the php then I would recommend

[jQuery] Re: superfish: how do I turn off animations

2007-10-12 Thread gdw
Thanks On Oct 10, 3:29 am, Joel Birch [EMAIL PROTECTED] wrote: Whoops, I obviously need a break. Here is the correct code: $('#yourNav').superfish({ animation: {height: 'show'}, speed: 1 /* animation speed 1 millisecond */ }); Joel Birch

[jQuery] Best practice for form serialize?

2007-10-12 Thread mo2g
I have a web page with two forms on it. It originally used Prototype and I would like to convert it to jQuery. The main form has text, checkboxes, radio buttons, etc. I want to watch the form and if any form element changes I want to serialize the entire form and post it to a URL, receive the

[jQuery] Re: Accessing dynamically created divs

2007-10-12 Thread Yaz
Oh Thank you all! And yes I can change the php output, I didn't know one method was better than another. :) -yaz On Oct 12, 6:51 am, Wizzud [EMAIL PROTECTED] wrote: If you don't have control over the php then ... $('a[id^=showtxt]').click(function() { var divID =

[jQuery] Re: jQuery UI Tabs

2007-10-12 Thread Tom
Ok problem solved for your (and mine :p) first issue. We need to read this http://docs.jquery.com/Talk:UI/Tabs Basically you must move the ID, you want to attach .tabs() to, from the DIV to the UL element. In your case that div id='tabs_demo'. This also fixes my 3rd problem to do with the list

[jQuery] Superfish Dropdown: Menu falls behind tabs

2007-10-12 Thread marlyred
Hi, I am using the superfish dropdown menu (amazing plugin btw!) and I am having a problem on the pages that I am using UITabs aswell. In IE 6 7 the menu falls behind the tabs. In FF no problem. Any ideas how to fix? I tried the bgiframe plugin but it did not cure it. TIA for any help --

[jQuery] Re: z-index and IE issue (not the select problem, or the z-index stacking context)

2007-10-12 Thread Wizzud
Try... v.parents(.vtiproot).css( { zIndex : 101 } ); ie. if using key/value pairs, don't quote the key, and try using camelBack notation instead of hyphens. Also, since zIndex is a number you probably don't need to quote the value either (not sure if this makes any difference though)...

[jQuery] Re: Accessing dynamically created divs

2007-10-12 Thread [EMAIL PROTECTED]
Hi from Mex other opcion: (no speak english so) --- html- a href=# id=showtxt_1show text/adiv id=textbox_1Text here/ div a href=# id=showtxt_2show text/adiv id=textbox_2Text here/ div a href=# id=showtxt_3show text/adiv

[jQuery] Re: Accessing dynamically created divs

2007-10-12 Thread Joan Piedra
Hello Yasmary, Can you modify the php output? If so, I would suggest you to use class instead of id. You could also try using the next() function. Hope I didn't misunderstood your message. Regards. a href=# class=showtxtshow text/adiv class=textboxText here/div a href=# class=showtxtshow

[jQuery] Re: when Javascript is disabled...

2007-10-12 Thread sidisinsane
Here's a a href=http://news.hping.org/comp.lang.php.archive/ 4032.htmlserver-side javascript detection script written in php/a and posted by a href=http://koivi.com/;Justin Koivisto/a. Has been working like a charm for me.

[jQuery] Re: when Javascript is disabled...

2007-10-12 Thread d . wachss
The term of art is Progressive Enhancement. There's lots of good advice on techniques to implement it; try http://www.google.com/search?q=progressive+enhancement Danny Wachsstock On Oct 11, 8:19 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I found JQuery very easy to use and start to

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread MichaelEvangelista
Excellent! thanks for sharing... this will get lots of use, and soon! -- -- Michael Evangelista, Evangelista Design Web : www.mredesign.com Newsgroups: news://forums.mredesign.com Blog : www.miuaiga.com MikeR [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ran across this while

[jQuery] Re: slow livequery after loading 900 rows of table

2007-10-12 Thread kamiseq
ok it seems that livequery is the problem here, I ve read http://docs.jquery.com/Tutorials:AJAX_and_Events and it seems it will be the better way, will not? On 12 Paź, 12:57, kamiseq [EMAIL PROTECTED] wrote: im loading simple table into my DOM tree, i have about 900 rows and 7 cols, it

[jQuery] Set input value in html()

2007-10-12 Thread Adrian Lynch
I hope I explain this well! I want to pass a form to a server script (to be saved and reloaded later, but that's besides the point) with all the changes reflected in passed data. I have the following: script type=text/javascript src=jquery.js/script script type=text/javascript

[jQuery] Access parent page from ajax generated html

2007-10-12 Thread Mark
If I have a main page and a section of it generated by Ajax, how do I access an element in the main page from the section generated by Ajax? Or, in code speak: (how can I make something like this work) html img id=removeMeAfterAjax src=images/fredington.jpg / div id=AjaxHolder

[jQuery] My slide effect has a brief flicker in IE but not FF

2007-10-12 Thread somnamblst
My hidebar div which does have an image in it has a flicker right at the completion of any slideUp in IE but not FFF $(document).ready(function() { initSlideboxes(); function initSlideboxes() { $('#slidebar').slideDown(normal); setTimeout(function() {

[jQuery] Re: JQuery Cycle Plugin

2007-10-12 Thread Andy Matthews
Just out of curiosity, does this plugin do text to, or just images? Could it be wired up to do a div instead of an image? andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MikeR Sent: Thursday, October 11, 2007 10:17 PM To: jQuery

[jQuery] Re: Table show/hide rows slow in IE

2007-10-12 Thread kamiseq
hej, try to put your class style definition in your css file and then change only the name in className, and the fact is that class name changing is always faster then using something like style= in pure JS. the other thing is that if you are using jQ then you can take advantage of addClass or

[jQuery] Re: interface error in IE6

2007-10-12 Thread [EMAIL PROTECTED]
HI Adam I'm getting the same error in IE6 7. MSDN barely mentions this error code but 80020101 seems to be a catch all code for pretty much anything. I'm writing a .NET application and think the error may not be related to jQuery but instead to my use of Ajaxpro. Saving the file and it's

[jQuery] Re: How to apply tabs to content loaded by ajax

2007-10-12 Thread Adrian Lynch
In the call back for the load, select the new loaded content and apply $(#showcontent#citytabs ul).tabs(); Show more code if that doesn't clear things up. Adrian On Oct 12, 1:47 pm, sukhminder [EMAIL PROTECTED] wrote: Hi All, I am loading an .html file using ajax and then trying to do: $

[jQuery] Re: How to apply tabs to content loaded by ajax

2007-10-12 Thread Klaus Hartl
On 12 Okt., 14:47, sukhminder [EMAIL PROTECTED] wrote: Hi All, I am loading an .html file using ajax and then trying to do: $ ('#tabholder ul').tabs(); to apply tabbing but am unable to do it. I am loading content is the div like: div id=showcontent/div and my .html file looks

[jQuery] Re: Ajax tabs detect automatically

2007-10-12 Thread zorba
could any 'jQueryan' help me to avoid remote tab loading automatically? pleeaaz?

[jQuery] Livequery and History / Remote togehter. Help.

2007-10-12 Thread gimperdaniel
I will try to explain myself as clear as possible: I have used Ajax in the past. Not with jquery though. I have been working with jquery for about a month. So I know some, but definitely still learning. I downloaded Livequery: http://jquery.com/plugins/project/livequery And had no problems. I

[jQuery] Re: One-liner that accelerates JavaScript on IE

2007-10-12 Thread Glen Lipka
http://commadot.com/jquery/experiments/speedtest/# I modified a version of jQuery to include that one line and it threw a JS error. Then I tried using the second way with the var doc = document and renamed document everywhere to be doc. No change at all in speed. Glen On 10/12/07, Glen Lipka

[jQuery] Permission denied to set property XULElement.selectedIndex

2007-10-12 Thread debussy007
Hello, whenever I try to display an alert box with some debugging information in my keyup function, I have the following errir in Firebug : [Exception... 'Permission denied to set property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex] nsresult: 0x8057001e

[jQuery] How to use history remote with search results

2007-10-12 Thread ogurec
Hi, i use history remote plugin and i try to make it work when i send request from search form. I tried this approach: $('#search_form').submit ( function() { var aurl = this.action; var adata=$(':input',this).serialize(); $.ajax (

[jQuery] Running jQuery ajax repeatedly when building new forms

2007-10-12 Thread [EMAIL PROTECTED]
Right now I have a form that adds and removes forms. These forms are updated inside a div. So for example, I delete one form, a PHP file runs, deletes that form, then rebuilds the other forms inside the div. What's wrong is that the jQuery seems to only want to run the first time, and when I try

[jQuery] Re: Best practice for form serialize?

2007-10-12 Thread mo2g
I was asked why I couldn't just set an action on each field. I can't change the form as it is dynamically created. I just know the form name. In Prototype I used the Form Observer. On Oct 12, 1:07 pm, mo2g [EMAIL PROTECTED] wrote: I have a web page with two forms on it. It originally used

[jQuery] jqModal validation

2007-10-12 Thread bostone
I'm using jqModal to display a form that gets populated through AJAX. I need to add validation so when Submit is clicked I need to make AJAX call to the server and then if validation error is detected instead of dismissing the dialog (which I do now) I need to display warning and leave jqModal

[jQuery] Show(1500) flicking on Firefox 1.0 and 2.0

2007-10-12 Thread rsmolkin
Hi All, I am trying to fade in a table on a page when a page loads $(document).ready(function(){ $('#mainTable').hide().show(1500); }); This works exactly as expected in IE, but for some reason in Firefox there are 2 issues. First of all instead of actually

[jQuery] Re: Show(1500) flicking on Firefox 1.0 and 2.0

2007-10-12 Thread Karl Swedberg
Hi Roman, You might want to try using .fadeIn(1500) rather than .show(1500). The .show(speed) method animates opacity, height, and and width. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 12, 2007, at 4:05 PM, rsmolkin wrote: Hi All, I am

[jQuery] newbee: select field and go to link in value

2007-10-12 Thread johnny
I have a select field. It has values that are links. These links are dynamically generated. As soon as the value is selected, user should go to the page. Is there a way to do this in jquery? select field: select name=option

[jQuery] Re: Superfish Dropdown: Menu falls behind tabs

2007-10-12 Thread marlyred
Thanks for pointing me in the right direction. For anyone else experiencing the same problem with this plugin..I applied a z-index to the .nav class Joel Birch wrote: Hi, In IE you have to apply z-index to certain ancestors, due to a bug. On another thread, Olivier Percebois-Garve

[jQuery] Re: How to iterate and manipulate an object

2007-10-12 Thread Michael Geary
From: Michael Geary Just for fun, here's a primitive little cache implementation that lets you add/remove/get items and also prune items from the beginning of the list... And if anyone tries to use that code for anything, beware! It has a serious bug. (Do you see what it is?) If anyone

[jQuery] Re: newbee: select field and go to link in value

2007-10-12 Thread Glen Lipka
I whipped up a demo. http://www.commadot.com/jquery/selectBoxNav.php $(select).change( function() { location.href = $(this).children(option:selected).attr(value); } ); Glen On 10/12/07, johnny [EMAIL PROTECTED] wrote: I have a select field. It has values that are links. These links are

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-12 Thread Leandro Vieira Pinho
Thanks everyone. I have released a new version: 0.3. Applying many suggestions here mentioned. See it: http://localhost/leandrovieira/www/projects/jquery/lightbox/ to see the changelog see Changelog Tab in the jQuery plugin page. Regards

[jQuery] Re: One-liner that accelerates JavaScript on IE

2007-10-12 Thread Guy Fraser
Glen Lipka wrote: http://commadot.com/jquery/experiments/speedtest/# I modified a version of jQuery to include that one line and it threw a JS error. Then I tried using the second way with the var doc = document and renamed document everywhere to be doc. No change at all in speed. Having

[jQuery] Re: Undefined selector returning the document

2007-10-12 Thread Jake
How do I file a ticket? On Oct 1, 4:28 pm, Michael Geary [EMAIL PROTECTED] wrote: I think that is my fault; it was a patch I submitted way back at the beginning of last year. But you're right, $(undefined) shouldn't select the document, only $() with no arguments at all should. Want to file a

[jQuery] Binding bug ?

2007-10-12 Thread Flesler
I lost a couple of hours of my life wondering why would this happen, I was working on jQuery.Listen, and after binding, unbinding, and rebinding, the handler was being triggered twice. I finally came up with a case where that happens, only using jquery's binding methods: $('#foo')

[jQuery] Re: How to iterate and manipulate an object

2007-10-12 Thread Pops
Hi Mike, I didn't analyze your code, but as I said (or maybe I was thinking of saying it but do not) is that JavaScript, to me, a guy is extremely strict and high software quality development practices, promotes bad coding habits. I say that because I have already caught myself doing stuff that

[jQuery] Re: timing of animations

2007-10-12 Thread Olivier Percebois-Garve
After playing during a while, and reading through a lot of posts, I got that: It works a little nicer, but il still kinda freezes when hovered too fast. $('#producttabs ul li').each(function(){ $(this).append($(this).html());

[jQuery] event.pageX/Y in IE

2007-10-12 Thread Pops
I am not sure how I missed this early in my plugin development, but I see it now. For my new hover plugin, I noticed jQuery was extending the event structure with extra mouse information such as: event.pageY and event.pageX and that this extended event is passed to my show and hide