[jQuery] Re: link fade in / out

2008-11-12 Thread Althalos
*bump* On 11 Nov, 19:15, Althalos [EMAIL PROTECTED] wrote: Hi. I have a menu consisting of some simple text links. They start with an opacity of 0.33 then when I move my mouse over them they lit up. They worked well, however the effects wanted to stack up in a queue so that when I had swept

[jQuery] Re: document Ready function in the Ajax Response

2008-11-12 Thread ravithokala
Sorry for the last reply.. Example below, when run FF3 will alert message In Index will only appear and on IE7 will alert In Index and also In Ajax Response code. index.jsp html head script type=text/javascript src=/framework/jquery/ jquery-1.2.6.js/script script type=text/javascript

[jQuery] Re: jeditable autocomplete - time to revisit?

2008-11-12 Thread Mika Tuupola
On Nov 12, 2008, at 1:46 AM, [EMAIL PROTECTED] wrote: I was wondering if it my be possible to add autocomplete functionality using the addInputType API. It looks like it might be possible to attach autocomplete to the text input through the element: argument when declaring a custom input

[jQuery] Re: link fade in / out

2008-11-12 Thread Liam Potter
not entirely sure if it will work this way but try $(a).bind(mouseenter,function(){ $(this).fadeTo(500,1); } }); $(a).bind(mouseenter,function() { $(this).fadeTo(300,0.33); }); Althalos wrote: *bump* On 11 Nov, 19:15, Althalos [EMAIL PROTECTED] wrote: Hi. I have a menu consisting

[jQuery] Re: link fade in / out

2008-11-12 Thread Liam Potter
not entirely sure if it will work this way but try $(a).bind(mouseenter,function(){ $(this).fadeTo(500,1); } }); $(a).bind(mouseleave,function() { $(this).fadeTo(300,0.33); }); Althalos wrote: *bump* On 11 Nov, 19:15, Althalos [EMAIL PROTECTED] wrote: Hi. I have a menu consisting of

[jQuery] New plugin: IFRAME event propagation

2008-11-12 Thread msoliver
Hello, I've added a plugin for event propagation for IFRAMEs. I wrote this to propagate onresize events to all IFRAMEs because I've noticed that certain browsers don't do this reliably (e.g. IE6 has some bizarre optimization that prevents the IFRAME from getting the resize event in certain

[jQuery] feature request: optionally use createElementNS

2008-11-12 Thread dfletcher
I've been playing with writing XUL desktop apps. Currently building my own custom media center PC and a XUL app will be the core of it. So I thought it would be really cool if I could use JQuery to manipulate my hybrid XUL / SVG / HTML doc just as I do on the websites I maintain. I include

[jQuery] Newbie Question: DropUP menus

2008-11-12 Thread Mike
I'm working on a website at http://beta.ponderosatreeservice.com (excuse the dust). As you can see I have a series of tabs at the bottom of the large image. Instead of a traditional menu that drops down below the tab I'd like it to extend up with the original tab header still at that top. I've

[jQuery] cloneinf TR with event

2008-11-12 Thread Pharabus
I have a working solution to this but can't help thinking I am missing an easier way. I have a table that is prepoulated server side and the user has the ability to add a row. one of the inputs has a function bound to the keyup event. wether I clone(true) or clone() the attribute fonkeyup seems

[jQuery] Re: conditional remote validation

2008-11-12 Thread Jörn Zaefferer
How and where do you decide what is valid? Either do it on the serverside, in which case you don't have to modify the clientside logic. Or on the clientside, in this case a custom method that returns (instead of the usual true/false) just a string dependency-mismatch. That cancels all further

[jQuery] [Superfish] Third horizontal navigation?

2008-11-12 Thread Klaus Hartl
... On 12 Nov., 14:04, Klaus Hartl [EMAIL PROTECTED] wrote: Please avoid killing someone else's thread by changing the subject. How to unsubscribe:http://groups.google.com/support/bin/answer.py?answer=46608src=top5;... --Klaus On 12 Nov., 11:36, SEAN CLIFFORD [EMAIL PROTECTED] wrote:

[jQuery] [autocomplete] positioning of select box

2008-11-12 Thread Fatih
Hi all, I am new to this message group. I am using the autocomplete plugin successfully but have a little problem with the absolute positioning of the select box. The select box automatically positions to the bottom of the input field. But in my case the borders of the input field is set to

[jQuery] Re: [Superfish] Third horizontal navigation?

