wyo schrieb:
On Apr 12, 10:41 am, Klaus Hartl [EMAIL PROTECTED] wrote:
wyo schrieb:
As I understand $(document).ready() is more or less just an enclosure
to make sure the DOM is correcly available for use with jQuery. As it
Yes, the goal should be to separate behavior (JavaScript) and
Hi;
I have been creating an accordion application whose content has been
loading by ajax, code sample like below:
$(#loading).ajaxStart(function(){ $(this).show();});
$(#loading).ajaxStop(function(){ $(this).hide();});
$.getJSON(ajax.php,{ task: shops, cid:
Klaus Hartl wrote:
Jan Sorgalla schrieb:
ok, i see now. One of the main differences between the old and the new
version of jCarousel is, that you no longer have to pass itemsVisible
as option. The number of visible items are calculated on the fly
depending on the sizes of the clip and
Hi there,
I've looked through the jspax code, and it looks like he's creating an
explicit test once the package is loaded as I suggested initially.
This can can also be achieved without the second script element:
function loadExtScript(src, test, callback) {
var s =
The latest version of xsajax does work in Safari 2 (which should also
work in Safari 1.3)
On Apr 13, 9:39 am, Ralf S. Engelschall rse+jquery-
[EMAIL PROTECTED] wrote:
On Thu, Apr 12, 2007, Ralf S. Engelschall wrote:
On Thu, Apr 12, 2007, Jörn Zaefferer wrote:
Ralf S. Engelschall schrieb:
Hi,
When I clone an element that has an accesskey, it's copied to the
cloned element as well.
Then you end up with two different elements having the same accesskey.
Obvioulsy no good.
Do I have to call .removeAttr('accesskey') method on each cloned node
or is there a better way ?
Thanks in
Hey,
I will rewrite that demo as soon as Interface 2 is finished
Stefan
2007/4/13, Gilles (Webunity) [EMAIL PROTECTED]:
I don't know if Stefan is reading this discussion group, but i have
some questions for him. I was wondering if he wants to change the demo
at:
On Apr 12, 6:11 pm, Diego A. [EMAIL PROTECTED] wrote:
What you've said should work.
Do you have an URL I can look at?
Unfortunately, no, as this is a private extranet.
One potential gotcha is that there is some other jquery on this page,
in addition to the form stuff. Maybe my next step
Brandon Aaron schrieb:
jQuery provides a trim method already and you can use it like this:
A, sorry for lost the JQuery-Way ;)
--
Viele Grüße, Olaf
---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---
On Fri, Apr 13, 2007, Fil wrote:
So, could someone with Safari at hand be so kind and quickly view
http://trainofthoughts.org/repo/export/jquery/jquery.xsajax.test.html
and tell me what output sequence (N. x, N. ) is visible?
jQuery XS AJAX Plugin Demo
output of script #1:
Ahhh, ok I didn't realize .find() is destructive now :-)
But even with that, I can't get it to work still:
y = year;
y = y.find('option:eq(1)').val();
If I try and copy the var to a new one, it doesn't work.
However, if I just say y = 2007 then it works great, or if I use
1.1.2, it works
Dave,
div class=student
td width=100% class=studentinput type=hidden name=stu_1
id=stu_1 value=1 class=studentFieldAlvarado, Dave (ID: 3)/td/
div
How do I extract this value? Thanks, - Dave
I think you're going to have issues trying to drag a td / cell around. It
could cause unexpected
Hello all,
I have a situation that I keep bumping into and not sure what the
proper way to handle. I have function to submit a request to update a
customer's profile from a form and on the way in, I am bringing a new
DIV inside the target DIV, but since it is new DIV the DOM doesn't
know it is
Ah, excellent, that worked nicely. I had been citing this snippet from
the Page blocking section that led me astray:
// embedded content used as message
var messageElement = $('#domMessage');
$('#pageDemo4').click(function() {
$.blockUI(messageElement);
test();
});
m.
Hi folks. I'm trying to move an option element from one select box to another.
I have it working in Firefox now, with a simple append:
$('#selectbox_to').append($('#selectbox_from [EMAIL PROTECTED]'));
That works great everywhere except, of course, IE. In IE, it does actually
move the
Probably the easiest way to duplicate what you're trying to do, in
both versions of jQuery, is to wrap the jQuery object in another:
y = $(year).find('option:eq(1)').val();
that should protect it.
--John
On 4/13/07, m3avrck [EMAIL PROTECTED] wrote:
Ah yes, I'm trying to make this work in
Hello,
I am hiding/showing a tr that appears (in the HTML) immediately after
the tr that contains the control but when it is shown it appears at
the end of the table (along with the other trs that I'm doing the same
thing to).
HTML:
table
tr
tdspan class=sub_events sub_id=2hide/show
Not yet. Honestly, I kept having problems with the :selected style syntax. It
never matched elements for me. That's why I switched to using [EMAIL
PROTECTED], which someone in #jQuery suggested (I don't recall who). I'll give
that a try this afternoon and see if it works. :-)
--Larry
Excellent, ideas Dan. Let me give that a shot.
I appreciate the effort on this, I know it was a lot to absorb.
Thanks!
Jeff
On Apr 13, 2007, at 12:22 PM, Larry Garfield wrote:
Not yet. Honestly, I kept having problems with the :selected style
syntax. It never matched elements for me. That's why I switched
to using [EMAIL PROTECTED], which someone in #jQuery suggested (I don't
recall who). I'll give that a
On Friday, April 13, 2007 9:37 AM Glen Lipka said:
That is exactly what I got with your code.
Which browser is it acting wrong?
Can you post your code somewhere?
That's good, if not confusing, news. :) I'm using FF2.
I'll send you a link off list.
Thanks,
Chris.
I stumbled upon this jQuery speed test http://john.jquery.com/speed/ from
someone else's web site. It's testing against v1.0.4 and v1.1.2 (I think)...
I understand wanting to write a backwards compatible plug-in, but in an
ideal world folks should try to use the more recent version (for speed and
John, that worked wonders!
Didn't realize you could wrap a jQuery object in another :-D
Yy!!!
Will be announcing this plugin tonight :-D
ted
On Apr 13, 12:00 pm, John Resig [EMAIL PROTECTED] wrote:
Probably the easiest way to duplicate what you're trying to do, in
both versions of
I figured out why. It's because I'm using TableSorter on that table and
all the rows (as would be expected) are being sorted.
I'm going to start a new thread on this.
Chris.
One approach would be to put connected rows in separate tbody tags,
then sort the tbody objects based on the first tr in the tbody.
This would be a specialized way of sorting, though, and you would
probably need to write some custom code to accomplish it.
Matt Kruse
On Apr 13, 12:53 pm, Chris
Okay, so after about four hours of testing, I finally discovered the
fix. Good news it has zero to do with jQuery.
It actually was caused by CakePHP. The actual JSON values were being
created in a Cake view which was outputting it for the Ajax callback.
What I did not realize, that if Cake is
I'm trying to wrap up my application and am going through and debugging
a few things in IE (whoo hoo!)
I've got a weird issue with slideToggle and I can't get it fixed and
it's driving me nuts:
I have a list, and each item has a 'detail' block which I hide until a
user clicks to see details. I
Glad to know it worked matey!
On 13/04/07, AJ [EMAIL PROTECTED] wrote:
Okay, so after about four hours of testing, I finally discovered the
fix. Good news it has zero to do with jQuery.
It actually was caused by CakePHP. The actual JSON values were being
created in a Cake view which was
Thanks Karl! I'm afraid that's not working either. I'm actually manipulating
a multi-value select box, not single value. That's where the redraw problem is
happening.
Current snapshot of what I'm doing is here:
http://www.garfieldtech.com/jsdemo/pullbox/test1.html
The behavior in Firefox
Check this out: http://200.169.53.89:8080/WebApplication/Test/teste.html
I'm using the plugin jquery.select.js from
http://www.texotela.co.uk/code/jquery/select/, but I modified some lines of
the code.
On 4/13/07, Larry Garfield [EMAIL PROTECTED] wrote:
Thanks Karl! I'm afraid that's not
I have a lot of jpeg digital photos that display correctly in my local
photo software (Mac iPhoto). However, when displaying the vertical
photos
on a web page, they are oriented horizontally/sideways.
Is there a way to rotate the image so that it displays correctly?
Well - I was just digging through the docs and switched it from:
slideToggle('fast')
to
toggle('fast')
And it seems to do the same thing, and work in IE...
I'll go back though and check out your suggestions just to see if I can
find the issue!
Thanks,
Jim
-Original Message-
Speaking of custom code, how is the demi-awesome Matt Kruse
tablesorter/filter/pager/gogetmeabeer jquery plugin coming? :)
On Apr 13, 11:02 am, Matt Kruse [EMAIL PROTECTED] wrote:
One approach would be to put connected rows in separate tbody tags,
then sort the tbody objects based on the
This isn't really the right forum for this question, but...
I'm not sure how the current version of iPhoto handles rotating images, but
if you select the images you want in the iPhoto viewer and export them to a
new folder (File Export) they'll be oriented as you see them in the
viewer. If you
I'll have a look at the code there, thanks. I think I have narrowed down the
cause of the problem, though. IE *really* doesn't like that I'm adding a
select box to the page dynamically, and is therefore pouting by refusing to
redraw it.
As the wiki says, IE is a sadist. :-(
--Larry
I want to use jQuery as one of potentially many DHTML engines for my
site. Therefor I want to move the events from my XHTML code to a
JavaScript includes. I've not yet had anyone help me get any of the
functions working though someone suggested using addEventListener. I'm
not really good with
You're absolutely right, it does work either way. My earlier tests were
failing, but that could have been for other reasons. The important thing
is that it's working. Thank you again, Mike.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Just make this:
$(#header1).click(function(){
$(#div01).BlindToggleVertically(1000,null, 'bounceout');
return false;
}):
:D...Very simple.
On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I want to use jQuery as one of potentially many DHTML engines for my
site. Therefor I want to
iPhoto rotates pretty well, but it doesn't save that simple change to the
file unless you also do something to it. After a crop... it's available for
use in jQuery to play with as you choose.
All my dog's pictures are edited in iPhoto!
http://jpassoc.com/junior
(there! I brought it back on
I ran into a problem with code in one frame trying to operate on an
element in another frame last night that turned out to be caused by
the target DOM not being ready when I ran the selector. I created a
quick jq plugin that acts like $(document).ready() to run functions
when the target frame's
I THINK I figured this one out. I was creating the new select box dynamically
by cloning the former, like so:
var unselected = selected.clone(true);
unselected.attr('name', 'unselected_' + unselected.attr('name'));
For whatever reason, when I did that IE wasn't removing elements from the new
I did something similar (again on my dog's site)
http://jpassoc.com/junior/story/
I wrote a couple of plugins to hook into the text of a page (in my case
loaded via $.get) and diddle with the the class and add some clicks.
http://jpassoc.com/js/jquery-kidsbook.js
this is 'hook'
I'm losing my mind. This simple little bit of code works a charm in
Firefox and not IE 6/7:
$('#content').animate({className: 'contentNarrow'},1000, function(){
$('#podContainer:hidden').fadeIn(1000);
$(#content).load(screens/order.cfm);
});
The JS error is useless, even using
Do you have a url to this page I could take a look at?
If not, which style attributes in contentNarrow are being animated? Also
double-check that each of the style attributes have a value before the
animation starts.
Sometimes, if a style attribute was not assigned at all, in IE will end up
Awesome-sauce! Your code at first didn't do anything. Then I added an
onload event...THIS works...
function init() {
$(#header1).click(function(){
$(#div01).BlindToggleVertically(1000,null, 'bounceout');
return false;})
}
window.onload = init;
Now I can add any other DHTML library and give my
I have a script that's crashing IE 6, hard. I'm not sure what's going
on, and I don't know where to start debugging.
I should mention that I'm not exactly inexperienced with debugging IE's
oddities. But I don't usually encounter cases where IE simply crashes,
so I'm not sure where to start.
Yes, it was a closure. I'm catching on. Problem solved.
On Apr 13, 2:46 pm, Daemach [EMAIL PROTECTED] wrote:
I ran into a problem with code in one frame trying to operate on an
element in another frame last night that turned out to be caused by
the target DOM not being ready when I ran the
There's a lite version available for IE. http://www.getfirebug.com/lite.html
I also use IE Developer Toolbar -
http://www.microsoft.com/downloads/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038displaylang=en
Debug Bar, which has a very handy javascript console is free for
personal
Jeffrey, thank you!! I had removed the width attribute from the default
style. Putting it in again solved the problem.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffrey Kretz
Sent: Friday, April 13, 2007 6:14 PM
To: [EMAIL PROTECTED]
Subject:
I'm newbie to jquery
I have written a simple page for test. Here is the code. It only run
in opera 9.2 ,in IE7 and firefox 2 it doesn't work. Why?
head
titleUntitled Page/title
script type=text/javascript language=javascript src=jq/
jquery.js /
script type=text/javascript
You arent supposed to include both the packed and the unpacked versions,
just remove the link that includes jquery.pack.js and it should work fine.
On 4/13/07, Sharique [EMAIL PROTECTED] wrote:
I'm newbie to jquery
I have written a simple page for test. Here is the code. It only run
in opera
Hi Sharique,
It looks like you are loading jquery twice. jquery.js and jquery.pack.js
are the same thing, the .pack.js is just a smaller version of the file.
Remove one of your script src tags and it should work.
Regards,
David
Sharique wrote:
I'm newbie to jquery
I have written a simple
I have removed jquery.js but condition is still same.
When I remove jquery.pack.js this code doesn't work even opera.
-
Sharique
On Apr 14, 8:43 am, David [EMAIL PROTECTED] wrote:
Hi Sharique,
It looks like you are loading jquery twice. jquery.js and jquery.pack.js
are the same thing,
If you want to venture into it, you could download a free MS program called
Visual Web Developer, and use it to debug the javascript code.
http://msdn.microsoft.com/vstudio/express/downloads/default.aspx
This page tells you how to use the program to debug javascript:
54 matches
Mail list logo