[jQuery] Re: Menu: ypSlideOutMenus

2008-03-30 Thread Glen Lipka
Or this http://users.tpg.com.au/j_birch/plugins/superfish/ Glen On Sun, Mar 30, 2008 at 5:00 PM, chrbar <[EMAIL PROTECTED]> wrote: > > Hello, > > I use the Dhtml Menu ypSlideOutMenus built by Aaron Boodman. > I love this menu and its drop down style, it's customizable and > compatible with major

[jQuery] Re: Menu: ypSlideOutMenus

2008-03-30 Thread Glen Lipka
Hows this? http://jdsharp.us/jQuery/plugins/jdMenu/ Glen On Sun, Mar 30, 2008 at 5:00 PM, chrbar <[EMAIL PROTECTED]> wrote: > > Hello, > > I use the Dhtml Menu ypSlideOutMenus built by Aaron Boodman. > I love this menu and its drop down style, it's customizable and > compatible with major browse

[jQuery] Re: Checkbox Validation

2008-03-30 Thread Priest, James (NIH/NIEHS) [C]
I highly recommend Jorn's plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ If you check out his demos: http://jquery.bassistance.de/validate/demo/ He has an example of this... see the Topics/newsletter relationship on the second example. Jim -Original Message- Fr

[jQuery] Re: accessing iframe window object

2008-03-30 Thread Michael Geary
Given a frame element in "frame", it's: frame.contentWindow for the window, or: frame.contentWindow.document for the document. e.g. $('#myframe')[0].contentWindow -Mike > From: elesueur > > I have a set of iframes which are accessed the following way > (example): > > $('#' + windowID

[jQuery] Re: bind() and thousands of elements - inline or extrnal?

2008-03-30 Thread Michael Geary
If you have thousands of td's, that code is going to be very very slow. It makes an array of all the TD elements and then attaches an event handler to every one of them, one by one. You would get *much* better performance by attaching a single event handler to the table itself, then using event.t

[jQuery] Re: accordion doesn't work with more than one paragraph per heading

2008-03-30 Thread Karl Swedberg
Are you the one who asked this same question on learningjquery.com? If so, please take a look at my answer there: http://www.learningjquery.com/2007/12/questions-and-answers-from-the-list Thanks, --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 29

[jQuery] Re: Need less generic code than $("form")[1].reset();

2008-03-30 Thread Karl Rudd
This should work: $('#editingform')[0].reset(); Karl Rudd On Mon, Mar 31, 2008 at 1:40 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have one form on my page, and it has an id, and is contained in a > div with an id, however I tried calling the form with it's id then > using "reset(

[jQuery] Re: Small program works in FF but not in IE7

2008-03-30 Thread Karl Swedberg
Not sure, but have you tried closing the tags that you're creating? var elt1 = $('hello').attr('id','myId').addClass('myClass'); var elt2 = $(''); etc. Give that a shot. If it doesn't help, let us know and we'll take a closer look. --Karl _ Karl Swedberg www.englishrules.c

[jQuery] Re: cluetip on Safari Mac throws error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7

2008-03-30 Thread Karl Swedberg
Hmm. Not sure. Might it have something to do with an ajax request? Are you testing it on a page that resides on your local machine? Are you getting the same error on this page? ... http://plugins.learningjquery.com/cluetip/demo/ It's working fine for me here with Safari 3.1 Mac. If it's a

[jQuery] Re: superfish horizontal code not available

2008-03-30 Thread Joel Birch
Hi Garry, Sorry about that. I changed the name of that file to superfish-horizontal.css and did not update the links that appear in the copy. Thanks for alerting me to this - I've fixed those links now. The file you are after is here: http://users.tpg.com.au/j_birch/plugins/superfish/all-horizon

[jQuery] Custom element attributes generated by a plugin

2008-03-30 Thread Eric Martin
I'm *considering* adding a custom attribute for elements created in a plugin and wanted to know what the general feeling is on this. I'm guessing any opposition to the idea would be based on the fact that it wouldn't validation (if someone were to extract the DOM and run that through a validator)

[jQuery] Checkbox Validation

2008-03-30 Thread Chris
Hello, I want to validate some inputs but only if a certain checkbox has been checked, whats the best way to do that? Thank you, Chris

