[jQuery] jquery array

2009-04-25 Thread Tom Shafer
I need to make a array from a list ulli class=dataimg src=xtabletrtddata/td/tr/ table/li li class=dataimg src=x2tabletrtddata2/td/tr/ table/li li class=dataimg src=x3tabletrtddata3/td/tr/ table/li/ul I am having a hard time using jQuery.makeArray() to make an array from the data and print it

[jQuery] loop through div

2009-03-16 Thread Tom Shafer
how can i loop through each div on a page and have them appear one by one i am trying var arrayList2 = $.makeArray(document.getElementsByClassName (.type)); $.each(arrayList2,function() {

[jQuery] Re: loop through div

2009-03-16 Thread Tom Shafer
thanks guys! On Mar 16, 7:26 pm, ricardobeat ricardob...@gmail.com wrote: jQuery.fn.showLoop = function(i){   var i = i || 0,     self = this;   $( this[i] ).show(600, function(){        self.showLoop(++i);   }); }; $('.type').showLoop(); On Mar 16, 7:27 pm, Tom  Shafer tom.sha

[jQuery] Re: loop through div

2009-03-16 Thread Tom Shafer
(); On Mar 16, 7:27 pm, Tom  Shafer tom.sha...@gmail.com wrote: how can i loop through each div on a page and have them appear one by one i am trying var arrayList2 = $.makeArray(document.getElementsByClassName (.type));                                                 $.each(arrayList2

[jQuery] Re: loop through div

2009-03-16 Thread Tom Shafer
16, 7:27 pm, Tom  Shafer tom.sha...@gmail.com wrote: how can i loop through each div on a page and have them appear one by one i am trying var arrayList2 = $.makeArray(document.getElementsByClassName (.type));                                                 $.each(arrayList2

[jQuery] jquery each help

2009-03-15 Thread Tom Shafer
I have articles in a group of divs div class=art div id=leftMainimg src=media/img/greenBar.png width=11 height=211//div div id=rightMain span class=postedDatePOSTED: 15 MARCH 2008 1400 HOURS/span

[jQuery] Re: jquery each help

2009-03-15 Thread Tom Shafer
for. http://docs.jquery.com/Effects/animate On Mar 15, 11:46 am, Tom  Shafer tom.sha...@gmail.com wrote: I have articles in a group of divs div class=art                         div id=leftMainimg src=media/img/greenBar.png width=11 height=211//div                         div id

[jQuery] slowly load image 1 line at a time

2009-03-13 Thread Tom Shafer
hi, I am in need of some way to slowly load a image 1 line at a time, or maybe load a div 1 line at a time any ideas? thanks, -tom

[jQuery] [Exception... Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)

2009-03-09 Thread Tom Shafer
what does this error mean [Exception... Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open] nsresult: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) location: JS frame :: http://tjshafer.com/projects/boyd/js/jquery-1.3.2.min.js :: anonymous :: line 19 data: no]

[jQuery] nsIXMLHttpRequest.open error

2009-03-09 Thread Tom Shafer
I get the error [Exception... Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open] nsresult: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) location: JS frame :: http://tjshafer.com/projects/boyd/js/jquery-1.3.2.min.js :: anonymous :: line 19 data: no] [Break on

[jQuery] attr feature

2009-02-09 Thread Tom Shafer
Does the attr feature let me capture my own attribute inside a element. I am trying and it doesnt seem to be working. I just wondering if there was a way to do this. Thanks -Tom

[jQuery] Re: attr feature

2009-02-09 Thread Tom Shafer
sorry about that $('#projectid').attr('link') this is going into ajax post On Feb 9, 10:59 am, MorningZ morni...@gmail.com wrote: Maybe showing an example of what isn't working would help others help you On Feb 9, 10:28 am, Tom  Shafer tom.sha...@gmail.com wrote: Does the attr feature

[jQuery] sortable update problem

2009-02-02 Thread Tom Shafer
I am using sortable and using the update feature to post the order $(#2).sortable({ //connectWith: [#homePage,#acquire,#build], items: li, opacity: 90, revert: true, placeholder: sortHelper,

[jQuery] Re: sortable update problem

2009-02-02 Thread Tom Shafer
), and the final release is scheduled for tonight. See http://blog.jquery.com/2009/01/30/jquery-ui-16rc6-help-us-test/ Also note, there is a dedicated mailing list for jQuery UI help: http://groups.google.com/group/jquery-ui Thanks. - Richard On Mon, Feb 2, 2009 at 11:26 AM, Tom Shafer

[jQuery] Re: sortable update problem

2009-02-02 Thread Tom Shafer
for tonight. See http://blog.jquery.com/2009/01/30/jquery-ui-16rc6-help-us-test/ Also note, there is a dedicated mailing list for jQuery UI help: http://groups.google.com/group/jquery-ui Thanks. thanks i appreciate it - Richard On Mon, Feb 2, 2009 at 11:26 AM, Tom Shafer tom.sha...@gmail.com

[jQuery] live and plugins

2009-02-01 Thread Tom Shafer
How would I make live work with plugins? With the livequery plugin i used $('.text-edit').livequery('click', function() { akedit(save_url, options); }); akedit is a not a jquery function. How would I make a plugin work with this Thanks, -Tom

[jQuery] Re: live and plugins

2009-02-01 Thread Tom Shafer
no your right, i have no idea what i was thinking. I got it working Thanks though On Feb 1, 9:31 pm, Mike Alsup mal...@gmail.com wrote: How would I make live work with plugins? With the livequery plugin i used $('.text-edit').livequery('click', function() {                

[jQuery] jquery fadeto

2009-01-24 Thread Tom Shafer
I have the following li. I am trying to make it so when you hover over the first a and all of the child ul with the class of sub fadeTo will come to full opacity. When you mouseout it changes opacity again. Here is what I have come up with. li class=parent first id=parent1a

[jQuery] move and resize window according to parent window position

2008-10-18 Thread Tom Shafer
Does anybody have a way to move a popup window so that it is always centered over the parent window. I am having trouble figuring this out. Thanks, Tom

[jQuery] apples webclip feature in jquery

2008-09-17 Thread Tom Shafer
I am wanting to write something like apples webclip feature in safari for jquery, I am trying to figure out where the best place to start is. Does anyone have any ideas? Thanks, -TJ

[jQuery] Re: apples webclip feature in jquery

2008-09-17 Thread Tom Shafer
you speak? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Shafer Sent: Wednesday, September 17, 2008 11:41 AM To: jQuery (English) Subject: [jQuery] apples webclip feature in jquery I am wanting to write something like apples webclip

[jQuery] post data response problem

2008-09-11 Thread Tom Shafer
I am getting a data response from post in the form of variable1 | variable2 I am having trouble splitting this and applying the results to where its needed. $.post($(this).attr(href)),{}, function(data) { update = data.split('|');

[jQuery] $.post callback problem

2008-09-11 Thread Tom Shafer
i am trying to use data i am getting back from $.post but I am not able to get the function with the data in it to work $(a.rater).click(function(event) { $.post($(this).attr(href)), function(data) {

[jQuery] jquery.livequery with with variables

2008-07-15 Thread Tom Shafer
i got livequery to bind but i need to be able to pass a variable to it lets say i have a function like deleteitem(id) how can i make livequery use this function with the variable i tried this $(li).livequery(click, deleteitem); but i get a syntax error deleteitem( how would i do something

[jQuery] Re: remove dynamically placed dom element

2008-07-14 Thread Tom Shafer
: For dynamicly loaded elements you will need to use a plugin. I suggest the 'listen' plugin. Refer to the FAQ for more information. http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...https://mail.google.com/mail/#inbox/11b1f57192f17027 On Sun, Jul 13, 2008 at 9:46 PM, Tom

[jQuery] using live query howto

2008-07-14 Thread Tom Shafer
i am trying to use live query to bind a click to a href on a form submit $(#addLinks).submit(function() { $('#addLinks') .livequery('onclick', function(event) { deleteitem(); }); $.post(addLinks.php,{ step:'addLink',title:$

[jQuery] remove dynamically placed dom element

2008-07-13 Thread Tom Shafer
I am using this code to add a new item to a list $(#addLinks).submit(function() { $.post(addLinks.php,{ step:'addLink',title:$ ('#title').val(),url:$('#url').val(),pageID:$('#pageID').val()} , function(data) { $('#'+$('#pageID').val()).

[jQuery] jquery form multiple php variables

2008-07-12 Thread Tom Shafer
Hi, I am trying to use the jquery form plugin and i have 3 form fields i need to go to php and come back and be inserted into a list. I am having trouble getting more than 1 php variable to return. here is the code example i am using $('#addLinks').ajaxForm({ // dataType identifies

[jQuery] jquery form multiple php variables

2008-07-12 Thread Tom Shafer
Hi, I am trying to use the jquery form plugin and i have 3 form fields i need to go to php and come back and be inserted into a list. I am having trouble getting more than 1 php variable to return. here is the code example i am using $('#addLinks').ajaxForm({ // dataType identifies

[jQuery] jquery ajax post not working

2008-07-11 Thread Tom Shafer
I am trying to use ajax post to simply send a form field to php and return it to a div Here is what I have $(document).ready(function(){ $(#addLinks).submit(function() { $.ajax({ url: 'addLinks.php', type: 'POST',

[jQuery] thickbox moves underlying div in ie

2007-06-08 Thread Tom Shafer
When a state is pressed on my example. Thickbox opens but the underlying div moves to the left, but only in ie. Is there anyway to fix this? http://thebattalion.tv/firehouses.php Thanks -TJ

[jQuery] Re: disable tooltip plugin upon thickbox call and enable when thickbox is closed

2007-05-26 Thread Tom Shafer
Well it seems to be a safari only issue. I wonder why that is. Thanks anyway -TJ On May 26, 10:56 pm, Su [EMAIL PROTECTED] wrote: Be more specific? I don't see this in my copies of IE6 or Fx2. On 5/26/07, Tom Shafer [EMAIL PROTECTED] wrote: I have a page where you select a state

[jQuery] Re: jqgrid and php

2007-05-25 Thread Tom Shafer
Thanks. I wasnt sure what those params woudl be. Thanks -TJ On May 25, 5:09 am, Tony [EMAIL PROTECTED] wrote: Hi Tom, You must calculate this values by hand. I personaly use a exelent adodb library which returns this values from the resulting query. In your case: To the server are

[jQuery] load thick box within ajax load

2007-05-23 Thread Tom Shafer
I am using the jquery load function function loadContent(id) { $(#bioscontent).load(grabbios.php?id=+id+); } and I am wondering how I can make thickbox work inside of it. When i try It just pushes the loading ar to the bottom of the page. Here is the

[jQuery] simple div with scrollbar plugin

2007-05-17 Thread Tom Shafer
I am in need of a simple div with scrollbar plugisn. I am not quite sure how to write one. Is there one out there? Thanks

[jQuery] Re: jcarousel safari

2007-05-17 Thread Tom Shafer
That doesnt seem to work. Is there any other way. -TJ On May 15, 11:14 pm, Klaus Hartl [EMAIL PROTECTED] wrote: Karl Rudd wrote: I haven't looked at the page but I'll wager it's one of Safari's lazy update type problems. Sometimes you change the styling of an object and it doesn't

[jQuery] jcarousel safari

2007-05-15 Thread Tom Shafer
In safari I have to redraw the page in order for it to work. Like resize it or something. It has to be redrawn so I can use the arrows. Anybody else have this prob? -TJ

[jQuery] ajax and links

2007-04-22 Thread Tom Shafer
is it possible to have the url and the data come from the link href using the ajax funtions in jquery?

[jQuery] Re: jquery page jump

2007-04-14 Thread Tom Shafer
to do an onclick=return(false); to prevent this... Allan Tom Shafer wrote: how do I prevent the page from jumping back to the top when calling scrollto from the interface plugin http://dev.unfetteredpress.com/story/Chavez_to_shut_down_opposition_TV# click on add comment

[jQuery] custom selecters

2007-04-14 Thread Tom Shafer
Hi, i need to be able to find all elements with a div id of something like divname plus some randmom number, each div id will be like this, so something like divname324 or divname453 so how can I select all divs with a name divname plus some random numbers $(#divname + random number).ajaxForm({

[jQuery] jquery form plugin

2007-04-12 Thread Tom Shafer
I am trying to return html after the form has been processed. I get it to work with plain text such as echo '{ message: Thanks }'; but html doesnt seem to want to work. Any thoughts?

[jQuery] Re: jquery form plugin

2007-04-12 Thread Tom Shafer
: Do you have the dataType set to 'json' by any chance? Can you post a sample page that shows the problem? Mike On 4/12/07, Tom Shafer [EMAIL PROTECTED] wrote: I am trying to return html after the form has been processed. I get it to work with plain text such as echo '{ message: Thanks

[jQuery] Re: jquery form plugin

2007-04-12 Thread Tom Shafer
and return html from the server and the target will be updated for you. Mike On 4/12/07, Tom Shafer [EMAIL PROTECTED] wrote: Yea I am using json. http://dev.unfetteredpress.com/story/Chavez_to_shut_down_opposition_TV click your turn and you can reply, the data is inserted

[jQuery] Traversing the dom selecting ever other dom

2007-04-06 Thread Tom Shafer
I was wondering how I can traverse through the dom and start at a div and then select every other div until i want it to stop so that I may add a class to it. Any Ideas? Thanks Tom

[jQuery] Re: blockui timeout

2007-04-03 Thread Tom Shafer
a href=\login\Login/a to submit your opinion./a/h1',{ border: '3px solid #a00'}); setTimeout(function(){ $el.unblock(); }, 5000); return false; }); Mike PS: Thanks Erik! On 4/3/07, Tom Shafer [EMAIL PROTECTED] wrote: Thanks guys, I got rid of the function and using