2008-11-12 Thread kidhermes
kidhermes wrote: Hello I've try to put a third horizontal navigation with Superfish instead vertical. How I can do that easly? Is that possible? Thx for yoru feedback. Dom So, I hope my request are still active. Any idea? Dominique -- View this message in context:

[jQuery] Re: [Superfish] Third horizontal navigation?

2008-11-12 Thread Liam Potter
I've never used superfish but I'm guessing it would be css changes, probably float:left on the the li tag the some widths, padding etc. kidhermes wrote: kidhermes wrote: Hello I've try to put a third horizontal navigation with Superfish instead vertical. How I can do that easly? Is

[jQuery] Re: [Superfish] Third horizontal navigation?

2008-11-12 Thread Joel Birch
I don't have an example to point you to, but it is definitely possible. How easy it is will depend on your CSS skills though. I guess you should start with the version that has the third tier vertical, and adjust that third tier to be more like the second. Joel.

[jQuery] Adjusting the position and offset of the text

2008-11-12 Thread fastnoc
I didn't notice this right away. I thought it would be in the css but that's not the case. I've created my own images for the background and I need to adjust where the text starts and an offset for the right side (padding) as well. next, In order to use this multiple times on one page you must

[jQuery] Re: jeditable autocomplete - time to revisit?

2008-11-12 Thread Mika Tuupola
On Nov 12, 2008, at 10:28 AM, Mika Tuupola wrote: On Nov 12, 2008, at 1:46 AM, [EMAIL PROTECTED] wrote: I was wondering if it my be possible to add autocomplete functionality using the addInputType API. It looks like it might be possible to attach autocomplete to the text input through

[jQuery] Re: problem in setting opacity

