[jQuery] Re: jqRevolve - new, simplistic carousel-like plugin released!

2008-11-12 Thread Alexandre Plennevaux
hello brice, do you think this would be possible with your plugin? : http://www.lisapram.com i look forward to skinning it ! On Thu, Nov 13, 2008 at 12:38 AM, Brice Burgess <[EMAIL PROTECTED]> wrote: > > Alexandre, > > Glad you checked out jqRevolve. This is an initial revision and I > plan to

[jQuery] Re: Adjusting the position and offset of the text

2008-11-12 Thread fastnoc
Can anyone help here? On Nov 12, 7:39 am, fastnoc <[EMAIL PROTECTED]> wrote: > 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 si

[jQuery] Re: IE tabbing not following tabindex after DOM manipulation

2008-11-12 Thread 5h4rk
OK, just come up with a solution. In the JS, instead of adding the tabindex like this: $(this).attr('tabindex', i); I changed it to this: this.tabIndex = i++; And IE now actually follows the tabindex. Is there any explanation for this? On Nov 13, 2:45 pm, 5h4rk <[EMAIL PROTECTED]> wrote: >

[jQuery] Can I make image change only by part of it?

2008-11-12 Thread David .Wu
http://www.dominos.com.tw/located/located_map.asp like the map on this website, when your mouse over a part of it, it only change the same area.

[jQuery] Re: Cross domain with $.ajax(url : 'http://someWhereElse.aspx')

2008-11-12 Thread Bil Corry
John Ruffin wrote on 11/12/2008 11:59 PM: > Bil, can you elaborate on your approach a bit? Short example. Sure, you mentioned you were trying to do this: $.ajax( url : 'https://somedomain.com/secure/somefile.aspx') Instead, you have to do this (assuming your site is "mydomain.com"):

[jQuery] Re: Cross domain with $.ajax(url : 'http://someWhereElse.aspx')

2008-11-12 Thread Michael Geary
Bil, thanks for the pointer to http://www.ajax-cross-domain.com/ - I took a quick look at it, and it appears to be an exceptionally well thought-out solution. John, go to that site, read the docs, and try the examples. I think it will answer all your questions. If not, come back here and we can k

[jQuery] Re: Cross domain with $.ajax(url : 'http://someWhereElse.aspx')

2008-11-12 Thread John Ruffin
Bil, can you elaborate on your approach a bit? Short example. On Nov 12, 11:43 pm, Bil Corry <[EMAIL PROTECTED]> wrote: > John Ruffin wrote on 11/12/2008 11:21 PM: > > > What's the best practice for this remote domain call scenario? > > ($.getJson(), $.getScript(), etc...) > > AFAIK, IE8 is the

[jQuery] Re: [ANNOUNCEMENT] jquery.timepickr.js: first official release

2008-11-12 Thread h3
Thanks a lot, I've commited the fix. Unfortunately there is still some errors, at least we're closer .. I hope. On Nov 11, 10:17 am, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > Look terrific in FF, but it's seriously broken in IE7. > > I get a script error on line 8007 whenever I click on the pa

[jQuery] Re: Cross domain with $.ajax(url : 'http://someWhereElse.aspx')

2008-11-12 Thread Bil Corry
John Ruffin wrote on 11/12/2008 11:21 PM: > What's the best practice for this remote domain call scenario? > ($.getJson(), $.getScript(), etc...) AFAIK, IE8 is the only browser currently that has a XS-XHR feature (XDR): http://blogs.msdn.com/ie/archive/2008/06/23/securing-cross-site-xm

[jQuery] Re: jquery.timepickr.js: first official release

2008-11-12 Thread h3
It's been there from day one. http://code.google.com/p/jquery-utils/wiki/UiTimepickr On Nov 11, 2:05 pm, MorningZ <[EMAIL PROTECTED]> wrote: > " I'd like to see a version that is click-based." > > better yet, an option to make it hover or click based > > On Nov 11, 1:36 pm, "[EMAIL PROTECTED]"

[jQuery] Cross domain with $.ajax(url : 'http://someWhereElse.aspx')

2008-11-12 Thread John Ruffin
I've read through a number of posts regarding cross domain issues and the "Access to restricted URI denied (NS_ERROR_DOM_BAD_URI) " exception. I have a $.ajax( url : 'https://somedomain.com/secure/somefile.aspx') call. This works in IE but not in Firefox. In FireFox I get the above exception.

