[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-14 Thread Michael Geary
> > I'm not sure if it's the best solution, but a friend of > > mine helped me overcome the issue i was experiencing. > > We added a line of CSS to hidetreeviewon load, and then set > > it to display in the demo.js file once everything was loaded > > $("#browser").treeview({ > >         animated

[jQuery] Re: my test passes the first time, but fails the second time

2008-12-14 Thread nachocab
Hi everyone, I found the mistake, although I'm not quite sure why it works, but it does. Change this: __app.js___ 5 $(document).ready(function() { 6 $("#my_div").click(function () { 7do_something 8 }); 9 }); To this: 5 $(document)

[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-14 Thread rernens
Thanks Gilles for your reply and for the plug in. I have continued researching where the problem might be and found the following that might help : 1. plugin works in IE7, Firefox 3.04 Windows and Safari 3 but fails in Firefox 3.04 MacOS where Firefox crashes immediately after the log displays t

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-14 Thread Jeffrey Kretz
AFAIK, no SEO bots will ever execute javascript or read hidden (display:none, visibility:hidden, etc.) HTML for SEO purposes. This is as a result of some developers "front loading" hidden content that was not really part of the website to fool the search engine to giving it higher rankings. Cons

[jQuery] Re: [VALIDATION] Fields not updating numberOfInvalids count

2008-12-14 Thread Jet
Hi Jörn, Thanks for responding :) The problem is quite obvious if you could pls test the page with the following action: 1) Go to URL: http://www.thaidatelink.com/page/delivery/ 2) Check/Select the Radio button label "Yes" 3) Enter some text in the "Recipient's Email" or "Recipient's Telephon

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-14 Thread neokio
> I'm not sure if it's the best solution, but a friend of mine helped me > overcome the issue i was experiencing. > We added a line of CSS to hidetreeviewon load, and then set it to > display in the demo.js file once everything was loaded > $("#browser").treeview({ >         animated: "fast", >  

[jQuery] WymEditor forum

2008-12-14 Thread brian
I registered with the WymEditor forum a few hours ago and haven't received a confirmation email. Does anyone know if this is automated or someone does that manually? It's run with phpBB, FWIW. Also, there seems to be something odd happening with their site. Somehow, I ended up at this page: http

[jQuery] Anyone done menu like www.brookechase.com before?

2008-12-14 Thread yonghan
Hi..i want to ask..Does anyone ever before make menu like www.brookechase before??Please teach me ho to do it...Thanks a lot...

[jQuery] Re: how to capture error 500/404 ?

2008-12-14 Thread Adwin Wijaya
Thanks anyway .. i found simpler solutions as referred by richo :) $(document).ajaxError(function(event, request, setting) { var re = /|/g; // for replacing all with empty string in error 404 var txt = request.responseText.replace(re,"");

[jQuery] jquery validation

2008-12-14 Thread Adwin Wijaya
I am using jquery validation from bassistance.de I have problem with dynamic forms which have same input name. (i know the demo has one dynamic form, but they have unique name) this is the example how to validate each fields ? it seems it only validate the first one and ignore the re

[jQuery] Re: Trouble setting Select object in browsers != IE 7

2008-12-14 Thread Jeffrey Kretz
Well, if you are able to post a test case online, I'd be happy to step through the code and see if I can see what's up. If you do want to do this, an unminified copy of jquery would be preferable. JK -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]

[jQuery] Re: Good book or site to learn jquery?

2008-12-14 Thread Mike Alsup
> I want to learn how to use jquery.  Does anyone know any good books or > sites that will teach it? http://www.learningjquery.com/

[jQuery] Good book or site to learn jquery?

2008-12-14 Thread Steven
I want to learn how to use jquery. Does anyone know any good books or sites that will teach it?

[jQuery] jCarousel - Animate top down instead of bottom up

2008-12-14 Thread flexieflyer
Ive set up my carousel to auto scroll but Im looking to make it animate from the top down instead of bottom up. Any ideas?

[jQuery] Re: Trouble setting Select object in browsers != IE 7

2008-12-14 Thread raskren
I also wanted to mention that all the IDs on the page I am working on begin with numbers. I do realize that this is against HTML guidelines. Could this be the potential issue? None of my other jQuery script is failing. ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed

[jQuery] Re: Trouble setting Select object in browsers != IE 7

2008-12-14 Thread raskren
Yes, I think the markup is valid. Copy & Pasted below: --None-- Yes No I do not have control over the markup. Is there any other way to make an option "selected" that will work cross-browser? On Dec 14, 9:22 pm, "Jeffrey Kretz" wrote: > There shouldn't be an issue, so long as "existingCase

[jQuery] Re: ajax error handling troubles

2008-12-14 Thread MareceK
Solution: error: function (xhr, ajaxOptions, thrownError) { if(xhr.status == 404) { // 404 error } else if(xhr.status == 403) { // 403 error } else { // default error } } On 17. Nov, 03:12 h., Mike Alsup wrote: > > errorThrown is for JavaScript errors (think try/catch).

[jQuery] Re: how to capture error 500/404 ?

2008-12-14 Thread MareceK
Solution of your problem: error: function (xhr, ajaxOptions, thrownError) { if(xhr.status == 404) { // some error } else if(xhr.status == 403) { // another error } else { // default error } } On 24. Nov, 16:21 h., ricardobeat wrote: > The XHR object and the error are pas

[jQuery] validation remote

2008-12-14 Thread kemalemin
Hi, my validation summary worked quite fine before I made a remote username check available to it. The problem is when for the first time an already existing username is entered into the username box, the error div pops alright saying that the username already exists in the db. however when I go b

[jQuery] Re: Div control

2008-12-14 Thread SLR
> Where would the code that you've listed go? jQuery is really designed to be separate from the HTML content; so with that being said, it is typically found in the head section of the document. Now, you can't just put that in the head section and expect it to work, because it will fire before th

[jQuery] Re: Trouble setting Select object in browsers != IE 7

2008-12-14 Thread Jeffrey Kretz
There shouldn't be an issue, so long as "existingCase.records.Spin_Off__c" has a correct value. Do your option elements have explicitly defined values? Like this: Yes No   If not, try changing your markup and see if that helps. JK -Original Message- From: jquery-en@googlegroups.com [m

[jQuery] Trouble setting Select object in browsers != IE 7

2008-12-14 Thread raskren
Hi, I have a form with a few objects in it. Each is given 3 options: "Yes", "No", and "". I am trying to set the value using jQuery but running into trouble in Firefox 3.0.4 and Safari 3 - both in Windows. My code does seem to run properly in IE7. Some code: $("#00N8002fnHx").val(exist

[jQuery] Re: Div control

2008-12-14 Thread MorningZ
Another example place to get started, and don't be thrown off that it's for an old version of the framework, his code is still very much valid: http://15daysofjquery.com/quicker/4/ On Dec 14, 4:47 pm, "Michael Geary" wrote: > There are all sorts of good tutorials on jQuery. > > Did you find

[jQuery] Re: Div control

2008-12-14 Thread Michael Geary
There are all sorts of good tutorials on jQuery. Did you find the main documentation page? Here it is: http://docs.jquery.com/ You'll see a link on the left to a page that lists a number of tutorials. Go through a few of them and you'll be up to speed in no time! -Mike > From: Shaun Culver

[jQuery] Re: Div control

2008-12-14 Thread Shaun Culver
Thank you for your response. I'd be grateful if you'd be so kind as to help me get on my feet. I am new to jQuery (and javascript/ajax frameworks). I know that the main library file needs to be included: Where would the code that you've listed go? What would the "a href" tag look like that cal

[jQuery] Re: Selector filters don't allow descendent selection

2008-12-14 Thread Karl Swedberg
You could try doing it this way: $('label').filter(function() { return !$(this).parents('div.t2-display').length; }) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 14, 2008, at 2:58 PM, Fran wrote: I was given some very useful guidance

[jQuery] Re: Selector filters don't allow descendent selection

2008-12-14 Thread Fran
I was given some very useful guidance on #jquery (thanks!) The problem is due to the fact that the 't2-display' DIV is nested inside others. Since the nesting is arbitrary across my application (both in terms of levels & classes) I'll have to take the opposite approach & label up the DIVs to which

[jQuery] Re: Div control

2008-12-14 Thread Mike Alsup
> I would like to know how to use jQuery to control (create, delete, > update, toggle, animate, etc.) divs. I have been searching, but never > find anything satisfactory. Can you be more specific? // create var $div = $('hello world'); // add to dom $div.appendTo('body'); $div.prependTo('#other

[jQuery] Re: Cycle and CSS

2008-12-14 Thread Mike Alsup
> Quick layout question. My slides will not wrap inside its parent div. > I've noticed the cycle demos are nested inside tables but is it > possible to simply wrap them up inside a div? I don't think I understand your question. Nearly all of my examples use a div as the container element for the

[jQuery] Re: Cycle plug in Next/Prev image Alt issue

2008-12-14 Thread Mike Alsup
> I tried using the onBefore, and I looked at the samples at your > website (http://malsup.com/jquery/cycle/int2.html), but for some > reason, the function doesn't recognize the image title or alt text. I > get the "this.src" or "this.alt" as undefined.  And that's the reason > I turned to the pre

[jQuery] ListSearch

2008-12-14 Thread ElArZ
Hi, I have an asp.net application built with .Net framework 2.0. I'm looking at adding some Javascript and Ajax functionality in it but i don't want to upgrade my whole application to 3.5 just to use some custom controls. So i was looking at external libraries to fulfill my needs. And after a lo

[jQuery] Div control

2008-12-14 Thread Shaun Culver
I would like to know how to use jQuery to control (create, delete, update, toggle, animate, etc.) divs. I have been searching, but never find anything satisfactory. For example, I would especially like to find a script that can do all of this via the "a href" tag. I would appreciate any leads.

[jQuery] Cycle and CSS

2008-12-14 Thread turbodurso
Quick layout question. My slides will not wrap inside its parent div. I've noticed the cycle demos are nested inside tables but is it possible to simply wrap them up inside a div? thanks

[jQuery] Selector filters don't allow descendent selection

2008-12-14 Thread Fran
I want to select all labels except those within a div of a given class, but the exclusion is ignored :/ These work fine: $("div[class='t2-display'] label").append("Only expected ones"); $("div.t2-display label").append("Only expected ones"); These don't - all labels are selected, no matter the d

[jQuery] Dropshadows with jQuery Sifr Plugin v2.0 Beta 3 ?

2008-12-14 Thread expanism
Hello, On the moment I'm using sifr from novemberborn http://novemberborn.net/sifr3 and using dropshadows. Now I want to use the jQuery Sifr Plugin v2.0 Beta 3 http://jquery.thewikies.com/sifr/ is it possible to have dropshadows with the jQuery Sifr Plugin v2.0 Beta 3 ? Thanks, Edski

[jQuery] Re: Tabs - External link not working on remote tab in IE 7

2008-12-14 Thread Klaus Hartl
That demo was outdated... I've updated it and everything works as expected. --Klaus On 12 Dez., 21:52, strummer75 wrote: > Klaus, > Thanks for the response and I hope you enjoyed your vacation! > The tab I am puling in is not cross domain... all the same domain so I > am hoping I did not misre

[jQuery] Re: my test passes the first time, but fails the second time

2008-12-14 Thread Michael Geary
It's pretty hard to tell what might be wrong from the code snippet. Can you post a link to a test page instead? -Mike > From: nachocab > > You're right: > __test.js__ > 1 test("bind div again", function() { > 2 $("#my_div").click(); > 3 ok( check_if_it_

[jQuery] Re: Getting PHP values remotley

2008-12-14 Thread brian
On Sat, Dec 13, 2008 at 5:48 PM, Abethebabe wrote: > > Hello, I was wondering how to get a value from a php file after I send > data to it using the $.ajax() method. Here's my code. > > jQuery: > var path = $(this); > var addtask = $('.inputtask').val(); >$.ajax({ >url: 't

[jQuery] Re: Cycle plug in Next/Prev image Alt issue

2008-12-14 Thread MVimmer
Mike, I tried using the onBefore, and I looked at the samples at your website (http://malsup.com/jquery/cycle/int2.html), but for some reason, the function doesn't recognize the image title or alt text. I get the "this.src" or "this.alt" as undefined. And that's the reason I turned to the prevNe

[jQuery] Re: jquery ajax-built page with embedded ajax code issue

2008-12-14 Thread brian
On Sat, Dec 13, 2008 at 5:05 PM, ray wrote: > > It appears that the .children portion of the code either isn't getting > the .ajax_link classes, or the click handler isn't getting correctly > applied. Is there a way to determine what the actual results returned > are by the following: > > $(th

[jQuery] Re: Change Cycle plugin fx dynamically?

2008-12-14 Thread JohnnyCee
On Dec 14, 10:02 am, Mike Alsup wrote: > That functionality is currently not supported by the plugin. The > approach you took is the best approach for now, but the challenge is > that you need to restore the slides to their original settings. > Depending on what transition effects you're using,

[jQuery] Re: jquery in a commercial script?

2008-12-14 Thread Karl Swedberg
On Dec 14, 2008, at 12:40 AM, bad-dj wrote: hello i am making a script i want to sell and i want to use jquery can we use it in a commercial environment? In a word, yes. jQuery is dual-licensed under GPL and MIT. The MIT license would be appropriate for your situation: ~~~

[jQuery] Re: my test passes the first time, but fails the second time

2008-12-14 Thread nachocab
You're right: __test.js__ 1 test("bind div again", function() { 2 $("#my_div").click(); 3 ok( check_if_it_worked, "working") //Here it fails! 4 }); __app.js___ 5 $(document).ready(function() { 6 $("#my_div").click(f

[jQuery] Re: Does jQuery do the encode thing

2008-12-14 Thread Mike Alsup
> My default character set is utf8, should I use encodeURI when use ajax > sending the data to server? > > for example > $username = $('#username').val() > $.ajax( > { > url:'xxx.php', > data:{username:encodeURI($username)} > .. jQuery's ajax function will do that encoding for you when you pa

[jQuery] Re: Change Cycle plugin fx dynamically?

2008-12-14 Thread Mike Alsup
> I'm using the Cycle plugin and I'd like to change the transition > effect dynamically. I tried stopping the show and restarting by > calling ".cycle()" with different options, but it didn't work > properly. Some of the slides would be missing and the animations > didn't always operate correctly.

[jQuery] Re: my test passes the first time, but fails the second time

2008-12-14 Thread Derrick Jackson
Nacho, I am new to jQuery and may not have a lot to offer, but does the second function actually fail or does it not run? On 12/14/08, nachocab wrote: > > Hi, > I have a test that passes if I run it by itself, but if I duplicate > the code and run both of them, the second one fails. What am I

[jQuery] Animating two elements simultaneously

2008-12-14 Thread revivedk
How would I go about animating the width of two divs simultaneously? IE, I have two elements on a page, both are 50% width. then I'd want one of them to animate down to a width of 10%, and the other to a width of 90%. how would I make them do that, at the same time?

[jQuery] Re: Setting source of a frame with jQuery

2008-12-14 Thread andriscs
Yes, that was the issue. Thanks for correcting me. On dec. 8, 16:28, ricardobeat wrote: > Yes, 'global' variables arepropertiesof the window object, there is > one for each frame. > > It seems you're calling top.$(...) inside coll_toc.html, but you don't > have jQuery loaded in your index.html

[jQuery] flexcroll within cycle or tabs disappears completely

2008-12-14 Thread delius
i'm trying to use cycle to with different div that include a custom scroll bar, created using flexcroll (http://www.hesido.com/web.php? page=customscrollbar). in both cycle and tabs, the div containing the scrollable content just doesn't show up at all. anyone knows if it's possible to overcome t

[jQuery] jquery in a commercial script?

2008-12-14 Thread bad-dj
hello i am making a script i want to sell and i want to use jquery can we use it in a commercial environment?

[jQuery] Change Cycle plugin fx dynamically?

2008-12-14 Thread JohnnyCee
I'm using the Cycle plugin and I'd like to change the transition effect dynamically. I tried stopping the show and restarting by calling ".cycle()" with different options, but it didn't work properly. Some of the slides would be missing and the animations didn't always operate correctly. Is there

[jQuery] Re: clearcase error when trying to add jquery-1.2.6.min.js to source control

2008-12-14 Thread m.ugues
When you add the jquery-1.2.6.min.js to clearcase you have to specify the file type like this: cleartool mkelem -eltype compressed_file jquery-1.2.6.min.js cleartool ci -nc jquery-1.2.6.min.js My 2 cents, hope that will help Max On 2 Dic, 22:36, Mark Jones wrote: > Hi ksun, >             I se

[jQuery] my test passes the first time, but fails the second time

2008-12-14 Thread nachocab
Hi, I have a test that passes if I run it by itself, but if I duplicate the code and run both of them, the second one fails. What am I doing wrong? __test.js___ test("bind div", function() { $("#my_div").click(); ok( check_if_it_worked, "working") }); test("bind d

[jQuery] Re: [VALIDATION] Fields not updating numberOfInvalids count

2008-12-14 Thread Jörn Zaefferer
Could you provide a simplified example that gives focus to the actual problem here? Jörn On Sat, Dec 13, 2008 at 9:16 PM, Jet wrote: > > Hi, > > It's kind of difficult for me to explain for English is not my native > language. > > I'll explain it briefly and refer you to the actual page. > > If

[jQuery] Re: Multiple plugins in same namespace?

2008-12-14 Thread Balazs Endresz
There are even two small plugins that enable you to do it quite easily: http://groups.google.com/group/jquery-dev/browse_thread/thread/b2f784b7575456dc/0cd276379f8a2f7d?show_docid=0cd276379f8a2f7d On Dec 13, 9:27 pm, Marion wrote: > Hi Mike, > > Thanks! all good suggestions. I went with >  $('#