[jQuery] Re: AJAX .load into an iframe - possible?

2007-10-15 Thread Larry Garfield
Don't use .load() to load an iframe. Just set the iframe object's src property and the browser will do it for you. $('#foo').attr('src', 'myurl'); I did that extensively on http://www.imamuseum.org/. Actually what I did there was have an iframe inside of a div, and the div would get hidden

[jQuery] AJAX .load into an iframe - possible?

2007-10-15 Thread Duncan Anker
I am attempting to create preview panes on a page which need to have their own separate stylesheets, and as such need to be loaded as external documents (or at least, I can't think of another way to do it). I have set up a couple of iframes -- ideally I'd sooner use objects to stay strict, h

[jQuery] Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-15 Thread dgt
It was difficult to decide where I should post this. I think the issue is with jQuery though, I'm certainly no pro with jQuery, having only a few months experience. Let me explain my problem. I'm using a form which has a file upload, and also sends standard text data. This form I wish to be aja

[jQuery] Re: How to bind data to the ajax callback function?

2007-10-15 Thread arphenlin
Wizzud, Thanks for your help. I can understand the problem is the scope of variables. My idea is to transfer the userData to $.get() and then I can get it back in the callback function without considering the variable scope problem. Isn't it more intuitive? On Oct 16, 1:24 am, Wizzud <[EMAIL PROT

[jQuery] Re: creating drop down menus with JQuery?

2007-10-15 Thread Sergei NZ
Also try these: http://test.learningjquery.com/dropdown.htm http://users.tpg.com.au/j_birch/plugins/superfish/ On Oct 16, 11:13 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a plug-in that allows for menu creatio in JQuery? > Specifically, I'm looking for something where

[jQuery] two subscriptions to the same group

2007-10-15 Thread rsmolkin
Hi All, This is strange, and I am not sure how it happened, but I think somehow I got 2 different subscriptions to this group, one as rsmolkin and one as pixelwizzard. I went to edit my membership and changed it to only get 1 daily e-mail, yet I am still getting every message posted. Any idea h

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-15 Thread Karl Swedberg
Olivier, You're right! Thanks a lot for the suggestion. When I tested in Firebug, it didn't look like there were a lot of "before" logs firing without the "after" logs, but even having it happen just a few times warrants the extra ":animated" condition in there. Thanks again for testing

[jQuery] Re: Is there a way to wrap a table around content with jQuery?

2007-10-15 Thread Chris - Implied By Design
Thank you all for your responses, I ended up using Jeffrey's suggestion, and it works well. It took me a while to figure out that you couldn't add partial elements with the API. I'm glad that there's a workaround! :) Thanks again, folks!

[jQuery] Unexpected behaviour with interface sortable

2007-10-15 Thread Neff
I've only just started playing with JQuery the past two days so I've probably missed something. I'm using the interface plugin to create a set of divs sortable by dragging. (I'm using interface rather than UI because as I understand it UI only allows sortable lists). The odd behaviour can bee se

[jQuery] Re: Problems with jQuery loaded from JSP

2007-10-15 Thread Michael Geary
I can't tell you what is wrong without seeing the page (can you post links to the working and broken versions?), but I can tell you this: There is no such thing as a JSP page when we're talking about jQuery, JavaScript, CSS, and other client-side technologies. By the time the page reaches the bro

[jQuery] Re: Is there a way to wrap a table around content with jQuery?

2007-10-15 Thread Wizzud
An alternative ... $(['Content' ,'' ,'More Content' ,''].join('')) .insertAfter('#target').find('td:eq(1)').append($('#target')); On Oct 15, 10:17 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > Tricky problem. I found one way, but there MUST be an easier way. > Demo:http://www.commad

[jQuery] Re: Is there a way to wrap a table around content with jQuery?

2007-10-15 Thread Jeffrey Kretz
What do you think of this? $('img.toWrap').each(function(i) { var img = $(this); var table = $('Content\ More Content'); table.insertBefore(img); table.find('td.imageHere').append(img); }); JK From: jque

[jQuery] Re: How to suck web content from an iframe to a div

