[jQuery] iterating functionality

2007-12-21 Thread FrankTudor
Hi all I have a simple hide/show function that doesn't seem to work the way I want. I need some theory help here. Currently in my code I have a loop that iterates over a block of code and builds a table. I have a two row relationship. Row one tr is important info, where row two tr has the

[jQuery] Explaining this or .this or .this()

2007-11-29 Thread FrankTudor
There is a concept I am struggling with and I am not sure how to approach it. I am trying to understand: .this I don't know if an explanation or an example would be best. But I want to understand it. I have tried to read an explanation and it doesn't make sense. Can someone help me? Frank

[jQuery] Re: Explaining this or .this or .this()

2007-11-29 Thread FrankTudor
) object. To understand context and scoping better, I highly recommend checking out John Resig's book Advanced JavaScript Techniques, it cleared up a lot of confusion for me. -- Josh - Original Message - From: FrankTudor [EMAIL PROTECTED] To: jQuery (English) jquery-en

[jQuery] Re: Explaining this or .this or .this()

2007-11-29 Thread FrankTudor
Message - From: FrankTudor [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, November 29, 2007 11:32 AM Subject: [jQuery] Re: Explaining this or .this or .this() Frank On Nov 29, 12:38 pm, Josh Nathanson [EMAIL PROTECTED] wrote: I'll give it a shot

[jQuery] toggle hide show function not working (code provided)

2007-11-21 Thread FrankTudor
script type=text/javascript $(document).ready(function(){ $('.bang').hide(); $(a.collapse).toggle(function() { $('.bang').show(); $('a.collapse').remove((-)).append((+)); },function(){ $('.bang').hide();

[jQuery] Re: toggle hide show function not working (code provided)

2007-11-21 Thread FrankTudor
Thanks for straighting that out. Frank On Nov 21, 12:49 pm, mdrisser [EMAIL PROTECTED] wrote: The problem is that .remove() removes the actual element not the text inside of it. This works: $(a.collapse).html((-)); On Nov 21, 10:35 am, FrankTudor [EMAIL PROTECTED] wrote: script type

[jQuery] tinyMCE jquery equivalent

2007-11-19 Thread FrankTudor
Hi all I am looking for a tinyMCE jquery equivalent (if one exists)... Thanks, Frank

[jQuery] hide/show (trying to prevent inline loop code)

2007-11-19 Thread FrankTudor
Hi all, I an trying to create a simple hide/show toggle with jQuery, but My content loops over a query and so when I test it it opens all my table blocks (since they have Identical code duplicated to the length of the records). So then I got cleaver and created a variable that generates a random

[jQuery] Re: hide/show (trying to prevent inline loop code)

2007-11-19 Thread FrankTudor
/d6be93a0dd4fc205?lnk=gstq=hiding+checkbox#d6be93a0dd4fc205001 Jim -Original Message- From: FrankTudor [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 10:16 AM To: jQuery (English) Subject: [jQuery] hide/show (trying to prevent inline loop code) Hi all, I an trying to create

[jQuery] Re: tinyMCE jquery equivalent

2007-11-19 Thread FrankTudor
why the two scripts wouldn't play nicely though, is there any particular reason you want a jQuery based editor? On Nov 19, 2:46 pm, FrankTudor [EMAIL PROTECTED] wrote: Hi all I am looking for a tinyMCE jquery equivalent (if one exists)... Thanks, Frank

[jQuery] jquery code snippit improvement request

2007-10-18 Thread FrankTudor
Here is a bit of code that on page load sets the alternating color of a table. Then there is a table sort tool that loads as well. The th (header) clicks cause the nice alternating line colors to sort as well. So I created this, which works perfect, but it looks clunky/repetitive.. I was

[jQuery] tablesorter AND hide/show toggle in table

2007-10-17 Thread FrankTudor
There might not be a solution for this out thiere, but I have thrown tablesorter 2.0 on a table that has rows that are initially hidden. Of course those hidden elements get sorted and end up at the bottom of the table. So I am wondering if table sorter can ignore every other row, or if there is

[jQuery] tablesorter and tr odd even coloring problem

2007-10-17 Thread FrankTudor
Hi all, I have a table built dynamically (serverside). I have table sorter on the table and when I sort it sorts the colors or the rows as well. It is very irritating and I am not sure how to correct it. I tried repopulating the class via jquery labeling each odd and even but siince the page

[jQuery] good but could be better blur() form submit

2007-10-09 Thread FrankTudor
Hi guys/gals, Here is a snip of code I was testing for a part of my application. It is very neat but doesn't meld well with my other session stuff. Basically if you remove focus from the text box using blur(), it submits the form and sets the Coldfusion variable. Take a look and see if this

[jQuery] need a simple jquery alert or prompt example with ok or cancel choices

2007-10-01 Thread FrankTudor
I have a jquery script that gives the user a prompt and a choice to make sure they want to delete a value from a datasource. Here is my code... It prompts funny...and it goes ahead and processes anyways even if you select cancel.. Can someone fix me up here? script type=text/javascript

[jQuery] simple browser check (need help)

2007-10-01 Thread FrankTudor
I have a tool that only operates under IE So all other browser users get an alert here is my code...but it doesn't work... Can someone get me straightened out? script $(document).ready(function() { if($.browser.[safari, opera, mozilla]) {

[jQuery] jquery math functions?

2007-10-01 Thread FrankTudor
Is there a place that I can see the math functions available? Frank

[jQuery] input type text toUpperCase() jquery question

2007-09-25 Thread FrankTudor
As a user types in content to this this text field I would like tho force the text to uppercase to as keys are pressed. How would this be done? and is toUpperCase a real jquery function? if not wbhat would be a simple way to hndle this with either CSS or someother method... Here is what I

[jQuery] two listboxes(LB) drag names from LB one drop into LB two

2007-09-22 Thread FrankTudor
Sooting for the moon here, but does anyone have a method for selecting and dragging content from one list box to a second listbox? Frank

[jQuery] easiest question all day

2007-09-19 Thread FrankTudor
can someone show me an example of creating a simple variable and appending that variable to the document body? Here is my simple example (that doesn't work)... var GitRDone = smoke'n hot; $GitRDone.appendTo('body'); Thanks, Frank

[jQuery] Re: multiple select box to textarea

2007-09-18 Thread FrankTudor
; }); $('textarea').val(t.join('\n')); FrankTudor wrote: Hi all, I am creating a little tool that has two multiple select boxes and then a text area. I need to figure out how to take the selected conets of one box, or the other, or both and pop them to the textarea

[jQuery] multiple select box to textarea

2007-09-17 Thread FrankTudor
Hi all, I am creating a little tool that has two multiple select boxes and then a text area. I need to figure out how to take the selected conets of one box, or the other, or both and pop them to the textarea. If there are no examples can someone tell me what dom or events I need to be looking

[jQuery] Simple append?

2007-09-13 Thread FrankTudor
Hi all, I am very new to jQuery, but I need to construct a simple was to bold everything inside a td that looks like this td align=right I got the shell in place and the script is being pulled successfully I just need to figure out how to append this condition. Thanks, Frank

[jQuery] slidetoggle with repeating section

2007-09-13 Thread FrankTudor
Hi guys I have something that I am not sure how to figure out. I have some jquery code that auto hides a section of text. then a hyperlink to toggle showing or hiding the text. Here is an example: script type=text/javascript $(document).ready(function(){ $('.comments').hide();

[jQuery] Re: Simple append?

2007-09-13 Thread FrankTudor
] On Behalf Of FrankTudor Sent: jeudi 13 septembre 2007 15:10 To: jQuery (English) Subject: [jQuery] Simple append? Hi all, I am very new to jQuery, but I need to construct a simple was to bold everything inside a td that looks like this td align=right I got the shell in place

[jQuery] onclick page goes to top (have to scroll back down to content)

2007-09-13 Thread FrankTudor
Hi have a page that has some javascript events basically I have the accordian effects in a page with repating data...It is fin until I get close to the bottom of the screen and expand the page. Next thing I know I am back up towards the top of the page and have to scroll down to read the text.

[jQuery] Re: onclick page goes to top (have to scroll back down to content)

2007-09-13 Thread FrankTudor
the page to the top. Is there a test page you can show us where this is happening for you? On 9/13/07, FrankTudor [EMAIL PROTECTED] wrote: Hi have a page that has some javascript events basically I have the accordian effects in a page with repating data...It is fin until I get close

[jQuery] Question about Collapse/Expand

2007-08-30 Thread FrankTudor
Hi there is an example that I would like to use on a friends website. Here is the link: http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery I am working with example b. The think I am trying to do is to make it default collapesed instead of expanded. How would I do this? Thanks, Frank