[jQuery] image toggle

2008-11-15 Thread bob
Hi, I am trying to create a toggler that I would like to work as follows: User clicks on #my_header and source of the image gets replaced. I tried the following but it did not work. div title=show/hide id=my_header img src=images/arrow_down.gif/ spanSome title here/span /div

[jQuery] [autocomplete] where did the doc go?

2008-11-15 Thread thierry
Hey guys, I hope it's just I can't find it anymore, but where's the (complete) doc on autocomplete? The plugin page on jQuery seems pretty light (http://docs.jquery.com/Plugins/Autocomplete), and the official page redirects to this new jQuery page. If I remember correctly, there was a list of

[jQuery] Please Help me regarding Webservice method call via saop client

2008-11-15 Thread Hassan
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://tempuri.org/GetSessionParts. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest () at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest

[jQuery] jCarousel with links

2008-11-15 Thread Savvas
Hello everybody I like to know if is it possible to make anchor tags instead of img via changing the xml file created by the asp page. http://2244.gr/scripts/jcarousel/examples/dynamic_ajax_asp.html http://2244.gr/scripts/jcarousel/examples/dynamic_ajax.asp function

[jQuery] Re: Nesting toddle div's

2008-11-15 Thread Richard D. Worth
This should work: $(div.togglecontainer div.togglebutton).click(function() { $(this).siblings(div.toggletarget).slideToggle(); }); $('div.toggletarget').hide(); A couple of notes: - I combined your first two selectors into one - I've used .click(fn) in place of .bind(click,

[jQuery] Re: My cycle plugin code

2008-11-15 Thread Mike Alsup
I hope you enjoy the plugin as much as I do! Thanks for the kind words, Girish. I'm happy to hear you've found the Cycle plugin so useful. Cheers!

[jQuery] Re: [autocomplete] where did the doc go?

2008-11-15 Thread Jörn Zaefferer
You're looking for this, right? http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions Jörn On Sat, Nov 15, 2008 at 3:49 AM, thierry [EMAIL PROTECTED] wrote: Hey guys, I hope it's just I can't find it anymore, but where's the (complete) doc on autocomplete? The plugin

[jQuery] Re: [validate] Two page form won't validate on IE

2008-11-15 Thread Jörn Zaefferer
Yes, thats right. Usually the process of extracting already reveals the problem to the extractor... Jörn On Fri, Nov 14, 2008 at 9:05 PM, Michael Smith [EMAIL PROTECTED] wrote: Hi, I've added some validate() calls now. I assumed that this wasn't necessary when I explicitly call valid() but

[jQuery] Re: has anyone come across a plugin like this ?

2008-11-15 Thread Gildas
Take a look at MonoRail if you don't already know it ;-) http://castleproject.org/ On Nov 13, 7:28 pm, heysatan [EMAIL PROTECTED] wrote: Sean, Thanks!  I really feel that's how web 2.0 should be used, minimally and usefully.  I'll start working on the plugin next week, I'll try and have a

[jQuery] Re: My cycle plugin code

2008-11-15 Thread Rakibul Hasan
Looks really awesome. Happy to see it ! - Best Regards Rakib On Sat, Nov 15, 2008 at 6:37 PM, Mike Alsup [EMAIL PROTECTED] wrote: I hope you enjoy the plugin as much as I do! Thanks for the kind words, Girish. I'm happy to hear you've found the Cycle plugin so

[jQuery] Re: mooTools to jQuery conversion job

2008-11-15 Thread Balazs Endresz
That page has about three body and html tags so maybe you have to correct it to work, usage example at the bottom: http://jsbin.com/ibuje/edit It could have been done with UI's widget factory as well: http://docs.jquery.com/UI/Developer_Guide but no dependency this way. What compromises? :) On

[jQuery] Re: Validate. Can I validate using 2 values?

2008-11-15 Thread Alexsandro_xpt
And about form submit before to validate e-mail field? Do you know something about that? Thanks Alexsandro On 13 nov, 14:00, Jörn Zaefferer [EMAIL PROTECTED] wrote: The plugin doesn't support that. As a workaround, you can use jQuery's ajaxSend callback to add additional data to the

[jQuery] Identifying the tag

2008-11-15 Thread [EMAIL PROTECTED]
Hi All, Let's say we have the following set up where doSomething is a function: $(h1, h2, h3).doSomething(); How can one identify which tag is currently having something done to it? Thanks

[jQuery] Need JQuery guidence

