[jQuery] jquery array

2009-04-25 Thread Tom Shafer
I need to make a array from a list data> data2> data3> I am having a hard time using jQuery.makeArray() to make an array from the data and print it out. How can this be done. Thanks -Tom

[jQuery] Re: loop through div

2009-03-16 Thread Tom Shafer
e').showLoop(); > > On Mar 16, 7:27 pm, Tom  Shafer 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&qu

[jQuery] Re: loop through div

2009-03-16 Thread Tom Shafer
type').showLoop(); > > On Mar 16, 7:27 pm, Tom  Shafer 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&qu

[jQuery] Re: loop through div

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

[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: jquery each help

2009-03-15 Thread Tom Shafer
t; > http://docs.jquery.com/Effects/animate > > On Mar 15, 11:46 am, Tom  Shafer wrote: > > > I have articles in a group of divs > > > >                         > src="media/img/greenBar.png" width="11" > > height="211"/>

[jQuery] jquery each help

2009-03-15 Thread Tom Shafer
I have articles in a group of divs POSTED: 15 MARCH 2008 1400 HOURS > SNEAK PREVIEW OF NO CHILD... Lorem ipsum dolor sit am

[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] 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 o

[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] 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 wrote: > Maybe showing an example of what isn't working would help others help > you > > On Feb 9, 10:28 am, Tom  Shafer wrote: > > > Does th

[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: sortable update problem

2009-02-02 Thread Tom Shafer
ot 1.2.6), 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. > >

[jQuery] Re: sortable update problem

2009-02-02 Thread Tom Shafer
duled 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 > >

[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: 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 wrote: > > How would I make live work with plugins? With the livequery plugin i > > used > > > $('.text-edit').livequery('click', function() { > >                 akedit(save_url, opt

[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] 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. About Us

[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] Re: apples webclip feature in jquery

2008-09-17 Thread Tom Shafer
is this webclip of which 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 jque

[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] $.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] 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] 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] 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:$ ('#title').v

[jQuery] Re: remove dynamically placed dom element

2008-07-14 Thread Tom Shafer
inbox/11b1f57192f17027> > > > > On Sun, Jul 13, 2008 at 9:46 PM, Tom Shafer <[EMAIL PROTECTED]> wrote: > > > I am using this code to add a new item to a list > > > $("#addLinks").submit(function() > > { > > >        $.post("addL

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

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

[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] problems with thickbox and ie6

2007-05-27 Thread Tom Shafer
Thickbox in ie 6 cuts off the bottom of my page. I fixed it when it does it when loading the page bu t when thickbox closes the bottom is cut off. Here is an example http://www.thebattalion.tv/dev/bios.php Anyway to fix this. I was thing that when thickbox closes I could show and hide a div on t

[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: > > > &

[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

[jQuery] jqgrid and php

2007-05-24 Thread Tom Shafer
I am familiar with php but I am a little troubled by the params of jqgrid. What exactly is ths server side script supposded to look like when using this script. This is what I am using, but I know it isnt correct. My trouble comes from the page tags. -TJ \n"); include("admin/config.php"); $resu

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

[jQuery] Re: jcarousel safari

2007-05-18 Thread Tom Shafer
idn't work, but after a refresh it continued to work fine. > > I'm not sure what's going on. > > Karl Rudd > > On 5/18/07, Tom Shafer <[EMAIL PROTECTED]> wrote: > > > > > That doesnt seem to work. Is there any other way. > > > -TJ >

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

[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] 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] 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] Re: jquery page jump

2007-04-14 Thread Tom Shafer
t this came from php On Apr 14, 6:26 pm, Allan Mullan <[EMAIL PROTECTED]> wrote: > You need 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 > > scrollt

[jQuery] jquery page jump

2007-04-14 Thread Tom Shafer
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] Re: jquery form plugin

2007-04-12 Thread Tom Shafer
ou can just remove the dataType option 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/Ch

[jQuery] Re: jquery form plugin

2007-04-12 Thread Tom Shafer
AIL PROTECTED]> wrote: > 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

[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] 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
setTimeout(function(){ $el.unblock(); }, 5000); return false }); On Apr 3, 11:17 am, "Tom Shafer" <[EMAIL PROTECTED]> wrote: > thanks mike, im getting the hang of this. $this is your friend im > learning > > On Apr 3, 6:32 am, "Mike Alsup" &l

[jQuery] Re: blockui timeout

2007-04-03 Thread Tom Shafer
) { > var $el = $(this); > $el.prev('div').block('Please Login to > submit your opinion.',{ border: '3px solid #a00'}); > setTimeout(function(){ $el.unblock(); }, 5000); > return false; > > }); > > Mike > > PS: Thanks Erik

[jQuery] Re: blockui timeout

2007-04-02 Thread Tom Shafer
t; > --Erik > > On 4/2/07, Mike Alsup <[EMAIL PROTECTED]> wrote: > > > > > Tom, > > > If you're still using a function to block, it's something like this: > > > function blockElement(id) { > > var $el =$('#'+id); > &

[jQuery] blockui timeout

2007-04-02 Thread Tom Shafer
How could I use settimeout on block so that blockui will goway after a certain amount of time?

[jQuery] Re: Trouble with selecting dynamicly made div's using blockui

2007-04-02 Thread Tom Shafer
sorry, what digg.com does when you arent logged in On Apr 2, 3:55 pm, "Tom Shafer" <[EMAIL PROTECTED]> wrote: > no, im trying to do something like what dig does if you arent logged > in > > On Apr 2, 2:52 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wr

[jQuery] Re: Trouble with selecting dynamicly made div's using blockui

2007-04-02 Thread Tom Shafer
{ > $('a.respond').bind('click', function() { > $(this).prev('div').block('Processing...'); > return false; > }); > > }); > > Hope that helps. > > -- > Brandon Aaron > > On

[jQuery] Re: Trouble with selecting dynamicly made div's using blockui

2007-04-02 Thread Tom Shafer
) { > $('#'+id).block('Processing...'); > > } > > Mike > > On 4/2/07, Tom Shafer <[EMAIL PROTECTED]> wrote: > > > > > I am making unlimited divs using php and below eac div there is a link > > that says something like respond, >

[jQuery] Re: Trouble with selecting dynamicly made div's using blockui

2007-04-02 Thread Tom Shafer
Murod <[EMAIL PROTECTED]> wrote: > > > Hi Tom, > > > > I'd normally do this, not sure if it is correct way of doing things but > > > it works for me > > > If id you are passing is someID to BlockLog. notice this '#'+ > > > ... > &

[jQuery] Re: Trouble with selecting dynamicly made div's using blockui

2007-04-02 Thread Tom Shafer
correct way of doing things but > it works for me > If id you are passing is someID to BlockLog. notice this '#'+ > ... > > $('#'+someID).click(function() { > > .. > Give it a try > --Kush > > > > Tom Shafer wrote: > > I am trying to selec

[jQuery] Trouble with selecting dynamicly made div's using blockui

2007-04-01 Thread Tom Shafer
I am trying to select different divs, each is given a unique id and im using this to apply a effect to it function BlockLog(id) { $(id).click(function() { $('#blockMe').unblock().block('Processing...', { border: '3px solid #a00' }); }); } with this to call it You