[jQuery] Re: Draggable Modal Window?

2008-11-12 Thread kamelkev
I swapped to embed tags and works pretty well in firefox and IE - but I can't start the video with safari. It's as if the contained document is stuck On Nov 13, 12:02 am, kamelkev <[EMAIL PROTECTED]> wrote: > Well, some progress. I found that the previous code I was using was > dumb, and wrote a

[jQuery] tree view layout without recursive function

2008-11-12 Thread Dirceu Barquette
Hi, First, sorry my english... Second: I've been developing a new plug-in. The tree view layout is build over DOM nodes and using css styles. The main difcult about tree views is the recursive function running over all register. I solve this! The jqTreevial plug-in only needs a JSON object build

[jQuery] Re: Draggable Modal Window?

2008-11-12 Thread kamelkev
Well, some progress. I found that the previous code I was using was dumb, and wrote another iteration. This one works perfectly in firefox, and is draggable but not playing in safari, and for whatever reason doesn't even appear in IE(i think that's because of the object tag though) Suggestions?

[jQuery] Re: highlighted current link on accordian menu

2008-11-12 Thread George
Here is just an idea. you can get current url from windows.location then run a JQuery and find tag with href atribute equal to the current url and set it's class to something with color pink for example :) Sounds like 2-3 lines of code Of course query parameters (like ? ) might complicate t

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

2008-11-12 Thread Karl Swedberg
On Nov 12, 2008, at 11:17 PM, Karl Swedberg wrote: Hi Adam, In that case, you'll probably need to use John Resig's nextUntil plugin. The way I managed to do it is a little sneaky. Someone else should be able to come up with a better way. But in the meantime, you can take a look at a wor

[jQuery] Re: Combining jQuery and jQuery UI

2008-11-12 Thread Karl Swedberg
Hi Chris, Sorry for the delay in getting back to you. I just tested a page on my server, concatenating and minifying all the files you mentioned -- jQuery core, all the UI files, nymodal plugin, and clueTip plugin. I'm not seeing a problem. Here is a link to the min/concat script I use: h

[jQuery] Re: how to fade in newly dom created content?

2008-11-12 Thread pedalpete
I've been having a similar issue with sliding an element to be visible after adding it to the dom. I think the problem is that your class is visible, and therefore it will just show-up, rather than fade in which you are doing after. Have you tried setting the visibility of messages to hidden, an

[jQuery] Re: jQuery Tabs: CSS Bug

2008-11-12 Thread rolfsf
looks like you need to clear your float you could probably just add clear:both to the ui-tabs-panel rule ui-tab-panel { clear: both; } (assuming Klaus' ie-specific display: inline-block isn't working for whatever reason) On Nov 12, 2:45 pm, ripcurlksm <[EMAIL PROTECTED]> wrote: > I am ha

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

2008-11-12 Thread Adam
Beautiful! That edit worked with Ricardo's script. Thank you both very much! -Adam On Nov 12, 9:21 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Actually, Ricardo's should work if ... > > 1. you change var $this = this; to var $this = $(this); > 2. you know for sure you'll only have two paragrap

[jQuery] Re: Visual Studio Intellisense Issues

2008-11-12 Thread Fontzter
Thanks Jeff. I have read these. The problem I am having is with plugins (UI for example) that use the syntax I mentioned. I get the intellisense for $ along with it's chainability but none of the plug-ins show up. This article shows it working with .draggable http://www.west-wind.com/Weblog/

[jQuery] Re: Jquery in Drupal

2008-11-12 Thread bharani kumar
Then i should write snippet in the .module file, this snippet is enough for jquery in drupal Ha, Then what modules i should enable or install , 2008/11/13 dfletcher <[EMAIL PROTECTED]> > > What you really need is the ID of the generated form element. Use the > browser "view source" feature

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

2008-11-12 Thread Karl Swedberg
Actually, Ricardo's should work if ... 1. you change var $this = this; to var $this = $(this); 2. you know for sure you'll only have two paragraphs after each h1 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 12, 2008, at 9:04 PM, Adam wrote: Ricardo

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

2008-11-12 Thread Karl Swedberg
Hi Adam, In that case, you'll probably need to use John Resig's nextUntil plugin. The way I managed to do it is a little sneaky. Someone else should be able to come up with a better way. But in the meantime, you can take a look at a working example here Just view source for the script. --

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

