[jQuery] Re: How to clone jQuery object?

2008-06-16 Thread R. Rajesh Jeba Anbiah
On May 25, 2:48 am, "R. Rajesh Jeba Anbiah" <[EMAIL PROTECTED]> wrote: > I want to clone the jQuery object $ to $D; but it actually seems to be > overwriting. Can anyone please suggest any solution? > > Here is the code: > > $D = $.extend($); // same result for $D = $; > $D.fn.extend({ > c

[jQuery] Re: Help with tabsLoad

2008-06-16 Thread Klaus Hartl
No that's wrong. As I already stated: The problem with your loadTab function was that it was reinitializing tabs turning them into in-page tabs as all anchor elements are already pointing to a hash at that point of time. In other words, you must not call tabs() a second time. The problem with u

[jQuery] Re: Optimizing jQuery Tabs - improving load time

2008-06-16 Thread Klaus Hartl
Yes, that's the correct location. --Klaus On 17 Jun., 01:49, Illah <[EMAIL PROTECTED]> wrote: > Hey Klaus, > > Thanks for the input - adding the ui-tabs-nav class prevents the flash > of unstyled nav buttons, but the ui-tabs-panel class doesn't seem to > be helping with the content within the t

[jQuery] [Tutorial] Horizontally and Vertically Center and Resize an Image with jQuery

2008-06-16 Thread Rey Bango
Horizontally and Vertically Center and Resize an Image with jQuery by David Joyce http://davejay.exit42design.com/entry/All/44/ Rey...

[jQuery] Re: ui.datepicker trouble

