Thank you all for the response, I'll try to mold all the information in
an article.
To summarize the thread:
- use document.writeln( 'link rel=stylesheet href=jquery.css
type=text/css media=screen' ); to import javascript css file
- style all essential css in the plugin/general javascript
On Oct 21, 2006, at 15:26, Stefan Petre wrote:
http://interface.eyecon.ro/demos/resize.html more like a image crop
OSX FF 1.5.0.7
First time when I drag (not resize) the brigh area with mouse
everything is ok. When I release it and drag second time the bright
area disappears as soon as I
On 23/10/06, Michael Geary [EMAIL PROTECTED] wrote:
I would like to be able to load my jquery plugins dynamically
as this would reduce the number of scripts in my document head.
You can easily load any .js file dynamically, for example with code like
this:
function addScript( url ) {
I would like to be able to load my jquery plugins dynamically
as this would reduce the number of scripts in my document head.
You could also combine all scripts you use on your entire site into 1
file, then, pack it and also don't forget to gzip it. There is a lot of
documentation on this on
Hi,
I would like to be able to load my jquery plugins dynamically as this would
reduce the number of scripts in my document head.
I have my jsPax-Script: jspax.cdonat.de
That is traditional JS-code without jQuery-stuff, because I even load jQuery
dynamically. You will have to slightly modify
Hi,
function addScript( url ) {
var script = document.createElement( 'script' );
script.type = 'text/javascript';
script.charset = 'utf-8';
script.src = url;
document.getElementsByTagName('head')[0].appendChild( script );
};
There are some Safari
From: Klaus Hartl
Just wanted to note, that dynamic script elements are
not supported in Safari 2.0. Support for that was added
in Safari 2.01.
Hmm... It works in older versions of Safari. I just tested it in 1.2. Are
you saying the support was removed (or broken) in 2.0 and put back in
Hi,
What about $.getScript(myplugin.js, callback)? With all the code you
want to run in the callback function.
For that you need jQuery and the Ajax-Plugin to be already loaded. In jsPax I
don't use jQuery anywhere. I didn't whant it to be dependant on anything,
because then I can make a
Hi,
Just wanted to note, that dynamic script elements are
not supported in Safari 2.0. Support for that was added
in Safari 2.01.
Hmm... It works in older versions of Safari. I just tested it in 1.2. Are
you saying the support was removed (or broken) in 2.0 and put back in with
2.01?
Michael Geary schrieb:
From: Klaus Hartl
Just wanted to note, that dynamic script elements are
not supported in Safari 2.0. Support for that was added
in Safari 2.01.
Hmm... It works in older versions of Safari. I just tested it in 1.2. Are
you saying the support was removed (or broken)
Does anyone have code they wouldn't mind sharing
that adds a simple animation to thickbox? The documentation for thickbox says
animations have been taken out of the latest versions of the code but that
authors can add the ones they like. Unfortunately, I'm still too new to
jquery -- and
$(#month).keypress( function(){ len = $(this).val().length; if(len 1){ document.form_register.day.focus(); } });working on IE 6... =) enough for my lazy client who doesnt even know about the existence of another browser besides IE. lol
2006/10/23, Rafael Santos [EMAIL PROTECTED]:
hey guys,
For confidentiality reasons I can't show you code I'm working in at
the moment, but I have traced it to a problem with Matthias Miller's
onreadystatechange hack inside the jquery source code; basically the
script element created is not seen by IE7, causing a js error on the
following line:
Isn't there a way do something like find(dt).not(:child) or maybe like you do in LDAP and tell find to do a one level search instead of subtree search?On 10/23/06,
Jörn Zaefferer [EMAIL PROTECTED] wrote:
how do I search for a children within a context? In other words, how to translate this:
Gilles, it is a draft :). I just tested the idea. Maybe some animations
can be implemented.
Webunity | Gilles van den Hoven wrote:
Me and Paul (Which paul?) are thinking to change the way sortables are
working right
now. So I had an idea that turned to be quite nice because of 2 reasons:
-
to see how he did that click here linke animation thingie
http://www.jackslocum.com/yui/2006/08/24/javascript-animations-with-yahoo-ui-made-easy/
very interesting :)
Armand
On 10/19/06, Mark Gibson [EMAIL PROTECTED] wrote:
Armand Datema wrote:
I just found this link
But where do I initilize it? In $(document).ready() ?or can I do it anywhere?I've tried all of the above and it just wont work.On 10/22/06, Ⓙⓐⓚⓔ
[EMAIL PROTECTED] wrote:it's great, and easy, and you don't often need it.
they are not for creating ajax requests or for dealing with responses!it's
Christof Donat wrote:
Hi,
I would like to be able to load my jquery plugins dynamically as this would
reduce the number of scripts in my document head.
I have my jsPax-Script: jspax.cdonat.de
That is traditional JS-code without jQuery-stuff, because I even load jQuery
Rafael Santos wrote:
hey guys, could u help me?
this is my lines:
$(#month).keypress( function(){
len = $(this).val().length;
if(len == 1){ document.getElementById(day).focus(); }
});
this firebug give me an error.
if(len == 1){ $(#day).focus(); }
this do
Thanks,
Yeah, all my other repositories were working fine also, but it seems to
be fixed now! so thanks to whom ever fixed it.
-Steve
Choan C. Gálvez wrote:
Hi, Stephen.
I'm having problems too with SVN today (just for jquery, so I'm afraid
there's something broken in the repo).
On
I'm seeing the same problem so I presume it is the server end.
Doug
- Original Message -
From: Stephen Woodbridge [EMAIL PROTECTED]
To: jQuery Discussion. discuss@jquery.com
Sent: Monday, October 23, 2006 6:10 AM
Subject: [jQuery] Is svn broken or having problems?
Hi all,
Just
Brandon Aaron schrieb:
Yeah just call it like this:
$.style('body', 'background-color: #000;');
Hope that helps...
Yes, thank you good help.
--
Viele Grüße, Olaf
---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---
Hello again,
i'm using the center plugin to center images inside a div. But i have to
call it with a timeout like this:
$(document).ready(function(){
setTimeout(doCenter(),1000);
});
function doCenter(){
$(.jqcenter).each(){
$(this).center();
}
}
I do not really understand
This should work:
$(.question).click(function(){
$(.answer).hide(); // hide all answers
$(this).next().show(); // show only the answer
following the question
clicked
});
...as long as the answer immediately
for a *really* simple mod, you can change the Remove function. Instead of
fading out, you can use the hide effect:
function TB_remove() {
$(#TB_window).fadeOut(fast...
change to:
function TB_remove() {
$(#TB_window).hide(fast...
Erik Beeson wrote:
Haven't actually tried, but I'd
Without really knowing what .center() does, I'd assume it's because when
$(document).ready() fires, the image isn't loaded. I suspect the 1
second delay gives it enough time to do so.
Does the image have a set width and height? If you specify those, it
might work.
-Original Message-
How bout doing $().toggle?
Also,
$(p).addClass(classname); -- that will add a class.
badtant wrote:
hi! i have the following list:
ul
li
h2Kapitalförsäkring/h2
p class=question- q/p
p class=answera/p
/li
li
h2Kapitalpension/h2
p class=question- q/p
p class=answera/p
/li
/ul
It's working now. Thank you for the fast reply !
I haven't seen $(window) until now. What's the difference between window
and $(window).
Also when inside of an .each(function(){}); what's the difference
between this and $(this) ?
Is this some wrapper for objects to extend their functionality
inside an each loop, this refers to the actual DOM element. $(this) will wrap jQuery around that DOM element, so you can do stuff with it, like effects and whatnot. same thing with the window, $(window) thing, window refers to the browser object window, and $(window) wraps jquery around the window
What kind of tree control? similar to the way browsers show xml when
there is no stylesheet?
Hiding and showing divs on command? that could be written in 1 (very long) line!
Roots leaves bark... more difficult!
On 10/23/06, Rey Bango [EMAIL PROTECTED] wrote:
Hi guys,
I'm looking for a good
I created a JS file on my server to contain my start/stop/post/get etc. I
works with Rev. 249, not sure it will work with yours. Feel free to take a
look to see how I did it.
http://www.skfox.net/jquery/jAjax.js
Hope that helps.
ztamizzen wrote:
I have tried to get it to work and I am not
anywhere, it just has to be executed before the ajax call!
Start simple, make sure your jq works in other contexts.
On 10/23/06, Mats Lindblad [EMAIL PROTECTED] wrote:
But where do I initilize it? In $(document).ready() ?
or can I do it anywhere?
I've tried all of the above and it just wont
BTW, try running that treeview in IE and see the results. Its a little
shaky, at least for me. :o)
Rey...
Matt Stith wrote:
A simple google search could have saved you a bit of time.
Hey Jake. Something like this:
http://www.destroydrop.com/javascripts/tree/
That one looks good but I wanted a good recommendation before just using
any ole code. :o)
Rey
Ⓙⓐⓚⓔ wrote:
What kind of tree control? similar to the way browsers show xml when
there is no stylesheet?
Hiding and
Looks good, but that style is so last millennium!
Modern thought says do it in a series of UL's and LI's then style script it.
Let's keep looking and see what the serious JQers say.
On 10/23/06, Rey Bango [EMAIL PROTECTED] wrote:
Hey Jake. Something like this:
I just checked in some more changes to the form plugin. The methods
were reworked to use the standard plugin style for specifying options.
The signatures for ajaxSubmit and ajaxForm now take just a single
argument which is an object literal. Here are the details from the
docs:
Kevin, that looks great! I bet those dotted numbers could be
dynamically generated too!
On 10/23/06, Kevin Scholl [EMAIL PROTECTED] wrote:
Rey,
I started with Myles's treeView and noticed the same issues that you
apparently have. What I've done is use Myles's script as a start, and
then made
Hi there,
i would like to see a scrolling feature for any drag/dropable: when
you leave the viewport with an object and the document body is longer
or wider than the viewport the document scrolls connected to the mouse
position.
You can see a good example at this YUI demo:
Thanks much, Jake!
Yes, the content could very much be dynamic. In fact, this was part of a
proof of concept for work, the idea being that the content of the tree
would be dynamically generated through Java Server Faces (JSF) written
by one of the developers, while the operation of the tree
Ⓙⓐⓚⓔ wrote:
Looks good, but that style is so last millennium!
LOL! Too funny.
Let's keep looking and see what the serious JQers say.
Cool. Lets see what the group suggests.
Rey
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Very nice Kevin!
Rey
Kevin Scholl wrote:
Rey,
I started with Myles's treeView and noticed the same issues that you
apparently have. What I've done is use Myles's script as a start, and
then made some pretty significant alterations, including some branching
for IE that removes the
That tree control fills a very important niche in the jQuery widget space. It should *definitely* be added to the wiki.-- YehudaOn 10/23/06, Kevin Scholl
[EMAIL PROTECTED] wrote:
Thanks much, Jake!Yes, the content could very much be dynamic. In fact, this was part of aproof of concept for work,
Yehuda,
I'm not terribly familiar with using the wiki; I'm just an experimenter
that jumps into these discussions in the rare occasion that I may have
something useful to offer. If you (or anyone else) would like to grab
code and add it, that's fine by me.
I might suggest, though, that those
Anyone know of any good movable, expandable and minimzable window dialogs (like http://prototype-window.xilinus.com/index.html for Prototype)
-- Yehuda KatzWeb Developer | Wycats Designs(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
Wow that is pretty! But so big and unpleasantly written! I look
forward to a jq version!
On 10/23/06, Yehuda Katz [EMAIL PROTECTED] wrote:
Anyone know of any good movable, expandable and minimzable window dialogs
(like http://prototype-window.xilinus.com/index.html for
Prototype)
--
Yehuda
Anyone know of any good movable, expandable and minimzable window dialogs
(like http://prototype-window.xilinus.com/index.html for Prototype)
I am allready working on that, it's about 70% ready. All i need is some
extra time to work on it :p
It is allready pretty big in filesize, but i wanted
Hello again,
i'm using the center plugin to center images inside a div. But i have to
call it with a timeout like this:
$(document).ready(function(){
setTimeout(doCenter(),1000);
});
function doCenter(){
$(.jqcenter).each(){
$(this).center();
}
}
If you DO want to
47 matches
Mail list logo