[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: script type=text/javascript

[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: 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: table ? foreach($rows as $row) : ? tr ? foreach ($row as $cell) : ? td?= $cell ?/td ? endforeach; ? /tr ? endforeach ? /table On Tue, Mar 4, 2008 at

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

[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); $(#secondaryOwner

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

2008-03-04 Thread Michael Ray
expect it to work ? Add the plugin and it works... Cheers Ariel Flesler On 3 mar, 15:52, Michael Ray [EMAIL PROTECTED] wrote: 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

[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'); On Mar 3,

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

2008-03-04 Thread Michael Ray
); $(#secondaryOwner select).attr(disabled,disabled); $(#secondaryOwner).css(color,#999); } }); On Tue, Mar 4, 2008 at 10:42 AM, Michael Ray [EMAIL PROTECTED] wrote: I am using a checkbox to enable/disable a fieldset of input fields in a form. This toggle worls

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

2008-03-03 Thread Michael Ray
. LocalScroll has to be called on containers, not the actual links. Cheers. Ariel Flesler On Mar 3, 5:06 am, Olaf Bosch [EMAIL PROTECTED] wrote: Michael Ray schrieb: Thanks for pointing me in the right direction. I am tryign to use LocalScroll but it doesn't want to work. I included

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

[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? Thanks zok

[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 head Here is the code script type=text/javascript $(document).ready(function(){ $(#Cont).localScroll(); });

[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
) 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] wrote: Thanks

[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 div id=calendar divdata for that day/div divdata for that day/div divdata for that day/div divdata for that day/div divdata for that day/div divdata for that day/div divdata for that day/div divdata for that day/div

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

2008-02-17 Thread Michael Ray
-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 every time? On Feb 17, 2008 11:22 AM, Michael Ray [EMAIL PROTECTED] wrote: I have made a calendar, whose

[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, Michael Ray [EMAIL PROTECTED] wrote: I am trying to define

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

[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