2008-11-12 Thread Karl Swedberg
Not sure, but have you tried setting the opacity with jQuery? Something like this (after the line where you call the cluetip() method): $('#cluetip').css('opacity', '.7'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 12, 2008, at 7:03 AM, Balu

[jQuery] Re: links going to top of page

2008-11-12 Thread rpetras
Yes, the preventDefault() works just great, but only for a tags that are loaded with the page initially. When I load a sub-page within the div tags, that's where I'm having the problem. That sub-page does not respect the new a handler. I suspect it is because the new page is loaded after the

[jQuery] Re: [autocomplete] - IE 6 and IE 7 Scroll bar problem.

2008-11-12 Thread Akio
Jorn, I have opened a ticket for the issue. Ticket #3563 http://ui.jquery.com/bugs/ticket/3563 Thanks! Akio On Nov 12, 3:07 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Thanks, now I can reproduce it. I indeed used the mousewheel to scroll, but it looks like the click is the important part.

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-12 Thread Karl Swedberg
On Nov 12, 2008, at 9:05 AM, Rik Lomas wrote: This is completely untested, but this is a bit simpler: $('#PG1_L03-table').find('td:eq(3), td:eq(5), td:eq(7), td:eq(9)').find('input').bind.. That won't work, because it'll only select the 4th, 6th, 8th, and 10th TD. 2008/11/12

[jQuery] Re: how to use another javascript funtion (and outside variables) inside jquery model

2008-11-12 Thread Oli
Thanks Mike and Ricardo, One of the things that Ricardo was right about was he used . rather than # and the reason why he did that was he declared 'links' as a class and not ID. Hope it make sense. And Mike I like your tricks on making hide me button works in that simple way. All cool. Just to

[jQuery] Character encoding problem when using ajax .load

2008-11-12 Thread James C
Hi, I have a latin-1 encoded webpage that i'm loading text/html into using .load When i'm loading in english text everything is fine and dandy although today i had the pages translated and the pages now don't display the special characters properly. I'm pretty sure this has got to do with the

[jQuery] text-shadow

2008-11-12 Thread Martin Hintzmann
Hello, I have added a plugin for CSS-3 Text-Shadow for IE. It reads the value of text-shadow and gives IE an equivialant effect with the propertiary CSS Filter Blur. Simply write your CSS h1 { text-shadow: 2px 2px 2px #999; } And then apply the plugin $(h1).textShadow();

[jQuery] Tablesorter 2.0 widget Problem

2008-11-12 Thread Guengoeren
Hi Guys, I'm trying Tablesorter 2.0 a little bit and using the Zebra Widget, which works great. Now I trying to modify the Widget a little bit. But my jQuery skills are bad - (rly bad). So the Zebra Widget changes the CSS-Classes for each row, it should do this to the last column too, but i

[jQuery] unsubscribe

2008-11-12 Thread SEAN CLIFFORD
unsubscribe _ Get 30 Free Emoticons for your Windows Live Messenger http://www.livemessenger-emoticons.com/funfamily/en-ie/

[jQuery] Re: links going to top of page

2008-11-12 Thread Rik Lomas
Yeah, it'll be due to the new a tags that are loaded into the page, there's more on this here: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F http://www.learningjquery.com/2008/05/working-with-events-part-2 2008/11/12 rpetras [EMAIL

[jQuery] Re: fade a background color

2008-11-12 Thread Gi$li
jQuery might not be able to do classes, but it can do attributes. You can use a selector like $('#links [EMAIL PROTECTED]').fadeTo(slow, 0.1); On Oct 29, 8:24 pm, evanct [EMAIL PROTECTED] wrote: so i wanted to have some links in which the background color fades in and out on hover. thing is,

[jQuery] Re: jQuery Uploader Flash player 10 fix

2008-11-12 Thread Crazy-Achmet
No news are good news? ;)

[jQuery] Re: Tab divs disappear

2008-11-12 Thread aaron
I'm not sure what you mean, what initialization code should I use? I tried putting the AJAX options in there, but got the same result. On Nov 11, 3:48 pm, Klaus Hartl [EMAIL PROTECTED] wrote: And you're not using Ajax tabs? Rotate and Ajax together is not supported right now. --Klaus On

[jQuery] Re: Event Capture Architecture

2008-11-12 Thread saqib
Is there any open source project so that I can their working in this scenario (ie multiple event capture) On Nov 10, 9:33 pm, saqib [EMAIL PROTECTED] wrote: I am developing an application in which I have to define click events for many elements( the list may go up to hundreds). So what would

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-12 Thread Rik Lomas
Following on from Karl, how about: $('#PG1_L03-table td:nth-child(2n+3)').slice(0, 4).find('input') 2008/11/12 Lisaraël [EMAIL PROTECTED]: $('#PG1_L03-table td:nth-child(odd) input') ? (untested too) -- Rik Lomas http://rikrikrik.com

[jQuery] Re: Event Capture Architecture

2008-11-12 Thread Liam Potter
I would do a seperate bind method for each element saqib wrote: Is there any open source project so that I can their working in this scenario (ie multiple event capture) On Nov 10, 9:33 pm, saqib [EMAIL PROTECTED] wrote: I am developing an application in which I have to define click

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-12 Thread Rik Lomas
Ah yeah, damn you :nth-child for being one-indexed 2008/11/12 Karl Swedberg [EMAIL PROTECTED]: On Nov 12, 2008, at 9:05 AM, Rik Lomas wrote: This is completely untested, but this is a bit simpler: $('#PG1_L03-table').find('td:eq(3), td:eq(5), td:eq(7),

[jQuery] Sortable type behavior?

2008-11-12 Thread Shawn Grover
I need to allow the user to re-order a number of DIVs on the screen, each of which contains a title DIV that would be the drag handle. UI's sortables seems almost perfect, but I don't see how I can apply it to the divs in my case... Any suggestions? A sample div might look something like:

[jQuery] Re: Event Capture Architecture

2008-11-12 Thread Shawn Grover
For ease of coding, a separate bind method for each element is pretty straight forward. However when you are dealing with a large number of elements, and your processing needs to look at those large number of elements, then performance can get to be a problem. For instance

[jQuery] [jQuery][TreeView] does it support drag and drop ?

2008-11-12 Thread Pham Anh Tuan
Hi all, I wonder jQuery TreeView support drag and drop, anyone knows ? Thanks for reading and looking for any reply ;) bowlkhin

[jQuery] Re: Character encoding problem when using ajax .load

2008-11-12 Thread Bil Corry
James C wrote on 11/12/2008 9:58 AM: I need to somehow keep the file as latin-1 but get jquery/javascript to understand it, either by encoding it as utf-8 (on the fly) or some other crazy means. You need to specify the character set in the response header. - Bil

[jQuery] Re: JSLitmus invaluable tool

2008-11-12 Thread howardk
Michael, I thought I had thanked you for your post yesterday but don't see that here today. Maybe I did a 'reply to author'? In any event, thanks again. I implemented your code and see where I went wrong. Also thanks for a good demonstration of how to use the call ( ) function -- very nice. I've

[jQuery] TableSorter not correctly sorting GridViews

2008-11-12 Thread Damien
Hello, I have a GridView, and applied to this GridView is the TableSorter jQuery Plug-in. As mentions it does not seem to be sorting correctly! Especially in the case of number where it sometimes using the first number to sort. Thus 70 is considered higher than 100! I am not sure what's causing

[jQuery] Re: [jQuery][TreeView] does it support drag and drop ?

2008-11-12 Thread Pham Anh Tuan
Ah, thank u Jorn :) -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: 13 Tháng Mười Một 2008 12:11 SA To: jquery-en@googlegroups.com Subject: [jQuery] Re: [jQuery][TreeView] does it support drag and drop ? The treeview

