[jQuery] Re: bug in jquery ? css('border') returns undefined

2008-04-25 Thread Alexandre Plennevaux
hi Giuliano and thanks for holding on :-) I understand your point but the infos published on the W3C website seem to mean that border as a shorthand is retrievable: http://www.w3schools.com/htmldom/prop_style_border.asp On Thu, Apr 24, 2008 at 11:58 PM, Giuliano Marcangelo [EMAIL PROTECTED]

[jQuery] Re: Forms: Email before submit

2008-04-25 Thread Scott González
Can you just bind a function to the submit event which makes an ajax call to your server with all the data you need? On Apr 24, 7:41 am, Carlos Escuriola [EMAIL PROTECTED] wrote: Hello everybody. I have a form which data has to be sent to a CRM (salesforce), so in the form action I have to

[jQuery] Re: bug in jquery ? css('border') returns undefined

2008-04-25 Thread Giuliano Marcangelo
Alexandre, this page http://www.quirksmode.org/dom/getstyles.html is probably a better resource for you to test. two-thirds of the3 way down the page, is an input area where you can try out...border...border-widthborder-bottom-width etcand to see the results... as you will see, from

[jQuery] Re: UI Tabs - disable AJAX functionality?

2008-04-25 Thread Scott González
http://docs.jquery.com/UI/Tabs#...open_a_tab_in_a_new_window_instead.3F On Apr 24, 2:30 pm, Michael Price [EMAIL PROTECTED] wrote: Hi all, I've got a row of five tabs and I'm using Klaus' Tabs plugin to handle them. I want four of them to use the standard tab functionality. The fifth and

[jQuery] Re: jQuery Child Toggle Problems

2008-04-25 Thread shaun haage
i jumped the gun a little, ui.selectable did the trick. Thanks - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Friday, April 25, 2008 4:39:34 AM Subject: [jQuery] Re: jQuery Child Toggle Problems Hi, Shaun It's hard

[jQuery] Re: bug in jquery ? css('border') returns undefined

2008-04-25 Thread Alexandre Plennevaux
ok so basically one can only access the value of a border css property by explicitating which border it needs . I do think that it's counterintuitive to have shortcuts in css that are not taken into consideration in javascript, but then, maybe that's a request for javascript 2.0 :)

[jQuery] Re: jQuery for loop - am I crazy?

2008-04-25 Thread cloudsteph
Thanks everyone - it did the trick all right! I had tried to use the :not selector previously but didin't have the syntax right, something I need to try brush up on could maybe be a little clearer in documentation especially seeing as many designers (like myself) who use JQuery wouldn't have

[jQuery] Re: get a a inside a div

