Hi all.
I'm working on a project which will load content dynamically from
files developed by an external team.
These files can include scripting.
* If the script is included in the loaded content, the `evalScripts`
will suffice.
* If the script is referenced from the loaded content (script
Hi Rik,
great work so far!
One issue with the example on the main page:
You can only enter lower caps...entering A will result in nothing.
2006/11/10, Rick Faircloth [EMAIL PROTECTED]:
Very nice, Rik!
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Thanks Paul,
It was a minor bug making the input case sensitive, which has now been
fixed! Cheers!
On 10/11/06, Paul Bakaus [EMAIL PROTECTED] wrote:
Hi Rik,
great work so far!
One issue with the example on the main page:
You can only enter lower caps...entering A will result in nothing.
Andy Matthews schrieb:
Here's one of the final pages:
http://www.modernessentials.com/landing.cfm/Looking+for+the+BDI+AVION...Welc
ome!
Thanks everyone for your help.
Cool. Did you modify anything else apart from the split part? It looks
great.
--
Jörn Zaefferer
http://bassistance.de
Hi
I need to mimic the animation effect of
http://www.jackslocum.com/blog/examples/dialog/hello.php
I have doen this before in one of my old javascript libraries, but
before i start a rewrite is therea jquery plugin allready that handles
this
Armand
Has anyone used the overlib libraries in combination with interfaces' dnd
libs?
I have some rows in a table (overlib hover of the name gives a popup with more
details) and these rows can be dragged to a trashbin. When this happens, the
overlib library goes insane telling me that the event
Hi!
Actually there is, check out Interface: interface.eyecon.ro
Demo is here: http://interface.eyecon.ro/demos/ifxtransferto2.html#
Hope this helps!
2006/11/10, Armand Datema [EMAIL PROTECTED]:
Hi
I need to mimic the animation effect of
Klaus Hartl schrieb:
Jörn Zaefferer schrieb:
@Klaus: I think it would be pretty easy to modify the tab's plugin to
use the same event. As you may notice, my usage for activate has some
small differences. I prefer a zero-based index as most programmers are
used to that anyway. I hope
Stephen Woodbridge schrieb:
Hi all,
I'm trying to write my first plugin and I'm having some conceptual
problems on how to organize stuff and getting my head wrapped around
this. The plugin will be for turning a div into an interactive mapping
application.
Just a quickie: Why don't you
Rik Lomas schrieb:
Hi guys,
Thought you be interested to know that my plug-in, quickSearch, has
had a near-enough complete rewrite. It's now works in a completely
different way to before, it's a lot more powerful, a lot easier to use
and now it's totally unobtrusive.
Hi Jörn
I've added a shorter delay page, just for you:
http://rikrikrik.com/jquery/quicksearch/table_quicker.html
Thanks for noticing the repetition in my docs, this is why I need
people to check for these things ;)
Rik
On 10/11/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Rik Lomas schrieb:
Rik,congratulations. Quicksearch plugin is a great piece of code. Only one question: your examples use client data, right? it's possible to load and search table data with ajax requests in our server? Cheers
___
jQuery mailing list
discuss@jquery.com
play a écrit :
Having a similar problem. Looks like ExternalInterface.call breaks
jQuery in firefox2.
You must be right, jQuery still works fine in Firefox 2 if I don't call
aflax.js.
That's quite a pity that it used to work with firefox 1 and that it no
longer does with FF2.
BoOz
This is the documentation!
$.ajax({
url: mydomain.com/url,
type: POST,
data: $.param( $(#form).formdata()),
complete: myAjaxDone,
success: myAjaxSuccess,
error: myAjaxError
});
However I can't find an explenation for this line.
data: $.param( $(#form).formdata())
What
It's meant for client data mainly, but it is possible to search
through Ajax requests like so:
$.get('ajax_test.html',function(result){
$('#loader').html(result);
$('#loader table tbody tr').quicksearch({
attached: #loader,
position: before
});
Jörn Zaefferer schrieb:
Klaus Hartl schrieb:
Jörn Zaefferer schrieb:
@Klaus: I think it would be pretty easy to modify the tab's plugin to
use the same event. As you may notice, my usage for activate has some
small differences. I prefer a zero-based index as most programmers are
used
I thought about the same thing last night in bed. Implemented it this morning and it works well.Thanks.On 09/11/06, Brandon Aaron
[EMAIL PROTECTED] wrote:Oh ... I did not realize that $().load used $().html and totally
ignores the recent fix for this issue with the append type methods.I'll have
Klaus Hartl schrieb:
My activate function is based on changing the hash of the page's URL to
support bookmarking and history. Does the accordion do the same already?
Would be cool, because then if together used with my history plugin it
would support history as well. You could auto-detect
What is param and what is formdata
formdata() is an old function that used to exist in the form plugin
long ago. $.param is a core method which converts an object or an
array into a query string.
How can I submit a form then via ajax?
Use the form plugin:
Mike Alsup schrieb:
$.param is a core method which converts an object or an
array into a query string.
I wonder if there is any case where one would use $.ajax without calling
$.param for any data first. If not, it would be nice to simply integrate
that call into $.ajax.
--
Jörn
Hey Sam,
Thanks for all the kind words :-)
I've (been lucky?) never to need to communicate between flash and
javascript, so I'm a bit out of the loop on how that whole process works.
If it's simply needing access to the embed / element after it's
inserted into the dom, it should be pretty
As the loading of both scripts is asynchronous, the second one
could be started before the neccessary functions are available.
Any idea or workaround?
If you can attach a readyState handler to the first script, that can be your
cue to run the function or load the second script that needs the
Hi jQueryians,
just wanted to let you know about the latest Tooltip update
http://bassistance.de/index.php/jquery-plugins/jquery-plugin-tooltip/
Thanks to the ideas of this list and especially of Any Matthews, it's
now even more fancier.
As you can see in the demo page, the plugin now supports
Or perhaps there is a way to have (optional) sticky tooltips in jQuery? That
is the reason why I use overlib
On Friday 10 November 2006 11:07, Barry Nauta wrote:
Has anyone used the overlib libraries in combination with interfaces' dnd
libs?
I have some rows in a table (overlib hover of
Mark Gibson schrieb:
In PHP have a look at:
utf8_encode(), iconv, or mbstring
- Mark
I think i haven't clearly told my problem: I just have some article
manager where for each article i have some description text (german
english). At the moment i have one php file loading the text from
Anyone?
Original Message
Subject: [jQuery] How to Add HTML to a page, and make it active?
Date: Thu, 09 Nov 2006 16:24:54 -0500
From: Scott Sharkey [EMAIL PROTECTED]
Reply-To: jQuery Discussion. discuss@jquery.com
Organization: Linux Unlimited, LLC
To: discuss@jquery.com
Hi
Quoting Jörn Zaefferer [EMAIL PROTECTED]:
Andy Matthews schrieb:
Here's one of the final pages:
http://www.modernessentials.com/landing.cfm/Looking+for+the+BDI+AVION...Welc
ome!
Thanks everyone for your help.
Cool. Did you modify anything else apart from the split part? It looks
Barry Nauta wrote:
Or perhaps there is a way to have (optional) sticky tooltips in jQuery? That
is the reason why I use overlib
On Friday 10 November 2006 11:07, Barry Nauta wrote:
Has anyone used the overlib libraries in combination with interfaces' dnd
libs?
I have some rows in a
On Friday 10 November 2006 15:05, Stephen Woodbridge wrote:
Barry Nauta wrote:
Or perhaps there is a way to have (optional) sticky tooltips in jQuery?
That is the reason why I use overlib
On Friday 10 November 2006 11:07, Barry Nauta wrote:
Has anyone used the overlib libraries in
Hi Jörn,
thanks for your Tooltip Plugin, I'm happily using it for an internal web
application.
Please fix the download link on your blog, it is not working right now, because
you haven't closed the title attribute with a quote ;)
I kind of joined the dark side of web development, as I'm just
I wonder if there is any case where one would use $.ajax without calling
$.param for any data first. If not, it would be nice to simply integrate
that call into $.ajax.
That's a good point, Jörn.
___
jQuery mailing list
discuss@jquery.com
Mike Alsup schrieb:
I wonder if there is any case where one would use $.ajax without calling
$.param for any data first. If not, it would be nice to simply integrate
that call into $.ajax.
That's a good point, Jörn.
Of couse it would be an ugly API change. If that stuff is
Truppe Steven wrote:
Mark Gibson schrieb:
In PHP have a look at:
utf8_encode(), iconv, or mbstring
I think i haven't clearly told my problem: I just have some article
manager where for each article i have some description text (german
english). At the moment i have one php file loading
Of couse it would be an ugly API change. If that stuff is integrated
into $.ajax, we could savely deprecate $.get and $.post.
Perhaps interrogating the type would work?
if (typeof data != 'string')
data = jQuery.param(data)
___
jQuery mailing
Hi,
i think most people are using firefox with the firebug extension to test
their code. There you can explore your html/css and debug your
javascript code.
There is also another debugger around at
http://www.mozilla.org/projects/venkman/.
There is also a tool in creation called helpermonkey.
hi all,
i ran into some problems/inconsistencies with IE6.
I have a simple structure:
div class=container
div class=firstfirst/div
div class=secondsecond/div
/div
.second {
display: none;
}
javascript:
$(document).ready(function () {
I've a
co-worker who has experienced something similar. But in his case *none*
of the effects work, but they work for me. We're both using the latest
version of IE6, and _javascript_ is indeed enabled on both of our
machines. We spent an hour or so a few weeks ago, trying to debug
something on
On 11/9/06, thdz.x [EMAIL PROTECTED] wrote:
hi all,
i ran into some problems/inconsistencies with IE6.
I setup a test case based on your code and it seems to work for me on
all the IE6 machines I've tested thus far. What revision are you
using? There was a problem with this around 1.0.2.
Jörn Zaefferer wrote:
Stephen Woodbridge schrieb:
Hi all,
I'm trying to write my first plugin and I'm having some conceptual
problems on how to organize stuff and getting my head wrapped around
this. The plugin will be for turning a div into an interactive mapping
application.
Just a
Your version works fine. hm, so what is the problem with my code?
Im using the latest jQuery, since I downloaded it yesterday.
...
I figured out that loading the interface-fx will break my IE.
script type=text/javascript src=interface/ifx.js/script
and Im gone. (just inserted this line in your
On 11/10/06, Kaste [EMAIL PROTECTED] wrote:
Your version works fine. hm, so what is the problem with my code?
Im using the latest jQuery, since I downloaded it yesterday.
...
I figured out that loading the interface-fx will break my IE.
script type=text/javascript src=interface/ifx.js/script
From: Michael Geary
(function($) {
// plugin code here
})(jQuery);
From: Sam Collett
I've seen that used before, but can it have memory leak
or other issues?
Sorry about the very slow reply, Sam.
That's a good point. The use of the closure could result in memory leaks
no javascript error.
can you confirm that ifx breaks (maybe under some circumstandes) the
jQuery.fx in IE or some IEs?
when I do the following, everything works fine:
in ifx.js (line 141)
if ( z.o.hide ) {
for ( var p in
Oh so it looks like ifx just needs to merge the IE opacity fixes from
a while back since it overwrites the methods.
--
Brandon Aaron
On 11/10/06, Kaste [EMAIL PROTECTED] wrote:
no javascript error.
can you confirm that ifx breaks (maybe under some circumstandes) the
jQuery.fx in IE or some
Hi Luke,here is the state of play:jsfc - http://www.abdulqabiz.com/files/JSFC/example.html (src available to)also theres this -
http://weblogs.macromedia.com/flashjavascript/readme.html (mike chambers again!!)Its not when its fully loaded! but its also not when document.ready either. Its a
i think that adding html from xml has patchy results.i tried and it did not work in ie at all well!i got introduced to a new friend called json.to make the html active, if i understand you, all you need do is
add click, hover etc to whatever. if these are already applied to objects then (i have
Hi Scott,
I may not understand the details of your situation, but it seems you are
quite close to the first part of a solution (I am no expert either).
Could you just give each of your select fields a common class name as well
as the unique id:
select id=type_1 class=dynamicSelects
Mike Alsup schrieb:
Of couse it would be an ugly API change. If that stuff is integrated
into $.ajax, we could savely deprecate $.get and $.post.
Perhaps interrogating the type would work?
if (typeof data != 'string')
data = jQuery.param(data)
Yeah, that should be pretty safe.
Stephen Woodbridge schrieb:
Yeah, helps a bunch. I'm just trying to get my head around the problem
to do this in a jQuery-ish way. Once I have worked through a few of
these conceptual problems, I'll start coding otherwise it will be a
total hack job instead of only a partial hack job ;)
Michael Geary schrieb:
I've seen that used before, but can it have memory leak
or other issues?
Sorry about the very slow reply, Sam.
That's a good point. The use of the closure could result in memory leaks
depending on what the rest of the code does. They should be fixable -
Michael Geary schrieb:
Thanks again, I'm glad to know that little writeup may help straighten
out some of the confusion around this and jQuery vs. DOM objects.
I recently experienced that the heavy use of apply() effectively
prevents most object oriented design, that is, the use of
This looks great Jorn. Probably the main issue for me is that a tool-tip for
an element on the right-hand-side of the screen does not adjust it's
position away from the edge. Any plans to implement something like this?
Even if it just defaults to showing on the left of the mouse position rather
Title: Code Documentation
It appears that the code documentation tags (@example, @desc, etc) are single-line entries only. Is this correct?
Is there any accepted way to do multi-line examples?
jk
___
jQuery mailing list
discuss@jquery.com
While we are at it: A get request can send it's data only by appending
the query string to the URL, right? Can this be handled by $.ajax, too?
Sure, it could. I think it makes sense to move all that logic into
$.ajax but I would keep $.get and $.post because they are nice
convenience methods.
On 11/10/06, Dave Methvin [EMAIL PROTECTED] wrote:
As the loading of both scripts is asynchronous, the second one
could be started before the neccessary functions are available.
Any idea or workaround?
If you can attach a readyState handler to the first script, that can be your
cue to
Interesting... :-)
It would be pretty easy to use those libraries alongside my plugin, but
replicating what they do
is probably beyond the scope of my plugin (a separate one, maybe?).
Try this (with JSFC):
var fc;
$('#element').flash(...).find('embed').each(function(){
fc = new
As the loading of both scripts is asynchronous, the second one
could be started before the neccessary functions are available.
Any idea or workaround?
If you can attach a readyState handler to the first script, that can
be your cue to run the function or load the second script that needs
On 11/10/06, Dave Methvin [EMAIL PROTECTED] wrote:
As the loading of both scripts is asynchronous, the second one
could be started before the neccessary functions are available.
Any idea or workaround?
If you can attach a readyState handler to the first script, that can
be your cue
On Nov 9, 2006, at 11:45 PM, Chinmay Kulkarni wrote:On a related note, any editors that support autocomplete/suggest and code-folding for jQuery? If you own a Mac, you can try TextMate and download the jQuery bundle. Instructions
Klinger, John (N-CSC) schrieb:
It appears that the code documentation tags (@example, @desc, etc) are
single-line entries only. Is this correct?
Is there any accepted way to do multi-line examples?
After a quick look at visualjquery: It looks like newlines are parsed,
but not properly
Matthew Delmarter schrieb:
This looks great Jorn. Probably the main issue for me is that a tool-tip for
an element on the right-hand-side of the screen does not adjust it's
position away from the edge. Any plans to implement something like this?
Even if it just defaults to showing on the left
Mike Alsup schrieb:
While we are at it: A get request can send it's data only by appending
the query string to the URL, right? Can this be handled by $.ajax, too?
Sure, it could. I think it makes sense to move all that logic into
$.ajax but I would keep $.get and $.post because they
So don't see the need for $.get and $.post anymore.
It's not a need, it's a convenience. Just like getJSON and getScript.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Mike Alsup schrieb:
So don't see the need for $.get and $.post anymore.
It's not a need, it's a convenience. Just like getJSON and getScript.
Ok, $.get and $.post both provide an interface with static parameters,
that makes them more convienent then $.ajax.
Good to talk about it
Klaus,
How much work is it to change the css to be a vertical layout on the
left or right side? It would be intresting if you could pass in a value
to place the tab position around the content.
thx for the great work so far the plug in is a must have no doubt!
Jason Y
www.purepressure.com
pretty sure Aptana is cross-platform java :)
Jason Y
www.purepressure.com
Karl Swedberg wrote:
On Nov 9, 2006, at 11:45 PM, Chinmay Kulkarni wrote:
On a related note, any editors that support autocomplete/suggest and
code-folding for jQuery?
If you own a Mac, you can try TextMate and
You can create a script element using document.createElement, set a
handler for readyState, and then set a src to get it to load. It
should work for any external script. jQuery uses it in the .ready()
event setup if you need an example.
Uh, really interesting. Do you know if this will
I setup a basic test page here: http://dev.noiseusse.org/testflash
I've narrowed it down to passing an argument to flash from javascript.
In firefox2, try the first three examples. They work fine. Then try the
4th example. Nothing happens and there is no error message and now the
other
Hi jQueryians,
I'd like to present you a first draft for a new stylesheet for the
jQuery API: http://joern.jquery.com/api-draft/cat.xml
There is still lot's of work to do, but the main concern, a new concept
for the navigation, is already functional. Both Alphabetical and
Category lists will
Very nice. Very, very nice.
On Nov 10, 2006, at 1:20 PM, Jörn Zaefferer wrote:
Hi jQueryians,
I'd like to present you a first draft for a new stylesheet for the
jQuery API: http://joern.jquery.com/api-draft/cat.xml
There is still lot's of work to do, but the main concern, a new
concept
Jörn,
Very nice! and oh so close to what I want.
Can you add a print link that will render the right panel only for
printing? It would be nice it it could be printed in either aphabetical
or catagory order.
Please, please, please! Pretty please!
-Steve
Jörn Zaefferer wrote:
Hi jQueryians,
Jörn,
That looks fantastic! I really like it! Good job! :o)
Chris
Jörn Zaefferer wrote:
Hi jQueryians,
I'd like to present you a first draft for a new stylesheet for the
jQuery API: http://joern.jquery.com/api-draft/cat.xml
There is still lot's of work to do, but the main concern, a
Hello everyone,
I'm trying to reproduce the Yahoo Search when you click on
President Bush in this story on Yahoo:
http://news.yahoo.com/s/ap/20061110/ap_on_go_ca_st_pe/gates_in_his_words_1
with jquery.
I've looked at using a few of the Tooltip plugins, but they don't do
what I want. How do I
I'm loving the full index :-)
A couple of suggestions come to mind ... having all of the parameter types and
names in the
left-hand column makes the list much harder to scan. Maybe it's just a styling
issue -- like
making the parameter types and names less prominent (smaller, faded out) --
Luke Lutman schrieb:
I'm loving the full index :-)
A couple of suggestions come to mind ... having all of the parameter types
and names in the
left-hand column makes the list much harder to scan. Maybe it's just a
styling issue -- like
making the parameter types and names less prominent
You might want to put a border or hr or spacing between each function.They run together right now.If I wanted to print one part of the API, is this possible with the current design?Maybe just have the single API appear on the right instead of scrolling down and another link to show all?
Just a
Man you scared me... You meant new jQuery API DOCS, not new jQuery API right?LaurentOn 11/10/06, Gavin M. Roy
[EMAIL PROTECTED] wrote:Very nice.Very, very nice.On Nov 10, 2006, at 1:20 PM, Jörn Zaefferer wrote:
Hi jQueryians, I'd like to present you a first draft for a new stylesheet for the
Hi All,I couldn't find a way using jQuery to get the tagName of an element.Let's say I have this:divspantest/span/div$('span').parent().tag() would return 'div'
is that currently possible?I found the is() function, maybe that could be changed to return the tagname if no argument is
You could do two things ... write yourself a plugin that would look
something like this:
jQuery.fn.tag = function() {
return this[0] ? this[0].tagName : null;
};
or you could just do it like this:
$('span').parent().get(0).tagName
--
Brandon Aaron
On 11/10/06, Laurent Yaish [EMAIL
Hello,
i need a function that goes through all elements of my form and removes
the content of my textfields/inputs. Is there a way of doing this with a
jQuery oneliner ?
best regards,
Truppe Steven
___
jQuery mailing list
discuss@jquery.com
On 11/10/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
of course the standard js method isdocument.forms[0].reset()I've found that reset() returns the form values to what they were when they page initially loaded. So, if some of the form elements had been prefilled reset() would return the values of those
From: Laurent Yaish
I couldn't find a way using jQuery to get the tagName of an element.
Let's say I have this:
divspantest/span/div
$('span').parent().tag() would return 'div'
From: Brandon Aaron
You could do two things ... write yourself a plugin that
would look something
absolutely! that's the diff.. I don't think jq can get back the
original default values.
On 11/10/06, Aaron Heimlich [EMAIL PROTECTED] wrote:
On 11/10/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
of course the standard js method is
document.forms[0].reset()
I've found that reset() returns the
Gilles (or anybody else with advanced knowledge of the cssHover plugin):
How do you select all checkboxes in a form controlled by cssHover with a
select all click event?
Thanks.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On 11/10/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
I don't think jq can get back theoriginal default values.True, but I believe he wanted a way to *empty* the elements, not return them to their defaults.
___
jQuery mailing list
discuss@jquery.com
so you guys don't think that this should be part of jQuery?what if the function is() with no argument returned the tag name?Laurent
On 11/10/06,
Michael Geary [EMAIL PROTECTED] wrote:
From: Laurent Yaish
I couldn't find a way using jQuery to get the tagName of an element. Let's say I have
is returns a boolean , tag returns a string, so combining would be
less than elegant, but certainly tag is a useful plugin, that probably
deserves inclusion. Unless it's considered too trivial!
On 11/10/06, Laurent Yaish [EMAIL PROTECTED] wrote:
so you guys don't think that this should be part
On 11/10/06, Laurent Yaish [EMAIL PROTECTED] wrote:
what if the function is() with no argument returned the tag name?This makes no sense to me. Something like $(#foo).tag() or $(#foo).tagName() would make a lot more sense when you wanna know the tag name of the element you just selected.
Which
On 10/11/06, Sam Sherlock [EMAIL PROTECTED] wrote:
yep I have jsfc working alongside jquery (mostly straight forward)see - http://www.sharkevaderproductions.com/v5/
jquery (and a shed load of plugins)
jsfc and ufo all playing nicelyif you're code works I will be able to replace the ufo (its
astonishing stuff!!! That works a treat!I am also using the sifr jquery plugin (really feature filled site this) and have tried to alter the code to use your flash plugin instead. I guess its one stage at a time!!
However I am unable to set the version it aways throws an error whatever I do!?!I
w3c says ecmascript tagName is read only... so changing it would
really require rebuilding a node (messy, at least 40 characters of
code!) or just cssing it to have whatever properties the new tag would
have had (simple). I think the simple method is the best jquery
solution.
On 11/10/06, Aaron
On 11/10/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
w3c says ecmascript tagName is read only... so changing it wouldreally require rebuilding a node (messy, at least 40 characters ofcode!) or just cssing it to have whatever properties the new tag wouldhave had (simple). I think the simple method is the
Can you post the code (or a link to it)?
What error does it throw?
...
Also, my text-replacement example
(http://jquery.lukelutman.com/plugins/flash/example-text-replacement.html)
isn't fully cooked yet -- it's functional, but I'm planning to develop
it as a proper plugin (soon, hopefully!).
solved it myself, just whilst collecting the code to post.Late night early morning splurge of coding to excited to sleep after see this wonderful code
yep thats solved but I would like to be able to hide replace code in the nested divlooking at the sifr example I see that after the version object
I am having an error only in IE with the following 'expected identifier string or number'
thats what inferior explorer (v6 on wk2) saysI have googled the error and a number of pages suggest removing the last coma
http://cow.neondragon.net/index.php/1404-Internet-Explorer-_javascript_-Errors
4089
95 matches
Mail list logo