2008-11-15 Thread bharani kumar
Hi Dear Friends I am new to jquery program, ya i already did small snipets in jquery, but am not expert , I very much intrested to learn Jquery from start point Ya i Read some tutorial like jquery.com, But i am basically very much intrested in discussions, Can any one tell me and send me ,

[jQuery] Re: Identifying the tag

2008-11-15 Thread Dave Methvin
$(h1, h2, h3).doSomething(); How can one identify which tag is currently having something done to it? Try the tagName property of the DOM element: $(h1, h2, h3).each(function(){ alert(this.tagName); });

[jQuery] Re: issue with jQuery's trigger function

2008-11-15 Thread Dave Methvin
After running the Webkit javascript debugger, I was able to trace it to the trigger function in jQuery: line #2041: elem[ type ](); That's where it's calling the native handler for that element. I guess prototype.js must hook into the native event handling and that causes it to trigger.

[jQuery] Re: has anyone come across a plugin like this ?

2008-11-15 Thread Pixelstuff
I am curious about what is running the forums on Biocompare. Vanilla maybe? It's so nice to see forums that are fully integrated into a site rather than the commonly seen implmentations of SMF, phpBB, and vBulletin. On Nov 15, 8:03 am, Gildas [EMAIL PROTECTED] wrote: Take a look at MonoRail

[jQuery] Re: Need JQuery guidence

2008-11-15 Thread CodingCyborg
http://codingcyb.org/jQueryFun/Robot/robotHumor.html http://codingcyb.org/jQueryFun/Robot/js/humor.js Its pretty simple, and shows a fun application. On Nov 15, 8:47 am, bharani kumar [EMAIL PROTECTED] wrote: Hi Dear Friends I am new to jquery program, ya i already did small snipets in

[jQuery] Why is width always zero?

2008-11-15 Thread Fluffy Convict
I'm rewriting my own javascript library to jQuery. A huge undertaking, but hopefully it will payoff in the future :) Anyways - I'm trying to write a function that takes the title-attribute of an image and inserts is as a caption: html head script type=text/javascript

[jQuery] Why is img_width always 0 (zero)?

2008-11-15 Thread Fluffy Convict
I'm rewriting my own js library to jquery functions. A huge undertaking, but hopefully worth it in the future :) Question: why does the script always return 0 for img_width? Logo.gif exists and moving the code to the end of the page (before the closing body-tag) doesn't help either. Any help

[jQuery] Why does img_width always return 0 (zero)?

2008-11-15 Thread Fluffy Convict
I'm rewriting my own js library to jquery functions. A huge undertaking, but hopefully worth it in the future :) Question: why does the script always return 0 for img_width? Logo.gif exists and moving the code to the end of the page (before the closing body-tag) doesn't help either. Any help

[jQuery] Re: Identifying the tag

2008-11-15 Thread donb
$(this).attr('tagName') or more simply, this.tagName. On Nov 15, 9:27 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, Let's say we have the following set up where doSomething is a function: $(h1, h2, h3).doSomething(); How can one identify which tag is currently having something

[jQuery] Why does img_width always return 0 (zero)?

2008-11-15 Thread Fluffy Convict
I'm rewriting my own js library to jquery functions. A huge undertaking, but hopefully worth it in the future :) Question: why does the script always return 0 for img_width? Logo.gif exists and moving the code to the end of the page (before the closing body-tag) doesn't help either. Any help

[jQuery] Re: Why is width always zero?

2008-11-15 Thread Karl Swedberg
could be that the images aren't finished loading by the time you're trying to get their width. Maybe putting your script inside a window load rather than document ready would help. I'm guessing, too, that the images don't have a width and height attribute explicitly set in the html.

[jQuery] Re: Why is width always zero?

2008-11-15 Thread Fluffy Convict
Thanks, setting the width explicitly helps. I am disappointed, though. Is there a way to read an image's width even without it being set explicitly? Secondly, I have a lot of little functions I use on my website, like these. Is there a way how I should rewrite them to jQuery? function

[jQuery] Re: A real modal window... is it possible?

2008-11-15 Thread Wagner
Hey friends... of course when I say about stop the flow of code, I mean to stop the flow of code that called the window, the flow would be passed to the window being drawn, the internal events of window, etc, etc, when I close the window, the flow should go back to the point that called the

[jQuery] Re: A real modal window... is it possible?

2008-11-15 Thread Wagner
thank you all for the answers... basically I will have to work with the callbacks! ;-) On Nov 15, 3:31 pm, Wagner [EMAIL PROTECTED] wrote: Hey friends... of course when I say about stop the flow of code, I mean to stop the flow of code that called the window, the flow would be passed to the

