Justin Carter schrieb:
Hi All,
I'm building a new site using jQuery (obviously) and sIFR (2.0.2) for
replacement of Heading text. sIFR forces you to specify your text
color in the replaceElement function but since I have different style
sheets for different parts of the site I prefer not
Matt Stith schrieb:
AJAX is supposed to return XML, so its doing what its made to do.
It returns whatever MIME type you want the server to respond.
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Mike Rubits schrieb:
How is it returning XML at all? The only thing it's returning is a 404 error
code. It's supposed to post to the action attrib of the form, instead it's
posting to /modules/tasks/[object htmlInputElement] instead of
taskaction.php.
Does your form contain an input field
My understanding was that the plugin looked inside the form tag for the
action: form id=noteform action=taskaction.php method=post
and when you click submit, instead of doing an old fashioned submit, the
ajaxForm plugin kicks in, reads action= from the form tag, and does it via
AJAX.
I have a
Just after I asked that getPos() function in iUtil.js of interface
package, I got the getPosition() should do the work. But as I used it
in IE browser, if the scrollbar is not scrolled, the result is good.
But as I scroll the scrollbar, the result is not correct, it seems
that it minuses scrollTop
I am looking for a type-writer effect (the text of an element types
out). Anyone aware of this?
Nice idea, I've just tried and done it.
I'll publish it later on jquery.info with explanations, and probably a nicer
code, but you can get a first version here:
Hi,
I'll publish it later on jquery.info with explanations, and probably a
nicer code, but you can get a first version here:
http://www.jquery.info/IMG/html/19_typewriter.html
Nice. You should handle the tags properly. The following Page contains a
typewriter that I have written in
I'm building a new site using jQuery (obviously) and sIFR (2.0.2) for
replacement of Heading text. sIFR forces you to specify your text
color in the replaceElement function but since I have different style
sheets for different parts of the site I prefer not to hard code color
values into the
A tiny suggestion:
$(#tweenLoad).html('Loading ' +k+'%');
Instead of the other one:
$(#tweenLoad).html('loading' +k );
I really like it. The 'bounce' effect looks cool too! Like a jello window!
:)
This just seperates it and shows that it's percentage
Will Jessup wrote:
Yes. This is quite easy. Simply do:
$(p#myseralhash).text(serial.hash);
Replace this would make:
p id=myserialhash/p
into:
p id=myserialhashSerialization info here!/p
kevdotbadger wrote:
ok ill be a lil shorter.
serial = $.SortSerialize('sortable1');
alert(serial.hash);
make the
Thanks Fil Christof. These examples are fantastic.
Simon
Christof Donat wrote:
Hi,
I'll publish it later on jquery.info with explanations, and probably a
nicer code, but you can get a first version here:
http://www.jquery.info/IMG/html/19_typewriter.html
Nice. You should
Brendan, Thanks for doing a good job explaining what I was trying to -
the jQuery.iSort.helper.get bug. I would hope that this can be fixed.
I can see a situation where I might want to have a list on a page that
isn't a sortable until a user initiates that action (click here to sort
this
after using .get i am extractng various nodes all works well except the music nodeeg:div id=msuic14/divin this case I would expect the following to return 14
$(div#music,html).text()it often return a blank value, even though firefox's consiole window display the correct node valuevery odd and
Just for the record, when I view this page in IE:
http://www.jquery.info/IMG/html/19_typewriter.html
nothing happens.
You're right, it doesn't work at all on MSIE.
Surprisingly it also behaves badly in FF for the PC. It at least tries to
type itself out, but has some issuies when it gets to
Ah...
Didn't catch the HTML code. Interesting.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
It's
probably just a mistype, but your div has an id of msuic, while you're trying to
reference "music".
Also,
what are you trying to reference with your $() call? $("div#music",html)? Why
not just reference #music?
!//--andy matthewsweb
developercertified advanced
yep that was just a typo in my message not in the actual code.referancing div#music or #music equate to the same as long as the node is a div.I am giving it ago now though
On 9/18/06, Andy Matthews [EMAIL PROTECTED] wrote:
It's
probably just a mistype, but your div has an id of msuic, while
referancing div#music or #music equate to the same as long as the node
is a div.
Yes, but which query do you think is faster?
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Well, which one do I THINK is faster, or which one actually IS faster?
I think that asking for an id of music should be the fastest sort of
search as there should only be ONE of them on the page. I would think that
asking it to search all divs THEN for a div with the ID of music would take
Sam,
If you try to reference the node as simply #music as opposed to
div#music, do you see any better consistency or do you still have issues?
Rey...
Sam Sherlock wrote:
I only have 1 music node
when I extract data from the node sometimes it is blank (more often than
not its blank) even
On 18/09/06, Fil [EMAIL PROTECTED] wrote:
Just for the record, when I view this page in IE:
http://www.jquery.info/IMG/html/19_typewriter.html
nothing happens.
You're right, it doesn't work at all on MSIE.
Surprisingly it also behaves badly in FF for the PC. It at least tries to
type
Hi,
A regular expression is probably the best thing to use. This is nearly
working (but not quite)
Why not using DOM? It works perfectly. Just have a look at my code. Actually I
think, that it should be rather straight-forward to transform my code to use
jQuery.
The reason I think it
would it help if I returned an object rather than a seris of HTML nodes?eg the following[title:'home_reviews', content:'h2New content/h2pcontent/p', image:'', music:3]if so what would be the syntax I would use to access the various parts of the object?
$.get(./content/?+htmlDoc,function(obj) {
On 18/09/06, Christof Donat [EMAIL PROTECTED] wrote:
Hi,
A regular expression is probably the best thing to use. This is nearly
working (but not quite)
Why not using DOM? It works perfectly. Just have a look at my code. Actually I
think, that it should be rather straight-forward to
yep its well formed, first thing I checked.Perhaps returning a object would be better (see thoughts in previous email)thxOn 9/18/06, Sam Sherlock
[EMAIL PROTECTED] wrote:
would it help if I returned an object rather than a seris of HTML nodes?eg the following[title:'home_reviews', content:'h2New
thanks Klaus, looks like I'll have to bite the bullet with this json thingthanks alot!On 9/18/06, Klaus Hartl
[EMAIL PROTECTED] wrote:You can try that and it makes more sense to me than extracting the data
from your html.I recommend using JSON for that. The response looks something
Hi,
Why not using DOM? [...]
It was just a suggestion on how the code could be improved (and a good
chance to work on my RegExp skills).
That is OK, but in production code I see no point in reeimplementing stuff
that you already have with DOM. It is fine while praticing.
Plus it involves
Your code may generate
h1asdf asdf asdf/h1
span style=visibility:hiddenp style=backgrou/span
yes this was the biggest bug. It's gone now.
There is another issue with your code. You take the content for your
typewriter from a parameter to your function, where I take the contents of
the
This is what the form plugin is for.
http://jquery.com/dev/svn/plugins/form/
On 9/18/06, Rey Bango [EMAIL PROTECTED] wrote:
If I have 4 form fields like below and I wanted to serialize them in one
big swoop instead of 1 by 1, how might I go about doing it?
I know I can do this for the text
Sam Sherlock schrieb:
Ealier Klaus recommended usig JSON to process an object
here is the code I am using
$.ajax({
url: ./content/? + htmlDoc,
dataType: 'json',
success: function(json) {
// process json...
eval(var myVar = + json +;); //
Thanks Mike. I'll check that out.
Rey...
Mike Alsup wrote:
This is what the form plugin is for.
http://jquery.com/dev/svn/plugins/form/
On 9/18/06, Rey Bango [EMAIL PROTECTED] wrote:
If I have 4 form fields like below and I wanted to serialize them in one
big swoop instead of 1 by 1,
Great solution Francisco. Worked like a charm.
Rey...
Francisco Brito wrote:
I just do [EMAIL PROTECTED] Serialize will ignore anything that's not an
input
anyway.
-Brito
On 9/18/06, *Rey Bango* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
If I have 4 form fields like
Hi folks,
is there any way to set a header (ie. content-type: text/xml) when
loading a file from a local disk, without a webserver? This would be a
great help to run AJAX tests. I once read that someone implemented a
kind of webserver via javascript (running inside a browser). Maybe
someone
Jörn Zaefferer schrieb:
Hi folks,
is there any way to set a header (ie. content-type: text/xml) when
loading a file from a local disk, without a webserver? This would be a
great help to run AJAX tests. I once read that someone implemented a
kind of webserver via javascript (running
alert( json.title ); says undefinedthe header is application/jsonhave tried various bits and bobs but still not getting resultsany suggestionsOn 9/18/06,
Klaus Hartl [EMAIL PROTECTED] wrote:
Sam Sherlock schrieb: Ealier Klaus recommended usig JSON to process an object here is the code I am using
Sam Sherlock schrieb:
alert( json.title ); says undefined
the header is application/json
have tried various bits and bobs but still not getting results
any suggestions
What version of jQuery are you using? There has been a slight change to
the success callback handler...
--
I have just had partial success with the following: success: function(json) { console.info( json ); obj = eval('('+json.responseText+')');
console.info(' title: ' + obj.title); console.info(' content: ' + obj.content); console.info(' image: ' +
obj.image);
Klaus Hartl schrieb:
Jörn, not sure if that helps at all, but you can load an xml file from
the local file system like this (Mozilla and IE):
XML.loadAsync = function(url, callback) {
var xmldoc = XML.newDocument();
if (document.implementation
I have tried various versions compressed and noncompressedthe current jquery version info is: $Date: 2006-08-31 13:26:31 -0400 (Thu, 31 Aug 2006) $ $Rev: 249 $
On 9/18/06, Sam Sherlock [EMAIL PROTECTED] wrote:
I have just had partial success with the following: success: function(json) {
Sam Sherlock schrieb:
I have tried various versions compressed and noncompressed
the current jquery version info is:
$Date: 2006-08-31 13:26:31 -0400 (Thu, 31 Aug 2006) $
$Rev: 249 $
If you have problems that may be solved in the latest development
version, you could check it out from
I'm getting an odd response back via .ajax. Firebug is showing the reply as:
h1Length Required/h1
Anyone seen this before?
Rey...
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Opera9 does not play along and display content, something odd is happening with opera (not to worried about this) maybe it is easy to fixany (easy) ideas? otherwise I am just going to disable jquery in opera all versions.
atb -SOn 9/18/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Sam Sherlock
And, to be JSON, all the quoted strings need to use double quotes. The
JSON standard doesn't allow 'single quotes'.
Thank you Michael, I totally overlooked that!
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Sam Sherlock schrieb:
I have tried various versions compressed and noncompressed
the current jquery version info is:
$Date: 2006-08-31 13:26:31 -0400 (Thu, 31 Aug 2006) $
$Rev: 249 $
I think you have a version prior to the change I mentioned. Try the
latest version from SVN as Jörn
--- Mark Sams [EMAIL PROTECTED] wrote:
Could you post a link to your modified version?
Here is a link:
http://www.geocities.com/msams992000/treeview.html
The icons for plus (+) and minus (-) sometimes
dissapear, but you can still click in the area where
the icon should be and see the
lynx http://www.jquery.info/IMG/html/19_typewriter.html
OK I have now written an explanation (in French) and finished the code:
http://www.jquery.info/spip.php?article19
But I'm afraid I'm not sure the explanations are understandable... even I
have difficulty reading my text :))
Nice hat!
http://static.flickr.com/52/114431569_4c0c4e1763.jpg?v=0
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Where'd you get that picture of my girlfriend?
:P
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Methvin
Sent: 18 September 2006 22:54
To: discuss@jquery.com
Subject: [jQuery] jQuery spokesmodel
Nice hat!
Hi everyone. I'm a little stuck trying to append a row to an existing
table. I do a simple ajax call that returns the HTML row to insert into
the table:
$.get(product.cfm, { productid: thisID },
function( msg ){
/* Add the new row to the cart table */
LOL!
Dave Methvin wrote:
Nice hat!
http://static.flickr.com/52/114431569_4c0c4e1763.jpg?v=0
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
I have made some modifications to the jquery code and would like to pack
it back down. What command is used to generate the official 'packed'
version?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi Patrick,
Thanks for the feedback. I was missing a column as you mentioned but
adding that in didn't resolve. Same effect just with an additional
column. :o)
I did manage, however, to add this code which actually works:
$(#cartTable).append( 'tr valign=top id=cartRow_' + thisID
+'/tr' );
That's it! That worked perfectly. Perhaps I missed it
somewhere, but I didn't see it in the documentation.
Thank you very much.
- Christian Gove
On 9/18/06, Shawn Tumey [EMAIL PROTECTED]
wrote:
I could be mistaken Christian, but I seem to
remember a discussion
from a few weeks ago indicating
On 9/18/06, Klaus Hartl [EMAIL PROTECTED] wrote:
color() returns the computed style and in Firefox this is the RGB
notation, no matter how you specified the color in the style sheet
(name, hex, rgb). So this is not a bug.
I'd write a RgbToHex function that transforms the Rgb value into Hex
Haha nice find!On 9/18/06, Dave Methvin [EMAIL PROTECTED] wrote:
Nice hat!http://static.flickr.com/52/114431569_4c0c4e1763.jpg?v=0___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/
___
jQuery
On 9/19/06, Rey Bango [EMAIL PROTECTED] wrote:
Hi Patrick,
Thanks for the feedback. I was missing a column as you mentioned but
adding that in didn't resolve. Same effect just with an additional
column. :o)
I did manage, however, to add this code which actually works:
Thanks for the suggestion Limodou. I'll check that out.
Rey...
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
IE is choking on the following line:
$( #searchResults ).children().remove();
I'm getting an Object Required error. This works fine in FF.
Seems like the children() method is causing IE to choke in this case.
Any ideas?
Rey...
___
jQuery mailing
I vote for color() always returning the same value. The problem is that
the code to clear that up is pretty bulky, by jQuery standards. If we
re-wrote it to be smaller overall, it might be a candidate for inclusion.
Otherwise, John might ask that we make it a plugin.
- Brian
On 9/18/06,
Im just beginning to experiment with jQuery and need
a little help. Im using it to display reference data for one of
our production teams, and the data changes frequently throughout the day. Heres
what Ive got, which works:
$(document).ready(function() {
$.ajax({ type: GET,
url:
function refreshData() {$(#report).load(bentonite.cfm?dataType=html); // Loads the page via ajax and puts content into specified elementsreturn false;};$(function() { // $(fn) == $(document).ready(fn)
refreshData();
setTimeout(refreshData(), 3000);$(refreshlink).click(refreshData);});BlairOn
61 matches
Mail list logo