2008-11-12 Thread CodingCyborg
Well, it turns out I just wasn't paying attention when I ended the .each function and only had a } when I needed a }); That fixed it all up and it's running fine now :) On Nov 12, 3:55 pm, CodingCyborg <[EMAIL PROTECTED]> wrote: > Thank you for your response. Unfortunately that didn't solve the >

[jQuery] IE tabbing not following tabindex after DOM manipulation

2008-11-12 Thread 5h4rk
Basically, I have 4 links, Link 1 Link 2 Link 3 Link 4 then I use jQuery to add the tabindex to all of them so they look like something like this, Link 1 Link 2 Link 3 Link 4 and then I need to move the 3rd one to the top, so I clone the 3rd one and prepend it to the top, and finally I remove

[jQuery] Draggable Modal Window?

2008-11-12 Thread kamelkev
Hi, I'm wondering if anyone has stumbled across any code/sites that have a jquery draggable modal window for displaying content... specifically videos (youtube,bliptv,etc). I have written something very basic whereby I have a draggable space with a youtube video within it - but the problem i

[jQuery] Super Star NTR Collections

2008-11-12 Thread 24 Hrs Movies
NTR Collections

[jQuery] highlighted current link on accordian menu

2008-11-12 Thread Low Kian Seong
Can someone show me how to highlight the accordion menu entry based on the current page that we are in ? As in sort of like an accordion that knows it's current page?

[jQuery] jQuery and XML

2008-11-12 Thread SHiDi
Hi all, I'm trying to load XML content using jQuery's $.ajax. In this XML file there are some HTML tags included such as strong, br, and ul. However when the content being append to HTML it seems that those HTML tags has been stripped out. Is there anyway that I can append the XML content with t

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

2008-11-12 Thread Adam
Ricardo, Thanks for your response. Are you sure about this syntax? Ive tried this and there's no result. The code is not modified at all... -Adam On Nov 12, 4:09 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > This should work for this specific case (separated in lines for > readability): > > $('h1

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

2008-11-12 Thread alanfluff
:D Thanks SO much Hector! That worked perfectly -- I am *most* grateful to you. Cheers, -Alan On Nov 12, 4:14 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > I think maybe something like this might work: > $('.maps').click(function() > { >     $(this).next('.expander.map').show(); > > }); >

[jQuery] Re: Form Plugin Returng JSON into a File For Download

2008-11-12 Thread Mike Alsup
> I am returning JSON from the Form Plugin using a file upload and it > returns a file with the value in it for download and does not his the > success callback.  Any reason for this?  It only does this when a file > is in the file upload. This sounds familiar! Check out this recent thread: htt

[jQuery] Re: add a value to text field

2008-11-12 Thread Michael Geary
If you'd like a cleaner jQuery way to do this, it would be: $('#start_odo11').val( start_odo ); For more information, see: http://docs.jquery.com/Attributes/val You'll find this same pattern in a few places in jQuery. For example, the .html() method works the same way: var myhtml = $(...).htm

[jQuery] Re: jQuery Tabs: CSS Bug

2008-11-12 Thread Klaus Hartl
Sounds like a Doctype issue. The CSS you are using was only tested with IE in standards mode. Do you use a Doctype? --Klaus On 12 Nov., 23:45, ripcurlksm <[EMAIL PROTECTED]> wrote: > I am having problems with the gray line that is supposed to appear at the > bottom of the tabs. Instead it is ap

[jQuery] Re: add a value to text field

2008-11-12 Thread GrootBaas
OK, no worries. I used this ... document.getElementById('start_odo11').value = start_odo; Thanks anyway. On Nov 13, 10:36 am, GrootBaas <[EMAIL PROTECTED]> wrote: > Hi all, > > This is a very junior question that I need help with please ... > > I use > > var start_odo = $("#end_odo"+counter).va

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