[jQuery] Re: image toggle

2008-11-15 Thread ricardobeat
The jQuery object has no 'src' property, use attr() to get the element's attributes, and you can only pass a single function to click (): $('#my_header').click(function(){ var $img = $(this).find('img'); var src = $img.attr('src'); var newsrc = /up\.gif$/.test(src) ?

[jQuery] Re: Why is img_width always 0 (zero)?

2008-11-15 Thread ricardobeat
If the image has no width set in CSS, it will equal 0. That happens because when ready() fires the image hasn't been loaded yet, so the browser has no idea of it's size. In this case you have to use the onload event. - ricardo On Nov 15, 11:59 am, Fluffy Convict [EMAIL PROTECTED] wrote: I'm

[jQuery] Re: jeditable, tablesorter work slow with livequery

2008-11-15 Thread tomek_swat
anyone has some idea? thx -- View this message in context: http://www.nabble.com/jeditable%2C-tablesorter-work-slow-with-livequery-tp20223996s27240p20518608.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] newbie jquery.load help wanted!

2008-11-15 Thread bumblebean
HI. I'm really new to jquery, and PHP for that matter. I'm trying to complete a school assignment, and I'm s stuck. What I'm trying to do is submit form data through jquery to a php page. The php works as intended when called outside of jquery. It basically takes some POST values, and writes

[jQuery] Re: livequery not binding to ajax loaded links in ie6 and ie7?

2008-11-15 Thread n00bert
Got it sorted. ie doesn't like the selector. Now using a different method, but still with livequery. Sorry to have bothered you Brandon, and thanks for such a powerful plugin. Sameer On Nov 14, 9:50 pm, n00bert [EMAIL PROTECTED] wrote: Hi Brandon, I've tried changing this code:

[jQuery] Double label issue in IE

2008-11-15 Thread bmclaughlin
Hello, I was investigating show/hide features with form elements and found this one by Scott Jehl the ever impressive Filament Group folks: http://www.alistapart.com/d/testprogressiveenhancement/demos/demo3.html At the bottom of the sample is an example of what I am looking forthe Dog/Cat

[jQuery] [HOWTO] Rewrite my own library functions to jQuery?

2008-11-15 Thread Fluffy Convict
I have a lot of little functions I use on my website, like these. Is there a standard way how I should rewrite them to jQuery? Could somebody give me an example with one of these functions to go by, using best practices? Your help would be greatly appreciated! function select_goto(obj, base_url)

[jQuery] add property name via a variable

2008-11-15 Thread Johnnie Walker
Hi, Is there any way to add a property named via a variable to a javascript object? this is what I would like to do: foo(bar); function foo(x) { window.x = 1; } -- so that the object window will end up with a property

[jQuery] Re: A real modal window... is it possible?