2007-10-15 Thread juliandormon
Thanks Mike, That makes sense. And what if it was the same domain? This is also the case with our new site. I should have been more specific. I apologize. malsup wrote: > > > Julian, > > You cannot access the contents of an IFrame which is sourced from a > different domain. This is part of

[jQuery] Re: How to suck web content from an iframe to a div

2007-10-15 Thread Mike Alsup
Julian, You cannot access the contents of an IFrame which is sourced from a different domain. This is part of the browser's cross-domain security model. Mike On 10/15/07, juliandormon <[EMAIL PROTECTED]> wrote: > > > Hoping anyone can help. > I use a custom scroll bar jquery plug-in which req

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

2007-10-15 Thread Mike Alsup
Tom, "toggle" prevents the default event action so the anchor is not followed when you click it. Mike On 10/12/07, tlob <[EMAIL PROTECTED]> wrote: > > Hello > > I am working with the fantastic JQuery Cycle Plugin. Thank you very > much for creating such great librarys! > I am almost there

[jQuery] Re: creating drop down menus with JQuery?

2007-10-15 Thread Chris Jordan
check out jdMenu . It's pretty cool. Chris On 10/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > Is there a plug-in that allows for menu creatio in JQuery? > Specifically, I'm looking for something where when you roll over an > arrow gr

[jQuery] creating drop down menus with JQuery?

2007-10-15 Thread [EMAIL PROTECTED]
Hi, Is there a plug-in that allows for menu creatio in JQuery? Specifically, I'm looking for something where when you roll over an arrow graphic, a menu will pop up beneath it. I do not need submenus to pull out over individual menu items. Thanks for any advice, - Dave

[jQuery] How to suck web content from an iframe to a div

2007-10-15 Thread juliandormon
Hoping anyone can help. I use a custom scroll bar jquery plug-in which requires the content to be within a DIV. Some of the content I want to load is from other web sites. I am pretty sure it is possible to load the content into a hidden iframe and then, once it has finished loading, suck the d

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread koollx
$(parent).append(state.html) did the trick - thanks a ton polyrythmic!

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-15 Thread Guy Fraser
Kia Niskavaara wrote: > Maby you can use the data: URI kitchen to construct your own data: URLs? > > Like this: > logo.src = > 'data:image/gif;base64,R0lGODlhDQAOAJEAANno6wBmZgAAACH5BAAA'+ > > 'LAANAA4AQAIjjI8Iyw3GhACSQecutsFV3nzgNi7SVEbo06lZa66LRib2UQAAOw%3D%3D'; > > More info:

[jQuery] Re: Ajax tabs detect automatically

2007-10-15 Thread Klaus Hartl
On 15 Okt., 20:05, zorba <[EMAIL PROTECTED]> wrote: > last question, > > it seems that triggerTab() is no more useful. > How can I replace it please? > > thanks It has changed to tabsClick() in Tabs 3... Documentation: http://docs.jquery.com/UI/Tabs --Klaus

[jQuery] Problems with jQuery loaded from JSP

2007-10-15 Thread Iorlas
Hi! New to jQuery and have successfully managed to use the ajax functionality from an HTML page. The problem is that I want to use it from a JSP page. The JSP page is identical to the HTML page, but it seems that jQuery stops working from the JSP page. At least all JavaScript evaluation stops wor

[jQuery] Re: Jquery Plugin for TinyMCE

2007-10-15 Thread Sam Sherlock
have you got a copy of previous versions of jQ? Have you tried using the compatibly plugin ? suggestions not sureties. theres a editor being made as part of UI but I guess that might take a while On 15/10/2007, wattaka <[EMAIL PROTECTED]> wrote: > > > I´ll need some help on this because I´m get

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread polyrhythmic
> Should I just use DOM's createElement() and appendChild() directly? > Or use innerHTML? > And would it execute

[jQuery] Re: Is there a way to wrap a table around content with jQuery?

