On Aug 31, 2006, at 5:40 PM, Klaus Hartl wrote:
This is an interesting read regarding user agent spoofing (see
point 9):
http://webstandardsgroup.org/features/david-storey.cfm
Interesting. Open the Web sounds kinda Grease Monkey-ish.
Corey
___
Stefan, there is no alert in this part of the code. You just hover,
you don't pick a result.
On 9/1/06, Stefan Petre [EMAIL PROTECTED] wrote:
This happens because of that alert. If the alert is removed then
everything is OK. I don't know if this is a FF problem or code bug.
John Resig
I know. But maybe this information helps. I got uncaught exception:
Permission denied to get property HTMLDivElement.parentNode onclick and
[Exception... 'Permission denied to set property
XULElement.selectedIndex' when calling method:
[nsIAutoCompletePopup::selectedIndex] nsresult: 0x8057001e
John Resig schrieb:
I found a bug in Safari in the curCSS function where it tries to access
a property which is null in that case...:
What property were you attempting to check with curCSS in Safari - the
specific property is very important. Also, does the element have a
display: of none?
I should put this on the web somewhere, but for now I'll dump it on
this list. This is the first draft of documentation for my
Autocompleter. Use it to implement my plugin, or to pick up some ideas
for your own autocompleter.
Autocomplete - a jQuery plugin
Usage:
==
[EMAIL PROTECTED] schrieb:
Hey guys,
just a quick question: is there a possibility to query all the elements
having an specified attribute. E.g. I would like to get all the elements
with title attr set, no matter if its abbr, acronym, a or any other tag.
Regards,
That should do the trick
John Resig wrote:
Brandon -
For example, Prototype has
Object.extend(), jQuery has jQuery.extend() - they work nearly
identically.
--John
On 8/31/06, Brandon Aaron [EMAIL PROTECTED] wrote:
[1] http://dean.edwards.name/base/Base.js
Brandon Aaron
I hope that jQuery.create()
I didn't see a way to post this in trac, so if I ought to have, please
advise.
It seems that set (both name:value and hash) is not working, as well as
removeclass on multiple classes (and, of course, toggleclass with
multiple classes).
___
jQuery
On 31/08/06, Dylan Verheul [EMAIL PROTECTED] wrote:
When I hover over the results of my autocompleter, Firebug reports an error:uncaught exception: Permission denied to get property HTMLDivElement.parentNodeI think it is actually a bug in Firefox:
Looks like it, thanks.
On 9/1/06, Sam Collett [EMAIL PROTECTED] wrote:
I think it is actually a bug in Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=330961
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I hope that jQuery.create() (?) will be smarter than Prototype's
Class.create and would allow for true inheritance with access to parent
class functions. I've seen very smart and elegant solution for extending
Prototype Class.create functionality while preserving true inheritance and
allowing
The solution suggested earlier for executing javascript code
embedded in HTML returned by an ajax call by using
eval.call(window,...) works great in FF, but not in IE6.
How can we change the execution context of eval?
Can you change the way the function is declared?
script
For some reason, I can't seem to include more than one expression within a
function. For instance:
function emailForm() {
..etc..
}
$(document).ready(function() {
// format the form
$(document).click(emailForm);
//activate validation
$(#sendmail).click( function() {
Improved to take current position into account:
jQuery.swap( e, old, function() {
if (jQuery.css(e,display) != none) {
oHeight = e.offsetHeight;
oWidth = e.offsetWidth;
} else {
e = $(e.cloneNode(true)).css({
visibility: hidden, position: absolute, display: block,
This topic actually showed up just recently on the prototype list.
Some said that they use a setTimeout+eval to insure global scope but
others said that prototype isn't actually doing it right for that work
properly. Instead I believe they are just using the setTimeout to
avoid an IE issue where
Apparently it's seeing all URLs in their fully-qualified
form, not in the form they are in the source code.
In all browsers, or just IE? That's a quirk of IE that it changes relative
URLs to absolute.
http://www.glennjones.net/Post/809/getAttributehrefbug.htm
I thought there was a
That's IT, Francisco!That does the trick.In jquery svn, we need to change the following lines:Line number 4910: eval.call( window, this.text || this.textContent || this.innerHTML || );
should be changed to {var src="" this.text || this.textContent || this.innerHTML || ;
I am getting stuck with a tricky event sequence and am wondering if someone
can help. And pardon me if I seem like a n00b, I am more a drupal guy than
an AJAX person.
The site I am working on is here: http://dev.trellon.org/phmf/node/242
Here's what I am trying to do. Off to the left, there is a
There's a better explanation at the jQuery home page, but in a nutshell:jQuery detects your previously defined $ function and executes some additional logic. The only difference is that $('hello') will now try it by tag name and then by id. The only truly ambiguous case is if you currently have an
I am trying to use blind down and blind up with a div that is hidden
when the page loads.
My demo: http://www.jimdavis.us/demos/whidbey/blindtest.html
The blind up and blind down functions were working great until I added
the rule display: hidden to the addText div in order to have the div
out
Well, one thing that can help is that the click events only need to be
bound once:
$(document).ready(function(){
$('a.thickbox').click(function(){
$('#mp3player').hide(); return false;
});
$('#TB_closeAjaxWindow,#TB_closeWindowButton,#TB_ImageOff,#TB_overlay').click(function(){
Op 1-sep-2006, om 18:05 heeft Jim Davis het volgende geschreven:
I am trying to use blind down and blind up with a div that is hidden
when the page loads.
My demo: http://www.jimdavis.us/demos/whidbey/blindtest.html
The blind up and blind down functions were working great until I added
Krzysztof FF schrieb:
This would encourage incorrect usage of HTML which is a bad thing in
my
eyes.
Why don't you include a script element with a function, that adds some
external style sheet to the head element? In the long run that would
increase maintainability anyway in my eyes.
And
Stefan Nagtegaal schrieb:
Op 1-sep-2006, om 18:05 heeft Jim Davis het volgende geschreven:
I am trying to use blind down and blind up with a div that is hidden
when the page loads.
My demo: http://www.jimdavis.us/demos/whidbey/blindtest.html
The blind up and blind down functions were
Dave Methvin schrieb:
Apparently it's seeing all URLs in their fully-qualified
form, not in the form they are in the source code.
In all browsers, or just IE? That's a quirk of IE that it changes relative
URLs to absolute.
http://www.glennjones.net/Post/809/getAttributehrefbug.htm
Robert James Kaes:
I don't actually know if this is the case, but the STYLE element is
not
allowed within a BODY element (per the W3C HTML spec.) Perhaps this
is
one place where IE is following the spec strictly?
-- Robert
I don't think this is the case due to IE supporting STYLE
I am using jQuery for a drop down menu. Currently, select boxes are showing
through the menu.
On the date picker plugin, he appends an iFrame behind the menu.
Is this the best way or is there an easier way to achieve the desired effect?
Thanks,
Glen Lipka | Sr. UI Designer, WCG | Intuit Inc. |
Inside my external stylesheet..
#id-is-hidden-by-default {
display: none;
}
or you can also try:
#id-is-hidden-by-default {
visibility: hidden;
}
Steef
Op 1-sep-2006, om 19:26 heeft Jim Davis het volgende geschreven:
Stefan,
Adding display: none; to the addText div dosen't work. I
On Sep 1, 2006, at 1:26 PM, Jim Davis wrote:
Stefan,
Adding display: none; to the addText div dosen't work. I also tried
creating a class:
.hideit { display: none; }
and changed the html to:
div id=addText class=hideit
That dosen't work either.
You could also try hiding the DIV with jQuery
A backing iframe is what I've used for a couple of years now. Keep in mind that this is only needed for IE7. Since this inevitably requires a browser sniff, I stick with !--[if IE lt 7] (conditional markup).
Other options that I've seen include hiding the selects (ugly when only hiding the select
Does this work in the current 1.01
release?
I cant seem to get it to function
right. It did seem to be okay with the old release.
I asked this same question a day or two
ago and got no reply. I think it probably got lost in the confusion of the new
release.
It is really limiting my
Lipka, Glen schrieb:
I am using jQuery for a drop down menu. Currently, select boxes are showing
through the menu.
On the date picker plugin, he appends an iFrame behind the menu.
Is this the best way or is there an easier way to achieve the desired effect?
the only alternative I know is
On Sep 1, 2006, at 2:42 PM, Klaus Hartl wrote:
the only alternative I know is to hide the selectbox while the menu is
open. but that solution is not as good as using an iframe, because
maybe
the menu doesn't cover the whole select and the user may also
recognize,
that the select
Since this is only an issue in IE, I also did a little browser
sniffing so that the selectboxes would only hide if using that
browser -- admittedly an inelegant solution.
For such things I recommend Conditional Compilation...:
/[EMAIL PROTECTED]
do something IE only
@*/
It's the
Hi all,
When I want to build jQuery with Ant, I've got this message:
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.5.0_03\lib\tools.jar
Buildfile: build.xml
Everything works well; it's just for cleanliness.
Did anyone solve this?
Franck.
It's the safest way to sniff IE...
What about
if ($.browser.msie) {
//only for IE
}
Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Using jQuery, is there an easy way to find a form in
an HTML document, submit it, then return false (to avoid
resubmission of the form).
Using the HTML snippet:
form
id=report-form action=""
method=post
input
type=text name=chart_value value=Test chart
value /
input
id=report-submit
$(#report-form).get(0).submit();Return false isn't neccessaryOn 9/1/06, Lewis, David
[EMAIL PROTECTED] wrote:
Using jQuery, is there an easy way to find a form in
an HTML document, submit it, then return "false" (to avoid
resubmission of the form).
Using the HTML snippet:
form
how to unsubscribe from this mailing list? ^^ sorry, but i cant find a
button or an mailadress
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
This is the URL for it:http://jquery.com/mailman/listinfo/discuss_jquery.com
On 9/1/06, Konstantin Lang [EMAIL PROTECTED] wrote:
how to unsubscribe from this mailing list? ^^ sorry, but i cant find abutton or an mailadress___jQuery mailing
OK guys,
For the record: you need to use Java SDK, not JRE.
Franck
2006/9/1, Franck Marcia [EMAIL PROTECTED]:
Hi all,
When I want to build jQuery with Ant, I've got this message:
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre1.5.0_03\lib\tools.jar
Buildfile:
I'm in need of someone to do some freelance work to work on a jQuery-based
project. In particular, I need someone who can add a slick look to the
interface--color choices, slides, fades, that kind of thing. Send me an
email if you are interested, dave.methvin at gmail.com.
I'm sorry, I was writing pseudo-code. I just don't remember right now the syntax, but for example, if you had:$.post(url, formData);now you'd have:var newWindow = window.open(...);newWindow.$.post(url, formData);
BritoOn 9/1/06, Gholias [EMAIL PROTECTED] wrote:
win.post(myformData);This is from
Couldn't you just do the post and grab the resulting XML and drop it as the content of a new window?
pseudo-code:
$.post(data, url, function(xml){
//open window
//window contents set to xml
});
On 9/1/06, Francisco Brito [EMAIL PROTECTED] wrote:
I'm sorry, I was writing pseudo-code. I just
I wanted to try to use Prototype and jQuery together, also, but it didn't work out too well for me.The main show stopper was that a lot of Prototype-based code will assume that the result of $() will be a DOM element. With jQuery's $(), you will usually get a jQuery object back (so you can do all
But *I
think* the old version handled this different if you included
prototype.js on your page before you included jquery.js
See http://jquery.com/docs/PrototypeAndJQuery/
(I am not totally sure on this, I only used
jquery for a day or so before I realized that 1.0 had been released)
Karl,
Thanks for the help. Your suggestion solved the problem.
Jim
On 9/1/06, Karl Swedberg [EMAIL PROTECTED] wrote:
You could also try hiding the DIV with jQuery when the DOM initially
loads:
$(document).ready(function() {
$('div.hideit').hide();
});
This would have the added
Ill try the 2 solution and send the result to the list
Jonathan Howard escreveu:
Couldn't you just do the post and grab the resulting XML and
drop it as the content of a new window?
pseudo-code:
$.post(data, url, function(xml){
//open window
//window contents set to xml
Prototype Support Plugin
I think this means that this is a know issue, and will be dealt with
someday, but again, I am unsure.
I do hope that it will be dealt with, as this would save ME a whole bunch of
recoding in the next few days.
Am I way off base here? Wouldn't be the first time.
John,
That is really good news. This will save me a TON of work over the next bit.
Thank you for getting this out. We all are very grateful for all that you
have done and are doing.
Again, thanks
-Geoff
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of
Hi Dylan,
Thanks for making your autocomplete plugin for jquery.
This is my first adventure with jquery. So far I really like
it.
I do have a question for you about your plugin.
What is the purpose of e.preventDefault(); in the keydown
function?
The reason I ask is because I
Wow, great job!On 9/1/06, jsorgalla [EMAIL PROTECTED] wrote:
Hi there,i'm the next one staying in the line of jQuery plugin authors.I've created a new plugin called jCarousel. Its inspired by Bill Scott'sCarousel Component for YUI.Check it out at
http://sorgalla.com/pages/jcarousel.html and let
On 9/1/06, jsorgalla [EMAIL PROTECTED] wrote:
Hi there,
i'm the next one staying in the line of jQuery plugin authors.
I've created a new plugin called jCarousel. Its inspired by Bill Scott's
Carousel Component for YUI.
Check it out at http://sorgalla.com/pages/jcarousel.html
and let me
Wow - I totally dig this. I'm probably going to end up using it in
some projects of mine. I like the attention to details like 'wrap' and
ajaxStart/Stop. Great job :)
--John
i'm the next one staying in the line of jQuery plugin authors.
I've created a new plugin called jCarousel. Its inspired
54 matches
Mail list logo