2008-11-15 Thread Berke
Sorry if this is a double post but the first time it gave me an error, This should work for you and creates a real Modal now if your looking for one of the fancier modals that are not actually windows use the callbacks like they described. if (IsDefined(window.showModalDialog)) {

[jQuery] Re: A real modal window... is it possible?

2008-11-15 Thread Berke
Doesn't this work? if (IsDefined(window.showModalDialog)) { //Handles IE6 7 retVal= window.showModalDialog(sPage,argsArr, sFeatures); } else { //Handles Firefox retVal=window.open(sPage,sFeatures+modal=yes); } Then in the window you can set:

[jQuery] safari chrome form plugin problem

2008-11-15 Thread led
My question is if someone report prroblems with form plugin and the ajaxsubmit? Don't work on both.

[jQuery] Modernized Portlets?

2008-11-15 Thread Shawn Grover
I found the jQuery Portlets at http://sonspring.com/journal/jquery-portlets. This appears to be outdated (makes use of the interface library for the sortables rather than ui.jquery...). Does anyone know if there is a more current version of this? And one that doesn't necessarily depend on

[jQuery] Re: Modernized Portlets?

2008-11-15 Thread Karl Swedberg
Hey Shawn, There is a rudimentary one in the jQuery UI demos: http://ui.jquery.com/repository/real-world/layout/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 15, 2008, at 5:31 PM, Shawn Grover wrote: I found the jQuery Portlets at

[jQuery] Re: this and z-index changes

2008-11-15 Thread CodingCyborg
Would it be plausible to create a custom tag of drag /drag? I think part of the problem is because all of the windows have 2 classes. One is the .draggableWindow the other defines the group they are in. With a custom tag it would allow for each to have one class. On Nov 14, 3:02 pm, CodingCyborg

[jQuery] help with jquery add/remove class

2008-11-15 Thread bjreed
Hello. I am new to JQuery, and I thought I'd try creating a small app to learn more. I've hit a problem that I cannot seem to fix. I have a right navigation bar with 8 floor plan links. When you click one, the accordian menu drops and shows some details (this works great), the other thing

[jQuery] Re: add property name via a variable

2008-11-15 Thread klkmva
Something like : -- function foo(x) { window[x] = 1; } foo('bar'); alert(window.bar); On 15 nov, 19:24, Johnnie Walker [EMAIL PROTECTED] wrote: Hi, Is there any way to add a property named via a variable to a javascript object?

[jQuery] Re: add property name via a variable

2008-11-15 Thread Theodore Ni
Something like this would work: foo(bar); function foo(prop) { window[prop] = 1; } Ted On Sat, Nov 15, 2008 at 1:24 PM, Johnnie Walker [EMAIL PROTECTED] wrote: Hi, Is there any way to add a property named via a variable to a javascript object? this is what I would like to do:

[jQuery] select a div with a specific value

2008-11-15 Thread Alfredo Alessandrini
I've a html page like this: div class=chess-board div id=casa style=position: absolute; top: 172px; left: 43px; value=b4/ div id=casa style=position: absolute; top: 172px; left: 86px; value=c4/ div id=casa style=position: absolute; top: 172px; left: 129px; value=d4/ div id=casa

[jQuery] Re: select a div with a specific value

2008-11-15 Thread Mauricio (Maujor) Samy Silva
Hi Alfredo, You can't, because the attribute *value* isn't a valid one for the div element in XHTML documents. And going further: 1-) The attribute *id* must be unique within a document. 2-) Avoid use inline styles. Regards Maurício I've a html page like this: div class=chess-board div

[jQuery] Re: select a div with a specific value

2008-11-15 Thread Alfredo Alessandrini
Hi Mauricio, whit this: $(div [value='f1']) work very good I can :-) Thanks, Alfredo

[jQuery] [HOWTO] Update IMG SRC after AJAX call?

2008-11-15 Thread Fluffy Convict
Using the following code in my CMS, I can grant or deny certain user groups access to a certain page. In this example, usergroup #1 has access to page #2. By clicking the image, the server will respond with role-1-2|icons/user-0.gif (0 meaning no access). In the admin of the site, I have many of

[jQuery] Re: select a div with a specific value

2008-11-15 Thread Mauricio (Maujor) Samy Silva
Yes I know. :-) But you is using an *invalid* document and this is the point. Regards Mauricio PS: You can developer an entiere site using *only* the span element and all jQuery selectors will work. -Mensagem Original- De: Alfredo Alessandrini [EMAIL PROTECTED] Para:

[jQuery] I am trying to fire functions for ui tabs before the show callback

2008-11-15 Thread tripdragon
Right now in this code it fires the hide(); after it has shown. So it flickers. And I do not seem to find a hide callback. Should I use a different system of tabs in the case that it can not do this? If so do you have any suggestions? http://www.pastie.org/315865 $(#gallery2).tabs({ fx: {

[jQuery] Re: image toggle

2008-11-15 Thread bob
Thanks ricardo, Is it possible to do something like this? It did not seem to work for me. var menu = ['home','news','sport','music']; for(var i=0; imenu.length;i++) { $('#'+menu[i]+'_header').click(function(){ alert(menu[i]+'_header clicked'); var $img

[jQuery] Re: Modernized Portlets?

2008-11-15 Thread Shawn Grover
Thanks Karl, but that is a poor imitation of what is needed (for my customer's needs). Or perhaps I'm not understanding how to work with that code quite right? I have a functional sample of what I'm after here http://grover.open2space.com/files/dev/panels/index.htm - click the

[jQuery] Re: Confirming submit using Validate plugin

2008-11-15 Thread FrenchiINLA
Add return false; in case of cancel function confSubmit(form) { if (confirm(Are you sure you want to submit the form?)) { $(#employmentForm).submit(); } else return false; -- }//End of confSubmit function On Nov 15, 3:03 pm, flycast [EMAIL PROTECTED] wrote: I have a long form where

[jQuery] Pause after .load request

2008-11-15 Thread [EMAIL PROTECTED]
Hello, I'm trying to fetch some data from a Perl script and have it begin to display as many times as there is data. More or less a data slideshow. The data is actually very visual, but at the moment, i dont want to implement a pause, forward/backward option, until I get the automatic option