2007-10-15 Thread Glen Lipka
Tricky problem. I found one way, but there MUST be an easier way. Demo: http://www.commadot.com/jquery/wrapTable.php# Maybe try the flydom plugin? Glen On 10/15/07, Chris - Implied By Design <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm running into some trouble trying to wrap a table around

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-15 Thread Olivier Percebois-Garve
Hi although there is many things unclear to me in animations, ":animated" seems to work right. I suggest the addition of a case around the code in your slideTabs() function : if (!$this.next().is(':animated')) With console.log(), I noticed that over events are being fired far more often

[jQuery] Re: Duplicate IDs

2007-10-15 Thread Karl Swedberg
Hi chrisandy, No need to apologize. We're glad to help. You can apply a clueTip to anything you want. It doesn't have to reference an ID. For example, if you want to apply it to all links inside , you could do it like this: $('ul.uk a').cluetip({sticky: true}); -- and put in any other opt

[jQuery] Is there a way to wrap a table around content with jQuery?

2007-10-15 Thread Chris - Implied By Design
Hello, I'm running into some trouble trying to wrap a table around some content. The table looks like this: Content [image to be wrapped around] More Content I've been experiementing with the most of the API DOM manipulation functions, but none of them seem to do the trick. I'd like to use so

[jQuery] Get date from table cell

2007-10-15 Thread jy_nl
Hi all, I have a html table which is generated with some php scripts. It is a list of events. One of the cells of each row contains a date (in the format dd-mm-). What I want now is to select all the events (rows) which have been done and I want to assign a class to each of such a row. The p

[jQuery] Re: Ajax tabs detect automatically

2007-10-15 Thread zorba
last question, it seems that triggerTab() is no more useful. How can I replace it please? thanks

[jQuery] Duplicate IDs

2007-10-15 Thread chrisandy
Please forgive me but I'm very new to all this and was just building a page to handle multiple instances of the clueTip 'sticky' effect (example 4 on the demo page). The big problem I get is that I have to use: The EstelleThe Estelle is a lovely 3 bedroom property with more details to go in her

[jQuery] Re: jquery version of YUI Buttons?

2007-10-15 Thread owen
Coming back to this issue, I spent some time today playing around with ext's toolbar with menus example: http://extjs.com/deploy/dev/examples/menu/menus.html. Seems to work really well, but writes everything (including a table!) from javascript rather than working off of existing markup. But if

[jQuery] Re: Ajax tabs detect automatically

2007-10-15 Thread zorba
well, you're right, the way I use tabs in these pages is not exactly what it was built for. I use it as a Client-side pagination. Works nice that way also. So I got confused when I finally found the reasons of non-working upgrade, and I apologise that you lost your time because of me. There were

[jQuery] [NEWS] liScroll Plugin

2007-10-15 Thread GianCarlo Mingati
Hi all. http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html This is my scrolling news ticker plugin for jQuery. Ciao GC

[jQuery] Re: [NEWS] Coda-Slider Plugin

2007-10-15 Thread Howard Jones
Rey Bango wrote: It could be that he didn't have Safari 2.0 to work with. I'm sure if you contact him and offer to help him test, he would be very receptive and appreciative of your offer. Rey... Sorry, that did sound more bitchy that it should have, didn't it? The second remark (about IE5

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread Jeffrey Kretz
I'm just throwing this out here -- haven't tested this for performance and this may be way off base for what you need. So here goes nothing. What if you: 1. Created a hidden div on the page (style="display:none") 2. Have the ajax call return updates as html, with the changes having a new class,

[jQuery] Re: [NEWS] Coda-Slider Plugin

2007-10-15 Thread Rey Bango
It could be that he didn't have Safari 2.0 to work with. I'm sure if you contact him and offer to help him test, he would be very receptive and appreciative of your offer. Rey... Howard Jones wrote: Although ironically it doesn't work on Safari 2.0 , unlike Panic's version and the softwar

[jQuery] Re: How to bind data to the ajax callback function?

2007-10-15 Thread Andy Matthews
Probably when Apple tried to get into the browser business too. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Wizzud Sent: Monday, October 15, 2007 12:24 PM To: jQuery (English) Subject: [jQuery] Re: How to bind data to the ajax callback funct

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

