Re: [jQuery] Selectors and Internet Explorer

2009-12-10 Thread Karl Swedberg
Hi Rob, According to Microsoft's "HTML and DHTML Reference," IE's onclick event (as well as others) doesn't apply to the option element: http://msdn.microsoft.com/en-us/library/ms536913%28VS.85%29.aspx --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec

[jQuery] validating

2009-12-10 Thread newbieal
I have a jsp page that contains 2 set of check boxes (these are generated with a for loop, so values are assigned at runtime). I want to make sure that at least one check box is selected from either set. I have this for validation: $(document).ready( function() { $("#aForm").validate({

[jQuery] Re: validate

2009-12-10 Thread Marcuus
Bugger it Ill go back to doing it the old fashioned way. Ive wasted 2 days on this pluggin. I was wondering what the b stood for in bassisstance! M. On Dec 10, 10:44 am, Marcuus wrote: > Hi > > I am using validation plugin with a submodal dialogue form. > > It works really well except on the seco

[jQuery] Re: Selectors and Internet Explorer

2009-12-10 Thread RobG
On Dec 11, 7:12 am, "Josh Nathanson" wrote: > Maybe try closing the option tag? The closing tag is optional, there are numerous elements that don't need closing tags in HTML. -- Rob

[jQuery] Re: AND OR Expression

2009-12-10 Thread RobG
On Dec 11, 5:46 am, MorningZ wrote: > > This isn't working out for me " > > Expecting it to? > > First post you were comparing:  string > string...  which isn't going > to work Why not? If the strings are digits that convert to numbers, it will "work". Granted it isn't particularly robust, but:

RE: [jQuery] Re: AND OR Expression

2009-12-10 Thread Rick Faircloth
I know...helping can be a pain...but try to be patient and remember back when you didn't understand how jQuery worked. It takes some getting used to the principles and techniques and it's easy to forget what it's like to be a beginner. -Original Message- From: jquery-en@googlegroups.com [m

RE: [jQuery] Re: AND OR Expression

2009-12-10 Thread Rick Faircloth
I'm able to help, too, but by the time I read messages there are usually responses... Anyway, you don't have to care what *I* think, but you should care what those you are trying to help think. Attitude is as important as knowledge... -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Selectors and Internet Explorer

2009-12-10 Thread MorningZ
I don't know if this is overly simplified for your situation, but this is what i mean http://jsbin.com/oreqa/edit the second is driven/filled by the ".val()" of the first On Dec 10, 7:23 pm, MorningZ wrote: > > What I'm trying to do is update a second select box with options that > > are spec

[jQuery] Re: Selectors and Internet Explorer

2009-12-10 Thread MorningZ
> What I'm trying to do is update a second select box with options that > are specific to options in the first box So why not use $("#parentMenu").val() ?? that will give you the value of the selected (or $("#parentMenu option:selected").text() if you need the text) to drive the second select

[jQuery] Re: AND OR Expression

2009-12-10 Thread MorningZ
On Dec 10, 2:59 pm, "Rick Faircloth" wrote: > Demeaning attitude...real helpful...just make people feel stupid when > they request help. Great community building skills, Z... Not my intent he wasn't comparing apples to apples, and didn't get this... *twice* not like a give a care what you

[jQuery] Re: AND OR Expression

2009-12-10 Thread MorningZ
On Dec 10, 2:59 pm, "Rick Faircloth" wrote: > Demeaning attitude...real helpful...just make people feel stupid when > they request help.  Great community building skills, Z... Not my attempt not like a give a care what you think of me anyways i'm at least able to help on this forum

[jQuery] Re: Selectors and Internet Explorer

2009-12-10 Thread rob
option tags are closed, i just didn't write them in here... @MorningZ: What I'm trying to do is update a second select box with options that are specific to options in the first box. Basically, a linked menus program. What was happening was all browser except IE were handling the event function

Re: [jQuery] How to use jGrowl's "theme" option?

2009-12-10 Thread stimpy77
Wolfram Rösler wrote: > > > Hello, > > does anyone have an example how to use jGrowl's "theme" option? I want > to use display error messages in red and tried the following: > > $.jGrowl('My error message',{theme: 'jgError'}); > > with the following in my css file: > > .jgError > { > col

Re: [jQuery] Re: AND OR Expression

2009-12-10 Thread Richard D. Worth
var tdval = parseInt(td4th.text(), 10); //base 10 if ( (tdval > 4) || (tdval > 2 && activeCEO == 'Yes') ) - Richard On Thu, Dec 10, 2009 at 3:26 PM, evanbu...@gmail.com wrote: > If I knew what I was doing, why would I be asking for help? I already > know what doesn't work. That's why I posted th

[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-10 Thread discern
No problem, but I think I should correct my previous comment. This is unnecessary if your menu is id"nav" as it would do nothing, as it assumes your unordered list has the CLASS of sf-menu: $("ul.sf-menu").superfish({ autoArrows: false }); And the first superfish block in my example above shoul

[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-10 Thread mikeromana
discern YOU Rule! Thank you so much! And thank you for being thoughtful enough to include "This assumes your superfish menu unordered list has an id of "nav."" Because that threw me off! Wishing you great karma. :) On Dec 10, 4:07 pm, discern wrote: > You can put it right after the place where

RE: [jQuery] Selectors and Internet Explorer

2009-12-10 Thread Josh Nathanson
Maybe try closing the option tag? -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of rob Sent: Thursday, December 10, 2009 12:54 PM To: jQuery (English) Subject: [jQuery] Selectors and Internet Explorer I'm having some problem w

[jQuery] Re: Selectors and Internet Explorer

2009-12-10 Thread MorningZ
> "Any Ideas" IE probably totally fails to recognize the "class" set on an tag, you *may* try $("#parentMenu > option[parentMenu]").click(); regardless if that would or wouldn't work, what are you trying to accomplish? simply setting the value of the object and firing off whatever "click()" w

[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-10 Thread discern
You can put it right after the place where you call superfish to begin with. It's just a built-in option for superfish. For example the top of your document might look something like this: My Page $('#nav').superfish({ delay:750, speed:'fast' }); $('#nav>li>a span').r

[jQuery] Selectors and Internet Explorer

2009-12-10 Thread rob
I'm having some problem with selectors in Internet Explorer. I have this demo setup that is basically a modified "linked menus" application. When you select something from one menu, it updates the contents in it's child menu. For some reason Internet Explorer will not read the correct selector.

[jQuery] Re: AND OR Expression

2009-12-10 Thread evanbu...@gmail.com
If I knew what I was doing, why would I be asking for help? I already know what doesn't work. That's why I posted the question. Is this right? if parseInt((td4th.text() > 4)) || (parseInt((td4th.text())) > 2 && (activeCEO == 'Yes')) On Dec 10, 2:46 pm, MorningZ wrote: > > This isn't working out

[jQuery] Document traversing with jQuery + HTML 5 drag and drop

2009-12-10 Thread eid
Hello. I am coding some HTML 5 drag and drop support where the user can drag images from a library to a textarea, and the necessary HTML to include the image will then be added. The addition of the html is done through a function that takes a element as an argument and then does the rest. The pr

[jQuery] Re: addClass('floatsToRight') doesn't work, but .css('float', 'right') does

2009-12-10 Thread MorningZ
that would have been my suggestion as well Firebug would be a huge help for you here, as "floatsToRight" will show in the "HTML" tab as over ridden if that's the case On Dec 10, 2:54 pm, Leonardo K wrote: > Maybe you have a style that override the float right property. > > 2009/12/10 Łukasz

RE: [jQuery] Re: AND OR Expression

2009-12-10 Thread Rick Faircloth
> "Expecting it to?" Demeaning attitude...real helpful...just make people feel stupid when they request help. Great community building skills, Z... Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Thursday, December

Re: [jQuery] addClass('floatsToRight') doesn't work, but .css('float', 'right') does

2009-12-10 Thread Leonardo K
Maybe you have a style that override the float right property. 2009/12/10 Łukasz Podolak > Hey, > > I have one css clas, that looks like this: > > .floatsToRight { >float: right; > } > > my jquery code is doing the following: > $('ul.gallery li:not([class="main"]) div.title:even').addCla

[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-10 Thread mikeromana
Can someone please be kind enough to let me know where to make the changes so that I can remove the arrows from the submenu. I have tried real hard to figure it out but I can't figure out where to make the changes. Do I make the changes in the superfish.js, the superfish-navbar.css file? Where wou

[jQuery] Re: AND OR Expression

2009-12-10 Thread MorningZ
> This isn't working out for me " Expecting it to? First post you were comparing: string > string... which isn't going to work Follow up post after blowing right over Richard's suggestion, you are comparing string > number, which *still* isn't going to work... and this line doesn't make any s

[jQuery] Re: tabs not working (initializing) in IE6

2009-12-10 Thread MorningZ
It's difficult to help when you provide nothing but "doesn't work"... the tabs definitely *do* work in IE6, but apparently you do not have it coded correctly On Dec 10, 1:46 pm, xelflex wrote: > Hello all! > > I'm working on a project that uses jquery tabs, which are cool and > all, but they don

[jQuery] Re: Traversing Help

2009-12-10 Thread T.J. Simmons
Back at work, and it works like a charm. Thanks very much. - T.J. On Dec 10, 12:41 pm, "T.J. Simmons" wrote: > Well the other errors don't exist in my live code; I just typed up the   > page on jsbin real quick before a meeting to show what my problem was.   > I appreciate you fixing that. :) >

[jQuery] Re: simple accordion problem

2009-12-10 Thread mojoeJohn
b/c i can't ever seem to get the ui accordion to work on my wordpress. it works fine on my html demo page but not on the wordpress page.

[jQuery] Re: AND OR Expression

2009-12-10 Thread evanbu...@gmail.com
This isn't working out for me var td4th = parseInt($('td:nth-child(4)', jQuery (this))); if (td4th.text() > 4) || ((td4th.text() > 2 && (activeCEO == 'Yes')) td4th.addClass(bgColor); If I do this, it works if (td4th.text() > 4) td4th.addClass(bgColor); but once I add the rest beyon

[jQuery] Re: Webkit Not Load External Files?

2009-12-10 Thread dejan
I have the same problems. Webkit don't support the jquery load funktionality I dont know why. THX Dejan On 29 Nov., 13:54, MarkNadal wrote: > You know something is wrong when Internet Explorer 6 and 7 work just > as perfectly as FireFox... > But Chrome and Safari mess up. > > Easy exp

[jQuery] tabs not working (initializing) in IE6

2009-12-10 Thread xelflex
Hello all! I'm working on a project that uses jquery tabs, which are cool and all, but they don't work in IE6 (which I know is a lame browser, but it's part of the requirement.) I've been asked to research it and I thought I'd just ask the group for input. It's a straight use of jquery tabs (not

[jQuery] addClass('floatsToRight') doesn't work, but .css('float', 'right') does

2009-12-10 Thread Łukasz Podolak
Hey, I have one css clas, that looks like this: .floatsToRight { float: right; } my jquery code is doing the following: $('ul.gallery li:not([class="main"]) div.title:even').addClass ('floatsToRight') however, this class is not applied. Instead, if I use the direct css, it works: $('ul

[jQuery] jQuery, $.ajax and reCAPTCHA

2009-12-10 Thread Brett Alton
I'm trying to get jQuery to asynchronously load my recaptcha module, but it doesn't seem to like the fact that "echo recaptcha_get_html ($publickey);" spits out a mixture of HMTL and Javascript. Here's the code I am trying: $.ajax({ url: "inc/captcha.php",

[jQuery] Re: jquery conflict with prototype

2009-12-10 Thread Scott Sauyet
On Dec 9, 8:33 pm, "i...@atlantagraphicdesign.net" wrote: > can someone help with the nocoflict function. Did you read this document?: http://docs.jquery.com/Using_jQuery_with_Other_Libraries I'd suggest that the simplest thing would be to put prototype first, then jQuery, followed by a scr

Re: [jQuery] Re: Traversing Help

2009-12-10 Thread T.J. Simmons
Well the other errors don't exist in my live code; I just typed up the page on jsbin real quick before a meeting to show what my problem was. I appreciate you fixing that. :) And ah, that would make sense. I couldn't think of why .prev() wouldn't work but like I said, not the best at traver

[jQuery] Re: jQuery $.post() over subdomains (created using mod_rewrite) NOT WORKING!

2009-12-10 Thread Nishan Karassik
You could post it to a scripting file (php etc) then have that forward the post onto the correct page, but don't use a variable in the JQuery code for the forwarding page for obvious security issues. On Dec 10, 9:11 am, MorningZ wrote: > if > > http://<<< domain where AJAX call is made from>>> >

[jQuery] Re: Traversing Help

2009-12-10 Thread Scott Sauyet
On Dec 10, 12:36 pm, "T.J. Simmons" wrote: > Sorry, the right link ishttp://jsbin.com/ekuyo It would probably be better to fix the other errors before posting an example. But I was in a good mood. :-) http://jsbin.com/ivoyi (code http://jsbin.com/ivoyi/edit) The problem is that "prev" ret

Re: [jQuery] Superfish - content out of position

2009-12-10 Thread Mauricio (Maujor) Samy Silva
This isn't a jQuery issue. This is a CSS issue. Add the following: table.blog {float:left;} #footer {clear:both;} Regards Maurício -Mensagem Original- De: luciano991 Para: jQuery (English) Enviada em: quinta-feira, 10 de dezembro de 2009 16:20 Assunto: [jQuery] Superfish -

[jQuery] Re: Superfish - content out of position

2009-12-10 Thread Virgil Spruit
You're on the wrong forum. This is a CSS problem. Try adding a clear:left to #mainContent. That should solve it. On 10 dec, 19:20, luciano991 wrote: > Hello, > > I am wondering why my superfish menu is pushing my content out of > postion on this page: > > http://www.vtweb.com/joomla/perennialsan

[jQuery] Re: NEED HELP::siblings isssue in jquery

2009-12-10 Thread Greg Tarnoff
Easier yet, give your UL an ID then $('#myID li a').click(function() { $('#myID li a').removeClass("bg"); $(this).addClass("bg"); }); --Greg

Re: [jQuery] AND OR Expression

2009-12-10 Thread Richard D. Worth
Convert with parseInt and then compare int to int instead of strings https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Global_Functions/ParseInt - Richard On Thu, Dec 10, 2009 at 12:26 PM, evanbu...@gmail.com wrote: > I having trouble with this line > > if (td4th.text() > '4') || (

Re: [jQuery] Re: Traversing Help

2009-12-10 Thread T.J. Simmons
Even fixed my code to traverse is wrong somehow; that's the core of the issue. The code in the example page was more to show the body of the problem, but I'll get that fixed when I return from lunch. Thanks. T.J. Simmons Sent from my iPhone On Dec 10, 2009, at 12:19 PM, "Mauricio \(Maujor\)

Re: [jQuery] Drag and Drop for Shopping cart

2009-12-10 Thread seopositive2
Baird wrote: > > I think you use wordpress plugin it is better in use i also usually this > it is cheap in use. > > --- > http://dramaticsmiles.com teeth whitening > http://dramaticsmiles.com teeth whitening products > > http://www.irentcanada.ca/ Calgary apartments for

Fwd: [jQuery] Problem with dynamic loading of

2009-12-10 Thread jayakumar ala
Hi All, I am having the problem with dynamic loading of tag. Coping the div tag rightly but not able to call the jquery.MultiFile.js dynamically. any help ..?? var divTagTemplate ; $(document).ready(function(){ divTagTemplate = document.getElementById('addVal1').cloneNode(true); $(

Re: [jQuery] Re: jquery numeric spinner and jqueryui tabs

2009-12-10 Thread Richard D. Worth
You may want to bring this up on the jQuery UI list http://groups.google.com/group/jquery-ui A live sample page would help. If you don't have a place to host one, use jsbin.com:: http://jsbin.com/ - Richard On Thu, Dec 10, 2009 at 10:15 AM, Jason Meckley wrote: > Richard, thank you, but that

[jQuery] Superfish - content out of position

2009-12-10 Thread luciano991
Hello, I am wondering why my superfish menu is pushing my content out of postion on this page: http://www.vtweb.com/joomla/perennialsantiques/ Thanks, luciano

Re: [jQuery] Re: Traversing Help

2009-12-10 Thread Mauricio (Maujor) Samy Silva
Firebug points out the following: 1-) There is a missing ( $("#test").click(function) { should be: $("#test").click(function () { 2-) and say more: $detais is not defined. Fix these issues Regards Maurício -Mensagem Original- De: T.J. Simmons Para: jQuery (English) Envi

Re: [jQuery] fading

2009-12-10 Thread Charlie Griefer
Show us yours, first :) On Thu, Dec 10, 2009 at 6:32 AM, jnf555 wrote: > hi > i am trying to ceate a page where one image fades in over another int > the same position > > can anyone show me the code > thanks > jnf555 > -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as

[jQuery] (autocomplete) Full value is typed in, not clicked, then focus goes

2009-12-10 Thread Kendric Beachey
I have a form where you use the autocomplete box to choose a value. As long as you mouse-click the value or TAB to another field, it seems like everything works fine. But if you fully type the entire value of something in the list and then click on another field and start typing over there, it see

[jQuery] fading

2009-12-10 Thread jnf555
hi i am trying to ceate a page where one image fades in over another int the same position can anyone show me the code thanks jnf555

[jQuery] Position()

2009-12-10 Thread Paulodemoc
Hello guys, i started another thread about the FullCalendar plugin, and I've noticed what's happening. The css 'top' and 'left' properties from the css aren't being calculated properly... The functions to calculate that uses the 'position()' function of jquery, but it is always returning 0, 1 or -

[jQuery] Re: Traversing Help

2009-12-10 Thread T.J. Simmons
Sorry, the right link is http://jsbin.com/ekuyo On Dec 10, 11:32 am, "T.J. Simmons" wrote: > Hi all, > > I'm pretty bad at DOM traversing (can't get hierarchies right in my > head, I guess) and I'm in a situation where it's basically my only > option to get the value that I need. > > Here's some

[jQuery] Re: FullCalendar

2009-12-10 Thread Paulodemoc
There's something odd happening, I'll ask for help on another thread with the proper subject On Dec 10, 1:08 am, mani ashok wrote: > Hi, > > Yes, I am using in one of my site. I think the issue is in the json-events > file. Please check whether json renders properly and let us know. > > On Wed, D

[jQuery] Traversing Help

2009-12-10 Thread T.J. Simmons
Hi all, I'm pretty bad at DOM traversing (can't get hierarchies right in my head, I guess) and I'm in a situation where it's basically my only option to get the value that I need. Here's some example HTML of what I'm trying to do. http://jsbin.com/uxofo with the basic formula of MID: and the fo

[jQuery] AND OR Expression

2009-12-10 Thread evanbu...@gmail.com
I having trouble with this line if (td4th.text() > '4') || (td4th.text() > '2' && (activeCEO == 'Yes')) In plain English, I want it to be true if td4th > 4 OR td4th > 2 AND activeCEo = 'Yes' Thanks $('#tblBoardDirectors tr').each(function() { var relStatus = ($('td:nth-child

[jQuery] Re: jQuery $.post() over subdomains (created using mod_rewrite) NOT WORKING!

2009-12-10 Thread MorningZ
if http://<<< domain where AJAX call is made from>>> is different than http://<<< domain where AJAX call is made to>>> even if it's just a "sub"-domain, it is not going to work as you are breaking the cardinal rule of browsers: client side script cannot call another domain like this doesn't m

[jQuery] Re: Linked Menus Help

2009-12-10 Thread rob
So everything seems to work now, except in Internet Explorer. I tested out the application in FF3, Safari4, Chrome3, and Opera10... They all work fine. It's just IE8 (both modes). It's almost like the event on the selector doesn't trigger. Same as earlier, but I'm using live(). I tried switchi

[jQuery] Re: NEED HELP::siblings isssue in jquery

2009-12-10 Thread Scott Sauyet
On Dec 10, 1:56 am, Bideshi wrote: > i've a little issue related to siblings in jquery, > i'm using sibling to deselect the previous selected link after > clicking on the new link, but it's now working, > please let me know where i'm missing. > [ ... ] >                 $("a").click(function(){ >

[jQuery] jQuery $.post() over subdomains (created using mod_rewrite) NOT WORKING!

2009-12-10 Thread Pj
Hi there, I've configured mod_rewrite rules to have pseudo sub domains for pages. I discovered that when i try to send a $.post() request to an absolute path, the function() which needs to be executed after a successful $.post, doesn't execute. In my code, it stays at "Please wait... " stage. Aft

[jQuery] Re: plugin good structure with params

2009-12-10 Thread Imre Farkas
Thank for all, it was usefull! On dec. 10, 15:57, Rafał Pocztarski wrote: > 2009/12/10 Imre Farkas : > > > > > Now when i call  i do it so > > > > > $(document).ready(function() { > >        $("#progresbar-bar").hide(); > >        $("#procent").hide(); > >        $("#progresbar-bar").progresbar(

[jQuery] Re: simple accordion problem

2009-12-10 Thread Jason Meckley
why not use http://jqueryui.com/demos/accordion/ On Dec 10, 11:05 am, mojoeJohn wrote: > thanks for the explanation. my accordion works fine but i was wanting > to reduce it's sensitivity. i tried putting return false but it didn't > help much.  any other suggestions? > > On Dec 10, 10:02 am, Mor

[jQuery] Re: huge drop down

2009-12-10 Thread Scott Sauyet
You might look at a plug-in like: http://code.google.com/p/dropdown-check-list/ Good luck, -- Scott

[jQuery] Re: simple accordion problem

2009-12-10 Thread mojoeJohn
thanks for the explanation. my accordion works fine but i was wanting to reduce it's sensitivity. i tried putting return false but it didn't help much. any other suggestions? On Dec 10, 10:02 am, MorningZ wrote: > if you have > > $("#links li").hover(function(){ >      var hoveredOverLI = this;

Re: [jQuery] huge drop down

2009-12-10 Thread fachhoch
It does not work in IE , what should I do for IE ? Bideshi wrote: > > hi there, > > it's so simple to do this, just add a style in your drop down control, > " > " > > > -- > > > > On Dec 10, 6:48 am, fachhoch wrote: >> My page got a very big dro

[jQuery] Re: Unexpected append behavior

2009-12-10 Thread Scott Sauyet
On Dec 10, 8:31 am, Charlie wrote: >  no idea how I missed that, I certainly know better One other thing that might make your life easier is the "this" context of "each". You can rewrite the body of your loop as a pretty clean one-liner: $(data.statelist).each( function() { $("#job_

[jQuery] Re: jquery numeric spinner and jqueryui tabs

2009-12-10 Thread Jason Meckley
Richard, thank you, but that didn't work. for the same reasons as before. if I try to reload the tab I am viewing then it doesn't work. I dug around some and found 1. why this is happening 2. a hack to make it work. 1. if I attempt to selected the selected tab and collapsible is false the operatio

[jQuery] Re: bug with jquery 1.4 a1

2009-12-10 Thread MorningZ
Some advice: 1) If you think this is a bug with 1.4 alpha itself, it's said in the blog post announcing it's release to use the bug tracking feature to report bugs 2) If you think it's an issue with BlockUI, specifying this fact in the title would help catch the attention of the plugin author, an

[jQuery] Slide Show: PHP framework with jQuery-like syntax

2009-12-10 Thread xwisdom
Hello, I've release a new version of Raxan for PHP which makes use of jQuery for Ajax and DOM manipulations. You can have a look at the slide-show here: http://raxanpdi.com/slide-show-raxan-for-php.html Best regards, __ Raymond Irving

[jQuery] Re: simple accordion problem

2009-12-10 Thread MorningZ
if you have $("#links li").hover(function(){ var hoveredOverLI = this; }); then "this" is a reference to the item the user hovered over so then $("ul", this) will select tags that are "in context" of "this" (meaning that "this is an ancestor") $(this).find("ul") is the same selector,

[jQuery] Re: previous

2009-12-10 Thread Scott Sauyet
On Dec 8, 4:17 am, lennon1980 wrote: > Cheers..thats pretty cool.  One more thing actually..I need the element to > be a div..how do I add this to the selector This might do it: var item = $("#feature").prevAll("div[class]:first"); Cheers, -- Scott

[jQuery] Re: simple accordion problem

2009-12-10 Thread mojoeJohn
could you explain how to read $("ul", this).slideUp("slow"); the ("ul", this) has me confused. i just want to make sure i learn something from this instead of just copying and pasting code. thanks! On Dec 10, 9:34 am, mojoeJohn wrote: > thanks so much it worked perfectly!!! > > On Dec 10, 3:

[jQuery] Re: simple accordion problem

2009-12-10 Thread mojoeJohn
thanks so much it worked perfectly!!! On Dec 10, 3:38 am, Bideshi wrote: > Hi mojeJhon, > Please try this > > - > > >         $(document).ready(function(){ >                 $("#links ul").hide(); >                         $("#links

Re: [jQuery] plugin good structure with params

2009-12-10 Thread Rafał Pocztarski
2009/12/10 Imre Farkas : > Now when i call  i do it so > > > $(document).ready(function() { >        $("#progresbar-bar").hide(); >        $("#procent").hide(); >        $("#progresbar-bar").progresbar(procent=0,manual=false); > }); > > > My question: how can i make this to be a good writed struc

[jQuery] Re: plugin good structure with params

2009-12-10 Thread MorningZ
First off $("#progresbar-bar").progresbar(procent=0,manual=false); isn't correct anyways, it would be: $("#progresbar-bar").progresbar(0, false); as for your question, this article is a great guide to writing plugins *and* thoroughly answers your question about params and defaults: http://www.

[jQuery] Re: I want to show specific area after selecting an item from combo

2009-12-10 Thread Parvez
Any one here to help? i need this help badly On Dec 9, 5:55 pm, Parvez wrote: > Hello, > In brief i want to visible specific area whn user will select an item > from combo list. Example: > please check this linkhttp://www.phpwing.com/demo/paymentForm/form.php > when user will click a destination

[jQuery] [blockui] bug with jquery 1.4 a1

2009-12-10 Thread OALite
$('#item').block({message:(function(o){ var c=$('#alert').clone(); return c; })(this)}); do not work with jquery 1.4 a1 error info by firefox 3.5 Error: uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMViewCSS.getComput

Re: [jQuery] Unexpected append behavior

2009-12-10 Thread Charlie
thanks,  no idea how I missed that, I certainly know better Lukas Pitschl | Dressy Vagabonds wrote: Hi Charlie, If you check your code, you'll see that you're not quoting your stateName value, hence the html code for your North Carolina option looks like this. NC what you want though, is

[jQuery] plugin good structure with params

2009-12-10 Thread Imre Farkas
I have my function (function($) { jQuery.fn.progresbar = function(procent_val,manual) { var non_dinamic=manual; var procent=procent_val; if (non_dinamic==false) { var auto_refresh = setInterval(

Re: [jQuery] Conflict at function data() of jquery 1.3.2 library and ui.core.js

2009-12-10 Thread Richard D. Worth
What exactly is the problem? - Richard On Thu, Dec 10, 2009 at 2:58 AM, cogitovn wrote: > Dear all, > I use both libraries: jQuery 1.3.2 and ui.core, ui.slider. Besides, > plugin (jquery) tool.tooltip (http://flowplayer.org/tools/ > tooltip.html ) is

[jQuery] jQuery AJAX Request with non-form Data

2009-12-10 Thread raji
Hi jquery users, I'm attempting to use jQuery to make an AJAX request. I'm able to successfully serialize form data from a POST submission and receive it on the server-side. However, I'd like to do something a little different. Rather than submitting form data, I'd like to submit the id from a

[jQuery] Re: simple accordion problem

2009-12-10 Thread Bideshi
Hi mojeJhon, Please try this - $(document).ready(function(){ $("#links ul").hide(); $("#links li").hover(function(){ $("ul", this).slideDown("s

[jQuery] Conflict at function data() of jquery 1.3.2 library and ui.core.js

2009-12-10 Thread cogitovn
Dear all, I use both libraries: jQuery 1.3.2 and ui.core, ui.slider. Besides, plugin (jquery) tool.tooltip (http://flowplayer.org/tools/ tooltip.html) is also in use. At 2 different locations of the site, I call tooltip() function. The first, tooltip() call to $.data() of jQuery, line 1368 in jquer

[jQuery] Re: huge drop down

2009-12-10 Thread Bideshi
hi there, it's so simple to do this, just add a style in your drop down control, " " -- On Dec 10, 6:48 am, fachhoch wrote: > My page got a very big drop down list attached is the > imagehttp://old.nabble.com/file/p26720940/programs-drop-down.png

Re: [jQuery] How to make ajax call to subdomain

2009-12-10 Thread Rafał Pocztarski
2009/12/10 Kyle Decot > > How do i make a ajax call using $.ajax(); to a subdomain on my > website. I'm calling $.ajax() from www.example.com & the url for the > call is api.example.com Thanks for any information you can provide me > with. You can use JSONP (JSON with Padding, JSON with Callback

[jQuery] Re: here is my html

2009-12-10 Thread Bideshi
hi there, as u said the table part, you want it on the bottom of other 2 DIV's. so yo must need to add {clear:both} to clear the float before the table. "" i hope this may help you :) On Dec 10, 6:59 am, fachhoch wrote: > here is my html > > [CODE] >         > >                    

[jQuery] NEED HELP::siblings isssue in jquery

2009-12-10 Thread Bideshi
Hi there, i've a little issue related to siblings in jquery, i'm using sibling to deselect the previous selected link after clicking on the new link, but it's now working, please let me know where i'm missing. here is the HTML code: -

[jQuery] Problem with IE6, IE7 and jQuery TreeView plug-in

2009-12-10 Thread binod
I am using a jQuery plugin to draw the treeview, but the margin of the elements looks wrong in IE6 and IE 7, if name is too long to fit in div (this container div has "overflow: scroll;" ) the name come beneath the icon. I am not able to track it down. However this work fine in firefox and safar

[jQuery] jquery conflict with prototype

2009-12-10 Thread i...@atlantagraphicdesign.net
can someone help with the nocoflict function. I can't get it to work. i have a dynamic drop down menu using jquery. We just added the light view to view video. The prototyp.js file is conflicting with my menu. I read about implementing th no conflict, but i dont understand how to use it will all of

Re: [jQuery] Unexpected append behavior

2009-12-10 Thread Lukas Pitschl | Dressy Vagabonds
Hi Charlie, If you check your code, you'll see that you're not quoting your stateName value, hence the html code for your North Carolina option looks like this. NC what you want though, is to use quotes with the value so the output looks like this NC You have to change your js code to this $

[jQuery] Unexpected append behavior

2009-12-10 Thread Charlie
Creating a set of dropdowns for US states as follows: $.getJSON("../js/stateListJSON.txt",function(data){         $(data.statelist).each( function(i) {                 var stateAbbr = data.statelist[i].state;                 var stateName = data.statelist[i].name;                 $("#job_state

[jQuery] Re: Refactoring javascript

2009-12-10 Thread Marcuus
The best one ive come accross is http://www.yaldex.com/jsfactory_pro.htm It doesnt refactor but its resonably context sensitive. What we need is intellij for javascript and php for that matter. On Dec 10, 3:40 am, paulinstl wrote: > Anyone know of any software or web app that can help with refact

[jQuery] Re: How to get the responsetext with $.ajax

2009-12-10 Thread Satyakaran
var reponse = xhr.responseText; should not work inside $.ajax () as xhr is assigned after the call. On Dec 9, 6:55 pm, ftw wrote: > hi, > I'am using jquery to get a response from a php page, here it is : > > function verif(thediv) >         { >                 var xhr = $.ajax({ >                

[jQuery] Re: How to make ajax call to subdomain

2009-12-10 Thread Satyakaran
you can call php file on the same domain and from that php file get data from your subdomain page using php. On Dec 10, 1:33 pm, Dominik wrote: > i'm pretty sure this wont work because of the "same origin policy" as > i already mentioned in another thread: > > http://groups.google.com/group/rail

Re: [jQuery] selectedClass option in jQuery UI 1.7.2

2009-12-10 Thread Richard D. Worth
And if you have any future questions about jQuery UI, note there's a mailing list for it: http://groups.google.com/group/jquery-ui Thanks. - Richard On Thu, Dec 10, 2009 at 7:07 AM, Richard D. Worth wrote: > This decision was made as part of our creation and adoption of the jQuery > UI CSS Fr

Re: [jQuery] selectedClass option in jQuery UI 1.7.2

2009-12-10 Thread Richard D. Worth
This decision was made as part of our creation and adoption of the jQuery UI CSS Framework. This offers a set of generic widget classes that we use across all jQuery UI widgets, and we encourage others to make use of the same. Then all widgets can be themed with simplicity, using a pre-built theme,

Re: [jQuery] Problem with images loaded dynamically

2009-12-10 Thread Richard D. Worth
My guess would be to check and make sure the server is configured to send the appropriate mime-type for the file, based on the extension. - Richard On Mon, Dec 7, 2009 at 2:35 PM, jlee wrote: > Hi, > I'm stuck here - I'm trying to load images dynamically on my website, > but for some reason the

Re: [jQuery] huge drop down

2009-12-10 Thread Leonardo K
You can set the width with css. On Wed, Dec 9, 2009 at 23:48, fachhoch wrote: > > My page got a very big drop down list attached is the image > http://old.nabble.com/file/p26720940/programs-drop-down.png > > I need suggestions in reducing the width of this drop down , I cannot > replace the text

Re: [jQuery] jquery numeric spinner and jqueryui tabs

2009-12-10 Thread Richard D. Worth
On Wed, Dec 9, 2009 at 4:52 PM, Jason Meckley wrote: > > it appears that calling load programatically (rather than clicking on > the tab manually) does not call the show function. > In that case, you might try .triggerHandler('click') - Richard

  1   2   >