[jQuery] cluetip on Safari Mac throws error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7

2008-03-30 Thread Krittick
Safari on mac is throwing this error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7 When using any method to call the tooltip function. Safari Windows has no issues, nor does any other browser. Any ideas?

[jQuery] Working with treeView

2008-03-30 Thread ripple_27
Has anyone seen or worked with treeView where with using a right click menu you could add branches to expand the tree? I have been working on getting a custom tree app built but keep running in roadblocks up down the branches. I know that the treeView demo has an add feature, but I need somethin

[jQuery] Modal suggestion?

2008-03-30 Thread Shawn
Yet another modal question. But this one is slightly different.. :) I have an existing application that was built before Ajax was really an option and using the showModalDialog() function in IE. I'm in the process of changing the app to be cross browser. So, I'm looking for a quick and easy

[jQuery] jQuery in IE7

2008-03-30 Thread Tolik Piskov
Hello! I was trying to start learning jQuery, but faced a problem: ready event doesn't work in IE7, but works fine in Firefox and Safari. ...

[jQuery] validation of tow types

2008-03-30 Thread yazid
hi there, the validation plugin is very useful, but how can we use it if submitting the form depended on the result of a javascript function, for exemple, to send a message we use the plugin to validate the text boxes but to know wether the sold is enough o rnot we use a java script function, how

[jQuery] superfish horizontal code not available

2008-03-30 Thread Garry
Hi, I get error when i try to access horozontal.css. The requested URL /j_birch/plugins/superfish/all-horizontal-example/ horizontal.css was not found on this server Appreciate if i can get code for the same. Thanks, Garry

[jQuery] Efficiency problem with updating entries in a table