[jQuery] Re: [jQuery][TreeView] does it support drag and drop ?

2008-11-12 Thread Jörn Zaefferer
The treeview plugin as-is doesn't support drag and drop. Its planned to be included in a future version of jQuery UI, with full d'n'd support. There is some experimental code in a branch somewhere... Jörn On Wed, Nov 12, 2008 at 5:51 PM, Pham Anh Tuan [EMAIL PROTECTED] wrote: Hi all, I

[jQuery] Re: Tab divs disappear

2008-11-12 Thread Klaus Hartl
Do your anchors inside the tabs list look like this: a href=/some/url.../a or like this: a href=#identifier.../a ? The initialization is the same, no matter if Ajax tabs or in-page. --Klaus On 12 Nov., 17:09, aaron [EMAIL PROTECTED] wrote: I'm not sure what you mean, what initialization

[jQuery] can you simplify this selector? easy for you...

2008-11-12 Thread ggerri
Hi Gurus have the following selector and wonder how this could be simplified? :confused: $('#PG1_L03-table td:nth-child(3) input, #PG1_L03-table td:nth-child(5) input, #PG1_L03-table td:nth-child(7) input, #PG1_L03-table td:nth-child(9) input').bind.. need to bind an event to all input

[jQuery] Re: [HELP] How do I get attribute's value of selected node ?

2008-11-12 Thread Pham Anh Tuan
Thank u, Shawn, While waiting for any solution, I found that livequery can help me in this situation. Again, thanks for your support, Shawn :-) bowlkhin _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Sent: 10 Tháng Mười Một 2008 10:37 SA

[jQuery] Re: ClueTip iframe issue

2008-11-12 Thread Karl Swedberg
On Nov 11, 2008, at 3:14 PM, Rmesser wrote: I have a website with navigation containing cluetip which functions properly, until I hit a page with an iframe. The title area of clueTip goes transparent, Title is displayed and Close link displayed over drop shadow. Both FF and IE. Does the

[jQuery] Re: ActsAsTreeTable plugin IE 6 issue

2008-11-12 Thread invincible_virus
Finally fixed it. image was using a left margin of -19px, so it was going out of the table. Image was visible once I added a left padding of 19 px on the td of the first node. Anyways, just updated in case someone faces the same problem.

[jQuery] Re: get the class that starts with ...

2008-11-12 Thread Bradley Sepos
Per Richard's comment, if you know the tag names of the elements that will match the class (like div, p), you can do the following: $(div,p).filter(function(){ var classes = $(this).attr(className).split( ); var found = false; for (var i = 0; i classes.length; i++){

[jQuery] Re: Tab divs disappear

2008-11-12 Thread aaron
Ahh, thanks, the light bulb just clicked on. In order for AJAX to work, the html code is different, not the initialization code. I think I kept glossing over that in the documentation. On Nov 12, 11:29 am, Klaus Hartl [EMAIL PROTECTED] wrote: Do your anchors inside the tabs list look like

[jQuery] Re: Validator Plugin ajaxSubmit

