[jQuery] Re: Very weird and frustrating IE problems

2008-12-08 Thread yellow1912
You are right, I had to actually get it, strip out the domain manually. Not something very nice, but it works, and I'm really happy. I just didnt know that IE does this, so I spent many hours trying to figure out why, kinda drove me crazy. Thank you again for you help, JK D... you M$ On Dec

[jQuery] Re: Very weird and frustrating IE problems

2008-12-08 Thread Jeffrey Kretz
It is unfortunately the default behavior for IE. There are different ways you can handle this, depending on what you're trying to accomplish. You can do a lot of stuff with regex, such as stripping out the domain, making the path relative to the current page, etc. What is it that you want to do

[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-08 Thread Alexandre Plennevaux
Methen, heil to a fellow php coder: ) you need to use the callbacks provided by gilles'script, especially these ones: http://jquery.webunity.nl/jQuery.uploader/docs/callbacks#fileUploadStarted fileUploadStarted callback will launch when the upload actually start, so theer, feed it with a funct

[jQuery] Re: jQuery array iteration with offset?

2008-12-08 Thread ricardobeat
Try $(array).slice(1).each(function(i) { // i will still start at 0 }); - ricardo On Dec 9, 1:56 am, Wells <[EMAIL PROTECTED]> wrote: > Consider that I have an array ["a","b","c"] and that I want to iterate > over it using the standard each() function like so: > > $(array).each(function (i)

[jQuery] Re: Calling a jQuery function from html onClick

2008-12-08 Thread ricardobeat
$('a').click(function(){ $('#swap_image').attr('src', this.rel); }); On Dec 8, 11:52 pm, Jason <[EMAIL PROTECTED]> wrote: > I am working on a project where I would like to click a link and call > a jQuery function to swap some images. I have this working just with > javascript, but I am stuck

[jQuery] Re: Selector filters using less-than/greater-than operators?

2008-12-08 Thread ricardobeat
The simplest alternative is to write a filter function: $("element").filter(function(){ return $(this).attr('attribute') <= x; }); - ricardo On Dec 8, 11:56 pm, mgl <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I'm wondering if there is a way to select element with an attribute > filter t

[jQuery] Very weird and frustrating IE problems

2008-12-08 Thread yellow1912
I have encountered a really annoying problem with ie6 and 7: When I append an img like this The src is automatically changed to the http:// form It doesnt happen on FF though. Anyone knows why this happens? Regards

[jQuery] Overlapping BlockUIs

2008-12-08 Thread Ranjit
Is it possible to display one blockUI over another

[jQuery] Re: filter expression with multiple class names

2008-12-08 Thread mgl
Hah, ok. I suppose I should have guess that one. Thanks for pointing it out. On Dec 9, 5:41 pm, "Hector Virgen" <[EMAIL PROTECTED]> wrote: > You can add a second class to your CSS rule by appending another dot and the > class name: > // Finds child elements that contain both classes > $('div')

[jQuery] Re: Hot to remove or replace onclick function

2008-12-08 Thread David .Wu
thanks a lot, I figure it out this morning too. :) On Dec 8, 11:44 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Much better now :D > > jQuery version of your script: > > > $(document).ready(function(){ > > $('#set').click(function(){

[jQuery] How to achieve 2 "moo" gallery effects?

2008-12-08 Thread expat101
I am looking for gallery and slideshow effects like these, can i achieve them with jquery and how please http://tools.yootheme.com/yootools/extensions/yoogallery.html http://smoothgallery.jondesign.net/showcase/gallery/#myGallery-picture(4)

[jQuery] Nested value for callback

2008-12-08 Thread Göran Törnquist
Hi, I'm in over my head with this one, and I can't seem to find the solution to make it work. I've taken some time to break out the code for the problem, and below is the code that manifests my dilemma. This code presents a simple table with rows that are tagged with row id's. When the user

[jQuery] Re: how to image cache using jQuery?

2008-12-08 Thread darwin liem
Hi, Sorry for my unclear question... What I'm try to resolve here to load the page first in term of layout without loading all the images, then after all layout and modules loaded, the jQuery can start fill all backgrounds and images with preassigned image (the image should be finished loaded b

[jQuery] Re: jQuery array iteration with offset?

2008-12-08 Thread Michael Geary
Just write your own loop using traditional JavaScript code. You don't have to use jQuery's .each() function. For example: for( var i = 1, n = array.length; i < n; ++i ) { var element = array[i]; // your code here } -Mike > From: Wells > > Consider that I have an arra

[jQuery] Re: filter expression with multiple class names

2008-12-08 Thread Hector Virgen
You can add a second class to your CSS rule by appending another dot and the class name: // Finds child elements that contain both classes $('div').find('.class-one.class-two'); -Hector On Mon, Dec 8, 2008 at 7:28 PM, mgl <[EMAIL PROTECTED]> wrote: > > Hello again, > > Does anyone know how (or

[jQuery] Re: jQuery array iteration with offset?

2008-12-08 Thread Hector Virgen
I usually use $.each() to iterate over arrays. It makes it easier to do things like this: var myArray = ["a", "b", "c"]; $.each(myArray, function(key, val) { // return early if key is too low if (key < 1) return; // do something with val }); I'm not sure if there's a built-in way to

[jQuery] jQuery array iteration with offset?

2008-12-08 Thread Wells
Consider that I have an array ["a","b","c"] and that I want to iterate over it using the standard each() function like so: $(array).each(function (i) { }); However, is there an easy way to start an offset, say the second array element ("b") such that the iteration would just work on "b", "c"? T

[jQuery] Re: Superfish module for Joomla

2008-12-08 Thread Joel Birch
Hey, not only do I not mind, but I am overjoyed that you are using Superfish for this! Everyone should feel free to use Superfish however they want. Nice work. Joel BIrch. On Dec 9, 1:21 am, Soylent <[EMAIL PROTECTED]> wrote: > I don't know if any of you use Joomla, but I'm doing a website for

[jQuery] Calling a jQuery function from html onClick

2008-12-08 Thread Jason
I am working on a project where I would like to click a link and call a jQuery function to swap some images. I have this working just with javascript, but I am stuck in syntax errors with jQuery. Essentially, I want to duplicate the functionality triggered by the link below. //---Javas

[jQuery] Hide("slow") bug

2008-12-08 Thread Nelsen Lim
http://www.dannyandvivien.com/JQueryHideSlowBug.htm Can some analyze this for me please using IE7, the text changes after hide and show Best regards, Nelsen

[jQuery] hide("slow") and show("slow")

2008-12-08 Thread Nelsen Lim
Hi there is a problem with hide and show in jquery 1.2.6. It works ok but the effect is it makes the font changes. Below i upload a link for your review. You can compare between the text above and below http://www.dannyandvivien.com/JQueryHideSlowBug.htm Can anyone help me. The problem only occ

[jQuery] filter expression with multiple class names

2008-12-08 Thread mgl
Hello again, Does anyone know how (or if it is possible) to select elements by multiple class names? For example, given the following div elements: If I wanted to get all div elements that have *both* class-one and class-two, the only straight-forward way I can think of is the following: $(

[jQuery] Selector filters using less-than/greater-than operators?

2008-12-08 Thread mgl
Hello everyone, I'm wondering if there is a way to select element with an attribute filter that uses greater-than, or less-than operators. Something like this: $("element[attribute<=value]"); I don't see anything equivalent in the documentation...if this doesn't exist, are there any simple alt

[jQuery] Re: Browser compatibility

2008-12-08 Thread Dave Methvin
IE may be upset about getting or setting particular properties before the object has loaded. When you set the codeBase property that is probably going to start a request for the object over the network. So I would set that last, after you've set the params. Even so, it may not be possible to read

[jQuery] Re: $this and Hover Method...

2008-12-08 Thread ricardobeat
I usually write var names with a preceding $ to indicate when they are jQuery objects. Makes sense to me: $('somt').click(function(){ var $this = $(this); }); var $form = $('#worm') - ricardo On Dec 8, 7:45 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > That's a great example, thanks Rik. >

[jQuery] Re: Having trouble thinking through the "how": make node, append (w/o showing), then fade in ...

2008-12-08 Thread nathanziarek
Ah-ha! I'd love to know more about the internals at play here, but rearranging the "hide()" and the "appendTo" commands did the trick. For anyone else that might stumble across this thread: $('') .append( $('').val(item.a) ) .appendTo('myList').hide() .slideDown() ...works great. Than

[jQuery] looking for hijax validation (with graceful degradation)

2008-12-08 Thread Alex
I'm looking for a way to validate various forms which each require different information, but discrete chunks of information could be easily validated by simple rules (e.g. checks for valid email address, url, zip code, telephone, etc…) In the past, it was satisfactory to make self-submitting PHP

[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-08 Thread Methnen
Thanks Gilles, I've almost got the whole thing working exactly like I wanted. Just one thing left. I'm not entirely sure how I would indicate the uploads are in progress and when they are done. Basically I just want to show a little spinning doodad and some text to show that stuff is "happenin

[jQuery] Problem with jqModal + IE 6.0

2008-12-08 Thread notlkk
I have an ASP.NET web page on which I try to use jqModal to show a modal dialog. I was able to make the modal window show up. However, it's not really modal; i.e., I can still click on everything else on the background (the parent page) and the overlay doesn't really work. Here's what I did: 1.

[jQuery] Re: Making a UL simulate an option box?

2008-12-08 Thread Dave Methvin
I noticed that the page didn't work right with IE and also didn't stop the animation if you did mouseover/out quickly. This version works a bit better: var $cont = $('#scrollMe'); var parentHeight = $cont.height(); var childHeight = $cont.find('li:first').height();

[jQuery] Re: Auto Refresh of Ajax load(url,parameters,callback) command

2008-12-08 Thread aquaone
google for: setInterval On Mon, Dec 8, 2008 at 16:19, Raghu <[EMAIL PROTECTED]> wrote: > Hi, I want to load content of a div using ajax > load(url,parameters,callback) command and then to refresh content of that > div in each minute using ajax load command. > > How do I achieve this? Any though

[jQuery] Auto Refresh of Ajax load(url,parameters,callback) command

2008-12-08 Thread Raghu
Hi, I want to load content of a div using ajax load(url,parameters,callback) command and then to refresh content of that div in each minute using ajax load command. How do I achieve this? Any thoughts... Thanks Raghu

[jQuery] Re: local data source question

2008-12-08 Thread Brad
To answer my own question, set the formatMatch option. ... ,formatMatch: function(row, i, max) { return row.name; }, ... On Dec 8, 4:18 pm, Brad <[EMAIL PROTECTED]> wrote: > I'm using autocomplete and have some local data that looks like > >

[jQuery] Re: Having trouble thinking through the "how": make node, append (w/o showing), then fade in ...

2008-12-08 Thread nathanziarek
I really appreciate your helping with this. I'm still not sure what wasn't working with Ryura's code, but after copying and pasting it to a new document, it too works for writing the elements to the document. The hide() and slideDown() commands don't seem to be getting through, though. Here is th

[jQuery] Add items to superfish in runtime

2008-12-08 Thread oware
How can I add items to the superfish menu at runtime? I need to make an ajax menu, I can load the first level of the menu but I can't load the the submenus

[jQuery] In IE7, .css( 'opacity' ) does not return expected value

2008-12-08 Thread Seamus
Happily ignore this if it has been fixed. I notice that in IE7 (I assume it works across the board for IE) that, if I set the opacity initially on an element with, jQuery.css returns 1.0 instead of the actually value in the CSS. CSS: ... opacity: .95; filter: alpha(opacity=95); ... JS: ... var

[jQuery] Re: fadeIn something from JSON

2008-12-08 Thread Karl Swedberg
Hi Jan, Try changing this ... $.getJSON(urlForDescription, function(data) { $div = $("" + data + ""); $element.after($div).fadeIn(); }); to this ... $.getJSON(urlForDescription, function(data) { $("" + data + "") .hide()

[jQuery] Re: Browser compatibility

2008-12-08 Thread jhm
I like all your suggestions, but none seemed to help. Two things to note: 1) When I run the code in my OP (with your changes), it works fine in FF and Opera, but IE doesn't even seem to recognize it at all. It does nothing, no alerts nothing. Almost like javascript was disabled (which it isn't, I

[jQuery] [autocomplete] local data source question

2008-12-08 Thread Brad
I'm using autocomplete and have some local data that looks like var locations = [ { name: "ABB Bomem CAN", locationkey: "10049" }, { name: "ANL", locationkey: "" }, { name: "Applied Sys Eng", locationkey: "10028" }, { name: "BNL", locationkey: "10053" }, { name: "Campbell AUS", loca

[jQuery] Re: jQuery tabs: want ajax call to only fire once

2008-12-08 Thread Klaus Hartl
Set cache option to true. http://docs.jquery.com/UI/Tabs/tabs#options --Klaus On 20 Nov., 01:11, nemozob <[EMAIL PROTECTED]> wrote: > I'm using jQuery tabs and wanted to load the non-active tab content > via ajax. It looks like the default method loads the remote content > each time. > > What

[jQuery] Re: Making a UL simulate an option box?

2008-12-08 Thread Andy Matthews
The primary reason I'm approaching it this way is to be able to use a semantic list of information indexable by search engines, yet have it only take up the height of one element, just like a select box would. The clientele are people looking for automobiles so I'm not all that concerned with blin

[jQuery] Re: jQuery UI Tabset with ajax reloads tab content

2008-12-08 Thread Klaus Hartl
Use cache option: $('#example ul').tabs({ cache: true }); http://docs.jquery.com/UI/Tabs/tabs#options --Klaus On 24 Nov., 15:43, Carpii <[EMAIL PROTECTED]> wrote: > Im using a jQuery UI tabset, with each tab contents loaded dynamically > >         >                 >                      

[jQuery] Re: Making a UL simulate an option box?

2008-12-08 Thread Dave Methvin
Do you need this to be accessible? For example, how will this be used by someone with a screen reader, or with no mouse?

[jQuery] Re: Browser compatibility

2008-12-08 Thread Rik Lomas
Try using $(this).attr('id') instead of this.getAttribute('id'), etc. IE is a bit funny with getAttribute Just as an aside, I would replace $("[EMAIL PROTECTED]") with $('param[name="AppID"]'), just to be a bit neater :) Rik 2008/12/8 jhm <[EMAIL PROTECTED]>: > > I'm new to jQuery and have a s

[jQuery] Re: fadeIn something from JSON

2008-12-08 Thread Jan Limpens
On Mon, Dec 8, 2008 at 7:20 PM, MorningZ <[EMAIL PROTECTED]> wrote: > you'll have to do the fadeIn inside the callback of getJSON var showDescription = function() { $element = $("a.info", this); if ($element.next("div.info").length == 0) { var urlForDescription = $element.attr('hr

[jQuery] Re: $this and Hover Method...

2008-12-08 Thread Michael Geary
That's a great example, thanks Rik. I would second your point that you don't need to use $this for the variable name. In fact, I'd put it more strongly and recommend that a different variable name be used. It's already pretty confusing the way jQuery uses 'this' for very different things in diffe

[jQuery] Re: simple selector problem :beginner();

2008-12-08 Thread Klaus Hartl
> $("span", $(this)) There is really no need to wrap this in a jQuery object: $('span', this) --Klaus

[jQuery] [treeview] Attach callback to all node types

2008-12-08 Thread onelesscar
Thanks for a great plugin. What I'd like is to have any node load some html into another column of my page, instead of having to reload the whole new page. I found the toggle function in the third example, hoped to use that to load the html. toggle: function() { window.console && console.lo

[jQuery] Re: fadeIn something from JSON

2008-12-08 Thread MorningZ
The getJSON makes the call *asynchronously*, meaning that when it hits that line, it calls it off to the side and doesn't wait for it to finish before moving onto the next line you'll have to do the fadeIn inside the callback of getJSON

[jQuery] fadeIn something from JSON

2008-12-08 Thread Jan Limpens
Hello, I have got this: var showDescription = function() { $element = $("a.info", this); if ($element.next("div.info").length == 0) { var urlForDescription = $element.attr('href') + '/description'; $.getJSON(urlForDescription, function(data) { $div = $("" + dat

[jQuery] Re: $this and Hover Method...

2008-12-08 Thread SLR
> Here's a rundown on 'this'... > > this - is a JavaScript keyword. Inside a function that is called as a method > of some object, this is a reference to the object in question. But whoever > calls a function can explicitly set this to be any object. In the hover > event handlers (and all jQuery e

[jQuery] Re: Josh Nathanson's magnify not showing stage in IE7

2008-12-08 Thread Andrew
It was the compression. The compression mod i am using has some toggle options, I'll see if I can figure it out. Thanks for indirectly solving this! On Dec 8, 2:19 pm, Andrew <[EMAIL PROTECTED]> wrote: > Nope. > Haven't had time to troubleshoot. > I decompressed the code if you wanna take anoth

[jQuery] Re: Making a UL simulate an option box?

2008-12-08 Thread Andy Matthews
I've got something that's sort of what I need here: http://www.commadelimited.com/code/scrollingUL/ But it's not perfect. Anyone have anything better? andy matthews _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Monday, December 08,

[jQuery] Re: $this and Hover Method...

2008-12-08 Thread Michael Geary
You need a JavaScript debugger such as Firebug. It will show you the syntax error in your code - the semicolons after 'visible' and 'hidden'. Here's a rundown on 'this'... this - is a JavaScript keyword. Inside a function that is called as a method of some object, this is a reference to the obje

[jQuery] Re: Separate Functions for Events

2008-12-08 Thread Richard D. Worth
But also this is a jQuery UI callback, which means jQuery UI is already passing two parameters to this function, event, and ui. See http://docs.jquery.com/UI/Droppable/droppable#options "All jQuery UI callbacks receive two arguments: The original browser event and a prepared ui object, view below

[jQuery] Re: sortable issue

2008-12-08 Thread Bhavin
Thanks Richard. I think, I was confused about approach. I sortout this issue by taking all the elements on update of the sequence and then compare it with existing data in session and firing updates to only elements which are changed. On Dec 6, 1:12 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrot

[jQuery] Re: [validate] Group Validation, Validation Events

2008-12-08 Thread Mihai Danila
Nice; I'll get to using that. I guess all that's missing is a way to register an onAfterCheck type event handler. :) On Dec 8, 1:58 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Thanks for the feedback. I agree that post-validation events make more > sense. The seperation of validation and m

[jQuery] Making a UL simulate an option box?

2008-12-08 Thread Andy Matthews
Anyone know of a way to collapse a UL containing n number of LI tags into something that appears to be an option box? Andy Matthews

[jQuery] Re: $this and Hover Method...

2008-12-08 Thread Rik Lomas
The reason some people use $this is due to Javascript's scope. They use var $this = this; as a placeholder for the scope at that instance, for example: $('div').each(function () { var $this = this; $(this).find(a).click(function () { alert(this); alert($this); }); }); The differenc

[jQuery] Re: Josh Nathanson's magnify not showing stage in IE7

2008-12-08 Thread Andrew
Nope. Haven't had time to troubleshoot. I decompressed the code if you wanna take another look. Thanks! Andrew On Dec 3, 11:13 am, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > Andrew - I got the link you sent and indeed, it does not seem to work on ie6 > or ie7.  However, I couldn't see your co

[jQuery] Re: Separate Functions for Events

2008-12-08 Thread Michael Geary
> From: DAZ > > Just one more question - what if I need to provide arguments > to the function? Don't these need to go in parens which will > then cause the function to be called immediately? Then you wrap the function call in another function (typically an anonymous function, but could be a r

[jQuery] Re: driving me mad - ajax

2008-12-08 Thread ricardobeat
Maybe it's the dataType: ($.browser.msie) ? "text" : "xml" thing? IE can't correctly parse strings as XML, why are you feeding it 'text' and not 'xml'? You can transform your string into a proper XML Document for parsing too. See this post: http://groups.google.com/group/jquery-en/browse_frm/thr

[jQuery] Re: :last in IE6

2008-12-08 Thread ricardobeat
IE6 doesn't support chained class selectors, so "li.alt.last" is exactly the same as "li.last" to it's CSS parser. In your case, "li.last.alt" it's being read as "li.alt", that's why it's applying to all elements. - ricardo On Dec 8, 6:55 am, Liam Potter <[EMAIL PROTECTED]> wrote: > yep, > > I g

[jQuery] Re: jQuery with prototype - RTFM but still problem

2008-12-08 Thread Balazs Endresz
Older versions of scriptaculous conflict with jQuery, try using 1.8+ http://groups.google.com/group/jquery-en/browse_thread/thread/1c0610237b8b8da1 On Dec 8, 5:18 pm, dpoakaspine <[EMAIL PROTECTED]> wrote: > Hello, > > I read every clue to implement the 2 above libraries. Unfortunately it > is s

[jQuery] $this and Hover Method...

2008-12-08 Thread SLR
I'm pretty new to jQuery and I get pretty lost when using the $this variable. I've seen people use it in so many different ways-- ($this, $ (this), $.this, $.(this), etc-- to where I don't know which way is the correct way to use it. Anyways, can somebody look at the following code and tell me wha

[jQuery] Re: Separate Functions for Events

2008-12-08 Thread DAZ
Thanks for the replies Richard and Michael, that makes sense and now works! Just one more question - what if I need to provide arguments to the function? Don't these need to go in parens which will then cause the function to be called immediately? cheers, DAZ On Dec 7, 10:55 pm, "Michael Ge

[jQuery] JQuery events + ajax question

2008-12-08 Thread gotnoboss
Hi, I've got a question I was hoping someone could shed some light on for me. Suppose you have a div like so: One Two Three 1) Suppose you have bound a 'click' event to every checkbox in the above: $("#container input).click(function() {alert('hi');}); 2) Then, you ca

[jQuery] Browser compatibility

2008-12-08 Thread jhm
I'm new to jQuery and have a simple script to set up an object in the markup. It works fine on FireFox and Opera, but fails to do anything in IE7. Are there steps I'm missing to make it work on all three? Here's the code in its simplest form: $(document).ready

[jQuery] Re: jQuery Plugin --> DOMisBetter

2008-12-08 Thread ricardobeat
I think you're all paying attention to the wrong link. The 'relevant' one is this: http://riagallery.appspot.com/static/DOMisBetter/index.html He provided the link to the "Kill IE" site as an example of a site built using it... Anyway, it doesn't seem any better or more useful than straight cr

[jQuery] Re: Masked Input Plugin 1.2

2008-12-08 Thread brian
Very neat. I especially like the definitions. BTW, your packed version doesn't come with the license. I realise that the focus with packed is to get the file as small as possible but, if you want the license included, you should add it to the file yourself. Thanks again. I'll take it out for a s

[jQuery] Re: jQuery tabs - anyway to fire the script prior to onload?

2008-12-08 Thread ricardobeat
Forgot to say, if you're adding the script just after the elements you don't need to wrap it in jQuery(function(){ or ready() or anything. On Dec 8, 4:51 pm, Illah <[EMAIL PROTECTED]> wrote: > Forgot the link: > > http://www.grooveeffect.com/ > > On Dec 8, 10:31 am, Illah <[EMAIL PROTECTED]> wrot

[jQuery] Re: jQuery tabs - anyway to fire the script prior to onload?

2008-12-08 Thread ricardobeat
That's a whole lot of KBs to load! You can write your carousel call in an inline

[jQuery] Re: jQuery with prototype - RTFM but still problem

2008-12-08 Thread ricardobeat
I couldn't find the source of the exception thrown at load, but this is the recommended way of 'isolating' jQuery: (function($){ // all of your jQuery code in here, you can use the $ alias safely inside this function $(document).ready(function(){ $(..).doSomething() }); })(jQuery.noConflict

[jQuery] Re: SlideShow based on SQL Server

2008-12-08 Thread Paolo Pignatelli
Yes, naturally, but how do I get JQuery to have the datasource as its input? Paolo -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aschmid Sent: Monday, December 08, 2008 12:43 PM To: jQuery (English) Subject: [jQuery] Re: SlideShow based on SQ

[jQuery] Re: jQuery tabs - anyway to fire the script prior to onload?

2008-12-08 Thread Klaus Hartl
You can include the script after the HTML it works with, for example right before the closing body tag, and not use the ready handler: jQuery.noConflict(); jQuery('#latest > ul').tabs({ fx: { opacity: 'toggle' } }); jQuery('#carousel > ul').tabs({ fx: { opacity: 'show' }

[jQuery] Re: .eq() vs .slice()

2008-12-08 Thread Karl Swedberg
It's mentioned in the release notes of 1.2.1: http://docs.jquery.com/Release:jQuery_1.2.1#.eq.28.29 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 8, 2008, at 11:30 AM, Brad wrote: Thanks for the confirmation. Maybe http://docs.jquery.com/Release:jQ

[jQuery] Re: [validate] Group Validation, Validation Events

2008-12-08 Thread Jörn Zaefferer
Thanks for the feedback. I agree that post-validation events make more sense. The seperation of validation and message display is partially in place - you can already use the showErrors-option to fully override the message display. In the meantime, here's a workaround: var validator = $(...).vali

[jQuery] jQuery tabs - anyway to fire the script prior to onload?

2008-12-08 Thread Illah
I use jQuery tabs for a carousel (see link below) but the problem is the script doesn't fire until the page is fully loaded. On slower connections, or depending on if my ad network is piping through giant ads, this can make for some long, awkward moments when all the divs are revealed until the s

[jQuery] Re: [validate] - Validation by regular expression

2008-12-08 Thread Jörn Zaefferer
First, that should be: addMethod("buga", function(value, element, regex) { var expression = new RegExp(regex, "g"); return (value.replace(expression,"").length==0); } Second, just the same as your initial draft: someElement: { required: true, buga: "[a-z]" } But that wasn't the point, rat

[jQuery] Re: jQuery tabs - anyway to fire the script prior to onload?

2008-12-08 Thread Illah
Forgot the link: http://www.grooveeffect.com/ On Dec 8, 10:31 am, Illah <[EMAIL PROTECTED]> wrote: > I use jQuery tabs for a carousel (see link below) but the problem is > the script doesn't fire until the page is fully loaded.  On slower > connections, or depending on if my ad network is pipin

[jQuery] Re: [cluetip] with xml

2008-12-08 Thread Karl Swedberg
You haven't mentioned what the nature of the problem is, but just by looking at your code, I see that you have initial uppercase letters for many of the options, but they should begin with a lowercase letter (JavaScript is case-sensitive). --Karl Karl Swedberg www.englishrules

[jQuery] Masked Input Plugin 1.2

2008-12-08 Thread Josh Bush
There is now a new version of my Masked Input Plugin for jQuery(http:// digitalbush.com/projects/masked-input-plugin/). After a long absence with this project, I finally decided to tackle some of the more requested features that have been sent to me. I also did some big reorganization to make room

[jQuery] Re: superfish and other jquery scripts conflict in IE 7

2008-12-08 Thread shenny
Joel, Thank you so much for helping me fix a simple problem. I'm a newbie at jquery and javascript so even though the answer was so obvious but i appreciate your help! On Dec 5, 5:14 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hello, > > You have a trailing comma after 'dropShadows: true'. Th

[jQuery] Re: Find functionality consistence?

2008-12-08 Thread Karl Swedberg
On Dec 8, 2008, at 2:45 AM, janis.zalitis wrote: Hey! I have a problem with find: It only appears to find "descendant" elements of a collection or element. I've been using JQuery for 3 years and unless memory fails me, find used to find stuff on the same level as well. I posted it as bug repo

[jQuery] Re: [validate] - Validation by regular expression

2008-12-08 Thread skidmarek
For example: addMethod("buga", function(value, regex) { var expression = new RegExp(regex, "g"); return (value.replace(expression,"").length==0); } how then would I call buga from the rules section of my form definition? On Dec 8, 11:49 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > I'm

[jQuery] Re: jQuery Plugin --> DOMisBetter

2008-12-08 Thread Klaus Hartl
"Hi All, the idea is a very simple and powerful JavaScript library. This library checks the browser of your home page visitor and when the browser is IE the library shows your alert message." if (/msie/.test(navigator.userAgent.toLowerCase()) && !/opera/.test(navigator.userAgent

[jQuery] Re: [validate] Group Validation, Validation Events

2008-12-08 Thread Mihai Danila
If the new handlers would want to extend on (be siblings of) the "invalidHandler" feature, then they should be consistent with invalidHandler's behavior. If invalidHandler fires after validation, then that's when the new events should fire. On a slightly different note, a passive observer may no

[jQuery] Server Side programming and JQuery best practice

2008-12-08 Thread mmware
Hi all. What is the best way to pass "parameters" from the PHP script that generate the page to the Javascript/JQuery functions that enhance the page ? In my page there are several element that trigger an ajax request and show the result in a box. Of course each ajax request has a different url

[jQuery] SuperFish - Load sub menu with Ajax

2008-12-08 Thread sam
Hello. I put the superfish menu on my page and using the OnBeforeShow method, I am fetching menu items via ajax and placing the LI's in the current UL. I also see if there are children for the newly refreshed sub items and I nest a new UL sort of like this: if(item.subPageCnt > 0){

[jQuery] Re: SlideShow based on SQL Server

2008-12-08 Thread aschmid
You could use the asp.net repeater and sqldatasource to create the above div from an sql server for ex On Dec 8, 8:43 am, Paolo Pignatelli <[EMAIL PROTECTED]> wrote: > Thank you very much, this looks like a great slide-show. > > I do not see, however, in the cycle plug-in how to get th

[jQuery] Re: :last in IE6

2008-12-08 Thread Liam Potter
cheers Karl, this should help with my coding, cheers :) Karl Swedberg wrote: On Dec 8, 2008, at 3:55 AM, Liam Potter wrote: yep, I got around it by doing this $(this).removeClass("last"); $(this).removeClass("alt"); $(this).addClass("lastalt"); just a minor thing, but it's usually a good

[jQuery] Re: :last in IE6

2008-12-08 Thread Karl Swedberg
On Dec 8, 2008, at 3:55 AM, Liam Potter wrote: yep, I got around it by doing this $(this).removeClass("last"); $(this).removeClass("alt"); $(this).addClass("lastalt"); just a minor thing, but it's usually a good idea to chain these methods: $(this).removeClass('last alt').addClass('lastalt

[jQuery] Re: driving me mad - ajax

2008-12-08 Thread Rik Lomas
Hi ToonMariner, This is a bit of a guess but it *could* be to do with your coding style, instead of: $(xml).find('description').each ( function() Try: $(xml).find('description').each(function() Rik 2008/12/8 ToonMariner <[EMAIL PROTECTED]>: > > Ok I have the following code which retreive

[jQuery] jQuery with prototype - RTFM but still problem

2008-12-08 Thread dpoakaspine
Hello, I read every clue to implement the 2 above libraries. Unfortunately it is still not working. I tried first including prototype then jquery. First jquery then prototype. noConflict() etc. ... Could y'all take a look at http://www.cjd-rz.de and tell me what's wrong? I can't see an error! H

[jQuery] Re: Superfish module for Joomla

2008-12-08 Thread Lawk Salih
Can you also share the link where we can see a live link of this project. Thanks, Lawk. On Dec 8, 9:21 am, Soylent <[EMAIL PROTECTED]> wrote: > I don't know if any of you use Joomla, but I'm doing a website for > someone that wants it.  Anyway, I wanted to add Superfish to the main > menu of the

[jQuery] Re: Test that at least one input element has value

2008-12-08 Thread Victor
I just did something similar to your sollution but ended up in the same problem (duplicating the error-message). Did you already found the sollution to it?! On 3 nov, 09:55, Torgeir <[EMAIL PROTECTED]> wrote: > Yes, I need to do somewhat the same thing as the "groups" option does, > but the pro

[jQuery] Re: [validate] - Validation by regular expression

2008-12-08 Thread Jörn Zaefferer
I'm not following your question. Could you give me an example? Jörn On Mon, Dec 8, 2008 at 5:24 PM, skidmarek <[EMAIL PROTECTED]> wrote: > > I've changed my code to use addMethod, but I'm not terribly happy with > the way it's working out. Would it be possible to use addMethod to > create a vali

[jQuery] Re: [validate] Group Validation, Validation Events

2008-12-08 Thread Jörn Zaefferer
Currently those field-based validation events are missing. Would you need an event that is called whenever a field is validated? Before validation occurs? After it's done? Only when (in)valid? There are quite a few potential permutations, I'd like to focus on those being actually useful. Jörn On

[jQuery] Re: How modal windows work ?

2008-12-08 Thread Richard D. Worth
On top of that it has to intercept any keyboard and mouse events/keep them from bubbling. And some elements elsewhere on the page have to be otherwise disabled/intercepted to disallow interaction. - Richard On Mon, Dec 8, 2008 at 10:39 AM, Liam Potter <[EMAIL PROTECTED]>wrote: > > bascially, it

[jQuery] Re: .eq() vs .slice()

2008-12-08 Thread Brad
Thanks for the confirmation. Maybe http://docs.jquery.com/Release:jQuery_1.2#Removed_Functionality should be revised to indicate that it was restored, unlike lt() and gt ()? On Dec 8, 9:28 am, ricardobeat <[EMAIL PROTECTED]> wrote: > eq() is present in 1.2.6, you won't face any issues using it.

  1   2   >