2007-10-15 Thread Tobias Parent
Umm... What exactly do you mean by the link is not working? The href points to a non-existent in-page anchor point, but it *is* doing what you're asking, by toggling the slideshow on and off. I'm assuming you want to point the slideshow to the appropriate clicked image, right? In this case, y

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread koollx
Thanks for your suggestion. I think it may help but it won't completely solve the problem. Let me give a little background on what I'm actually trying to do. In response to an Ajax call the server returns an array of component updates that need to be applied to the page. Updates include DELETE, IN

[jQuery] Re: [NEWS] Coda-Slider Plugin

2007-10-15 Thread Jeferson Koslowski
Yep, its very nice and its already in the plugins page ( http://jquery.com/plugins/project/Coda-Slider). Im waiting to when its become compatible with jquery 1.2 (as the author says in the limitations tab). On 10/15/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > That's really nice. Works well

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread koollx
Thanks for the suggestion. I can try it but I think it won't do the same thing I was doing earlier. Let me give a little background on my algorithm. The server sends a list of changes to the page and the client script has to apply. Changes can be delete, insert and update. The markup sent by the s

[jQuery] Re: JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread Brian Talbot
Hey Glen, Thanks for the feedback. My bad about overbloating things and asking a bit too much (as well as the three repeat posts - it wasn't on purpose) :o) I've simplified the example and it looks like things work in this example - http://brian-talbot.com/inventingroom/ng-jquery-expand/ What th

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread koollx
Thanks for your suggestion. I think it may help but it won't completely solve the problem. Let me give a little background on what I'm actually trying to do. In response to an Ajax call the server returns an array of component updates that need to be applied to the page. Updates include DELETE, IN

[jQuery] Is this valid JSON?

2007-10-15 Thread Frank Peterson
[ { "ads": true, "content_slug": "just-some-title" } ]

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread polyrhythmic
I was only suggesting PasteMonkey because you had a lot of HTML to paste and a large amount of code is hard to read through Groups, Groups fudges the formatting and doesn't do syntax highlighting. Plus, it's a jQuery project :-). The problem is in the HTML, kind of. When you create a DOM element

[jQuery] Re: How to bind data to the ajax callback function?

2007-10-15 Thread Wizzud
It's not ambiguous at all. Your problem is not with the $.get() but with the code around it. $.get() does exactly what it is intended to do - it fetches a single 'page' (of some sort) and provides you with the mechanism for handling that page when successfully retrieved. You are trying to handle m

[jQuery] Re: [NEWS] Coda-Slider Plugin

2007-10-15 Thread Howard Jones
Although ironically it doesn't work on Safari 2.0 , unlike Panic's version and the software it advertises. When did Safari become the new IE5? Glen Lipka wrote: Very nice. :) Glen On 10/15/07, *Andy Matthews* <[EMAIL PROTECTED] > wrote: That's really nice.

[jQuery] Re: [NEWS] Coda-Slider Plugin

2007-10-15 Thread Glen Lipka
Very nice. :) Glen On 10/15/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > That's really nice. Works well in IE7/PC. Looks really nice too, > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Rey Bango > Sent: Sunday, October 14, 2007 11:

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

2007-10-15 Thread tlob
anyone? On Oct 12, 3:16 pm, tlob <[EMAIL PROTECTED]> wrote: > 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 thumbn

[jQuery] Re: JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread Glen Lipka
It's hard to follow all the details. Maybe post a simpler example. Trim down the page until all that is left is the problem. No graphics, no excess html. Literally, delete stuff one at a time until you can demonstrate the simplest form of the issue. We are here for you, but you gotta meet us hal

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

2007-10-15 Thread Glen Lipka
My IE7 was almost identical. FF2 gave 219 293 (which meant that the non-tweaked version was faster) Strange its all over the place. Glen On 10/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I got those results : > > FF 2.0.0.7 > final time (less is better) 941 653 > > IE6 wi

[jQuery] .clone(true) not working in IE

2007-10-15 Thread Eridius
What my code does is you click on the link and it re orders these divs, here is the part of my code having trouble new_div[x] = $('#hotel_information [EMAIL PROTECTED]:eq(' + div_index + ')').clone(true); then: for(x = 0; x < div_length; x++) { $('#hotel_information').append(new_div[x]); }

