[jQuery] Re: progressive enhancement link href hurdle

2008-01-15 Thread George
I'm not aware of any native jQuery methods to deserialise your href query params but I'm sure someone could suggest a plug that does it. Perhaps you don't need to extract the params? Why not just set the url value in your ajax call to include the params from your href string, params and all, and

[jQuery] **SPAM** Re: [jQuery] instant edit

2008-01-15 Thread Mika Tuupola
Spam detection software, running on the system rio.rio.ee, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for

[jQuery] Re: progressive enhancement link href hurdle

2008-01-15 Thread Alexandre Plennevaux
there is a plugin that is quite useful for what you need: http://www.mathias-bank.de/2007/04/21/jquery-plugin-geturlparam-version-2/ please note that there is an error in the plugin code or a possible change since jquery.1.2.2b if ($(this).attr(”src”) != “undefined”) { does not work. It

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-15 Thread Rick Faircloth
Hi, Karl... I've tried various coding approaches to implement what described below, but everything has failed to meet expectations to this point. Could you provide an example of how you're thinking I should go about this? Also, would the new .bind(mouseenter)/.bind(mouseleave) functionality in

[jQuery] Re: Method to convert dimenions value to ColdFusion variable?

2008-01-15 Thread Diego A.
Hi, That's what I meant when I said: 1. post it back to the server OR 2. set a cookie that can be read by the server-side script. I prefer to just set a cookie. If the cookie isn't set, I send the client a little script that will set it. But Ajax sounds like the best option in your case: 1.

[jQuery] 1.2.2 Released 20 minutes ago

2008-01-15 Thread Up-Works
http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.2.pack.js