2008-11-12 Thread Jörn Zaefferer
Ah, found it. Need to appendTo(body) first, then hide. Its fixed in the latest revision. Jörn On Wed, Nov 12, 2008 at 11:14 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: That seems to be a bug in this code, with some Safari specific problem: var loader = jQuery('div id=loaderimg

[jQuery] serializing array of html elements using Jquery

2008-11-12 Thread Tohin
I am having a problem.. form input type='text' name='items[1][amount]' value='10' / input type='text' name='items[1][label]' value='10' / input type='text' name='items[2][amount]' value='10' / input type='text' name='items[2][label]' value='10' / /form i can access each

[jQuery] [Superfish] Third horizontal navigation?

2008-11-12 Thread kidhermes
Hello I've try to put a third horizontal navigation with Superfish instead vertical. How I can do that easly? Is that possible? Thx for yoru feedback. Dom -- View this message in context: http://www.nabble.com/-Superfish--Third-horizontal-navigation--tp20457772s27240p20457772.html Sent from

[jQuery] [Superfish] Third horizontal navigation?

2008-11-12 Thread Klaus Hartl
Please avoid killing someone else's thread by changing the subject. How to unsubscribe: http://groups.google.com/support/bin/answer.py?answer=46608src=top5lev=index --Klaus On 12 Nov., 11:36, SEAN CLIFFORD [EMAIL PROTECTED] wrote: unsubscribe

[jQuery] Re: Parsing JSON with JQuery

2008-11-12 Thread Jörn Zaefferer
Here is an example of autocomplete with JSON data: http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html You have to follow it along quite closely - that API for working with JSON is still rather ugly. Jörn On Wed, Nov 12, 2008 at 2:25 AM, nic [EMAIL PROTECTED] wrote: Hi, I

[jQuery] Re: Taconite - remove surrogate div

2008-11-12 Thread Bob Schellink
In case someone runs into the same issue, I've attached a patch to remove the temporary div. In short this snippet moves the content after the div and then removes the div. Not sure if this will have nasty side effects though. regards bob Index: jquery.taconite.js --- jquery.taconite.js

[jQuery] [autocomplete] problem with hasFocus

2008-11-12 Thread jbasdf
I have been working on adding autocomplete into a plugin for the tinyMCE editor. For some reason in the popup the autocomplete would only work on a few occasions - mainly when I was using the debugger. I noticed that on line 314 in jQuery.autocomplete.js: if ( data data.length hasFocus ) {

[jQuery] Visual Studio Intellisense Issues

2008-11-12 Thread Fontzter
Is anyone else having trouble getting the new VS 2008 intellisense to work? I have downloaded SP1 and the hotfix. I can get it working on the jquery file. However it seems to break on any plugin that uses this syntax: (function($) { ... } )(jQuery); Any thoughts or suggestions would help.

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-12 Thread Karl Swedberg
On Nov 12, 2008, at 11:13 AM, Rik Lomas wrote: Following on from Karl, how about: $('#PG1_L03-table td:nth-child(2n+3)').slice(0, 4).find('input') That won't work either, unless the table has only one row. Would have to do something like this instead: $('#PG1_L03-table

[jQuery] Re: working with checkboxes

2008-11-12 Thread ripple
try:   if ($(#test).is(:checked)) {}     --- On Wed, 11/12/08, George [EMAIL PROTECTED] wrote: From: George [EMAIL PROTECTED] Subject: [jQuery] working with checkboxes To: jQuery (English) jquery-en@googlegroups.com Date: Wednesday, November 12, 2008, 1:11 PM I have a checkbox input

[jQuery] Re: Jquery in Drupal

2008-11-12 Thread dfletcher
What you really need is the ID of the generated form element. Use the browser view source feature to see what you get for a form ID, then you can something like: drupal_add_js('$(#id-of-the-form).submit(function() { return false; });', 'inline'); Of course, change id-of-the-form to the actual

[jQuery] Re: working with checkboxes

2008-11-12 Thread George
Thanks, But I think that if (document.getElementById('test').checked ) {} would be better...performance wise and readability is better Is there problem with this approach? PS: Is there shorter syntaxes for document.getElementById('test')? Thanks George. On Nov 12, 1:25 pm, ripple [EMAIL

[jQuery] Re: link fade in / out

2008-11-12 Thread Althalos
No... it does the same thing that the hover function does =( I don't want stuff to be added to the queue, the queue should have at most 1 item at the time.. thanks for your answer though. Anyone else? On 12 Nov, 10:04, Liam Potter [EMAIL PROTECTED] wrote: not entirely sure if it will work this

[jQuery] How to avoid triggering two patterns that match - from a JavaScript/jQuery lightweight

2008-11-12 Thread alanfluff
Hi, I am trying to limit the scope of a click trigger to the first/next matched target. This works fine if I have one container of class .expander.map but as soon as I add another, they both respond (I guessed they would ;) $('.linkify.map').click(function() {

[jQuery] Re: How to avoid triggering two patterns that match - from a JavaScript/jQuery lightweight

2008-11-12 Thread Hector Virgen
Try $('.linkify.map:first'). That should return the first matched element. -Hector On Wed, Nov 12, 2008 at 11:04 AM, alanfluff [EMAIL PROTECTED]wrote: Hi, I am trying to limit the scope of a click trigger to the first/next matched target. This works fine if I have one container of class

[jQuery] Re: jeditable autocomplete - time to revisit?

2008-11-12 Thread [EMAIL PROTECTED]
Wow, that was sooo simple. Works like a charm! Impressive.. Now, thats the way a plugin should work. Nice work Mike. -jl On Nov 12, 7:04 am, Mika Tuupola [EMAIL PROTECTED] wrote: On Nov 12, 2008, at 10:28 AM, Mika Tuupola wrote: On Nov 12, 2008, at 1:46 AM, [EMAIL PROTECTED] wrote: I

[jQuery] Re: fade a background color

2008-11-12 Thread Richard D. Worth
Take a look at jQuery UI Effects Color Animations: http://docs.jquery.com/UI/Effects/ColorAnimations - Richard On Wed, Oct 29, 2008 at 3:24 PM, evanct [EMAIL PROTECTED] wrote: so i wanted to have some links in which the background color fades in and out on hover. thing is, though, i wanted

[jQuery] Re: How to avoid triggering two patterns that match - from a JavaScript/jQuery lightweight

2008-11-12 Thread alanfluff
Thanks _lots_ for the quick reply Hector -- I'll go try that. Cheers! On Nov 12, 2:22 pm, Hector Virgen [EMAIL PROTECTED] wrote: Try $('.linkify.map:first'). That should return the first matched element. -Hector On Wed, Nov 12, 2008 at 11:04 AM, alanfluff [EMAIL PROTECTED]wrote: Hi,

[jQuery] Form Submit does not Submit Data but its Callback Function works

2008-11-12 Thread Martin Möller
Hi List, please take a look, heres my sample code: $(.form-config-content-make-button).click(function() { $(#form-config-content-make).submit(top.$.nyroModalRemove()); }); Right now: The Nyromodal window gets removed but it doesnt fire submit. Greets, Martin

[jQuery] livequery Component returned failure code: 0xc1f30001

2008-11-12 Thread jquertil
alright, this one is a different one... I don't even know what I'm supposed to be looking for in order to debug this. Below is a Firebug console error. Anyone has some insight? much obliged! [Exception... Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED)

[jQuery] Re: Form Submit does not Submit Data but its Callback Function works

2008-11-12 Thread Hector Virgen
It may be better to observe form's submit event instead of the buttons. This fires the event no matter how the form was submitted (for example, press enter when an input field is focused). (#form-config-content-make).submit(function() { top.$.nyroModalRemove(); return true; // submits the

[jQuery] Re: How to avoid triggering two patterns that match - from a JavaScript/jQuery lightweight

2008-11-12 Thread alanfluff
Almost what I want - but the first map is always the one shown, I could have explained better, my bad, sorry. Pseudo code for what I have: . . click-to-trigger-map mapOne[div] . . click-to-trigger-map mapTwo[div] . . etc The :first seems to make mapOne display, regardless which click-to-

[jQuery] Re: How to avoid triggering two patterns that match - from a JavaScript/jQuery lightweight

2008-11-12 Thread Hector Virgen
You're right, $('.linkify.map:first') will always return the first element that matches linkify.map. If you want to make it in respect to a container, try $('#container').find('.linkify.map') -Hector On Wed, Nov 12, 2008 at 11:49 AM, alanfluff [EMAIL PROTECTED]wrote: Almost what I want - but

[jQuery] Re: TableSorter not correctly sorting GridViews

2008-11-12 Thread aquaone
I'm not sure what a GridView is but if it's a table, are you sure it's formatted correctly? In cases where it's sorting lexicographically instead of numerically, something must be throwing it off. Do you have tds in that colgroup with non-numeric values? You can force numeric sorting of a colgroup

[jQuery] Tabs not working in IE, fine in FF

2008-11-12 Thread JD
I have set up a tabbed section for different parts of my portfolio. It works great in Firefox, no problems, but when I try it in IE 7 it doesn't work at all. I'm a noob when it comes to JavaScript/jQuery (trying to learn though). Any ideas as to why would be appreciated. Check this out to see

[jQuery] Re: [Superfish] Third horizontal navigation?

2008-11-12 Thread [EMAIL PROTECTED]
Thx. But I can't find it. Because all four and fifth level are the same as... the vertical third. Dom On Nov 12, 3:12 pm, Joel Birch [EMAIL PROTECTED] wrote: I don't have an example to point you to, but it is definitely possible. How easy it is will depend on your CSS skills though. I guess

[jQuery] Re: Tab scrolling

2008-11-12 Thread Jecki
Hi, I manage to get the things up here http://www.uphigh.org/tab/index.html . The slow connection might take you some times. I look forward for comments and feedback, since it's definitely far from perfect. Regards, Jecki On Oct 20, 1:46 pm, Jecki [EMAIL PROTECTED] wrote: Hi, I'm also in

[jQuery] Re: Form Submit does not Submit Data but its Callback Function works

2008-11-12 Thread Mike Alsup
$(.form-config-content-make-button).click(function() {         $(#form-config-content-make).submit(top.$.nyroModalRemove());       }); That's not a callback function, it's a call me right now function because you've included the paretheses.

[jQuery] Re: Tabs not working in IE, fine in FF

2008-11-12 Thread JD
I've done some looking at it looks like my var tabs = [ ]; doesn't return anything in IE, but it does in FF. I get an array on an alert in FF, but get a blank alert on IE. Any ideas? I've left the alert in for now. Thanks. On Nov 12, 12:50 pm, JD [EMAIL PROTECTED] wrote: I have set up a

[jQuery] Re: PrettyCheckboxes not working with radio array names

2008-11-12 Thread Ahhk
Anyone know how to fix this? -- View this message in context: http://www.nabble.com/PrettyCheckboxes-not-working-with-radio-array-names-tp20412719s27240p20467067.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] selector to .wrap multiple elements in HTML

2008-11-12 Thread Adam
I am trying to figure out how to select 3 elements that occur together and wrap all 3 together (not individually) in a DIV tag. This is what I have: h1.../h1 p.../p p.../p h1.../h1 p.../p p.../p and I want to turn that into: div class='fade' h1.../h1 p.../p p.../p h1.../h1 p.../p p.../p /div

[jQuery] Re: conditional remote validation

2008-11-12 Thread spellingcity
In this particular case, for example: current email: [EMAIL PROTECTED] The field above (sample form field) should only validate the email address if it is different than the user's current email address of [EMAIL PROTECTED]. Where is the documentation for a custom method? In the meantime, I

[jQuery] pseudo-forms, .data(), oh my

2008-11-12 Thread ken
I have been out of the jQuery loop recently, and have little exposure with the new data functions in jQuery. My situation is, I am refactoring an application (using jQuery, of course) which currently makes heavy use of what I can only describe as pseudo-forms; essentially, a page might contain

[jQuery] Re: jScrollPane snapping when link is clicked

2008-11-12 Thread QuadCom
Point the href to 'javascript:void(0)' It disables the href but the onclick event will still fire. On Nov 11, 2:32 pm, X10D3 [EMAIL PROTECTED] wrote: I have a list of links in my pane. When I click a link it snaps to the top of the pane and I have to click it again. Is there anyway I can fix

[jQuery] [jQuery][TreeView][Help] is there any way to implement an icon at the right side of each node ?

2008-11-12 Thread Pham Anh Tuan
Hi all, I’m looking for your help in implementing an icon at the right side of each node, in jQuery TreeView. Why do I want to do that, simply I just want to have an icon, such as Delete icon, so that I can click on that icon to delete a node, or do sth like edit, or … an icon to show the

[jQuery] Re: selector to .wrap multiple elements in HTML

2008-11-12 Thread Karl Swedberg
Hi Adam, Take a look at the .wrapAll() method. that should get you closer. You'll need to select all of the elements first, though. $('h1 + p + p') only selects that final p. If you want to wrap the div around all h1 and p elements, you could try $('h1,p').wrapAll('div class=fade/div');

[jQuery] Re: How to avoid triggering two patterns that match - from a JavaScript/jQuery lightweight

2008-11-12 Thread Hector Virgen
I think maybe something like this might work: $('.maps').click(function() { $(this).next('.expander.map').show(); }); That would expand the next map based on whatever was clicked. I hope this helps :) -Hector On Wed, Nov 12, 2008 at 12:04 PM, alanfluff [EMAIL PROTECTED]wrote: Yep. Get

[jQuery] Re: Tabs not working in IE, fine in FF

2008-11-12 Thread JD
Ok, I've done some more debugging. This is what I have: $(function () { var tabs = []; var tabContainers = []; var tabContents = $('div.tabs div');

[jQuery] Re: Visual Studio Intellisense Issues

2008-11-12 Thread Jeffrey Kretz
Here are a couple of articles on it: http://brennan.offwhite.net/blog/2008/02/01/intellisense-for-jquery-in-visua l-studio-2008/ http://blogs.ipona.com/james/archive/2008/02/15/JQuery-IntelliSense-in-Visua l-Studio-2008.aspx

[jQuery] Re: Event Capture Architecture

2008-11-12 Thread Johannes Kupser
Can't you give the elements the same class and bind the class with the click event?

[jQuery] Select a tricky image with jQuery.

2008-11-12 Thread yo2lux
I have some image on webpage: img class=imagefield height=310 width=310 title= alt= src=/ sites/default/files/first.gif/ img class=imagefield height=310 width=310 title= alt= src=/ sites/default/files/second.gif/ img class=imagefield height=310 width=310 title= alt= src=/

[jQuery] Tabs problem in IE

2008-11-12 Thread JD
I have set up a tabbed section for different parts of my portfolio. It works great in Firefox, no problems, but when I try it in IE (I tired it in 7) it doesn't work at all. I'm a noob when it comes to JavaScript/jQuery (trying to learn though). Any ideas as to why would be appreciated. Check

[jQuery] Re: Select a tricky image with jQuery.

2008-11-12 Thread George
You can do $('.imagefield:eq(0)') to select first image out of all 'imagefield' George On Nov 12, 4:33 pm, yo2lux [EMAIL PROTECTED] wrote: I have some image on webpage: img class=imagefield height=310 width=310 title= alt= src=/ sites/default/files/first.gif/ img class=imagefield

[jQuery] Re: serializing array of html elements using Jquery

2008-11-12 Thread Rik Lomas
You can use the makeArray function: http://docs.jquery.com/Utilities/jQuery.makeArray 2008/11/12 Tohin [EMAIL PROTECTED]: I am having a problem.. form input type='text' name='items[1][amount]' value='10' / input type='text' name='items[1][label]' value='10' / input type='text'

[jQuery] Re: selector to .wrap multiple elements in HTML

2008-11-12 Thread Adam
Karl, Thanks very much. My bad, but what I actually need is the div wrapped around each of the sets of h1,p,p. So, the resulting code must be: div class='fade' h1.../h1 p.../p p.../p /div div class='fade' h1.../h1 p.../p p.../p /div I have tried a number of different things, and this function

[jQuery] Re: Script to keep draggable windows in the main window not working?

2008-11-12 Thread CodingCyborg
Thank you for your response. Unfortunately that didn't solve the problem, nor did it bring any errors to error console. I believe both ways of doing that are valid, unless there is something in the code stopping it from getting there, in which case they might not work. Would it be possible that

[jQuery] Re: conditional remote validation

2008-11-12 Thread Jörn Zaefferer
About writing custom methods: http://docs.jquery.com/Plugins/Validation/Validator/addMethod Jörn On Wed, Nov 12, 2008 at 7:29 PM, spellingcity [EMAIL PROTECTED] wrote: In this particular case, for example: current email: [EMAIL PROTECTED] The field above (sample form field) should only

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-12 Thread Rik Lomas
This is completely untested, but this is a bit simpler: $('#PG1_L03-table').find('td:eq(3), td:eq(5), td:eq(7), td:eq(9)').find('input').bind.. Rik 2008/11/12 ggerri [EMAIL PROTECTED]: Hi Gurus have the following selector and wonder how this could be simplified? :confused:

[jQuery] Re: pirobox plugin released

2008-11-12 Thread diego
Hi Shawn, you 'r right, spaces make the script more readable, i'm going to leave, for the unpacked version, the original script. tnx for your advices. Diego On 12 Nov, 02:26, Shawn Grover [EMAIL PROTECTED] wrote: I'd think that leaving the spaces and such in there make it more readable.  And

[jQuery] Re: Select a tricky image with jQuery.

2008-11-12 Thread yo2lux
By the way is possible to set an event listener using the title attribute ? I think is possible for me to set title=first in html On Nov 12, 11:47 pm, yo2lux [EMAIL PROTECTED] wrote: The situation is a bit complicated. I don't see each image on page. I have the first image on contact page. :(

[jQuery] Re: Select a tricky image with jQuery.

2008-11-12 Thread Smith, Allex
This could be a poor html design issue and I would try to change it to start. But if you are stuck with what you have you can try something like this: $(img[src$='first.gif']); For more info check out: http://docs.jquery.com/Selectors This is untested as always. Good luck Allex -Original

  1   2   >