[jQuery] Re: Using multiple versions of jQuery on the same page

2007-10-15 Thread Jonathan Sharp
A URL would be helpful for debugging. -js On 10/15/07, airslim <[EMAIL PROTECTED]> wrote: > > > Actually it does make sense... but its not working, for my case : > var jq = jQuery.noConflict(true); > > throws an arror with firebug -> "jQuery is not a constructor". > >

[jQuery] Re: Using multiple versions of jQuery on the same page

2007-10-15 Thread airslim
Actually it does make sense... but its not working, for my case : var jq = jQuery.noConflict(true); throws an arror with firebug -> "jQuery is not a constructor".

[jQuery] draggable and droppable tabs

2007-10-15 Thread scottnath
I am trying to create draggable/droppable tabs. I've got it partly built, but I'd love some community input on this. A working model can be seen here: http://scottnath.com/tabs/draggable_tabs.html Below I will paste the jquery code I'm using. First, here are some issues I'm running into that I

[jQuery] Re: Access "parent page" from ajax generated html

2007-10-15 Thread Mark
It did work! I will keep digging. Sorry for the premature post. On Oct 14, 6:35 am, Mark <[EMAIL PROTECTED]> wrote: > The example code there doesn't do everything it needs to test this > out. > I the part between the and needs to be > retrieved by ajax > > I guess I could put that in and see i

[jQuery] Re: iframe bug document.defaultView.getComputedStyle(elem,null)

2007-10-15 Thread romalley
Skilip, Thank you for this posting! We ran into the exact problem and your fix killed the bug in minutes. I do hope it makes it into the official jQuery.js release. Bob On Oct 11, 3:41 am, Skilip <[EMAIL PROTECTED]> wrote: > Hi, I found a bug with jQuery version 1.2. It concerns the following

[jQuery] JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread briantalbot
Hi All, I'm having a bit of trouble implementing a show/hide bit of JQuery JavaScript and was wondering if anyone had any ideas or advice that may help. On this page http://tinyurl.com/33wksr (my apologies for the missing content and overall clunkiness of the page - its been copied out of the N

[jQuery] Re: Using multiple versions of jQuery on the same page