2008-03-30 Thread Holger Bast
I have the following efficiency problem: I want to update entries in a table, say those with class "xyz". Here are two variants A and B. A. Rebuild the complete inner html of the table in a string table_html and then call $("table").html(table_html). B. Update the cells in question via $("td.

[jQuery] Need less generic code than $("form")[1].reset();

2008-03-30 Thread [EMAIL PROTECTED]
I have one form on my page, and it has an id, and is contained in a div with an id, however I tried calling the form with it's id then using "reset()" and it stopped working. All I'm asking for is a way to reset my form, rather than using a generic array with an arbitrary index. I need better co

[jQuery] Update input box with slider value

2008-03-30 Thread danwednesday
Hi, This really should be simple, but I just can't get it to work. I just want an HTML input box to show the value of a slider as the handle is sliding. It can be done really easily with Scriptaculous (as is seen in the demo here: http://www.aldenta.com/examples/script.aculo.us/slider-text-fie

[jQuery] Re: java porting?

2008-03-30 Thread chrismarx
i think you might be looking for something like rhino http://www.mozilla.org/rhino/ or maybe this http://ejohn.org/projects/bringing-the-browser-to-the-server/ On Mar 30, 4:32 pm, ClaudeFr <[EMAIL PROTECTED]> wrote: > Hello! > First, thanks for the wonderful validation plugin :-) > Then, wha

[jQuery] Re: bind() and thousands of elements - inline or extrnal?

2008-03-30 Thread pedalpete
Hi Leeoniya, I'm not sure exactly what you are trying to do, but I've got a large table, and when a user clicks on a cell, i pass the id of that cell to a function. No binding, no inline functions. mine works like this, i hope it helps, though it is pretty basic. [code] $("td").click(function(

[jQuery] Re: Drop Down Menus and Applets

2008-03-30 Thread Bryan Wilson
I'm using Java applets for SAP xMII 11.5. Their documentation says to use Java 1.4.2_13 and the the tag (not or ). I don't like any of it, but I have to use it. So far my only solution is to hide the applets when a user is in the navigation menu. This works, but I'd rather not have to hide th

[jQuery] Fading image memory leak (what am I doing wrong?)

2008-03-30 Thread markie
Hi, So I have this script that copies a node, then uses an ajax call to load a new image into the new node. Then once the image is done loading, fades the old image out. After that, it removed the old node. Works great on my mac, but IE has a horrible memory leak. I verified the leak with DRIP.

[jQuery] Re: Modals - What's everyone using?

2008-03-30 Thread Eric Martin
I can only speak for SimpleModal, where all of the styles are customizable. There aren't any default styles other than the ones needed for the proper displaying of the dialog...you define all of the look-and-feel styles on your own. http://www.ericmmartin.com/projects/simplemodal/ On Mar 29, 2

[jQuery] Help with load()

2008-03-30 Thread unska
Hey.. I'm having some problems to put the data from the load() function to a variable. I'm currently using the code below but I need some modifications to it. function updateTimer(object_id) { $("#timer"+object_id).load("checkchanges.php?object_id="+object_id); setTimeout("updateT

[jQuery] Re: bind() and thousands of elements - inline or extrnal?

2008-03-30 Thread pedalpete
Hey Leeoniya, I'm not sure exactly what you are trying to do, but I think binding each cell to an external function, or creating an 'anonymous' function inline maybe isn't the best way to go. I have a table with lots of cells, and when the user clicks on a cell, i pass the id of that cell to a s

[jQuery] accordion doesn't work with more than one paragraph per heading

2008-03-30 Thread pab
$(document).ready(function(){ $(".accordion h2:first").addClass("active"); $(".accordion p:not(:first)").hide(); $(".accordion h2").click(function(){ $(this).next("p").slideToggle("slow") .siblings("p:visible").slideUp("slow"); $(this).toggl

[jQuery] Putting data from load() to a variable?

2008-03-30 Thread unska
Hey.. I'm having some problems to put the data from the load() function to a variable. I'm currently using the code below but I need some modifications to it. function updateTimer(object_id) { $("#timer"+object_id).load("checkchanges.php?object_id="+object_id); setTimeout("updateT

[jQuery] Re: bind() and thousands of elements - inline or extrnal?

2008-03-30 Thread pedalpete
I'm not sure exactly what you are getting at, maybe describing what you are trying to do would help. I have a table that when the user selects certain cells, they are provided with forms, options, moves, etc. (currently being built, so I can't point you to it). Rather than binding to each cell,

[jQuery] accessing iframe window object

2008-03-30 Thread elesueur
I have a set of iframes which are accessed the following way (example): $('#' + windowID + 'Frame').load( function() { $('#' + windowID + 'Loader').css('display', 'none'); } ); This sets a loader image to hide once the docum

[jQuery] Small program works in FF but not in IE7

2008-03-30 Thread [EMAIL PROTECTED]
I'm building a HTML fragment using jQuery API but I can't get it content using the html() method: it works fine with FF, but returns null on IE7. As a side effect, the replaceWith() method does not work either on IE7: the replaced element just disappear from the DOM tree. Any idea ? http://www.w

[jQuery] Re: Off Topic: Earth hour

2008-03-30 Thread chrismarx
i am too, trying to spread the word. I love that google put this on the search page, I wonder how putting out this information to such a large audience will affect participation (hopefully positively!)- On Mar 29, 5:03 pm, [EMAIL PROTECTED] wrote: > Anyone participating? > > http://www3.earthhour

[jQuery] Re: array problems

2008-03-30 Thread chrismarx
well, could you show us how your multidimensional array is being populated? it looks like there is not object that the position you're looking for- On Mar 29, 1:04 pm, Tadas J <[EMAIL PROTECTED]> wrote: > Hello, > > I have a problem with arrays. I am getting data from xml and trying to > get data

[jQuery] Re: bind() and thousands of elements - inline or extrnal?

2008-03-30 Thread Leeoniya
always heard the term, never really explored it; I think i have a lot more refactoring to do now :) Klaus Hartl-4 wrote: > > > I think in this case it is better to use event delegation, e.g. set up > a single handler on the parent table element and handle the click > here. You can get to the

[jQuery] Re: Help with simple toggle not working in IE

2008-03-30 Thread chrismarx
first, for all ie problems, you need to get debugbar and companion, they're like firebug for IE. what you also get is the ability to see your code as it looks once ie has interpreted it. in this case, it looks like some of your comments are actually commenting out your script. i ran the script in

[jQuery] Re: clearTimeOut(this.iTimer) is not defined

2008-03-30 Thread chrismarx
well for one, its setTimeout() not setTimeOut() perhaps you can make that change and then get back to us- On Mar 29, 1:43 pm, Cronlajoon <[EMAIL PROTECTED]> wrote: > Hi! > > I'm currently taking my first steps again my own first plugin. As you > probably already figured out, it's not working.

[jQuery] Re: Image bounce

2008-03-30 Thread Jack Killpatrick
This is probably not the example you're thinking about, but sounds similar and might help: http://gsgd.co.uk/sandbox/jquery.bouncer.php - Jack ram wrote: A wile back I received a email demonstrating several different image displays. One that I need today but cant find is where the image d

[jQuery] Re: Modals - What's everyone using?

2008-03-30 Thread Richard D. Worth
By default the UI Dialog is not modal. You can make it modal be setting the modal option to true. That also enables the overlay option, which you can set to a css hash. Example: $(el).dialog({ modal: true, overlay: { background-color: 'gray', opacity: 0.5 } }); If you want to do it via a styl

[jQuery] [validate] java porting?

2008-03-30 Thread ClaudeFr
Hello! First, thanks for the wonderful validation plugin :-) Then, what about a java porting of the plugin? I'm thinking of a java validation library which understands the same (json) rules written for the jquery validation plugin...or am I talking nonsense?

[jQuery] Re: flexigrid plugin - help for server side script

2008-03-30 Thread Web Specialist
Thanks Paulo. I'll try again to migrate to ColdFusion. Cheers On Fri, Mar 28, 2008 at 4:50 PM, Paulo <[EMAIL PROTECTED]> wrote: > > Hi, > > This is the developer of the Flexigrid, still a little busy on a > project, but I updated the site with a sample php code. > > Hope that helps. > > License:

[jQuery] Re: Modals - What's everyone using?

2008-03-30 Thread Shelane
Scott, can you expand on this? Without setting any options, it's not good for forms, but there are options to make it so? What setting for the "overlay" option or change to the stylesheet should be made? On Mar 30, 5:51 am, Scott González <[EMAIL PROTECTED]> wrote: > The UI Dialog plugin defaul

[jQuery] Re: Modals - What's everyone using?

2008-03-30 Thread Shelane
I use jqModal. I do plan to switch to UI Dialog when it's complete because jqModal lacks in width flexibility. On Mar 29, 2:56 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > I want to build a modal window with a form in it but don't want to use > the blacked out effect similar to many lightbox imple

[jQuery] Re: Modals - What's everyone using?

2008-03-30 Thread Benjamin Sterling
+1 On jqModal, I use it in everything. On Sun, Mar 30, 2008 at 1:18 PM, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > i use jqModal and have been really happy with its flexibility and ease of > use. > > On Sun, Mar 30, 2008 at 1:51 PM, Scott González > <[EMAIL PROTECTED]> wrote: > > > > The

[jQuery] Re: array problems

2008-03-30 Thread Danny
In PHP, monster[pid][id2]['db_id'] will create the intermediate arrays (monster[pid] and monster[pid][id2]) if they don't already exist. Javascript isn't that smart, and monster = [[[]]] doesn't help. You'll have to do something like: monster[pid] = monster[pid] || []; monster[pid][id2] = monster[

[jQuery] Re: Modals - What's everyone using?

2008-03-30 Thread Alexandre Plennevaux
i use jqModal and have been really happy with its flexibility and ease of use. On Sun, Mar 30, 2008 at 1:51 PM, Scott González <[EMAIL PROTECTED]> wrote: > > The UI Dialog plugin defaults to a transparent overlay and can be > customized via the overlay option or stylesheets. > > On Mar 29, 4:56

[jQuery] Re: Modals - What's everyone using?

2008-03-30 Thread Scott González
The UI Dialog plugin defaults to a transparent overlay and can be customized via the overlay option or stylesheets. On Mar 29, 4:56 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > I want to build a modal window with a form in it but don't want to use > the blacked out effect similar to many lightbox i

[jQuery] [VALIDATE] Problem, 2 clicks to submit.

2008-03-30 Thread Marcos Aurélio
Jörn Hello! I think I found a problem with the plugin. When you use more than 3 fields with remote, you must click 2 times the button to submit it. We tried everything and it does not work with only 1 click. Here's an example: http://www.animeschool.com.br/validate/ All fields in a way that doe