[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-15 Thread Geoff Millikan
So like this? form input type=checkbox name=whatever onClick='$ ('#form_id').ajaxSubmit()' /form http://groups.google.com/group/jquery-en/browse_thread/thread/b15fa8db4db5deeb

[jQuery] Issues in using getJSON menthod

2008-01-15 Thread ashok
HI all, I am trying to use the getJSON method to fetch data from a json file on clicking a link.Now i make a div element empty initially and after fetching the content i use $('#midbox').append($(html));.Now the updated contents are visible for a second then it reverts to the original contents

[jQuery] Trying to set the id of a 2nd level div and failing

2008-01-15 Thread Mark Lacas
I'm trying to set the id of a 2nd level obj selected by class and it doesn't seem to work as I thought it would. Unfortunately all of the level one objects get the id assignment, not the level two object. Here it is before I do the operation: div id=obj div class=obj_level1 div

[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-15 Thread Geoff Millikan
This might be the answer we're looking for: http://groups.google.com/group/jquery-en/browse_thread/thread/961a893390a9f9b2

[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-15 Thread Shawn
Subject line says 1.1.2. Thought this was a parody post.. :) Congrats on the 1.2.2 release (and the 1.1.2 as well, though that's a little belated.. LOL). I'm looking forward to working with it. Shawn John Resig wrote: On the 2nd birthday of jQuery we're happy to bring you a new release of

[jQuery] animation :

2008-01-15 Thread [EMAIL PROTECTED]
animation : childrens like animation : http://padmagirl.blogspot.com

[jQuery] animation :

2008-01-15 Thread [EMAIL PROTECTED]
animation : childrens like animation : http://padmagirl.blogspot.com

[jQuery] How can I switch elements by fades?

2008-01-15 Thread DeaR
$(function() { $(#message_1).clone().removeClass(hidden).appendTo($(#message)); $(span.text1).click(function() { $(#message).empty().html($(#message_1).clone().fadeIn(normal)); return false; }); $(span.text2).click(function() {

[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-15 Thread Nayef Abu Ebaid
Happy Birthday JQuery and respects to Dev Team Stefan Petre wrote: Happy Birthday jQuery and congrats to dev team. 2008/1/15, Joel Birch [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Waahh, happy birthday jQuery! My, how you have matured! Huge thanks to John, Brandon, David

[jQuery] simple ajax question

2008-01-15 Thread Ilkinho
I have a small ajax issue here: function someFunc(){ var someVar = true; $.ajax({ type: GET, url: requestURL, success: function(msg){ } }); } I have 2 problems: 1. I want someFunc to return a value according to

[jQuery] Re: progressive enhancement link href hurdle

2008-01-15 Thread toadeny
Thank you both for your replys. I have been doing more reading on the subject and a plugin would quite possibly bring in more overhead, thus the split is just what i need. I am and can assume that the site will always end up with a '?' and then the query string for the cases i am parsing. That

[jQuery] jQuery + PHP MCV Framework

2008-01-15 Thread dynegara
Hi guys, is anyone there using jQuery with php mcv framework like CodeIgniter / Cake ? how do you guys solving the problem url param generated by jquery example: abc.php?c=controllerm=methodsp1=var1$p2=var2 into abc.php/controller/methods/var1/var2 any tips will be very useful for me. thx

[jQuery] cluetip - Plugin with .load() not working

2008-01-15 Thread qt
Hi Jqueries The cluetip-Plugins works fine, as long as you have content and Script on the same page. But when it comes to use cluetip with the .load()-function, it's not working (no errors whatsoever). index.html-file in demo-folder: [code] $('#inc').load('inc.html', function(){

[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-15 Thread zizi
Happy birthday and congratulations and mainly thanks for jQuery, which has seriously changed my ideas about web programming. zizi On 1/14/08, John Resig [EMAIL PROTECTED] wrote: On the 2nd birthday of jQuery we're happy to bring you a new release of jQuery! Here's the announcement:

[jQuery] Element by Name associative array

2008-01-15 Thread Ryan
Hello all, I'm trying to get the value of an element by it's array key. input name='example[key]' / Any guidance would be appreciated. Thanks

[jQuery] Re: progressive enhancement link href hurdle

2008-01-15 Thread Klaus Hartl
Speaking of Progressive Enhancement, there's a concept called Hijax. That means nothing else than simply ajaxifying links without altering the href attribute at all and instead using the given one. An example of that technique can be found here: http://stilbuero.de/jquery/history In your case

[jQuery] Re: simple ajax question

2008-01-15 Thread Diego A.
What you actually need is to do whatever someFunc does inside the success function. If it depends on the result of the ajax call, then forget someFunc and someVar. Why can't you just do it like this? $.ajax({ type: GET, url: requestURL, success: function(msg){

[jQuery] Re: how can a text field be hidden based on condition

2008-01-15 Thread Bhaarat Sharma
Thanks! but the values of this drop down box are dynamic and are coming from a DB. So I was wondering if jquery offers a method so that rather than doing '.val()' i could do something else so that I would get search on content of the option box rather than value. so for example option

[jQuery] jqmodal autosize to fit contained image in window

2008-01-15 Thread Alexandre Plennevaux
hi all! i was wondering if anyone had a go at having jqModal adapt its size to the image it is displaying? All my attempts failed miserably, if anyone has an idea i'm all ears :) Cheers, Alexandre

[jQuery] Re: another fade problem in IE

2008-01-15 Thread alexanmtz
Its seens that all elements inside the faded div that dont have a position relative doesnt fade... I'll keep trying... On Jan 15, 10:10 am, alexanmtz [EMAIL PROTECTED] wrote: HI everyone, Im trying to make a fade between pages on a website using ajax. Everything works fine in firefox and

[jQuery] Re: Forms AjaxSubmit: no error handling?

2008-01-15 Thread [EMAIL PROTECTED]
To add to my previous post: in FF I always get the 'success' alert. Groeten, Friso

[jQuery] Re: Weird bahaviour of validation plugin in a textarea used by fckeditor

2008-01-15 Thread KnoxBaby
Can anybody help me out? Thanks! On 7 Jan., 14:01, KnoxBaby [EMAIL PROTECTED] wrote: Hello, look at this page: http://www.jahlabs.de/jquery/test2/ I'm using validaiton plugin to validate the form, but there is the following weird behaviour: When I write something to the textbox and

[jQuery] Re: Forms AjaxSubmit: no error handling?

2008-01-15 Thread [EMAIL PROTECTED]
Hi all, I struggled with this one all day. Could it be that error is broken when you try to do a file upload in FireFox? My HTML (fragment): tr tdBatch type:/td td select name=importtype option value=11/option !-- other option omitted for brevety -- /select

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-15 Thread Rick Faircloth
Alright... this is getting me close to the proper animation on each li in the menu. $(document).ready(function() { $('#menu-details').hide(); $('li').mouseover(function() {

[jQuery] Re: Cluetip ajaxProcess and .find Problem

2008-01-15 Thread Karl Swedberg
Hi Chris, Sorry for the delay in responding to your issue with the plugin. To be honest, I haven't looked at the ajaxProcess part in a long time, so I've been procrastinating digging back into what might be going on there for you. While I suspect my confession won't inspire confidence,

[jQuery] Re: Attempts failing to cause div to slide up, slide down

2008-01-15 Thread Rick Faircloth
Well, I tried this: $(document).ready(function() { $('#menu-details-index').hide(); $('#li-index').mouseover(function() { var answer =

[jQuery] Re: jQuery + PHP MCV Framework

2008-01-15 Thread Scott Trudeau
CodeIgniters' alergy to GET params is bizarre. I don't have any code for you; my jQuery + CI stuff has all been dead simple for AJAX; I just create a special controller for the few ajax calls I make and generate the URLs whole rather than using params ... One of these days I need to dig in and

[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-15 Thread Diego A.
You haven't installed the plugin properly, or you haven't specified the action attribute of the form. double check everything and make sure you READ the jQuery Form plugin documentation: http://www.malsup.com/jquery/form/ On Jan 15, 1:14 pm, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote:

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Alexandre Plennevaux
ok i kind of managed, if anyone interested, i did it like this: $('a.jqmodal').bind('click',function(){ imgPreloader = new Image(); //var mOffset = $('#modalWindow').show().offset(); //$.log(mWidth = + mWidth); //$.log(mHeight = + mHeight);

[jQuery] Re: Page won't process with mouse in browser window

2008-01-15 Thread steve love
Update: Removing BlockUI eliminates the issue. Now, to figure out why... On Jan 14, 9:10 pm, steve love [EMAIL PROTECTED] wrote: Can anyone think of any reason why a page would completely stop while the mouse is in the browser window, but continue once you move the mouse off the page? As

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Rick Faircloth
Hi, Alexandre... I'm going to be working with having images sized as closely as possible to a user's browser window size and so I'm interested in what you're doing. I was wondering if the Dimensions plug-in might be helpful to simplify what you're trying to do. (And what I'll be trying to do,

[jQuery] Re: Cluetip ajaxProcess and .find Problem

2008-01-15 Thread Chris Scott
On Jan 15, 2008, at 9:28 AM, Karl Swedberg wrote: Hi Chris, Sorry for the delay in responding to your issue with the plugin. To be honest, I haven't looked at the ajaxProcess part in a long time, so I've been procrastinating digging back into what might be going on there for you.

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Alexandre Plennevaux
-- Original Message -- To: Jquery-en (jquery-en@googlegroups.com) From: Rick Faircloth ([EMAIL PROTECTED]) Subject: [jQuery] Re: jqmodal autosize to fit contained image in window Date: 15/1/2008 16:51:16 Hi, Alexandre... I'm going to be working with having images sized as

[jQuery] Re: Weird bahaviour of validation plugin in a textarea used by fckeditor

2008-01-15 Thread Diego A.
You say the error occurs. What is the error? That's probably why people haven't replied to help. When you need help, it helps to be as clear and concise as possible. Anyway, I assume the problem is that you're trying to submit the contents of FCKEditor via ajax. This is not possible without

[jQuery] Re: [ANNOUNCE] jQuery.tabindex plugin

2008-01-15 Thread Dan G. Switzer, II
Colin, Recently I've been working on a plugin for jQuery that will make adding keyboard accessibility to your user interfaces a lot easier. In the process of working on this, I ran into a number of inconsistencies in the way that browsers handle the tabindex attribute. Getting, setting, and

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Rick Faircloth
jquery core provides teh width() and height(), that's all you need. Dimension is not needed for this. you get the available screen space just like that: $(window).width() and $(window).height() then basically, you create an image object imgPreloader = new Image(); and when that

[jQuery] Re: [ANNOUNCE] jQuery.tabindex plugin

2008-01-15 Thread Dan G. Switzer, II
Colin, [clip] As mentioned, I'm working on a larger plugin that helps add keyboard handlers for focusing and selecting items with the Tab key and arrow keys, making it easier to support common accessibility keystrokes in your UIs. It's still a work in progress, but please feel free to take a

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Alexandre Plennevaux
Are you returning a the imgPreloader variable back to the server to process your image server-side, or is everything being done on the fly client-side? nope, all done on the client side Well, after looking more closely at your code, I can see you're setting the img attributes based on the

[jQuery] [OFF TOPIC] Really weird Behaviour in IE

2008-01-15 Thread weepy
I just found the oddest behaviour in IE6. If you have an a tag with content that is a domain name e.g. : a href='www.google.com'www.google.com/a if you set the href attribute (via jquery or natively) to another domain name - it will change the innerHTML to reflect this. E.G.

[jQuery] Re: Element by Name associative array

2008-01-15 Thread Glen Lipka
By array key do you mean the nuber, the index in the array? You can view the actual jQuery object created with a selector using firebug or ms script editor. So for instance in firebug, you click on script on the left. Then add a new watch expression on the right. Put in $(input) and press

[jQuery] Re: [OFF TOPIC] Really weird Behaviour in IE

2008-01-15 Thread Andy Matthews
What happens when you you have an http:// in there? Your href should never just be www.somedomain.com anyway as that will attempt to load that as a document in the current domain's directory structure. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED]

[jQuery] Re: How can I switch elements by fades?

2008-01-15 Thread Glen Lipka
Use the fadeOut callback. http://docs.jquery.com/API/1.1/Effects#fadeOut.28_speed.2C_callback_.29 This will start a function when the animation for the fadeOut is finished. Then fadeIn the other one. Glen On Jan 14, 2008 10:22 PM, DeaR [EMAIL PROTECTED] wrote: $(function() {

[jQuery] Re: jqmodal autosize to fit contained image in window

2008-01-15 Thread Rick Faircloth
Sounds good... good luck to you, too! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexandre Plennevaux Sent: Tuesday, January 15, 2008 11:41 AM To: Jquery-en Subject: [jQuery] Re: jqmodal autosize to fit contained image in

[jQuery] [TABS plugin RELATED] Look mum, TABS layout only with CSS !!

2008-01-15 Thread Enrique Meléndez Estrada
Looking at official TABs plugin, I realized that the HTML structure is not very natural. It uses a list (UL) of tab headers follow by tab bodies (DIV). Normally, what you get from your favorite CMS is something more like : a header (div, h,...), its body (div), another header (div, h, ...),

[jQuery] Re: trying in a function to change css color on divs

2008-01-15 Thread hollow
Thanks for your answer. Well it looks good but what i'm trying to do is to take the name of the selected input field $('input[name$=the selected input name]').change(function(){ and change the div whoms #id is the same name of the input name. so the second part is ok

[jQuery] Re: AJAX and javascript?

2008-01-15 Thread hotsauce
Hey, thanks for the reply... I found a couple of other people out there that have had the same issue (maybe), but not many The IE page returns the following code when it attempts to retrieve the ajax content script id=__ie_init defer=true src=//:/script There are some hacks out there, but

[jQuery] Re: Problems with Interface Sortables

2008-01-15 Thread benjam
Ok, if nobody has any suggestions for my problem, is there another way that I can allow users to re-order elements on screen and get the order of those elements upon form submission?

[jQuery] Re: AJAX and javascript?

2008-01-15 Thread hotsauce
Fixed! I have implemented the outstanding fix for this problem: It was referenced in the uncompressed version of jquery's latest version The fix is located on this site: http://javascript.nwbox.com/IEContentLoaded/ If any other noobs, such as myself, ever have this problem and not sure how to

[jQuery] Adding div

2008-01-15 Thread Michael
I have this code so far: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head script src=http://code.jquery.com/jquery-latest.js;/script script $(document).ready(function(){ $(document.body).click(function ()

[jQuery] [ANNOUNCE]: SimpleModal v1.1.1 released

2008-01-15 Thread Eric Martin
Contains a couple bug fixes: * Fixed overlay height and width detection in IE6 * Added a modalData class attribute to dialog.data * Added check for dialog object in close() - Prevents JS errors if called when dialog is already closed * Updated tests and demos to jQuery 1.2.2 and

[jQuery] Re: instant edit

2008-01-15 Thread Lionel Martelly
I just spent a tremendous amount of time trying to figure out what's wrong. I was supposed to hit enter instead of living the field. Is there a way to keep the value without having to do enter? e.g. by clicking outside of textbox? - Original Message - From: Lionel Martelly [EMAIL

[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-15 Thread rober_t
Thanks for all of the hard work. On Jan 14, 11:05 pm, John Resig [EMAIL PROTECTED] wrote: On the 2nd birthday of jQuery we're happy to bring you a new release of jQuery! Here's the announcement:http://jquery.com/blog/2008/01/15/jquery-122-2nd-birthday-present/ and here's the release

[jQuery] Re: 1.2.2 Released 20 minutes ago

2008-01-15 Thread timothytoe
Beta testers: How stable is this? Should I switch from 1.2.1 yet? On Jan 14, 8:23 pm, Up-Works [EMAIL PROTECTED] wrote: http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.2

[jQuery] using resizable handles that are not children

2008-01-15 Thread chrismarx
i posted this over at jqueryUI forum, but there doesnt seem to be a whole lot of acitvity over there. the problem is here- http://groups.google.com/group/jquery-ui/browse_thread/thread/653876bcc27ade9b

[jQuery] detecting keystrokes for ie

2008-01-15 Thread hcvitto
hi, i'm using yahoo autocomplete from an input field and jquery to detect keystroke to trigger function. Everything works fine with the enter key, but it doesn't work for the tab key (both firefox/navigator and ie). Here's my code: $(#ysearchinput).keyup(function(e){

[jQuery] Re: Problems with Interface Sortables

2008-01-15 Thread benjam
Ok, I got it fixed. For anybody else who may be having the same issues, try removing the following from your Sortable setup: containment: 'parent' that is what was breaking the script, not sure why, but it was.

[jQuery] Re: jQuery + PHP MCV Framework

2008-01-15 Thread David
I just change the url in the plugins ajax calls. It isn't that difficult to find and change. -- David dynegara schreef: Hi guys, is anyone there using jQuery with php mcv framework like CodeIgniter / Cake ? how do you guys solving the problem url param generated by jquery example:

[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-15 Thread Mike Alsup
options.url.indexOf is not a function options.url += (options.url.indexOf('?') = 0 ? '' : '?') + q; jquery.form.js (line 209) What version of the plugin are you using? I believe that is a bug that was fixed. And I believe that Diego is right in that you would only hit that bug if you had

[jQuery] Re: Adding div

2008-01-15 Thread Glen Lipka
I whipped up a quick demo. It's much easier when you give things classes to hang your hat on. http://commadot.com/jquery/toggleShow.php# Glen On Jan 15, 2008 7:53 AM, Michael [EMAIL PROTECTED] wrote: I have this code so far: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

[jQuery] lost process running after form submit with impromptu

2008-01-15 Thread JimD
Hi all, I'm using Impromptu to provide a simple confirm before submitting a form from within a greybox. Everything works great, but whenever the form is submitted (im not using ajax, ajah). Its like some lost process starts running in the parent window that spawned the greybox. Once I click any

[jQuery] simple newbie js function problem...

2008-01-15 Thread tlob
script type=text/javascript $(document).ready(function(){ function force(){ doStuffHere...} $('#joda').click(function () { $('img').show(); setInterval('force()',500); }); }); /script if I click #joda I got the Error: force is not

[jQuery] Re: [TABS plugin RELATED] Look mum, TABS layout only with CSS !!

2008-01-15 Thread Olivier Percebois-Garve
Hi I Just had a quick look in Opera 9.25 and it is not working... Olivier Enrique Meléndez Estrada wrote: Looking at official TABs plugin, I realized that the HTML structure is not very natural. It uses a list (UL) of tab headers follow by tab bodies (DIV). Normally, what you get from your

[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-15 Thread JimD
Yes I agree thanks to the Jquery team for all their efforts. Jquery is awesome. Happy Bday Jquery Donation on its way. On Jan 14, 10:05 pm, John Resig [EMAIL PROTECTED] wrote: On the 2nd birthday of jQuery we're happy to bring you a new release of jQuery! Here's the

[jQuery] Re: simple newbie js function problem...

2008-01-15 Thread Feijó
try with force function outside $...ready Feijó - Original Message - From: tlob [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Tuesday, January 15, 2008 4:11 PM Subject: [jQuery] simple newbie js function problem... script type=text/javascript

[jQuery] Re: jQuery 1.2.2 Released: Happy 2nd Birthday!

2008-01-15 Thread David Serduke
Subject line says 1.1.2. Thought this was a parody post.. :) =P

[jQuery] Re: Validation Plugin - using required inside of addMethod

2008-01-15 Thread Jörn Zaefferer
Tristan schrieb: Hi, I'm trying to create a new custom validation method similar to the other methods included in 'additional-methods.js'. I've created my method like this: jQuery.validator.addMethod('dateAfter', function(value, element, param) { var dVal = new Date(); var

[jQuery] Re: simple newbie js function problem...

2008-01-15 Thread tlob
hm... why? can you explain me in detail why its not working that way? I like to learn. I uploaded it: http://www.lightwavers.net/dadda/ click joda, the icons should appear and start whirling around like this: http://www.ontoinfo.com/2006/09/22/javascript-flying-pictures-effect/ thx tl On Jan

[jQuery] Re: translating to jquery

2008-01-15 Thread marcus
Thank you.

[jQuery] How can I show/hide table row as it is a div?

2008-01-15 Thread Bober
I have tried $(#row1).show(slow) but it doesn't work. Is it possible to show and hide a table row as it is a div? Sebastian

[jQuery] Help with Tabs 3 and struts

2008-01-15 Thread Diego
Hi I'm programming a j2ee application, using struts. Yesterday I start learning jquery (really fast, helping me a lot!). now I'm trying to use Tabs3 , but i need that the context of the tab call an action first (using struts), and then charge the jsp, is it possible? thanks a lot!

[jQuery] Re: instant edit

2008-01-15 Thread Lionel Martelly
just in case someone else wants it, I changed the event:'click',onblur:'cancel' to event:'click',onblur:'submit' so when you live the text input it submits. If empty, it will replace with click to submit - Original Message - From: Lionel Martelly [EMAIL PROTECTED] To:

[jQuery] Re: Weird bahaviour of validation plugin in a textarea used by fckeditor

2008-01-15 Thread psy*
Hello, why not just try it out. For that I did a test page and the tutorial how to behave to see what I mean ... 1) insert sth into the textarea from fckeditor 2) click on submit button - the error occurs that you haven't entered at least 5 chars even though I/you have ... 3) focus the textarea

[jQuery] Re: Element by Name associative array

2008-01-15 Thread Ryan
For anyone needing this, I had to play around with the name selector options and came up with this... $(input[name='name[key]']).val(); Swore I tried this earlier, but maybe I was delirious. On Jan 15, 9:51 am, Glen Lipka [EMAIL PROTECTED] wrote: By array key do you mean the nuber, the index

[jQuery] navigating complex xml

2008-01-15 Thread ontologyonline
Hi, I'm currently trying to use JQuery to navigate through OWL (type of xml) files, it works quite well but I do have a problem with traversing : for a fragment like this: rdfs:subClassOf owl:Restriction owl:onProperty rdf:resource=#hasColor / owl:cardinality

[jQuery] Re: simple newbie js function problem...

2008-01-15 Thread Hamish Campbell
The function 'force' belongs to the document.ready call, so as soon as that's done 'force' is destroyed. If you put it outside of the document.ready, the function exists globally for all javascript in the page. On Jan 16, 9:13 am, tlob [EMAIL PROTECTED] wrote: hm... why? can you explain me in

[jQuery] Re: Help with Tabs 3 and struts

2008-01-15 Thread Klaus Hartl
On Jan 15, 7:39 pm, Diego [EMAIL PROTECTED] wrote: Hi I'm programming a j2ee application, using struts. Yesterday I start learning jquery (really fast, helping me a lot!). now I'm trying to use Tabs3 , but i need that the context of the tab call an action first (using struts), and then

[jQuery] Re: navigating complex xml

2008-01-15 Thread ontologyonline
sorry, I was not entirely correct: $('subClassOf Restriction') does give results, but the rest doesn't and I'd like to be more specific with the attributes.

[jQuery] ZOOM on the image

2008-01-15 Thread Andrea Bersi
At this uRL http://demo.magentocommerce.com/sony-vaio-vgn-txn27n-b-11-1-notebook-pc-intel-core-solo-processor-u1500-2-gb-ram-100-gb-hard-drive-dvd-rw-drive-vista-business-charcoal-black.html i see a very strange js control for managing a zoom on the image build with scriptaculos. With jquery

[jQuery] Re: Help with Tabs 3 and struts

2008-01-15 Thread Eric Martin
I am using jQuery with Struts 2, but do not understand your issue/ question... can you clarify? On Jan 15, 10:39 am, Diego [EMAIL PROTECTED] wrote: Hi I'm programming a j2ee application, using struts. Yesterday I start learning jquery (really fast, helping me a lot!). now I'm trying to use

[jQuery] Re: Trying to set the id of a 2nd level div and failing

2008-01-15 Thread Wizzud
Use find()? The children() function (should) return unique immediate children which won't get you your second level divs in a single call from the #obj level, no matter what selector you use. eg... var obj = $(#obj); obj.find(.obj_level1.obj_level2).attr( id, Bob ); On Jan 15, 6:03 am, Mark

[jQuery] Loading dynamic JS libraries with jQuery

2008-01-15 Thread Nazgulled
Hi, I'm trying to load JS files (libraries) dynamically at run-time with jQuery but I'm not being able to... I thought I had this working before but now it's not. Here's my code: INDEX.HTML html head script type=text/javascript src=scripts/jquery.js/script script type=text/javascript

[jQuery] Re: How can I show/hide table row as it is a div?

2008-01-15 Thread Rick Faircloth
Hi, Sebastian... Yes, it is possible. I've worked trying to get smooth animation out of sliding table rows, but they're always jerky. I resorted to putting entire tables in div's and animating the div's to get smooth performance. What does your entire jQuery and HTML code look like? Got a

[jQuery] Re: Loading dynamic JS libraries with jQuery

2008-01-15 Thread Scott Trudeau
Look at $.getScript: http://docs.jquery.com/Ajax/jQuery.getScript Try something like: $(document).ready(function() { $.getScript('script/jquery.form.js'); }); You can wrap $.getScript in your function to do the script path prepend and .js append. No need to do all the messy DOM stuff

[jQuery] Re: how can a text field be hidden based on condition

2008-01-15 Thread Wizzud
var txt = $('theSelect :selected').text(); if(txt == 'cat' || txt.indexOf('c')==0 || ...test after test after test...){ $('selector_fieldToHide').hide(); } On Jan 15, 1:16 pm, Bhaarat Sharma [EMAIL PROTECTED] wrote: Thanks! but the values of this drop down box are dynamic and are coming

[jQuery] Re: Loading dynamic JS libraries with jQuery

2008-01-15 Thread Nazgulled
I replaced the function with this: function loadJavascript(scriptFile) { var scriptsPath; // Builds the correct scripts path scriptsPath = $('script').attr('src'); scriptsPath = scriptsPath.replace(/\w+\.js$/, ''); $.getScript(scriptsPath + scriptFile +

[jQuery] How to have Autocomplete dropdown act like select box and trigger onchange event for input

2008-01-15 Thread Mark Thompson
I am trying to replace a previous bit of html that managed input by both an input and a select box. I now want to work with a single input field using jquery.autocomplete.js, but I have not been able to get autocomplete to use the onchange JavaScript code used by that previous bit of html. I have

[jQuery] Re: simple newbie js function problem...

2008-01-15 Thread Hamish Campbell
Just to elaborate (because it tripped me up when I start out too and other js noobs like me might find it useful): In your example, function force is a function within the document.ready function: $(document).ready( function(){// Function called when document.ready fires

[jQuery] Re: Loading dynamic JS libraries with jQuery

2008-01-15 Thread Morgan Allen
.getScript()? On Jan 15, 2008 3:20 PM, Nazgulled [EMAIL PROTECTED] wrote: Hi, I'm trying to load JS files (libraries) dynamically at run-time with jQuery but I'm not being able to... I thought I had this working before but now it's not. Here's my code: INDEX.HTML html head script

[jQuery] Re: Loading dynamic JS libraries with jQuery

2008-01-15 Thread Jeroen
On Jan 16, 2008 12:20 AM, Nazgulled [EMAIL PROTECTED] wrote: Hi, I'm trying to load JS files (libraries) dynamically at run-time with jQuery but I'm not being able to... AFAIK browsers do not support loading external JS after the DOM has loaded. I think this is the reason for the

[jQuery] Superfish without hoverIntent

2008-01-15 Thread Alex
I'm using clueTip and Superfish. The only problem is that I need hoverIntent for clueTip to do what I intend, but it makes the menus lag ever so slightly. Without the hoverintent plugin, Superfish seems to be just fine. So, what I need is some way to disable Superfish's use of hoverIntent

[jQuery] Re: Superfish without hoverIntent

2008-01-15 Thread Stephen
Hi Alex Have you tried just having the script for Hover Intent below superfish in your source code. That way superfish wont have access to hoverintent due to it not being loaded prior to superfish being read by the browser. Cheers Stephen

[jQuery] Re: Superfish without hoverIntent

2008-01-15 Thread Joel Birch
Hi Alex, Usually hoverIntent improves how Superfish works as the very slight lag means that submenus are not flickering open unnecessarily, so I assume you may have altered the settings so that the delay is longer for use with Cluetip. To hack Superfish, change the applySuperfishHovers function

[jQuery] Re: Superfish without hoverIntent

2008-01-15 Thread Joel Birch
Thanks Stephen, that's a much better idea! Joel Birch.

[jQuery] Re: Superfish without hoverIntent

2008-01-15 Thread Joel Birch
On 16/01/2008, Joel Birch [EMAIL PROTECTED] wrote: Thanks Stephen, that's a much better idea! Joel Birch. ...Although I should mention that this won't work with the *next* version of Superfish (v1.4) as it detects hoverIntent regardless of where it appears in the source order. Instead, there

  1   2   >