2007-10-15 Thread George
I'll try to be a bit more clear. There's a couple of simple rules. Whenever you include jQuery, it will take anything already in the $ and jQuery variables and back them up so it can install itself in the $ and jQuery variables. When you call noConflict(true), jQuery (the version that is in the $

[jQuery] Re: Interface iAutoscroller and DOCTYPE

2007-10-15 Thread NiKo
On 18 sep, 17:06, real <[EMAIL PROTECTED]> wrote: > hm is no one else experiencing this problem? I do, and it's weird. I did not found a solution as my javascript skills are what they are but I guess this should be patched as the feature is really helpful. ++

[jQuery] Re: Problem with each()

2007-10-15 Thread Potluri
Hi I dont undrestand what ur trying to do exactly. but from my understanding ur trying to take the html value of duration class ans increment it by 1 and then again put back the html value like... 1 2 3 4 So after looping it should be 2 3 4 5 Is this what ur trying to do. Ur loop will do exac

[jQuery] Re: Jquery Plugin for TinyMCE

2007-10-15 Thread wattaka
I´ll need some help on this because I´m getting errors: I saved this from the page as tinymce.js // tiny MCE - //jQuery plugin for accessible, unobtrusive WYSIWYG HTML editing // v .1 // by Alton Crossley // http://www.nogahidebootstrap.com/jtinymce/ $.fn.tinymce = function(options) { r

[jQuery] Re: $.ajax({datatype:"html"... does not seem to evaluate scripts?

2007-10-15 Thread Vikas patial
Hi Well had to change datatype to script , then it was working. But still not working with HTML datatype. Vikas On Oct 14, 8:48 pm, "Michael Schwarz [MVP]" <[EMAIL PROTECTED]> wrote: > $("#myid").html("bold  defer=\"defer\">alert(1);"); > > Maybe this does help you, not tested. > > Michael > >

[jQuery] Re: ajax success arguments

2007-10-15 Thread Karl Swedberg
On Oct 15, 2007, at 9:01 AM, Giovanni Battista Lenoci wrote: On Oct 15, 2:58 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: The docs are incorrect. Your ajaxSuccess handler is passed three arguments: 1. The event object 2. The XHR 3. The settings object Thank you very much Mike, I was

[jQuery] Re: Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery

2007-10-15 Thread Alexandre Plennevaux
AMAZING ! i would suggest to add a "games" or "jqMuscles" category . it's a very specific and probably seldom use plugin, but it really shows off some powerful javascript muscles ! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Stoltze Sen

[jQuery] Re: ajax success arguments

2007-10-15 Thread Giovanni Battista Lenoci
> Sorry for the rough answer, might be able to help more if I know what > the server response looks like. > > Rob Thank for your answer Robert, but in my case I want to retrieve the data sent to the request, and not the data receveid. In my case I use the ajaxSuccess event and then the right ans

[jQuery] Re: Jquery Plugin for TinyMCE

2007-10-15 Thread wattaka
whoop! Thanks guys. On Oct 14, 5:56 pm, "内山紀明" <[EMAIL PROTECTED]> wrote: > Hi, > > jq-tinyMCEhttp://dev.jquery.com/wiki/Plugins/tinyMCE > > "gives you a unobtrusive way to tack-on tinyMCE WYSIWYG HTML > editing to any form. Simply:$('.classname').tinymce()" > > enjoy. > > 2007/10/15, wattaka <[E

[jQuery] Re: Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery

2007-10-15 Thread Andy Matthews
That's REALLY well done. Plus the demo looks fantastic! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Stoltze Sent: Sunday, October 14, 2007 11:25 AM To: jQuery (English) Subject: [jQuery] Announce: jqPuzzle - Customizable Sliding Puzzles

[jQuery] Re: ajax success arguments

2007-10-15 Thread Robert O'Rourke
Giovanni Battista Lenoci wrote: Hi, I'm looking on the doc, but I've a doubt about the ajaxSuccess event. In docs says: The XMLHttpRequest and settings used for that request are passed as arguments to the callback. But in wich form? I think is an object, but can you help me unders

[jQuery] Re: ajaxForm adding parameters to the success option function

2007-10-15 Thread Tom
Thanks Mike, I did not see your very quick reply before I got to send my second mail. That answers me questions nicely Cheers Tom On Oct 15, 3:09 pm, Tom <[EMAIL PROTECTED]> wrote: > Well that was quick, divine intervention is not to be underrated. > > The javascipt "this" keep word works for w

[jQuery] Re: [NEWS] Coda-Slider Plugin

2007-10-15 Thread Andy Matthews
That's really nice. Works well in IE7/PC. Looks really nice too, -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Sunday, October 14, 2007 11:39 PM To: jQuery Discussion Subject: [jQuery] [NEWS] Coda-Slider Plugin Found a jQuery

[jQuery] Re: ajaxForm adding parameters to the success option function

2007-10-15 Thread Tom
Well that was quick, divine intervention is not to be underrated. The javascipt "this" keep word works for what I need. So I am no longer in a fix but would still like to know how to pass extra parameters to this function On Oct 15, 2:56 pm, Tom <[EMAIL PROTECTED]> wrote: > Hi > > I know that

[jQuery] Re: ajaxForm adding parameters to the success option function

2007-10-15 Thread Mike Alsup
Tom, Try rewriting that using a closure to capture the button: function button_click(myform){ var button_output = '#' + myform.id + '_output'; var options = { target:button_output, beforeSubmit: loading, success:function(responseText, statusText) {

[jQuery] Re: ajax success arguments

2007-10-15 Thread Giovanni Battista Lenoci
On Oct 15, 2:58 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > The docs are incorrect. Your ajaxSuccess handler is passed three arguments: > > 1. The event object > 2. The XHR > 3. The settings object > Thank you very much Mike, I was going crazy :-)

[jQuery] Re: ajax success arguments

2007-10-15 Thread Mike Alsup
The docs are incorrect. Your ajaxSuccess handler is passed three arguments: 1. The event object 2. The XHR 3. The settings object $().ajaxSuccess (function(ev, xhr, s) { alert('event type: ' + ev.type); alert('status: ' + xhr.status); alert('url: ' + s.url); }); Mike On 10/15

[jQuery] ajaxForm adding parameters to the success option function

2007-10-15 Thread Tom
Hi I know that the success function has 2 default parameters but how do I add a custom parameter? 1 - A user clicks a form (with a ID of TOM) button 2 - The loading function gets called which just adds a class to a div with the ID of TOM_output. 3 - Then ajax requests comes back with success and

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-15 Thread Kia Niskavaara
Leandro Vieira Pinho wrote: > The question about the gif track, is that I was avoiding other > settings and definition URL in CSS file. I want mantaining all the > information about URL in the js file. It stay more flexible. I´m > thinking about it. Maby you can use the data: URI kitchen to cons

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-15 Thread Kia Niskavaara
I tried to use $('#gallery a').lightBox({ 'imageBtnPrev' : 'images/image-prev.gif', 'imageBtnNext' : 'images/image-next.gif' }); But the "imageLoading"-image became empty. I had to put the default image into the configuration to make it visible again. Like this: $('#gallery a').lightBox({

[jQuery] ajax success arguments

2007-10-15 Thread Giovanni Battista Lenoci
Hi, I'm looking on the doc, but I've a doubt about the ajaxSuccess event. In docs says: > The XMLHttpRequest and settings used for that request are passed as arguments > to the callback. But in wich form? I think is an object, but can you help me understand how is structured? In my particula

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-15 Thread Leandro Vieira Pinho
Hi Kia, You don´t need to inform all parameters. Just what you want to use. The others default values will be keeped. In your case, you can use: ... $('#gallery a').lightBox({ 'imageBtnPrev' : 'images/image-prev.gif', imageBtnNext' : 'images/image-next.gif' }); ... Remember, the others default

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-15 Thread Leandro Vieira Pinho
Hi Erlend, Thanks again for your suggestions. The question about the gif track, is that I was avoiding other settings and definition URL in CSS file. I want mantaining all the information about URL in the js file. It stay more flexible. I´m thinking about it. The questions aground #jquery-nnn i

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-15 Thread Erlend Schei
I have played around quite heavily with 0.3 now. The code cleanup was great, your code is very easy to follow! As you seem responsive to feedback, here's a few findings: 1) You should get rid of the 0.3-introduced ___just-anything-here.gif consept. Although it's apparently working well, it intro

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-10-15 Thread Kia Niskavaara
Hi! Thanks for your plugin! Some issues: - Specifying options "imageBtnPrev" and "imageBtnNext" seems to alter other options as well. I would prefer to use the default values on the options that I don't use. But it seems as if I have to specify all or none to make it work. - On your "How t

[jQuery] Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery

2007-10-15 Thread Ralf Stoltze
Hi all, First post, first plugin! http://www.2meter3.de/jqPuzzle/ jqPuzzle lets you easily turn regular images into sliding puzzles. The puzzles are highly customizable (number of rows/cols, hole position, initial appearance, controls, animation speeds) and can be styled individually. See http

[jQuery] JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread Brian Talbot
Hi All, I'm having a bit of trouble implementing a show/hide bit of JQuery JavaScript and was wondering if anyone had any ideas or advice that may help. On this page http://tinyurl.com/33wksr (my apologies for the missing content and overall clunkiness of the page - its been copied out of the NG

[jQuery] Re: Combo with images

2007-10-15 Thread sgrover
I haven't looked at code, but I'm willing to bet this combo is a fake combo - done with divs and some styling. In which case, embedding an image is as simple as including an img tag in the div for the list item. I've written code similar to this type of list where I needed a short list, alway

[jQuery] .wrap when targeting a frame generates an error in IE

2007-10-15 Thread Brook Davies
I tested some code in IE7 today and ran into a strange problem with the jQuery .wrap method. I have narrowed it down to this function failing when targeting a frame like this: curContext = $('#mPreviewFrame')[0].contentWindow.document; $('#mydiv',curContext).wrap(''); This generates an er

[jQuery] Re: Binding bug ?

2007-10-15 Thread Flesler
Thanks for replying but no, this was happening after I used unbind, in any case, someone answered the ticket I opened, saying that bug was already discovered and should be fixed by now. Thanks again. On Oct 13, 4:17 am, sgrover <[EMAIL PROTECTED]> wrote: > I've seen this in situations where the e

[jQuery] Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery

2007-10-15 Thread Ralf Stoltze
Please ignore this if this is a duplicate post, but it seems that my first one didn't make it... --- Hi all, (First) post, first plugin! http://www.2meter3.de/jqPuzzle/ jqPuzzle lets you easily turn regular images into sliding puzzles. The puzzles are highly customizable (number of rows/cols,

[jQuery] Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery

2007-10-15 Thread Ralf Stoltze
Hi all, First post, first plugin! http://www.2meter3.de/jqPuzzle/ jqPuzzle lets you easily turn regular images into sliding puzzles. The puzzles are highly customizable (number of rows/cols, hole position, initial appearance, controls, animation speeds) and can be styled individually. See http

[jQuery] JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread Brian Talbot
I'm having a bit of trouble implementing a show/hide bit of JQuery JavaScript and was wondering if anybody had any ideas or advice that may help. On this page http://tinyurl.com/33wksr (my apologies for the missing content and overall clunkiness of the page - its been copied out of the NG CMS tha

[jQuery] Newbie question: Create a horizontal slide effect to switch between two divs

2007-10-15 Thread squawk
I have two divs, both with their own id. If necessary, I can wrap them in a container element. I would like to achieve an effect as on http://www.hugeinc.com/casestudies/ but am not quite sure how to start. Should I hide the later div first? or position it absolutely outside the container div with

[jQuery] $.ajax() only passes the first parameter

2007-10-15 Thread M3Mania
I'm using $.ajax() because the results include some javascript which I need evaluated. (BTW, i'm passing it via POST) Using jQuery.post() works fine, but jQuery.ajax passes only the first parameter regardless of how you pass the data in. For example: var data = [{name: "id", value: cd_id}, {name

[jQuery] Re: Flash and jQuery

2007-10-15 Thread Pyrolupus
I originally thought that it was just Flash and JavaScript interaction, in which case you'd use the getUrl('javascript:yourfunc()') ActionScript statement, but it sounds more like you just want your previously working links to continue working the way you remember them. I skimmed the sIFR docs an

[jQuery] Announce: jqPuzzle - Customizable Sliding Puzzles with jQuery

2007-10-15 Thread Ralf Stoltze
Please ignore this if this is a duplicate post, but it seems that my first one didn't make it... --- Hi all, (First) post, first plugin! http://www.2meter3.de/jqPuzzle/ jqPuzzle lets you easily turn regular images into sliding puzzles. The puzzles are highly customizable (number of rows/cols,

[jQuery] Re: Permission denied to set property XULElement.selectedIndex

2007-10-15 Thread M3Mania
It sounds like you're trying to access restricted resources using Javascript. Assuming you're using Firefox, you can change a setting that would permit scripting access, although it could cause security problems: type "about:config" in the address bar and hit return Make sure that the setting "s

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

2007-10-15 Thread sukhminder
Below is the code I am using and the file contents: Menu from where file is being loaded on being clicked: Batala Include file and javascript: function loadContent(filename) { $("#contentbox").load(""+filename+""); $("#contentbox #city

[jQuery] Re: Jquery Plugin for TinyMCE

2007-10-15 Thread 内山紀明
Hi, jq-tinyMCE http://dev.jquery.com/wiki/Plugins/tinyMCE "gives you a unobtrusive way to tack-on tinyMCE WYSIWYG HTML editing to any form. Simply:$('.classname').tinymce()" enjoy. 2007/10/15, wattaka <[EMAIL PROTECTED]>: > > Has the TinyMCE plugin been taken down? I have searched all over for

[jQuery] Problem with each()

2007-10-15 Thread Jan
Hi, I'm experiencing a problem with each(): function CalculateDuration() { $(".duration").each(function() { var dur = $(this).html(); dur++; $(this).html(dur); }); } This function should take the value of fields tagged with .durat

  1   2   >