2008-06-16 Thread Shawn
Thanks John. Your tip pointed me in the right direction. Basically I changed my code from $("#mycontrol").datepicker("getDate") to $.datepicker._getInst($("#mycontrol")[0]._calId)._getDate() Had to go digging in the ui.datepicker code though to work out the specific function. (and confirm t

[jQuery] Re: how to make browser ensure specific element is visible

2008-06-16 Thread Hamish Campbell
Hi Colin, The dimensions plugin was recently added to the jQuery core, and you can combine with the plain javascript window.scrollTo method to do what you want. Here is a little plugin I whipped up: $(document).ready(function(){ $.fn.extend({ showAndScroll: function() { $(thi

[jQuery] sub-menu for a particular top-level link stays open until the user clicks on another top-level link

2008-06-16 Thread zevonjunior
Total noob here: I have an based navigation system with 3 top level links; The first and third links go to pages, while the second link displays a sub-menu of 3 links when you mouse-over it. My question is very simple: how do I make this sub-menu (hidden in its' initial state) display and rema

[jQuery] Create a "stop" function for this countdown plugin?

2008-06-16 Thread aarolove
Hello, I have been scratching my head on this one for hours now... mostly because of a lack of JS skills. Can anyone help me create a function that stops this simple "countdown" plugin? Basically I just need some way to stop the count down when a user clicks a link. Thanks in advance if you can

[jQuery] passing 0 to html() doesn't work like it does for other numbers

2008-06-16 Thread Lowell
When I call html(5) it will set the innerHtml of my element(s) to "5". However, zero seems to work differently. When I call html(0), it removes the contents of my element(s) and does not append anything. I had hoped after a call to html(0), that html() would return "0". Is this the expected behav

[jQuery] Re: Optimizing jQuery Tabs - improving load time

2008-06-16 Thread Illah
Hey Klaus, Thanks for the input - adding the ui-tabs-nav class prevents the flash of unstyled nav buttons, but the ui-tabs-panel class doesn't seem to be helping with the content within the tabs...it still seems to be waiting for the page to load before snapping the content into the tabs. I'm ad

[jQuery] Re: how to make browser ensure specific element is visible

2008-06-16 Thread Colin Manning
Hi Solved my own problem ... found jQuery.scrollTo (http://flesler.blogspot.com/2007/10/jqueryscrollto.html) which solves this nicely. .. Colin At 22:08 16/06/2008, you wrote: >Hi > >Newbie user and I guess this probably has a simple answer. > >I have a hidden div on the page that is show

[jQuery] javascript runtime

2008-06-16 Thread mmw
(function($) { $.dictionary = []; $.dictionary.setValue = function(key, value) { this[key] = value; }; $.dictionary.getValue = function(key) { return this[key]; }; $.dictionary.delValue = function(key) {

[jQuery] Re: [validate] addWrapper bug

2008-06-16 Thread Cao Le Thang Long
Hi Jorn, Here's an example I just made, and it has the same problem too: code begins -- http://www.w3.org/1999/xhtml";> $(function(){ $("#contact-form").validate({ debug : true, rules: { name : "required", email : { requ

[jQuery] Re: jquery doesn't work in dynamic table??!

2008-06-16 Thread vile
thanks for your reply. i think you are right. my problem now is how to make ajax script work in jquery. :) On Jun 16, 10:05 pm, Brian Schilt <[EMAIL PROTECTED]> wrote: > I believe its a timing issue. jQuery might be trying to select the > table elements before javascript has finished building t

[jQuery] Font-Size in IE 7 and 6 Bug - Size zooms to 960px

2008-06-16 Thread [EMAIL PROTECTED]
I have a font size switcher that changes the font size. Works great with all browsers except IE 7 and 6. In IE, when you click the larger link, the font size of the div in question balloons to 960px. Has anyone else experienced this? Where do I learn how IE declares the font-size? Any help woul

[jQuery] Re: Expandable Div

2008-06-16 Thread hubbs
Does anyone know how to use the proportionallyResize? I can't find any examples. On Jun 16, 4:20 pm, anthonyd <[EMAIL PROTECTED]> wrote: > You should check out jQuery UI > -http://ui.jquery.comhttp://ui.jquery.com/functional_demos/#ui.resizablelooks > like it > should do what you want. > Ant.

[jQuery] Re: Expandable Div

2008-06-16 Thread hubbs
Perfect! Thank you! On Jun 16, 4:20 pm, anthonyd <[EMAIL PROTECTED]> wrote: > You should check out jQuery UI > -http://ui.jquery.comhttp://ui.jquery.com/functional_demos/#ui.resizablelooks > like it > should do what you want. > Ant. > > On Jun 17, 12:09 am, hubbs <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: Expandable Div

2008-06-16 Thread anthonyd
You should check out jQuery UI - http://ui.jquery.com http://ui.jquery.com/functional_demos/#ui.resizable looks like it should do what you want. Ant. On Jun 17, 12:09 am, hubbs <[EMAIL PROTECTED]> wrote: > I am wanting to have a div that you can click your mouse on the edge > of it, and then drag

[jQuery] Expandable Div

2008-06-16 Thread hubbs
I am wanting to have a div that you can click your mouse on the edge of it, and then drag the bottom of the div up to make it smaller, or drag it down to make it larger. Obviously I would set it to overflow:auto so that my scroll bar would appear when needed. Does jQuery have something like this

[jQuery] how to make browser ensure specific element is visible

2008-06-16 Thread Colin Manning
Hi Newbie user and I guess this probably has a simple answer. I have a hidden div on the page that is shown when user clicks a button. Its a help text, in a div, for the page that is only to be shown when the user wants it. But the page is long and when I un-hide the div I also want the brows

[jQuery] ColourLovers Navigation

2008-06-16 Thread Phuzion
Hi all, I am looking to do a navigation bar very similar to colour lovers. http://www.colourlovers.com/ http://www.colourlovers.com/ I am new to jQuery and Javascript and was wondering if someone could point me in the right direction to build a navigation like that (or if it can even be done i

[jQuery] Re: Help with tabsLoad

2008-06-16 Thread keny
Hi, Without the return statement nothing happen :-( And i understand why you told me to choose a normal link but dont worry ist in a member section of my site and google dont even crawl those web page. And i can't use the second function as in the page i show i whant some link to point to my fun

[jQuery] Flowplayer vs. jqModal in IE 7

2008-06-16 Thread anesthete
Using jqModal in a page with the Flowplayer video player. In Firefox, it works as anticipated -- opening a jqModal "window" covers (or hides, anyway) the FP object. In IE7, the FP stays visible (and operable) on top and, depending on where the "close" button happens to be, prevents the user from c

[jQuery] Re: jQuery + Prototype on newest release (1.2.6)

2008-06-16 Thread Rey Bango
Hi Mike, Actually, there is an issue with noConflict and older versions of Scriptaculous but not jQuery v1.2.6 and the most recent Scriptaculous. You can check out the whole threads here: http://groups.google.com/group/jquery-en/browse_thread/thread/69cb41d2e3710c70/f707b1df7821d026?hl=en&#f

[jQuery] Re: Binding in jQuery

2008-06-16 Thread Michael Geary
There's nothing wrong with using a bind() function - it's just that jQuery doesn't provide one. It isn't really necessary, because in any situation where you might use bind(), you can use a closure - and the code is usually simpler. In fact, a closure is what bind() uses. Here is one way you coul

[jQuery] Re: Is there a way to use the css function with $(document) directly?

2008-06-16 Thread Hamish Campbell
As an example do you mean: $(document).css('p', 'color: red').css('h1', 'font-size: 200%'); On Jun 14, 6:13 am, "Brian J. Fink" <[EMAIL PROTECTED]> wrote: > I was tinkering with jQuery when I got an idea: why not have a way to > do something like: > > $(document).css(selector,rule); > > Then i

[jQuery] Re: How to tell submit event to wait for method to return

2008-06-16 Thread Hamish Campbell
Change "return true" to "return false". I assume the geoencode() function fires some sort of ajax call. You'll need to submit the form once this ajax call has returned a result. Note that currently, when your function hits "return true", it has fired off the request but a response has yet to be

[jQuery] Re: File upload of a form inside another form

2008-06-16 Thread Mike Alsup
> I was tinking that maybe moving the input element could works, but I'm > looking in the doc and I cant find a method for moving a DOM element. There's a ton of them. after, before, insertAfter, insertBefore, append, prepend, etc http://docs.jquery.com/Manipulation Ex: $('#myElementToMove').

[jQuery] Re: Is there a way to use the css function with $(document) directly?

2008-06-16 Thread Erik Beeson
This worked for me on FF2/Mac: $('').attr('type', 'text/css').text('div { background: red; }').appendTo('head'); --Erik On 6/16/08, Brian J. Fink <[EMAIL PROTECTED]> wrote: > > I didn't mean $(element).css(object), I meant $ > (document).css(selector,rule). The difference is this: css() as i

[jQuery] Re: calling a function before a form is submitted

2008-06-16 Thread Mike Alsup
> I am having the same issue as Francesco. Can anyone verify that > $('form').bind('submit', fn); and $('form').submit(fn); > are actually different They are the same. However, if you invoke submit() with no args then you do not bind a listener, but instead trigger the event.

[jQuery] Re: Is there a way to use the css function with $(document) directly?

2008-06-16 Thread Brian J. Fink
I didn't mean $(element).css(object), I meant $ (document).css(selector,rule). The difference is this: css() as it stands makes a one-time change to the members of the jQuery object by adjusting the style attribute of each. When a new element matching the query string is created, it does not have

[jQuery] [tooltip] bug on $('select').tooltip({...}) ...

2008-06-16 Thread Webio.eu
I think i have found a little bug, you can see it when you call tooltip on select form element with an any options The tooltip will show in the top left of the screen. not over the select.. dont know solution... (bgiframe not helps) thanks for any kind of info best regards to authors :)

[jQuery] Re: jQuery.sheet thoughts, maybe UI compliant?

2008-06-16 Thread K-BL
current version is 0.25 not 2.5, sorry guys. On Jun 16, 12:29 pm, K-BL <[EMAIL PROTECTED]> wrote: > Hey Guys, > A lot has happened since I first posted about jQuery.sheet - A jQuery > Spreadsheet with Calculations v0.1. We're now at version 2.5. > Version 2.5 adds ajax load/save, in-place naviga

[jQuery] [validate] success, failure?

2008-06-16 Thread Dorian
Hi! I want to do something when input is correct and something else when isn't. I found options 'success' and 'errorPlacement' which aren't in documentation. errorPlacement: function(error, element) { error.appendTo(element.parent());

[jQuery] Controlling a list box change event that fires faster than ajax can complete.

2008-06-16 Thread Eric
I'm making a web application that will be the front end for a MySQL database. I've got a page that displays a row's data. There are about 20 input fields and a list box. This list box lists the pk of each row and on change loads that row into the fields. Also, one of the fields is the source of an

[jQuery] jScrollPane - maintainPosition:true

2008-06-16 Thread Luxiouronimo
i can't find any examples wherein this works.. i'm using treeview to expand ul's and li's.. i set a toggle function for my treeview, and i can reinitialize my .jScrollPane after my items expand/collapse, but i can't maintainPosition.. the scrollbar position resets to the top.. it doesn't appear

[jQuery] Binding in jQuery

2008-06-16 Thread markhuot
Ok, so I know that the Prototype `bind` method isn't the correct way to go about things in jQuery. The problem is I don't know what the correct way is…So, I offer up an example: $(document).ready(function(){ $('h2.countdown[paused="no"]').each(function(){ this.update = fun

[jQuery] Re: jQuery + Prototype on newest release (1.2.6)

2008-06-16 Thread mike
Thanks for the suggestions. I just realized that ONE file from the Scritaculous source files (effects.js) was being loaded. I'm still using some of those effects on my old Prototype pages. The problem I'm having is most likely associated with this file. Are there any known conflicts between jQue

[jQuery] Re: Bindable variable data - similar to Flex?

2008-06-16 Thread Andy Matthews
No one has any comments on this? On Jun 16, 9:25 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > I'm reading about a newish JS framework called > SproutCore:http://www.roughlydrafted.com/2008/06/14/cocoa-for-windows-flash-kill... > utcore/ > > in which the article says that SproutCore supports

[jQuery] Re: jQuery + Prototype on newest release (1.2.6)

2008-06-16 Thread Rey Bango
Thanks Wil, I think most have a similar experience and hopefully this is isolated to some form of older version of Prototype. Where on Zivity are you using jQuery? Rey... Wil Everts wrote: I've been using jQuery with Prototype (already having remove scriptaculous) for a while now at Zivit

[jQuery] Re: Converting this mootools code to jQuery....help?

2008-06-16 Thread John Resig
jQuery(document).ready(function(){ setInterval(function(){ jQuery('#usersOnlineTxt').load(siteURL+'fetch/online-users'); }, 30); }); --John On Mon, Jun 16, 2008 at 5:58 AM, azz0r <[EMAIL PROTECTED]> wrote: > > Hey guys, I'm trying to convert my scripts to jQuery, I wondered if > you

[jQuery] Re: jQuery + Prototype on newest release (1.2.6)

2008-06-16 Thread Wil Everts
I've been using jQuery with Prototype (already having remove scriptaculous) for a while now at Zivity (slowly working our way to a Prototype-free world). We run jQuery in no conflicts mode: var $j = jQuery.noConflict(); with prototype loaded before jQuery in the head. On the branch I'm currently w

[jQuery] Re: [validate] Resetting validation rules dynamically

2008-06-16 Thread Jörn Zaefferer
Instead of trying to change the rules for the whole form, try to modify the rule just for those fields. The required-method accepts additional arguments for that: http://docs.jquery.com/Plugins/Validation/Methods/required (scroll down a bit) Please give that a try. Jörn On Mon, Jun 16, 2008 at

[jQuery] BlockUI Plugin

2008-06-16 Thread last_elf
Greetings! I faced with such a problem with jQuery BlockUI Plugin: I need to display a dialog-window on the page of the site I working with. After opening this 'window' (which is div, you know) UI should be blocked, but the window position should not be fixed. Simply, the window could be bigger t

[jQuery] jQuery.sheet thoughts, maybe UI compliant?

2008-06-16 Thread K-BL
Hey Guys, A lot has happened since I first posted about jQuery.sheet - A jQuery Spreadsheet with Calculations v0.1. We're now at version 2.5. Version 2.5 adds ajax load/save, in-place navigation, in-place edit, cross browser compatibility, true resize (opera & safari have some trouble here), uppe

[jQuery] jQuery BlockUI Plugin

2008-06-16 Thread last_elf
Greetings! I faced with such a problem with jQuery BlockUI Plugin: I need to display a dialog-window on the page of the site I working with. After opening this 'window' (which is div, you know) UI should be blocked, but the window position should not be fixed. Simply, the window could be bigger t

[jQuery] Re: jScrollPane and display:none

2008-06-16 Thread Kelvin Luck
I'm not sure what could be happening - do you have a test URL? A possible workaround might be to not initialise the jScrollPane until you show the layer. Then the code which shows the hidden layer could immediately initialise the jScrollPane once it's shown it... Cheers, Kelvin :) yabado w

[jQuery] Re: idiot requests SIMPLE ajax explanation!

2008-06-16 Thread Pyrolupus
Have you already run through the stuff at jQuery Ajax Tutorials[1]? I thought that Akash Mehta's article[2] looked like a pretty good sampling with lots of step-by-step stuff. Older version of jQuery, but pretty much all still applicable. [1] http://docs.jquery.com/Tutorials#Ajax [2] http://www

[jQuery] Re: File upload of a form inside another form

2008-06-16 Thread Giovanni Battista Lenoci
Giovanni Battista Lenoci ha scritto: Put your nested form after the parent form, and hide it. Keep the upload-elements in the parent form and move them to the upload-form on submit (using a different submit button). Clone/move back to the parent form after the submit for more files. Thank

[jQuery] Re: Is it possible for jQuery define version of browser, for example IE 7.0?

2008-06-16 Thread Isaak Malik
Checking the version is more reliable by using object checking than the useragent string checking, or you can use both to increase the reliabilty. IE 7: if ( document.all && !window.opera && window.XMLHttpRequest && $.browser.msie ) var isIE7 = true; or in HTML which is much better: var isIE7

[jQuery] Re: [validate] Use Regex

2008-06-16 Thread Isaak Malik
Try this out: if ( !/[a-z0-9\-_]/i.test( $("[EMAIL PROTECTED]'firstname']").val() ) ) alert('Wrong!'); On 6/16/08, shapper <[EMAIL PROTECTED]> wrote: > > > Hello, > > How can I check the value inserted in an Input using a RegEx > expression? > > Thanks, > Miguel > -- Isaak Malik Web Developer

[jQuery] Re: idiot requests SIMPLE ajax explanation!

2008-06-16 Thread Stefan Petrea
there is a book ... I read some of it and thought it was nice. have a look if you have some time. Apress Dom Scripting Web Design With Javascript And The Document Object Model On 06-16 07-12, [EMAIL PROTECTED] wrote: > > I'm embarrassed. I used to cheerfully mix PHP with Javascript, but now >

[jQuery] editable table + json

2008-06-16 Thread maryspt
hi, is there any plugin for creating editable tables out of json data? thanks in advance michal

[jQuery] Re: What is +new Date; in the function now()?

2008-06-16 Thread Doug Domeny
Thanks for the explanation. It's the unary plus operator! -Doug On Jun 11, 5:52 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > I actually added that, to save some bytes. > now() is a private function, that is reused 5 or 6 times along the > code. > > 1-newDateis the same asnewDate(). > 2- +newDa

[jQuery] Re: IE keep loading after opening a modal

2008-06-16 Thread pokey
I've just started using jqModal and am experiencing this same issue. I haven't found any information on how to resolve this. Have you been able to resolve this? On Apr 21, 9:52 pm, Jacky <[EMAIL PROTECTED]> wrote: > Hi all, > > I have come to an issue that IE is keep loading after a jqModal is op

[jQuery] Re: Is it possible for jQuery define version of browser, for example IE 7.0?

2008-06-16 Thread Roncioso
I noticed Firefox 3rc3 with $.browser.version returns 1.9 (Gecko version?) On Jun 16, 8:38 am, mtest <[EMAIL PROTECTED]> wrote: > I know that jQuery can define browser: > $.browser.msie > $.browser.safari > $.browser.opera > $.browser.mozilla > but can I define version??? > IE 7.0 - ? > IE 6.0 -

[jQuery] editable table + json

2008-06-16 Thread maryspt
Hi, is there any jQuery plugin that would allow me to create dynamic table based on JSON data set, with possibility to edit cells? thanks in advance :) michal

[jQuery] Re: Autocomplete with hidden ID

2008-06-16 Thread Priest, James (NIH/NIEHS) [C]
Richard, Jorn's Autocomplete plugin can be used to do this... http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ On the demo page you can see this in the Multiple Birds (remote) is returning another value in 'hidden input'. Jim > -Original Message- > From: Richard Dyce [

[jQuery] Automatically expanding input form --- please help to port it to jQuery!

2008-06-16 Thread yaakov
Quite frequently, I need an input form with a variable number of records/rows --- as many as the visitor wants to enter (which is not known before hand). Please check the following example (tested with Firefox): http://www.yaakovnet.net/AutoForm/input.html As soon as the visitor selects an optio

[jQuery] [validate] Resetting validation rules dynamically

2008-06-16 Thread kapowaz
I'm currently using the jQuery Validation plugin on a page that needs to dynamically update the particular rules you validate against according to which options the user selects (imagine a payment page which accepts different payment methods; you wouldn't want to validate against credit card field

[jQuery] Re: jQuery + Prototype on newest release (1.2.6)

2008-06-16 Thread Rey Bango
Mike, Compatibility with release candidates is something that we can't really promote because that means the library, in this case Prototype, is still in a state of flux. Could you please try a final version of Prototype to see if you still have the same issue? v1.5.1, 1.5.1.1 & 1.5.2.2 hav

[jQuery] Re: YouLove.us crazy cool.

2008-06-16 Thread Sam Collett
Lags a bit with me as well, site looks quite good though. It is actually smoother without JavaScript enabled. It illustrates that when developing sites/applications it is a good idea to test with a slower PC (it is likely a lot of developers have above average specification computers). -Sam On

[jQuery] Re: [PLUGIN] Tweet! Added Twitter to your website

2008-06-16 Thread Rey Bango
Hi Guy, You should consider emailing them and asking the rationale and perhaps even a workaround. Rey Guy Fraser wrote: Rey Bango wrote: Found on Twitter: Announcing Tweet (http://tweet.seaofclouds.com/), a simple @jquery plugin to put Twitter on your website. Rey... Pity they are

[jQuery] Re: jScrollPane and display:none

2008-06-16 Thread yabado
To elaborate, when I say it "does not work", I mean it stays hidden, but the rest of the parent layers shows and hides as expected. On Jun 16, 10:27 am, yabado <[EMAIL PROTECTED]> wrote: > I have a page that shows and hides a layer based on a click. > > When the page loads, this layer is set t

[jQuery] jScrollPane and display:none

2008-06-16 Thread yabado
I have a page that shows and hides a layer based on a click. When the page loads, this layer is set to css ; display:none I have a scrollpane inside of this layer. When I click and show the hidden layer, everything works except the scrollpane? If I remove the display attribute and reload the p

[jQuery] Bindable variable data - similar to Flex?

2008-06-16 Thread Andy Matthews
I'm reading about a newish JS framework called SproutCore: http://www.roughlydrafted.com/2008/06/14/cocoa-for-windows-flash-killer-spro utcore/ in which the article says that SproutCore supports binding to data/variables. Thus, when the data changes, you can fire an event or some code construct.

[jQuery] idiot requests SIMPLE ajax explanation!

2008-06-16 Thread [EMAIL PROTECTED]
I'm embarrassed. I used to cheerfully mix PHP with Javascript, but now I don't understand the terminology! I see the advantages of 'asynchronous' data exchange and I would like some of that but I can't for the life of me understand what to do!! Does anybody know where to find a REALLY SIMPLE

[jQuery] Re: YouLove.us crazy cool.

2008-06-16 Thread Joe
Interesting. I dig the dynamic parallax effect, but the transitions are a bit jagged. Maybe a fade in fade out? Overall cool stuff. Joe www.subprint.com On Jun 16, 8:07 am, "Ty (tzmedia)" <[EMAIL PROTECTED]> wrote: > Did anyone else see the newhttp://youlove.usdesign-house portfolio > site?

[jQuery] Re: jquery doesn't work in dynamic table??!

2008-06-16 Thread Brian Schilt
I believe its a timing issue. jQuery might be trying to select the table elements before javascript has finished building the table. You might want to try wrapping the table building code in a function, then return the jquery selector code. That way you know the table is actually appended to the D

[jQuery] Re: [validate] Use different CSS class

2008-06-16 Thread Jörn Zaefferer
See http://docs.jquery.com/Plugins/Validation/validate#toptions The errorClass option Jörn On Mon, Jun 16, 2008 at 12:10 PM, shapper <[EMAIL PROTECTED]> wrote: > > The question is concerning the Validate plugin in > http://bassistance.de/jquery-plugins/jquery-plugin-validation/ > > Thanks, > Mig

[jQuery] Re: [validate] Use Regex

2008-06-16 Thread Jörn Zaefferer
http://docs.jquery.com/Plugins/Validation/Validator/addMethod#namemethodmessage Jörn On Mon, Jun 16, 2008 at 12:11 PM, shapper <[EMAIL PROTECTED]> wrote: > > Hello, > > How can I check the value inserted in an Input using a RegEx > expression? > > Thanks, > Miguel >

[jQuery] Re: [validate] Use Ajax

2008-06-16 Thread Jörn Zaefferer
http://docs.jquery.com/Plugins/Validation/Methods/remote#url Jörn On Mon, Jun 16, 2008 at 12:12 PM, shapper <[EMAIL PROTECTED]> wrote: > > Hello, > > How can I check the value inserted in an Input using Ajax? > > Thanks, > Miguel >

[jQuery] CYCLE PLUGIN -- Creating a Realtime Status/Progress Bar

2008-06-16 Thread Joe
I am using Mike Alsup's Cycle Plugin, but am running into a snag. Here is what I'm trying to accomplish: I have 4 tags each with an image inside that is a link to that image:

[jQuery] YouLove.us crazy cool.

2008-06-16 Thread Ty (tzmedia)
Did anyone else see the new http://youlove.us design-house portfolio site? It's pretty cutting edge stuff, worth a study.

[jQuery] Re: Is it possible for jQuery define version of browser, for example IE 7.0?

2008-06-16 Thread RobG
On Jun 16, 4:38 pm, mtest <[EMAIL PROTECTED]> wrote: > I know that jQuery can define browser: > $.browser.msie > $.browser.safari > $.browser.opera > $.browser.mozilla > but can I define version??? > IE 7.0 - ? > IE 6.0 - ? > IE 5.0 - ? Browser detection is almost always based on the user agent s

[jQuery] [HELP] Problem in IE (6&7). Can't use two eventhandlers of change in one *.js file

2008-06-16 Thread ardnet
The code in my drupal module is more like below: //--- start code -// $('div#select_cat select').change(function(){ var check_cat = this.value; }); $('div#select_subcat').change(function(){ var sub_cat_id = $('#select_subcat select').va

[jQuery] Re: ui.datepicker trouble

2008-06-16 Thread John Morrison
On Sun, June 15, 2008 7:48 am, Shawn wrote: > > I'm having a problem wit the ui.datepicker. Specifically > setting/getting the default date. I have the following function: > > function setDefaultDates() { >var temp = new Date(); >var sd = new Date(temp.getFullYear(), temp.getMonth(), tem

[jQuery] Re: [validate] Use different CSS class

2008-06-16 Thread shapper
The question is concerning the Validate plugin in http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Thanks, Miguel On Jun 16, 10:58 am, shapper <[EMAIL PROTECTED]> wrote: > Hello, > > As far as I know to style the error messages a "error" CssClass is > used. > Can I use another CSS

[jQuery] [validate] Use Regex

2008-06-16 Thread shapper
Hello, How can I check the value inserted in an Input using a RegEx expression? Thanks, Miguel

[jQuery] Re: Cycle - per slide settings

2008-06-16 Thread jdenkaat
Mike sorry to be a pain! and this maybe the exactly the same question as I originally asked. The slideshow I will be using will always use images with the same dimensions and css styles I would like to use the wipe transitions and fade transitions interchangeably. e.g. use 'l2r' for first wipe

[jQuery] Re: Is it possible for jQuery define version of browser, for example IE 7.0?

2008-06-16 Thread mtest
also know that mozilla's version can get by $.browser.version

[jQuery] Re: reusing events on freshly ajax updated content

2008-06-16 Thread C. Feldmann
Found a post from earlier today refering to livequery. That solved my problem. Thanks

[jQuery] [validate] Use Ajax

2008-06-16 Thread shapper
Hello, How can I check the value inserted in an Input using Ajax? Thanks, Miguel

[jQuery] Re: Linking & showing Subsection of page

2008-06-16 Thread Pickledegg
Ahah, thats simple and effective. I may need to use mod rewrite to tidy things up but it will definitely work. Thanks! On Jun 16, 11:47 am, Liam Byrne <[EMAIL PROTECTED]> wrote: > a) Since you're using PHP, use that to access a "$_GET" variable and > make that one visible: > > > .hiddenBits { >

[jQuery] [jQuery.TreeView] in Castle MonoRail

2008-06-16 Thread Gabriel Schenker
I'm trying to use jQuery and the jQuery plug-in. Now when I also have installed the Scriptaculous scripts (of MonoRail) I encounter a problem which I cannot explain... When trying to display (a basic) tree I encounter the following java script error: a.parentNode has no properties (jQuery.js lin

[jQuery] Offset from a given node

2008-06-16 Thread kishore
Hello there, I need some help here in finding out how many characters the first character of a given node is offset from a parent node. In the simplest case, for the following: Helloworld! I want a way to figure out that the "w" in the span is offset from the div by 5 characters. I attempted a

[jQuery] Re: What point i should take care while upgrading to jQuery 1.2.6

2008-06-16 Thread Stamen Georgiev
On Jun 13, 8:00 pm, Dushyant Patel <[EMAIL PROTECTED]> wrote: > hello, > > What point i should take care while upgrading to jQuery 1.2.6? > > Can anyone suggest me? jqModal stopped working properly in IE6 & 7 for me after upgrading...

[jQuery] Re: AJAX data inserted into DOM does not trigger click-event

2008-06-16 Thread Gordon
I haven't heard of the Listen plugin before. How does it stack up against livequery? On Jun 15, 9:47 pm, "Kevin Pepperman" <[EMAIL PROTECTED]> wrote: > Have you tried the listen plugin? > It works with dynamicly added content. > > http://plugins.jquery.com/project/Listen > > > > On Sun, Jun 15, 2

[jQuery] Re: Is it possible for jQuery define version of browser, for example IE 7.0?

2008-06-16 Thread Gordon
$.browser.version On Jun 16, 7:38 am, mtest <[EMAIL PROTECTED]> wrote: > I know that jQuery can define browser: > $.browser.msie > $.browser.safari > $.browser.opera > $.browser.mozilla > but can I define version??? > IE 7.0 - ? > IE 6.0 - ? > IE 5.0 - ?

[jQuery] Re: New JQuery Plugin - Menu Toggle Adder

2008-06-16 Thread Liam Byrne
...or style the main link so that it's not underlined & "cursored" as a link, because yup, I agree with Seth - it's confusing / unexpected as it is. Seth - TA wrote: Just a suggestion - it took me a while to figure out I had to click the triangle for the drop down to work. Not many people ar

[jQuery] Re: Linking & showing Subsection of page

2008-06-16 Thread Liam Byrne
a) Since you're using PHP, use that to access a "$_GET" variable and make that one visible: .hiddenBits { display:none; : : } style="display:block">FAQs go here ($_GET["section"]=="prices") { ?> style="display:block">name="#prices">Prices go here Liam Pickledegg wrote: Does

[jQuery] Re: reusing events on freshly ajax updated content

2008-06-16 Thread andrea varnier
On 16 Giu, 11:29, "C. Feldmann" <[EMAIL PROTECTED]> wrote: > I assume that the newly ajax updated content has not been initialized. you're right. > What do I have to call after an ajax updating function to ensure > working events? you could simply re-initialize the elements, or, better, read th

[jQuery] Re: Use different CSS class

2008-06-16 Thread andrea varnier
On 16 Giu, 11:58, shapper <[EMAIL PROTECTED]> wrote: > Hello, > > As far as I know to style the error messages a "error" CssClass is > used. > Can I use another CSS Class? For example, "ShowError"? hi you can use any class you want, as long as it is defined in your style sheet :)

[jQuery] Re: Clicking an image and changing a div's html content.

2008-06-16 Thread andrea varnier
On 16 Giu, 06:07, Jordban <[EMAIL PROTECTED]> wrote: > I'd like to create an image that when clicked changes the html of a > div. I'd like to have many different images that change the content of > many different divs with different html. hi :) you don't need to create functions and pass paramete

[jQuery] Re: Form Plugin - Feature Request

2008-06-16 Thread Mike Alsup
> All I'm trying to do is make the options persist into the success > callback - just like they do in the beforeSubmit callback.  This way > some information can be stashed on dynamically generated javascript. Since the form plugin uses jQuery's $.ajax method under the hood, you could use the 'co

[jQuery] Re: .load and asp.net postback

2008-06-16 Thread andrea varnier
On 16 Giu, 08:06, Mike <[EMAIL PROTECTED]> wrote: > Any? it would help if you posted some code, I think :)

[jQuery] Re: ui.datepicker trouble

2008-06-16 Thread andrea varnier
On 16 Giu, 11:48, Shawn <[EMAIL PROTECTED]> wrote: > However, the docs found > athttp://docs.jquery.com/UI/Datepicker/datepicker#.22setDate.22dateendDate > (scroll to the bottom of the page), do not seem to indicate an object is > being used to pass the parameters. you're right, and maybe my sug

[jQuery] Clicking an image and changing a div's html content.

2008-06-16 Thread Jordban
Hello, I'm new to jQuery and i'm trying to solve a rather simple problem. I'd like to create an image that when clicked changes the html of a div. I'd like to have many different images that change the content of many different divs with different html. I've currently figured out how to do it u

[jQuery] Use different CSS class

2008-06-16 Thread shapper
Hello, As far as I know to style the error messages a "error" CssClass is used. Can I use another CSS Class? For example, "ShowError"? Thanks, Miguel

[jQuery] Re: .load and asp.net postback

2008-06-16 Thread Mike
Any? On May 27, 8:00 am, Mike <[EMAIL PROTECTED]> wrote: > I am having a problem with the .loadand a asp.netpostback. Iloada > div with a page called myquickcart.aspx on the page and it works > great. But when I click a button on the parent page that causes > thepostbackit goes directly to myq

  1   2   >