[jQuery] Re: handle trigger return value

2007-11-09 Thread Emil Ivanov
Okay, I found the solution after digging in the jquery file a bit. The key is triggering the event not via trigger, but using triggerHandlers. The return value of this function is the return value of the bound event function. Regards, Emil Ivanov On Nov 8, 5:56 pm, Emil Ivanov [EMAIL PROTECTED]

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-09 Thread Renato Formato
fambizzari ha scritto: Ok... here we go... I got it to work with this... $(table tbody) .mouseover(function(e) { $(e.target).parents('tr').addClass('over'); }) .mouseout(function(e) {

[jQuery] Re: thickbox IE7 position

2007-11-09 Thread [EMAIL PROTECTED]
Hi Michael, The unit that has IE7 in a XP was reset by the sysad, I think just the Windows XP, and I tried again, the positioning problem is gone, so maybe it's just some configuration issue with IE7. A.C. On Nov 7, 11:45 pm, MichaelEvangelista [EMAIL PROTECTED] wrote: Thanks for the reply...

[jQuery] Re: Toggle visibility.

2007-11-09 Thread peter e higgins
On Thursday 08 November 2007 19:06, shapper wrote: Hello, I have an anchor on my page. When I click it I want to Toggle the visibility of a Div with ID = Content. my jQuery foo is lacking, but something along these lines should do it: $('a.mylink').click(function(){ var

[jQuery] Re: Toggle visibility.

2007-11-09 Thread Theodore Ni
You can use toggle(): $(a).click(function() { $('#Content').toggle(); }); On Nov 8, 2007 7:06 PM, shapper [EMAIL PROTECTED] wrote: Hello, I have an anchor on my page. When I click it I want to Toggle the visibility of a Div with ID = Content. If the div is visible then it should

[jQuery] or keyword in attribute selectors

2007-11-09 Thread [EMAIL PROTECTED]
Is there a syntax similar to xPath that allows you to do something like this: $('#content a[href$=.jpg or href$=.gif or href$=.png]') I know this will work: $('#content a[href$=.jpg], #content a[href$=.gif], #content a[href $=.png], ') ...but I'm just curious if an or keyword (or maybe 'pipe'

[jQuery] jqmodal and thickbox problem in opera9.5 beta

2007-11-09 Thread [EMAIL PROTECTED]
hi ive tested opera 9.5 beta release on windows vista i think there is a problem with the css tag position fixed. because if you have a scrolling page the overlay is fixed to top of the page if you scroll down the overlay ends... are there any fixes for this problem or is it an opera problem?

[jQuery] Re: New Plugin jQuery.Rule

2007-11-09 Thread Flesler
I released 0.8.. now IE catches up and every tricky problem has a workaround. I added some more things as well. I'd REALLY like some replies, no need to say much :) Ariel Flesler On 6 nov, 21:41, Flesler [EMAIL PROTECTED] wrote: Thanks for the comments, I released version 0.6. The 'css'

[jQuery] Re: Getting PHP_REFERER value from jQuery

2007-11-09 Thread Theodore Ni
I've always wondered why only Javascript spells it right. On Nov 8, 2007 6:21 PM, Aaron Porter [EMAIL PROTECTED] wrote: How about document.referrer? :) Aaron ElTibetano wrote: Hi, maybe someone can help me on this: I'm using jqModal plugin to open a form from different pages, that

[jQuery] 'add' missing unique?

2007-11-09 Thread Flesler
I see jQuery.fn.add is not checking for duplicates (1.2.1) is that intentional or a bug ?

[jQuery] Re: jQuery.easing[this.options.easing || (jQuery.easing.swing ? swing : linear)] is not a function

2007-11-09 Thread Tóbi
I think there is a bug. When I call the slideIn/Out function I get errors as well, because when the function called then it call the animate func but with wrong parameter order/count. The animate funct get the callback fn (if it presents) as easing parameter. This is a bug, isn't it?

[jQuery] RES: [jQuery] autocomplete - show all

2007-11-09 Thread Feijó
Who handle the search isnt the plugin, its the SQL When your PHP (?) function recieves the plugin request for autocomplete list, check if the string input by user is *, then return all rows. Something like: If (!$string=='*') $where .= and yourfield like '$string%'); The performance will

[jQuery] Re: Major Problem With Dom Traversal

2007-11-09 Thread Flesler
Yes, but if he uses .eq(0), he will be forced to use append, and if the rule addition is done many times, he would be bloating the css with duplicates. Dunno if that's such a problem, maybe .eq(0) works well. Though.. doesn't IE give more priority to the first rule and others to the last ? that

[jQuery] Re: New Plugin jQuery.Rule

2007-11-09 Thread Karl Swedberg
Hi Ariel, How about another link to the plugin? I seem to have lost the rest of this thread. :-) Also, I really like your same-page-link animated scrolling plugin. Very nice! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 9, 2007, at 1:14

[jQuery] Re: How to get an html page not knowing its address

2007-11-09 Thread wick
Sounds like you're talking about cross-domain scripting which as Richard mentioned, isn't possible with AJAX requests - the jquery .load() command uses AJAX, so what Richard is saying is it's simply not possible to use jQuery's .load() to access an html file on a different domain. With AJAX, the

[jQuery] Re: New Plugin jQuery.Rule

2007-11-09 Thread Flesler
Sure it's: http://jquery.com/plugins/project/Rule How can it get splitted, by the way ? Thanks for the compliment, I'm glad you like it. Your article at http://www.learningjquery.com/2007/10/improved-animated-scrolling-script-for-same-page-links was very inspiring :D On 9 nov, 09:52, Karl

[jQuery] superfish bug?

2007-11-09 Thread fr0sty
I think i found a little bug in the superfish menu, cause when i take the defaultmenu on the homepage of superfish http://users.tpg.com.au/j_birch/plugins/superfish/ Using the following steps i can reproduce the bug it only works in IE7: 1. extend 1st top menuitem 2. extend 2th level of one of

[jQuery] Re: Tablesorter and event handlers on table rows

2007-11-09 Thread Suni
Wouldn't it be best (bug or no bug) to just bind the event to the tbody or table element, and check the clicked row from event.target? This method only needs one event handler binding regardless of the number of rows (so performance is better), it works even when you add rows dynamically, and it

[jQuery] chainable ajax() - request

2007-11-09 Thread alife
hello! I want to use the ajax() - method without losing the actual clicked object. do you have a solution for my problem? To give an example: $(a).click(function(){ // now I have the possibility to use load, but I need the ajax - method, because I don't

[jQuery] Better accordeon for my website.

2007-11-09 Thread Popech
Hello. I'd like to ask you how I could have an accordeon menu with standart effects (slideUp slideDown) with the following option : - If I click on a submenu already visible, I don't want it to slide up and down (beautiluf but not useful) For the rest, I use : $(document).ready(function(){

[jQuery] Re: chainable ajax() - request

2007-11-09 Thread Andy Matthews
have you tried $(a).ajax(options); }); ? Seems to me like that should work. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alife Sent: Friday, November 09, 2007 8:17 AM To: jQuery (English) Subject: [jQuery] chainable ajax() - request

[jQuery] Re: Better accordeon for my website.

2007-11-09 Thread Glen Lipka
Maybe something like this? http://www.commadot.com/jquery/faq.php Glen On Nov 9, 2007 5:19 AM, Popech [EMAIL PROTECTED] wrote: Hello. I'd like to ask you how I could have an accordeon menu with standart effects (slideUp slideDown) with the following option : - If I click on a submenu

[jQuery] Re: RES: [jQuery] autocomplete - show all

2007-11-09 Thread rolfsf
Of course... that makes sense muito obrigado Feijó-2! Feijó-2 wrote: Who handle the search isnt the plugin, its the SQL When your PHP (?) function recieves the plugin request for autocomplete list, check if the string input by user is *, then return all rows. Something like:

[jQuery] Firefox's back button stops working after using Thickbox

2007-11-09 Thread Channa L.
Hi, I use Thickbox to load a separated file into iframe. After clicking a few links in that file in the iframe and closing the Thickbox, my Firefox's back button stops working. How to get around this? Thanks, Channa

[jQuery] Re: additional events

2007-11-09 Thread alife
thank you!

[jQuery] Re: thickbox IE7 position

2007-11-09 Thread MichaelEvangelista
maybe it's just some configuration issue with IE7 hmm... ok... but what? Still need to find a fix, since more than just me will be using this site! Any ideas on what to fix/change with the thickbox css or js to make it center correctly? -- -- Michael Evangelista, Evangelista Design Web :

[jQuery] Re: jqmodal and thickbox problem in opera9.5 beta

2007-11-09 Thread Cloudream
wait for opera 9.5 stable. On Nov 9, 6:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi ive tested opera 9.5 beta release on windows vista i think there is a problem with the css tag position fixed. because if you have a scrolling page the overlay is fixed to top of the page if you

[jQuery] [OT] RegEx (preg_replace) search in PHP

2007-11-09 Thread Olaf Bosch
Hi all, sorry for this OT, can you help me with this? I have this string Text [ Trash ] Text [ Trash ] Text I will have this Text Text Text What can i do? my stupid try: $news_desc = preg_replace ('![.+?]!is','',$news_desc); -- Viele Grüße, Olaf --- [EMAIL

[jQuery] Re: [OT] RegEx (preg_replace) search in PHP

2007-11-09 Thread Jake McGraw
$string = 'TEXT [ GARBAGE ] TEXT [ GARBAGE ] TEXT'; $string = preg_replace('/\[[^\]]+\]/','',$string); echo $string; Should do the trick. On Nov 9, 2007 11:50 AM, Olaf Bosch [EMAIL PROTECTED] wrote: Hi all, sorry for this OT, can you help me with this? I have this string Text [ Trash ]

[jQuery] Re: Scripts at the bottom of the page

2007-11-09 Thread Bil Corry
mike503 wrote on 11/8/2007 9:03 PM: I also might try submitting this as a bug/enhancement request and see where it goes there. Yes, please do. - Bil

[jQuery] Re: jQuery.easing[this.options.easing || (jQuery.easing.swing ? swing : linear)] is not a function

2007-11-09 Thread George GSGD
Can you give me some example code? Generally if there's a problem with callbacks it's a syntax error. On Nov 9, 7:39 am, Tóbi [EMAIL PROTECTED] wrote: I think there is a bug. When I call the slideIn/Out function I get errors as well, because when the function called then it call the animate

[jQuery] Re: Better accordeon for my website.

2007-11-09 Thread Popech
Exactly. Do the job. Thanks, subject closed. On 9 nov, 16:03, Glen Lipka [EMAIL PROTECTED] wrote: Maybe something like this?http://www.commadot.com/jquery/faq.php Glen On Nov 9, 2007 5:19 AM, Popech [EMAIL PROTECTED] wrote: Hello. I'd like to ask you how I could have an accordeon

[jQuery] How to change the focus date, on a inline UI Date Picker with simple links ?

2007-11-09 Thread Candes
How to change the focus date, on a inline UI Date Picker with simple links ? So, when I press a next button, the calendar need to be updated to a specif date. I tries all possible situations that I know but no luck. The jQuery.datepicker._adjustDate function is not enoght or good. I know the

[jQuery] Re: Getting PHP_REFERER value from jQuery

2007-11-09 Thread ElTibetano
Thanks very much Aaron! I followed your tip, but realized that when the jqModal window is opened it does not alter the document.referrer value, so it still points to the previous page, so I've been testing using document.location and document.title to get the values I've needed. Thanks again!

[jQuery] invalid flag after regular expression ??

2007-11-09 Thread Casey Wise
This is the first time I've posted in this group, hope I'm doing this correctly. I'm making an AJAX call from my page to score some data. It's happening all over the place elsewhere in the navigation... posting and getting, working fine, no problem. This one call though, my FireBug is

[jQuery] Re: Tablesorter and event handlers on table rows

2007-11-09 Thread Nat Williams
Maybe I should have mentioned this, but in my case, I'm using hoverIntent, trying to write a sort of flyover context menu for each table row. Is the event object and it's target and so on available to me in the callback functions? I wish I actually knew what I was doing... Nat On Nov 9, 8:17

[jQuery] Re: Google Analytics Tracking With jQuery

2007-11-09 Thread Craig
Bit more... turns out you can declare it in the function, just remove var. So instead of var _uacct = code; // - local declaration Write: _uacct = code; // - global declaration On Nov 8, 4:13 pm, Craig [EMAIL PROTECTED] wrote: Hi Jason, I've been working on something very similar and

[jQuery] Traversing Speed / Multiple Binds

2007-11-09 Thread Brad F
I have a few questions... I program in a modular enviroment. I develop modules that can be place on a by our users. It's possible for a user to place a module on a page twice, there by causing the jQuery for that particular module to be run twice. This generally causes clicks that toggle

[jQuery] Re: Compressing your js files with Ant

2007-11-09 Thread Plasmafire
target name=js.minify.bulk apply executable=java parallel=false fileset dir=. includes=foo.js, bar.js / arg line=-jar / arg path=yuicompressor.jar / mapper type=glob from=*.js

[jQuery] Re: Re[jQuery] sizing iframe

2007-11-09 Thread randomuser
Karl Swedberg-2 wrote: I ran across this blog post a while back, showing how to resize iframes using jQuery. Maybe this one will work: http://jbscdev.blogspot.com/2007/08/automatic-iframe-height-sizing- using.html --Karl _ Karl Swedberg www.englishrules.com

[jQuery] Re: invalid flag after regular expression ??

2007-11-09 Thread Andy Matthews
It's because of this chunk here: ul lia href=javascript: void(0 /div /td); id=link_archiveDraftsDrafts/a/li

[jQuery] Re: [OT] RegEx (preg_replace) search in PHP

2007-11-09 Thread Olaf Bosch
Jake McGraw schrieb: $string = 'TEXT [ GARBAGE ] TEXT [ GARBAGE ] TEXT'; $string = preg_replace('/\[[^\]]+\]/','',$string); echo $string; Should do the trick. Thank you, super trick, works perfect. -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de

[jQuery] Dynamic form field changes aren't POSTed

2007-11-09 Thread Slantedview
I'm using JQuery to, among other things, dynamically create and modify form input elements in response to events. I've noticed though, that whenever I do this, any newly created inputs or changes to existing inputs don't make it through when the form is POSTed. Example: $(function(){

[jQuery] Ajax window in jqModal not loading javascript

2007-11-09 Thread Jack Inscoe
Hello, I am using jqModal to load an html page that needs to include additional javascript files to run properly. Everything runs great on FF but IE6 and 7 aren't allowing my includes in the jqModal ajax window (or so it seems). I include the css for the window in my parent page and that works

[jQuery] Less Js Routes

2007-11-09 Thread Mika Tuupola
Rails people might be interested in this: http://code.google.com/p/lessjsroutes/ -cut- Have you ever wanted to use named routes in your JavaScript? So have I. Now you can. Less Js Routes will generate a JavaScript file with functions that give you the path to the route and functions that

[jQuery] Re: Dynamic form field changes aren't POSTed

2007-11-09 Thread Glen Lipka
Check out the jQuery Live plugin. http://brandonaaron.net/docs/livequery/ It will bind events even they are posted after the page loads. Glen On Nov 9, 2007 11:58 AM, Slantedview [EMAIL PROTECTED] wrote: I'm using JQuery to, among other things, dynamically create and modify form input

[jQuery] Re: Ajax window in jqModal not loading javascript

2007-11-09 Thread jinscoe
I goofed when typing in the script include, i have been closing the script tag. head script type=text/javascript src = /js/filebrowser.js/script /head

[jQuery] Re: Scripts at the bottom of the page

2007-11-09 Thread mike503
Yes, please do. http://dev.jquery.com/ticket/1911 Hopefully it will get the right eyes looking at it now :)

[jQuery] Select box (selectedIndex) problems in Internet Explorer (ie) on refresh and back buttons

2007-11-09 Thread [EMAIL PROTECTED]
I am trying to come up with a workaround for the fact that IE does not allow one to hide() option elements in a select box: http://groups.google.com/group/jquery-en/browse_thread/thread/8c0cd83701397c/925696d05016bb22?lnk=gstq=hide+select+options+ie#925696d05016bb22 I am doing that by using a

[jQuery] Display message for users with incompat. browsers?

2007-11-09 Thread MadMapper
I'd like to show a message (display a div) for users who show up with a browser that jQuery doesnt fully support - what's the best approach? Will jQuery work on old browsers, just not perfectly? -- A

[jQuery] Firefox/Mac scrollbar bug on slide effects

2007-11-09 Thread nemozob
http://lab.atomeye.com/ This only applies to Firefox on Macs. In the above example the first 'close' targets an element with 'overflow: auto;' and opens/closes it correctly. In the second example the element with 'overflow:auto' is nested and the scrollbar remains visible when the parent div

[jQuery] Sortable on dynamic content - how to?

2007-11-09 Thread asle
Hello, I have a list with sortable elements li using the Interface plugins. This works fine. But when I add a new element with .append the new element is not draggable. I am quite new to jquery and am using Live Query on other dynamic elements. How would I write this function to make every

[jQuery] Re: jQuery.ajax POST is getting a 411 error.

2007-11-09 Thread noriaki
Hi, Doing some curls, I was able to send a post successfully the server by setting 'Content-Length: 0' as an additional header on the request. I don't see an obvious way to set additional headers using jQuery.ajax, though. Has anybody else run into this issue before? I don't know a way to

[jQuery] SITE: http://www.bankofamerica.com/

2007-11-09 Thread Andy Matthews
HOLY CRAP! My wife was in our BoA account this evening and they had some nice AJA and JS based interaction going on. So I thought it would be interestting to see what they were using. Sure enough, good old jQuery, right there behind the scenes. That's amazing as jQuery is one of the biggest

[jQuery] Re: SITE: http://www.bankofamerica.com/

2007-11-09 Thread [EMAIL PROTECTED]
Ha ha ha... I bet you that is news to John On Nov 9, 9:36 pm, Andy Matthews [EMAIL PROTECTED] wrote: HOLY CRAP! My wife was in our BoA account this evening and they had some nice AJA and JS based interaction going on. So I thought it would be interestting to see what they were using. Sure

[jQuery] Re: SITE: http://www.bankofamerica.com/

2007-11-09 Thread John Resig
Woah! Maybe they won't charge me all my overdraft fees now :-x One can dream! --John On Nov 9, 2007 9:36 PM, Andy Matthews [EMAIL PROTECTED] wrote: HOLY CRAP! My wife was in our BoA account this evening and they had some nice AJA and JS based interaction going on. So I thought it would be

[jQuery] livequery with validate????

2007-11-09 Thread alexanmtz
Hi, Im using a project that use the livequery to keep the navigation in ajax... The problem is when I use the validate plugin together, Im having the problem when I try to make a validation after a page is loaded with load method... the links its ok, but I loose the ajax on submit, even with

[jQuery] jQuery Noobie Question - Dragging examples

2007-11-09 Thread Rick
Hello list. After playing around with some jQuery draggable examples, I would like to know how you trap for the location of the new object? What I would like to do is create a site where the user has a list of files (word, text, excel, pdf) represented visually by a series of icons. Via their

[jQuery] Reflect Jquery plugin cancels links in IE

2007-11-09 Thread SterlingK
Has anyone else had this problem with using the Reflect Jquery plugin (http://jquery.com/plugins/project/reflect) where image links no longer function in IE 7 (haven't tried 6 yet). Any ideas what to do about it? FF works fine. A development example:

[jQuery] Basic JQuery paging with CodeIgnitor

2007-11-09 Thread gh0st
Hi there, I'm wanting to code a very basic pagination service that works with, or without JavaScript switched on. I do not want to use a plug-in of any kind to solve this. Primarily, I want to understand what the $.ajax is supposed to be like when handing $_GET/$_POST variables. This is what I

[jQuery] Re: Display message for users with incompat. browsers?

2007-11-09 Thread Guy Fraser
MadMapper wrote: I'd like to show a message (display a div) for users who show up with a browser that jQuery doesnt fully support - what's the best approach? Will jQuery work on old browsers, just not perfectly? Add the div like this: div id=no-jqueryyour message to the user here/div