Hi Scott.
Your request is very interesting: I'm going to add that feature to the next
release of Chili.
Meanwhile, if you feel confident with javascript, you could expose the
function 'makeDish', which is now inside a closure. You could then use it
directly on the element to highlight. In a
' style of Metadata, but I'd
hate to duplicate efforts in this matter.)
--John
On 3/1/07, Erik Beeson [EMAIL PROTECTED] wrote:
I'm curious to hear other people's thoughts on this approach. If it's
a sound idea, why isn't it part of the official metadata plugin?
--Erik
On 3/1/07, Andrea
I was wondering if anyone is using my
http://www.mondotondo.com/aercolino/noteslog/?page_id=105 Metaobjects plugin
as a replacement for the metadata plugin.
It's now at version 1.2 and I'm really proud of this simple tool.
The best features of Metaobjects are:
-- valid XHTML mark-up
-- auto
Quite expected behavior :-)
You should always use jQuery( htmlSnippet ) and attach it to the dom as soon
as possible.
This also works fine, and is a typical chain:
var removeLink = $( # Remove )
.appendTo( .portlet .handle )
.click( function() { alert( 'hello' ); } );
--Andrea
Weaver,
Hi Janet.
I didn't use ImageBox ever, but the docs here:
http://interface.eyecon.ro/docs/imagebox
give two options that I think refer exactly to your issue:
textImage - String - mandatory - when a galalry it is build then the
iteration is displayed
textImageFrom - String - mandatory - when a
Sorry, disregard my previous message.
Here is what you need:
script type=text/javascript
$(document).ready(
function()
{
$.ImageBox.init(
{
loaderSRC: 'images/imagebox/loading.gif',
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Andrea Ercolino
Sent: Thursday, March 01, 2007 12:10 PM
To: discuss@jquery.com
Subject: Re: [jQuery] Path problem with Imagebox
Sorry, disregard my previous message.
Here is what you need:
script type=text/javascript
Christof Donat wrote:
Maybe it has to do with your security-setings in IE. You need to allow
scripts
to access secure ActiveX-Controls, as you need for all ajax stuff.
Otherwise there will of course not be any chance to get an XMLHttpRequest
object.
But that cannot be the case
Christof Donat wrote:
I have no problems with a relative package path
This is very strange... Did you use the exact files/directories in the zip I
submitted?
--
View this message in context:
http://www.nabble.com/dynamic-loading-of-jquery.js-into-my-web-page-tf2905089.html#a8392903
Christof Donat wrote:
@Andrea: can you please check, if that was the problem for you?
Your test page works now :-)
But I still have the same problem...
Here is a zip file. After unzipping, there will be a new chili folder with
a test page and a subfolder. It works in FF1.5.0.9 but does
Christof Donat wrote:
Just a guess: Have you tried to use an absolute URL, or at leas an
absolute
path here? Maybe Firefox interprets that relative to the current HTML page
and IE interprets it relative to the js. Then IE tries to
load packages/packages/jquery.js where Firefox loads
Christof Donat wrote:
Hm, that is strange. can you please check, if the testsuite at jquery.org
works correctly with IE for you? It uses exactly the compressed package.js
that is also available for download.
Which testsuite? What URL?
--
View this message in context:
Christof Donat wrote:
Which testsuite? What URL?
Look at
http://www.jspax.org/test/
FF, OK.
IE, KO:
http://www.nabble.com/file/5605/jspax.png
--
View this message in context:
http://www.nabble.com/dynamic-loading-of-jquery.js-into-my-web-page-tf2905089.html#a8296718
Sent from the
1. I've put this line at the bottom of the standard jquery.js file not
compressed:
$package('jquery',{});
2. I've wrapped the content of the standard chili.js file inside this:
$using( 'jquery', function() {
...
} );
3. I've changed the default
Christof Donat wrote:
Yes, I downloaded it short before.
Please, tell me when I can download the fixed version, and I'll test
again
I just have uploaded the current version again. Please try again.
I've just downloaded and tried again but... nothing changed :(
--
View this message in
Christof Donat wrote:
Well, I don't know about any guarantees, but it works in all test I did
(with
the loaded script delayed, etc.)
I'm trying to apply your jsPAX to my Chili setup, but it works in FF1.5
and
not in IE7, which does not return any error and does not show the page,
There are two things that I posted here a lot of time ago, but with little to
no feedback at all.
Well, they are not simple things actually. They hide hours of work and your
comments do are a reward.
I'll be glad to receive any kind of comments, everything in the range from
I love it to I hate
Jörn Zaefferer wrote:
Would be a great help to have some more comments of some of those.
Homework done. :-)
--
View this message in context:
http://www.nabble.com/jQuery-enhancements-tf2727722.html#a7612654
Sent from the JQuery mailing list archive at Nabble.com.
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com/*
Author: Andrea Ercolino ([EMAIL PROTECTED])
Date: 2006-11-28
...
FILTER
the fix is much simpler:
t.constructor == Array
jQuery.map(this,function(a){
for ( var i = 0; i t.length; i++ )
if ( jQuery.filter(t[i],[a]).r.length )
return a;
- return false;
+ return null;
}) ||
I've tested with coreTest.js and
http://jquery.com/dev/bugs/bug/447/
--
View this message in context:
http://www.nabble.com/filter-refactored-with-the-engine-of-Chili-tf2718426.html#a7583601
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
Fil wrote:
I agree, but it's really grep that we want to do here, in my opinion.
The call to filter inside the loop is already grepping... ultimately.
BTW: could someone explain how does it work this mechanism, where a function
has two declarations, like filter, and each is properly
Christof Donat wrote:
You can not be shure that a JavaScript Engine is not threaded. This code
is
not threadsave. Imagine the following situation:
Thread 1Thread 2
$.filter()
parse2RE is set to e.g. 1
Thread is stopped by OS Sceduler - $.filter()
Jörn Zaefferer wrote:
...
The big so far unsolved question: What should the API methods look like?
How to pass the additional data to the event handler?
Currently I favor an interface that looks like this:
$().bind(type of event, eventHandler, {amount: 5, data:
additionalStuff})
Jörn Zaefferer wrote:
So far bind() would be on() and unbind() would be un(). The shortcuts
would be removed from the default distribution, but still available as a
compatibility plugin.
Don't remove the shortcuts, please! They are very convenient for the events.
I can understand that
Christof Donat wrote:
In another thread
(getScript error), we were discussing alternatives because it seems not
to
work as expected, at least for a delay of 0 milliseconds.
Are you talking about this thread?
Michael Geary wrote:
require( 'test.js', function() {
// This code runs when the script is loaded
});
jQuery already had the $.getScript function to use the same way as the
require in your example above. And this is the reason we are trying to have
it work properly in this
Andrea Ercolino wrote:
There is a little bug in jQuery.parse[1]: the white space shortcut is not
escaped by an additional backslash.
Reported in this ticket: http://jquery.com/dev/bugs/bug/429/
--
View this message in context:
http://www.nabble.com/jQuery.parse-1--tf2694789.html
Some days ago I wrote this getScripts plugin, as a macro for shrinking this
$.getScript( f1.js, function() {
$.getScript( f2.js, function() {
$.getScript( f3.js, function() {
do_it();
} );
} );
} );
to this
$.getScripts( [
To restore tabs, see this message from
http://www.nabble.com/Working-on-a-getScripts-plugin-tf2696465.html
--
View this message in context:
http://www.nabble.com/Working-on-a-getScripts-plugin-tf2696465.html#a7519622
Sent from the JQuery mailing list archive at Nabble.com.
Christof Donat wrote:
You can have that a lot cheaper. How about this:
jQuery.getScripts = function(scripts,callback) {
if( scripts.length == 0 ) {
callback();
return;
}
jQuery.getScript(scripts[0],function() {
Christof Donat wrote:
$.getScript() is assynchonous. That means, that it returns before the
script
is loaded.
Yes, but if I put all my code into the callback?
--
View this message in context:
http://www.nabble.com/Working-on-a-getScripts-plugin-tf2696465.html#a7524534
Sent from the
Christof Donat wrote:
That does not help, if your loaded script needs to load another script.
For example:
file a.js is [ $.getScript( b.js, function() { doA(); } ); ]
file b.js is [ $.getScript( c.js, function() { doB(); } ); ]
file c.js is [ doC(); ]
the page has: [ script src=jquery.js
Christof Donat wrote:
No, the order could be doA() doC() doB(). That is because doA() is called
as
soon as b.js is loaded but before c.js is loaded. The call to
$.getScript()
in b.js returns immediatelly and loads c.js assynchonously. Then b.js is
finished and doA() is called while
Christof Donat wrote:
No. In your example b.js is completelly evaluated before the doA() is
called,
but that only means, that the download of c.js has been started. As soon
as
that has finished, doB() is called, but that can be after doA() has been
called.
$.getScript() initiates
Christof Donat wrote:
I don't use jQuery in jsPax, because I load jQuery as a jsPax-package
It's just what I'm interested in. An independent script to add to a page and
have it load what is needed: nice shot Christof!
I've looked at your package.js, and I've found that you use the
Karl Rudd wrote:
// window.setTimeout(s,0); // blah() fails in all
Karl Rudd
This is very surprising. I tested the setTimeout before posting Jeff's
installScript to this thread, and I found that it worked. But my test was
inappropriate, because I wanted it to succeed with my
There is a little bug in jQuery.parse[1]: the white space shortcut is not
escaped by an additional backslash.
--
View this message in context:
http://www.nabble.com/jQuery.parse-1--tf2694789.html#a7515200
Sent from the JQuery mailing list archive at Nabble.com.
Jörn Zaefferer wrote:
Looks good for me.
I have browsed dojo and prototype today, but they seem to do nothing special
for eval, ie: I think that they share the same problem, but are unaware of
it.
--
View this message in context:
Jörn Zaefferer wrote:
Could you please post that as a bug report? Thanks.
Where is the button?
This message links to an empty page:
Note: See TracReports for help on using and creating reports
--
View this message in context:
I've found the button... I'm going to add the report right now :-)
--
View this message in context:
http://www.nabble.com/jQuery.parse-1--tf2694789.html#a7515601
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
Dean has devised a way for cloning global JavaScript objects, like Array,
making it possible to subclass them without interfering with their standard
instances in the current page.
http://dean.edwards.name/weblog/2006/11/hooray/
);
},
/**
I'm still looking for the IE7 problem.
Paul
On 11/17/06, John Resig [EMAIL PROTECTED] wrote:
I've created a trouble ticket for it here:
http://jquery.com/dev/bugs/bug/407/
--John
On 11/17/06, Andrea Ercolino [EMAIL PROTECTED] wrote:
Hi everybody.
While
OK, thanks Paul.
--
View this message in context:
http://www.nabble.com/getScript-error-tf2652417.html#a7413328
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
same for me in FF1.5.0.8, while in IE7 it fliflifliflifliflickers a lot
digital spaghetti wrote:
Jorn, I'm using FF2 and when I scroll down the left hand list, I get
blue lines appearing across the frame, however they disappear when I
go back up the list. They also disappear if I
I have got an array of 50 urls templates, and want to make a proper url out
of each one, adding also a special click, and then append all these urls to
a div in a specific position. All this should be done many times in a page,
many could be 50, just to say something that could be possible, but
divs, not 4.
Andrea Ercolino wrote:
I have got an array of 50 urls templates, and want to make a proper url
out of each one, adding also a special click, and then append all these
urls to a div in a specific position. All this should be done many times
in a page, many could be 50, just to say
through some code
patterns many times, or at least it's what that looked to me. Also I was
surprised seeing that array copying is done as b = merge( a, [] ) in place
of b = a.concat();: shouldn't the latter be faster?
Michael Geary wrote:
From: Andrea Ercolino
I have got an array of 50 urls
http://dean.edwards.name/packer/
howachen wrote:
Hi all,
May I know which tool is used to compress JQuery?
I found this kind of tool is very useful and can use it?
Thanks.
___
jQuery mailing list
discuss@jquery.com
Maybe there are other solutions to what I'm looking for...
I've got a jquery script where I append (one by one) 50 new jquery objects
to another jquery object, but it's taking way too much time, so I thought
that it could be faster if I make an array buffer out of them and then
aggregate the
Blair McKenzie-2 wrote:
You could use the Nabble archive
Nabble seems a good solution. Thanks Blair.
--
View this message in context:
http://www.nabble.com/Is-there-a-way-to-reply-to-someone%27s-post...-tf2463061.html#a6871739
Sent from the JQuery mailing list archive at Nabble.com.
Hola.
I just releasedChili, a free syntax highlighter script, written in jQuery, and based on the Dan Webb's Code Highlighter, which I found a couple of weeks ago thanks to a link on the jQuery site.
Chili is compatible with Code Highlighter's language definition files, but it is othwerwise a
without using the Reply button in a mail program?
I've disabled that checkbox inmy jQuery profile for receivingmessages from the list. I really prefer to browse the archives. But for replying specifically to someone's post, what can I do?Opening a new thread with the old subject is myunique
Adrian,
I don't have access to the headers because I don't have the email message at all. I'm subscribed to the list so I can post, if I want to. But I unchecked the service of the mailer program at jQuery, so I'm actually not receiving any message to my inbox. I found that browsing the archives
I think that there is space for improvement on both sides of API architecture and its documentation.
We alllike jQuery for how it looks like. We like its chainability, we like its alchemy. So we must preserve what we like mostas much as possible, and doing so we'll also get to an evolution as
I 'vefound that addresses like http://jquery.com/dev/don't work if the last slash is stripped off. I think they should be mapped to theslash version in the server configuration.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I don't know how I got Rev: 259, because current latest is 249. I wandered around but I cannot find a link to it in jquery.com.
259worksbetter with IE than 249
For example,259 let meaccess tabs in a pre tag, while 249 doesn't
___
jQuery mailing list
thanks, but really I meant "where do I get a Rev = 259?"
- Original Message From: Webunity | Gilles van den Hoven [EMAIL PROTECTED]To: jQuery Discussion. discuss@jquery.comSent: Tuesday, October 3, 2006 6:06:34 PMSubject: Re: [jQuery] Rev: 259, where is now?
Andrea Ercolino wrot
Thanks Franck, but I feel a dummy now.
Where is the link to download this 387 version?
- Original Message From: Franck Marcia [EMAIL PROTECTED]To: jQuery Discussion. discuss@jquery.comSent: Tuesday, October 3, 2006 6:09:43 PMSubject: Re: [jQuery] Rev: 259, where is now?
I don't know how
PMSubject: Re: [jQuery] Rev: 259, where is now?
2006/10/3, Andrea Ercolino [EMAIL PROTECTED]: Thanks Franck, but I feel a dummy now. Where is the link to download this 387 version?There's currently no prebuilt jquery.js from svn. You must do ityourself using a svn client. On Windows, you can use
, youcan find it here:http://jquery.com/src/jquery-svn.jsHaving a nice historical listing would be nice too, as you suggest -but this should be good for now.--JohnOn 10/3/06, Andrea Ercolino [EMAIL PROTECTED] wrote: ok Now I understand that there is no release newer thah the 249, which is currently linked
61 matches
Mail list logo