2008-04-25 Thread ^AndreA^
Good observation Olaf but it doesn't work... Actually it's strange, isn't it? If I do this it works when you click wherever in the div: $(document).ready(function(){ $(#id_div).click(function(){ etc... while like that it doesn't work at all: $(document).ready(function(){

[jQuery] Re: Append option to section list

2008-04-25 Thread Allinne
Without jQuery (my standart function): function(optionValue, optionText, optionContainer) { var oOption = document.createElement('OPTION'); oOption.value = optionValue; oOption.innerHTML = optionText; optionContainer.appendChild(oOption); }

[jQuery] Superfish pathClass problem

2008-04-25 Thread I-CRE8
http://www.i-cre8.co.uk/sf-menu/index.php I have a demo menu here which I have applied the pathClass option to but the current class is not being applied. why ? The links that have attached pages are Link One, Longer Link 2 and Sub 2.1, have I done something wrong ? Regards, Dave Buchholz

[jQuery] Caching?

2008-04-25 Thread Juan Antonio Ibañez Santorum
Hello! I need to load a value (returned by a php script) into a textbox each 10 seconds, and reload web if this value change. I'm using next code: script src=jquery.js/script script $(document).ready(function() { //ajaxTime.php is called every second to get time from server var

[jQuery] change title of the dialog by setData

2008-04-25 Thread myselff
How do I change dialog title after it was created? I try to do $('#dlg').data('title', 'new title') or $('#dlg').data('dialog.title', 'new title') but its not working the only way I get run the setData event is using .data('setData.dialog', 'something in here') but then key for a function is

[jQuery] Re: tablesorter- click function not working on next page

2008-04-25 Thread [EMAIL PROTECTED]
Hi folks, I'm having pretty much the same problem: I have a tablesorter table of 99 rows, each containing a cell that has an anchor with class “resultslink”. I have created a click event handler for this class to execute a function. Using the pager I am displaying 10 rows at a time. The anchors

[jQuery] Re: get a a inside a div

2008-04-25 Thread Alexandre Plennevaux
at this point i suggest you publish online a copy of your page so that we can have a look, because the error is somewhere in your markup, that's for sure :) On Fri, Apr 25, 2008 at 9:26 AM, ^AndreA^ [EMAIL PROTECTED] wrote: Good observation Olaf but it doesn't work... Actually it's strange,

[jQuery] Re: bug in jquery ? css('border') returns undefined

2008-04-25 Thread Richard D. Worth
Just to be clear, w3schools.com is a training site, not to be confused with the w3c site (http://www.w3.org/). Even on the w3schools page you reference, it says only The border property *sets* all border properties in one declaration. (emphasis mine) The css spec

[jQuery] Re: Question: Selecting all the links in div

2008-04-25 Thread vladv
Thanks. I'll try it, but I'm not sure how does that make any difference... What if I want to have two panels with the same css class and work with them both? I think I should be able to do that with jQuery. That is all the point, doesn't it? Thanks again. Vlad On Apr 24, 4:45 pm, ripple [EMAIL

[jQuery] Re: Question: Selecting all the links in div

2008-04-25 Thread ripple
If your working with two panels that have the class UserSubPanel then this should do the trick. Remove the id. div class=sidePanel UserSubPanel $('div.UserSubPanel a').addClass('sideLink'); http://2whoa.com/dominate/ vladv [EMAIL PROTECTED] wrote:

[jQuery] Re: Superfish pathClass problem

2008-04-25 Thread I-CRE8
I realise now that this is not dynamic, is there a way of making this functionality dynamic ? -- Dave Buchholz I-CRE8 http://www.i-cre8.co.uk Skype ID: I-CRE8 On Apr 25, 9:29 am, I-CRE8 [EMAIL PROTECTED] wrote: http://www.i-cre8.co.uk/sf-menu/index.php I have a demo menu here which I have

[jQuery] RFC: buttons and cancel class

2008-04-25 Thread Karan Sev
Hi, I have button (type: submit) with the class 'cancel' but this still results in the form being validated. It works if I change the button to an input. After // allow suppresing validation by adding a cancel class to the submit button this.find(input.cancel:submit).click(function() {

[jQuery] Re: problem closing browser events (unload funtion)

2008-04-25 Thread Hilmar Kolbe
Maybe you should try to bind the event directly via HTML: body onUnload=foo() This fixed a problem for me catching a Backbutton-Problem with FF (which otherwise didn't fire)

[jQuery] Re: Ext went GPL

2008-04-25 Thread kwikgoal
Just my opinion, but the license is reasonable. If you want to sell that uses GPL code, you can certainly invest in creating your own version or negotiate a different license (mentioned before). But I would not want to be the first company to test this in court (US). That is why companies shy

[jQuery] Re: My jquery-powered project:

2008-04-25 Thread [EMAIL PROTECTED]
No suggestions??

[jQuery] [validate] RFC: buttons and cancel class

2008-04-25 Thread Karan Sev
Hi, I have button (type: submit) with the class 'cancel' but this still results in the form being validated. It works if I change the button to an input. After // allow suppresing validation by adding a cancel class to the submit button this.find(input.cancel:submit).click(function() {

[jQuery] blockUI: message vertical centering, is there a way to switch it off?

2008-04-25 Thread snobo
Hi, the message is always centered horizontally+vertically within the blocked area. I need the possibility to switch it off, the reason: when I block a long screen section, the vertically centered message might often displayed invisible for a user (below the bottom of the screen!). It seems

[jQuery] modal dialogs - noticeably slow

2008-04-25 Thread snobo
hi, when using modal dialogs with more or less complicated forms inside, working with form controls gets noticeably slow, at least on Pentium 4 2.6 GHz. Opening drop-downs, pressing buttons, typing in the input fields - all actions with a noticeable delay. I understand that in order to make a

[jQuery] jQuery / Spry

2008-04-25 Thread dwhsix
Anybody know of any good comparisons/discussions of jQuery vis-a-vis Spry? If none exist, anybody want to weigh in? :-) I know it's not necessarily an either-or decision, but as we've been evaluating frameworks, our 'coders' prefer jQuery and our web developers prefer Spry. I feel like we

[jQuery] Re: jQuery selectors with reference to object

2008-04-25 Thread Scott Sauyet
tronen wrote: Hi, I am new to jQuery and is curious if this code can be shortened down? It feels like it can, but I couldn't find any way to use jQuery selectors if I have a specific reference to a object. jquery(myElement) returns a jQuery object around that element, much the same way that

[jQuery] Re: Caching?

2008-04-25 Thread Scott Sauyet
Juan Antonio Ibañez Santorum wrote: I have got one problem because it only loads the value first time. After that, no more loads new values. I think the problem is produce because Internet Explorer caches the web and reload old value. It works fine with Firefox, but I need make it work with

[jQuery] Re: blockUI: message vertical centering, is there a way to switch it off?

2008-04-25 Thread Mike Alsup
the message is always centered horizontally+vertically within the blocked area. I need the possibility to switch it off, the reason: when I block a long screen section, the vertically centered message might often displayed invisible for a user (below the bottom of the screen!). It seems

[jQuery] Re: jQuery / Spry

2008-04-25 Thread Rey Bango
There's nothing specific that can be given to you in terms of a direct comparison. The two libs do similar things. Designers tend to like it because of it's simplistic inline syntax for such things as data display but I find that to be intrusive and definitely not in line with progressive

[jQuery] Switching input type

2008-04-25 Thread [EMAIL PROTECTED]
Hi guys, I have a form input that displays Enter a password (value=enter a password), which when in focus I would like to convert to a password field. I'm looking for something like this: input type=text value=enter a password onFocus=hidePass() / to input type=password / I've tried

[jQuery] Re: jquery 1.2.3 not working in my application

2008-04-25 Thread nacnez
I have been continuing this process of moving to jquery 1.2.3 across our application. I faced another issue today. I was getting a javascript error in IE 6. On debugging using alerts I found that there was some problem in the globalEval function. This itself took me sometime. And then by god's

[jQuery] Re: ui.sortable problem

2008-04-25 Thread tickmc
I have the same problem. However, surely there must be another 'event' other than stop - for when the animation ends (because the dom is still being messed around with up until that point?). Mike On Apr 13, 10:34 am, [EMAIL PROTECTED] wrote: I can second that this bug exists. Does anyone have

[jQuery] Switching input type

2008-04-25 Thread [EMAIL PROTECTED]
Hi guys, I have a form input that displays Enter a password (value=enter a password), which when in focus I would like to convert to a password field. I'm looking for something like this: input type=text value=enter a password onFocus=hidePass() / to input type=password / I've tried

[jQuery] Re: Can you improve my Bring-to-Front code?

2008-04-25 Thread [EMAIL PROTECTED]
Thank you, Dave! :) On Apr 25, 12:54 am, Dave Methvin [EMAIL PROTECTED] wrote: var cur = $( this ).css( 'zIndex'); zmax = cur zmax ? cur : zmax; You could also say zmax = Math.max(zmax, this.style.zIndex); I *think* should also work to replace that whole block of code, if

[jQuery] IE6 flicker/display problem

2008-04-25 Thread noon
http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery This url used to display fine in IE6 (im pretty sure...) and now when I open it, the 2-column content is hidden as soon as jQuery fires (on ready). Why is this happening? I've tested this on two machines running IE6. Is this happening to

[jQuery] Problems using dialog in blockUI plugin (vs 2)

2008-04-25 Thread Adam
I just 'upgraded' to blockUI vs 2, and for some reason the following code isn't working. It blocks the page, but everything shown is the blockUI defaults, not my custom dialog, etc. It works fine if I don't use the message: and css: syntax (i.e. I just put the dialog as the parameter).

[jQuery] Re: Problems using dialog in blockUI plugin (vs 2)

2008-04-25 Thread Mike Alsup
I just 'upgraded' to blockUI vs 2, and for some reason the following code isn't working. It blocks the page, but everything shown is the blockUI defaults, not my custom dialog, etc. It works fine if I don't use the message: and css: syntax (i.e. I just put the dialog as the

[jQuery] Printing a list of links from a blog

2008-04-25 Thread thelemondropkid
This might not be possible but worth asking. This is the concept: I would like jQuery to print a list of blog entry titles inside a div that gets the contents from a WordPress blog. The link in the div, when clicked, must take the user to the blog entry - not to mention that the list of links

[jQuery] Re: modal dialogs - noticeably slow

2008-04-25 Thread Richard D. Worth
Which plugin are you using? Also, which browser and OS? - Richard On Fri, Apr 25, 2008 at 9:27 AM, snobo [EMAIL PROTECTED] wrote: hi, when using modal dialogs with more or less complicated forms inside, working with form controls gets noticeably slow, at least on Pentium 4 2.6 GHz.

[jQuery] Re: change title of the dialog by setData

2008-04-25 Thread Richard D. Worth
$('#dlg').data('title.dialog', 'new title'); - Richard On Fri, Apr 25, 2008 at 3:22 AM, myselff [EMAIL PROTECTED] wrote: How do I change dialog title after it was created? I try to do $('#dlg').data('title', 'new title') or $('#dlg').data('dialog.title', 'new title') but its not working

[jQuery] help with toggling classes(!)

2008-04-25 Thread clorentzen
I'm not sure if toggling classes is the right way to describe what I'm having trouble with, so let me explain a little... If you look at the example page here: http://www.cement-site.com/menutest/test2.html Here are the behaviors: 1) mousing over any of the four tabs produces a hover state 2)

[jQuery] Re: Printing a list of links from a blog

2008-04-25 Thread Scott Sauyet
thelemondropkid wrote: I would like jQuery to print a list of blog entry titles inside a div that gets the contents from a WordPress blog. You might want to check out Mike Alsup's Google Feed Plugin: http://www.malsup.com/jquery/gfeed/ -- Scott

[jQuery] Re: broken image url check options on jquery

2008-04-25 Thread JimD
Thanks Ariel, I'll take a look at the preload plugin. On Apr 24, 8:14 pm, Ariel Flesler [EMAIL PROTECTED] wrote: Probably this can help you. jQuery.Preload:http://flesler.blogspot.com/2008/01/jquerypreload.html The Placeholder Mode has a notFound option to set an alternative image. Also,

[jQuery] Re: broken image url check options on jquery

2008-04-25 Thread JimD
Thanks Ariel I'll check it out. On Apr 24, 8:14 pm, Ariel Flesler [EMAIL PROTECTED] wrote: Probably this can help you. jQuery.Preload:http://flesler.blogspot.com/2008/01/jquerypreload.html The Placeholder Mode has a notFound option to set an alternative image. Also, using the onComplete

[jQuery] Accessing forms

2008-04-25 Thread [EMAIL PROTECTED]
Hi guys, i am currently exploring jquery and the form plugin, and i dont know how to access a form, wich is located in a html file i have loaded into a DIV with .load() . i tried the form plugin, but i seems like it cannot find the form...do i have to put everything into one file? or is it

[jQuery] Re: Accessing forms

2008-04-25 Thread Karl Swedberg
Hi Adrian, I think this page will help answer your question: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 25, 2008, at 2:05 PM, [EMAIL

[jQuery] Ajax loading/please-wait image

2008-04-25 Thread Shane
Hi, I want to add your typical 'Loading' animated gif to a page while it's updating via ajax. I'm trying to do this in the $.displayCal function below. The $('div#load-wait') element is a div with the img inside. When the page initially loads, I don't see the image at all, even when $.post

[jQuery] Re: Printing a list of links from a blog

2008-04-25 Thread Quintin Lippiatt
That is fantastic...thanks a ton Scott. Quintin On 25/04/2008, Scott Sauyet [EMAIL PROTECTED] wrote: thelemondropkid wrote: I would like jQuery to print a list of blog entry titles inside a div that gets the contents from a WordPress blog. You might want to check out Mike Alsup's

[jQuery] Ajax Jquery PHP Echo Ampersands HTML Anchor Tag Issues

2008-04-25 Thread jockey_jockey
Hello, I am trying to echo fragment of HTML from a PHP page. The code goes as follows: The URLs that are being generated is a part of a custom framework that we use. So the main.php?page=config_detail means that I go to main.php which redirects me to a page called config_detail.php. Code that

[jQuery] Re: Switching input type

2008-04-25 Thread Ariel Flesler
That error message made it pretty clear, didn't it ? You can't. You need to have 2 elements and toggle them when necessary (hide one, show the other). -- Ariel Flesler http://flesler.blogspot.com On 25 abr, 11:03, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi guys, I have a form input that

[jQuery] Re: [validate] validation doesn't work for radio buttons associated with hidden field

2008-04-25 Thread sebastian
Hi, to solve my problem I had to change the idorName function in jquery.validate: idOrName: function(element) { if (element.type != hidden) { return this.checkable(element) ? element.name : element.id || element.name; }

[jQuery] Re: Ajax loading/please-wait image

2008-04-25 Thread Ryura
Instead of using $.post, use $.ajax. This has far more options like beforeSend which will let you control the timing of your image. On Apr 25, 3:29 pm, Shane [EMAIL PROTECTED] wrote: Hi, I want to add your typical 'Loading' animated gif to a page while it's updating via ajax. I'm trying to

[jQuery] Ajax, XML, and an Axis2 Web Service

2008-04-25 Thread charlesgoddard
I'm using jQuery to call an Axis2 web service with the following code... $(document).ready(function() { $.ajax({ type: 'GET', url: '/ecmsws/services/ecms/getChannelSectionLinks', data: 'articleId=7661', dataType: 'xml',

[jQuery] Re: Problems using dialog in blockUI plugin (vs 2)

2008-04-25 Thread Adam
Yep, I realized that right after posting this. I am using the Liferay portal, and forgot to compile the packaged_js file with the new version, even though I did put the new js file in the right place. But, now I have a new problem. (btw - I'm using Firefox on Vista): $el.data is not a

[jQuery] Re: Problems using dialog in blockUI plugin (vs 2)

2008-04-25 Thread Mike Alsup
But, now I have a new problem. (btw - I'm using Firefox on Vista): $el.data is not a function This version of blockUI requires jQuery v1.2.3. Sorry for not making that clear on the docs page (I've just updated it). Mike

[jQuery] Custom Build

2008-04-25 Thread Glen Lipka
Are there instructions somewhere of how to make a 1.2.3 jQuery build without the effects (slideDown, FadeIn, etc)? Thanks, Glen

[jQuery] Re: ie still stalling at html rewrite

2008-04-25 Thread [EMAIL PROTECTED]
After THREE DAYS of trying increasingly technical solutions, I discovered the problem was caused by that semi-colon after the CSS margin setting. Aarghh :o On Apr 23, 7:18 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Scott You said: Something looks screwy with this. Line 1 - 2

[jQuery] Re: Ajax loading/please-wait image

2008-04-25 Thread Shane
Thanks. I'll give it a shot. On Apr 25, 4:30 pm, Ryura [EMAIL PROTECTED] wrote: Instead of using $.post, use $.ajax. This has far more options like beforeSend which will let you control the timing of your image. On Apr 25, 3:29 pm, Shane [EMAIL PROTECTED] wrote: Hi, I want to add your

[jQuery] [SITE] Twitter

2008-04-25 Thread Rey Bango
Yep. Just noticed that Twitter is now using jQuery v1.2.3 With that said, I just created a new Twitter account for the jQuery project: https://twitter.com/jquery Be sure to follow it as we'll use this as a vehicle for new updates. Rey...

[jQuery] [ANNOUNCE] New Twitter Account for jQuery Project

2008-04-25 Thread Rey Bango
In an effort to maximize the reach of announcements about upcoming jQuery updates and releases, the team has created a new Twitter account: https://twitter.com/jquery I urge you to follow the account, along with the mailing list, for updates and news. Please note that we may not follow

[jQuery] Re: Custom Build

2008-04-25 Thread ripple
Your looking to trim the excess. Smart move. Never seen any docs on that, which isn't surpising since all you have to do is open that js file and start removing what you don't need. Glen Lipka [EMAIL PROTECTED] wrote: Are there instructions somewhere of how to make a 1.2.3