[jQuery] How do I acess the value of an inline anchor?

2008-06-14 Thread Michael Ray
Hi, I am using the example code written on the localScroll page I am trying to figure out how to pass the anchor value of the inline link to the load() function. $('#detailsContainer .description').load('/index/description/id/' + ?); The full code is below: jQuery(function( $ ){

[jQuery] Re: ui-slider

2008-03-09 Thread Michael Ray
Another way to do the same thing is to set the minValue and maxValue, as the slider will always start at Zero. $('#months').slider({ steps: 14, range: true, minValue: -6, maxValue: 7, change: function(e,ui) { alert(ui.value); }

[jQuery] Re: how to get the size of the image file before user upload it.

2008-03-05 Thread Michael Ray
ahh the limitations of technology. who knew that flash would be the solution? what an unlikely bedfellow. On Wed, Mar 5, 2008 at 1:40 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've had lots of run-ins with this sort of problem - lol - and > basically ... > > 1: PHP cannot d

[jQuery] Re: help with a strategy?

2008-03-05 Thread Michael Ray
the PHP doesn't have to be that obtrusive, with endless echo and print statements. Turn your data into a two dimensional array $rows: On Tue, Mar 4, 2008 at 10:20 AM, charlie <[EMAIL PROTECTED]> wrote: > > Hi all, the application I'm attempting to write couldn't be simpler

[jQuery] Re: Checkboxes not working with .toggle()

2008-03-04 Thread Michael Ray
ot;color","#000"); } else { $("#secondaryOwner input:not(#checkBox1)").attr("disabled","disabled"); $("#secondaryOwner select").attr("disabled","disabled"); $("#secondaryOwne

[jQuery] Re: adding a loading image to a mouse pointer

2008-03-04 Thread Michael Ray
inho, using CSS would be the better way On Tue, Mar 4, 2008 at 8:46 AM, jaredmellentine <[EMAIL PROTECTED]> wrote: > > You could always use CSS to set the cursor property to 'wait'. > > #myelement { > cursor: wait; > } > > Or use jQuery to set it > > $('#myelement').css('cursor', 'wait'); > > >

[jQuery] Re: How do I make an inline anchor link slowly scroll down?

2008-03-04 Thread Michael Ray
; > Now you are not including jQuery.ScrollTo... how do you expect it to > > work ? > > Add the plugin and it works... > > > > Cheers > > Ariel Flesler > > > > On 3 mar, 15:52, "Michael Ray" <[EMAIL PROTECTED]> wrote: > > > &g

[jQuery] Checkboxes not working with .toggle()

2008-03-04 Thread Michael Ray
I am using a checkbox to enable/disable a fieldset of input fields in a form. This toggle worls great, but the checkbox itself won't change it's state at all. Here is the code: $("#checkBox1").toggle( function () { this.attr("checked", "checked"); $("#secondaryOwne

[jQuery] Re: why jQuery?

2008-03-03 Thread Michael Ray
jQuery should work with ANY back end language, since it is a font end language. On Mon, Mar 3, 2008 at 12:52 PM, zok <[EMAIL PROTECTED]> wrote: > > Hey, > > thanks for your answers. > Doesn't jQuery work with Rails? Cause I think jQuery is more flexible > and has the simler code. Right? > > Thank

[jQuery] Re: identify tables with same ID ( duplicate ids)

2008-03-03 Thread Michael Ray
its not hard to change it from an ID to a class, just say class="blahblahblah" instead of id="blahblahblah" You could also store the table IDs in a database and then you would never have duplicate IDs On Mon, Mar 3, 2008 at 1:39 PM, MorningZ <[EMAIL PROTECTED]> wrote: > > It's your application a

[jQuery] Re: How do I make an inline anchor link slowly scroll down?

2008-03-03 Thread Michael Ray
Thank Olaf for finding that spelling error! Ok, so I fixed that spelling error (what a shameful mistake i know), but it still does not want to work! I have simplified the code even further to just affect all inline links on the page: Here is the code $(document).ready(function(){ $.localS

[jQuery] Re: How do I make an inline anchor link slowly scroll down?

2008-03-02 Thread Michael Ray
) jquery.localscrol... (line 72) trigger(Object type=click target=a currentTarget=a eventPhase=2)jquery.js(line 27) unique()jquery.js (line 26) var $target = $( settings.target || $.scrollTo.window() );//if none specified... On Sun, Mar 2, 2008 at 12:03 PM, Michael Ray <[EMAIL PROTECTED]>

[jQuery] Re: Extending jQuery

2008-03-02 Thread Michael Ray
I think there's a wysiwyg editor being worked on in the development trunk. You should look into whats going on with it and be a major contributer to it! On Wed, Feb 20, 2008 at 10:20 AM, Alan Gutierrez <[EMAIL PROTECTED]> wrote: > > I want to learn the ins and outs of jQuery by writing a WYSIWYG

[jQuery] Re: How do I make an inline anchor link slowly scroll down?

2008-03-02 Thread Michael Ray
Thanks for pointing me in the right direction. I am tryign to use LocalScroll but it doesn't want to work. I included 'jquery.scrollTo.js' and 'jquery.localscroll-1.2.4.js' in my Here is the code $(document).ready(function(){ $("#Cont").localScroll(); }); and here is the html THIS IS

[jQuery] Re: Form Ripping

2008-02-17 Thread Michael Ray
it looks like you have a synax error. // Each input $("#loaded_html form").each(function() doesn't have any brackets. Try downloading the Firebug plug in for Firefox. On Feb 17, 2008 1:17 PM, Phil S <[EMAIL PROTECTED]> wrote: > > Anybody know why this jQuery code only shows the fieldsets I wr

[jQuery] Re: Delete first ten children of a prent div

2008-02-17 Thread Michael Ray
27;#calendar > div:nth-child(4)').hide(); J('#calendar > div:nth-child(5)').hide(); J('#calendar > div:nth-child(6)').hide(); J('#calendar > div:nth-child(7)').hide(); return false; }); However, This click event will only work once. How can I get it to work ev

[jQuery] Re: Defining more than one function

2008-02-17 Thread Michael Ray
Thank you! I think the problem was that I was using numbers as ID names. On Feb 17, 2008 4:37 AM, 1man <[EMAIL PROTECTED]> wrote: > > Apologies that should be > > j('#idOne, #idTwo, #idThree, ').hide(1); > > Matt > > On Feb 17, 2:19 am, "Mic

[jQuery] Delete first ten children of a prent div

2008-02-17 Thread Michael Ray
I have made a calendar, whose HTML looks like this data for that day data for that day data for that day data for that day data for that day data for that day data for that day data for that day data for that day data for that day etc. All of the w

[jQuery] Defining more than one function

2008-02-16 Thread Michael Ray
I am trying to define three functions within the $(document).ready() function. However, each of these functions only work if the other two are not there. I have to use noConflict mode because I am also using Protype as well. What is the proper syntax to define more than one function? Here's what I