2008-11-12 Thread alanfluff
Wow! Thanks Hector - I am most grateful to you. I will try this tomorrow and let you know :) Cheers, -Alan On Nov 12, 4:14 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > I think maybe something like this might work: > $('.maps').click(function() > { >     $(this).next('.expander.map').show(

[jQuery] jquery treeview reload problems / firefox

2008-11-12 Thread ktklin
Hello, i have got a problem with my jquery treeview menu and firefox 3.0.3 I built a static menu that contains 60 folders at the root level. At the second level there are 10 folders that have 1 - 15 child nodes The menu looks like SECTION |-Table | |-Add Table | |-Table1 | |-Table2

[jQuery] Re: clean jquery to halt caching

2008-11-12 Thread Erik Beeson
Maybe (untested): if('Navigator' == navigator.appName) { $(document).ready(function() { $('form').each(function() { this.reset(); }); }); } Using $(window).load instead of $(document).ready would be truer to your original code, but using document.ready would pr

[jQuery] Form Plugin Returng JSON into a File For Download

2008-11-12 Thread Mike
I am returning JSON from the Form Plugin using a file upload and it returns a file with the value in it for download and does not his the success callback. Any reason for this? It only does this when a file is in the file upload.

[jQuery] www.google.com/ig or my.yahoo .com style widgets and/or gadgets?

2008-11-12 Thread Ashish
Is there Jquery plugin or ui component which I can use to create rectangle widgets/gadgets like the ones on www.google.com/ig or my.yahoo.com and place them on a page? Any pointers or links on how to do it ? thanks Ashish

[jQuery] TableSorter 2.0.3 > parser "usLongDate" doesn't like Timezone added...

2008-11-12 Thread Geoff Millikan
The native TableSorter 'usLongDate' fails if the timezone is added like this: Nov 12, 2008 1:25 PM (PST) Nov 11, 2008 2:25 PM (EST) So I chopped the timezone off with my own custom parser like in the below. But once I add my custom parser, the native parser 'usLongDate' doesn't run! Can I run

[jQuery] clean jquery to halt caching

2008-11-12 Thread mastorna
I'm patching up someone's old, and I do mean old code, and they've got this line of code attached to the onload handler of the body tag: onLoad="if ('Navigator' == navigator.appName) document.forms[0].reset ();" This is an edge case for netscape (details below). Is there a more appropriate way

[jQuery] .load not loading script text

2008-11-12 Thread Mike
I am loading a .aspx page into a div that has three user controls on it that contains javascript and a javascript include. This is being stripped out when injected into the page. Any reason why?

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

2008-11-12 Thread Rik Lomas
Haha, I'll give up trying to code on the fly and actually test my JS next time 2008/11/12 Karl Swedberg <[EMAIL PROTECTED]>: > 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

[jQuery] Re: jqRevolve - new, simplistic carousel-like plugin released!

2008-11-12 Thread Brice Burgess
Alexandre, Glad you checked out jqRevolve. This is an initial revision and I plan to expand upon the plugin. I will certainly I strive to add support for scrolling by the next item's x posistion, as well as continuos scroll (aka "wrap" -- or TRUE carousel support). Regarding fluid scrolling;

[jQuery] add a value to text field

2008-11-12 Thread GrootBaas
Hi all, This is a very junior question that I need help with please ... I use var start_odo = $("#end_odo"+counter).val() to get the value of a text input. What statement would I use to assign the value start_odo to a text input. Thanks guys ...

[jQuery] Re: jqRevolve - new, simplistic carousel-like plugin released!

2008-11-12 Thread Alexandre Plennevaux
Brice, i didn't dig into your code, but the animation is not very fluid on the demo page. did you use the scrollLeft javascript command? ( http://www.maconstateit.net/tutorials/JSDHTML/JSDHTML14/jsdhtml14-03.htm ) On Thu, Nov 13, 2008 at 12:05 AM, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote

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

2008-11-12 Thread ricardobeat
This should work for this specific case (separated in lines for readability): $('h1').each(function(){ var $this = this; $this .add( $this.next() ) .add( $this.next().next() ) .wrapAll(''); }); - ricardo On Nov 12, 7:48 pm, Adam <[EMAIL PROTECTED]> wrote: > Karl, >

[jQuery] Re: jqRevolve - new, simplistic carousel-like plugin released!

2008-11-12 Thread Alexandre Plennevaux
nice Brice, very efficient ! one feature request: i'm not fond of continuous scrolling. would be nice to have an option to specify whether it should scroll pixel per pixel or from each item's x position to the next's, so that you don't have half-showing images. If you implement this feature, i'll

[jQuery] jQuery Tabs: CSS Bug

2008-11-12 Thread ripcurlksm
I am having problems with the gray line that is supposed to appear at the bottom of the tabs. Instead it is appearing at the top of the tabs as shown here: http://www.nabble.com/file/p20471209/tabs-bug.jpg I have a copy of this displaying correctly, when I add it to my site it gets tweaked. Iv

[jQuery] jqRevolve - new, simplistic carousel-like plugin released!

2008-11-12 Thread Brice Burgess
Ladies and Gentlemen, I'm writing to inform you all of a new addition to the jQuery plugin family... Please welcome jqRevolve! jqRevolve is a carousel-like plugin for jQuery. It provides a component that scrolls arbitrary content (Images, Markup, Text, Iframes, You Name it) in a defined '

[jQuery] Re: working with checkboxes

2008-11-12 Thread Michael Geary
You could use: $('#test')[0].checked Your original attempt to use $('#test').checked didn't work because checked is a property of the DOM element, not the jQuery object. By using [0] you get the first (and in this case, only) DOM element in the jQuery object's array of elements. $('#test') is p

[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 -Origina

[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: 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 ot

[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: ... ... ... ... ... ... I have tried a number of different things, and this function works to wrap the first set of 3 in the div: $("#content h1:nt

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

2008-11-12 Thread yo2lux
The situation is a bit complicated. I don't see each image on page. I have the first image on contact page. :( So .imagefield:eq(0) is not a good solution On Nov 12, 11:36 pm, George <[EMAIL PROTECTED]> wrote: > You can do > $('.imagefield:eq(0)') to select first image out of all 'imagefield' > >

[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: > > > > > > > > I need to set an event listener only on the first image. > - I think, $('.imagefield') is not a good sol

[jQuery] Select a tricky image with jQuery.

2008-11-12 Thread yo2lux
I have some image on webpage: I need to set an event listener only on the first image. - I think, $('.imagefield') is not a good solution, because set the event listener on all image. Is possible to set the event listener using the image name ? For example: first.gif ? Sorry I have a comp

[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. G

[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('class="fade">'); --Kar

[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 c

[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'); tabContents.hide().

[jQuery] Re: TableSorter not correctly sorting GridViews

2008-11-12 Thread George
Most likely the TableSorter could not detect the datatype correctly and sorts it as if it were text. Then you get that "70" > "100" Probably you have some HTML tags in the cell so TableSorter thinks the content is text. Checkout their examples on how to sort when HTML tags are present. George.

[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 http://weblogs.asp.net/scottgu/archive/2007/06/21/vs-2008-javascript-int

[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 t

[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] 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: ... ... ... ... ... ... and I want to turn that into: ... ... ... ... ... ... I have tried using the ("h1 + p + p") with .wrap, but this seem

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

2008-11-12 Thread alanfluff
Yep. Get that. Tks. However, I am trying to make my code re-useable, right now there are two sets of trigger-and-map markup. I will have 10 to 20. I was hoping to find a jQ construct that would say: "if a map-trigger is clicked, I will expand the map that immediately follows it in the DOM". Tha

[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 , 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 s in that with non-numeric values? You can force numeric sorting of a colgroup by explicitly d

[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 -

[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- trigger

[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 t

[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) [nsIDOMJSWindow.se

[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] 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:

[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 o

[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:

[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 o

[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() { $('.expander.map').show();

[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 wha

[jQuery] how to fade in newly dom created content?

2008-11-12 Thread sqad
$('#messages').after('something nice').fadeIn(5); Umm, should this work? I am basiclaly trying to add elements to the #messages div but fade them in slowly after each addition. Any help is appreciated.

[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

[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] 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 thi

[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] 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 man

[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 thi

[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 PROT

[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 act

[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] working with checkboxes

2008-11-12 Thread George
I have a checkbox the $('#test').checked always returns undefined. No matter if checkbox checked or not... Is it how it's supposed to be? I thought that $('#test') will return me the object wrapped so i have original methods/properties as well as new one that came from JQuery. Am i mistaken? T

[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)" Date: Wednesday, November 12, 2008, 1:11 PM I have a checkbox the $('#test').checked always re

[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 tr').each

[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. Th

[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] 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 t

[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 Klaus Hartl
Do your anchors inside the tabs list look like this: ... or like this: ... ? 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 code should I use?  I > tried puttin

  1   2   >