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
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() {
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
();
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
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
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
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
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
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]
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
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
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
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,
), 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
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
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
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() {
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
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
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
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
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('|');
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)
{
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
:
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
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:$
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()).
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
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
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',
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
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
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
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
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
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
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
is it possible to have the url and the data come from the link href
using the ajax funtions in jquery?
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
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({
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?
:
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
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
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
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
45 matches
Mail list logo