Hi,
Is there a way to modify the default names of the two parameters, so
instead of calling /search?q=&limit=10 it can call /search?
query=&max=10
I was hoping for something along that way:
$("#searchfield").autocomplete( "/search", {
q: "query",
plugin. sounds like a really smart addition to
jquery ! Thanks for the info
X+
> --
> Brandon Aaron
>
> On 9/23/07, xavier <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > I found myself adding elements to a page, and then adding behaviour to
> >
Hello,
I found myself adding elements to a page, and then adding behaviour to
these elements.
What I did was :
$('.container').each(function(){
$(this).prepend('Do something')
.find(".dosomething").click(function(){return
doSomething(this);});
...
It works, but I don't find very elegan
v
I don't understand how to plug that with my json-on-a-different-url
case.
Does it clarify ? Has someone an idea ?
X+
P.S. I'm fully aware than my exemple is dummy, but I tried to set up
something simple that doesn't involve my bulky CMS
On Sep 4, 11:00 am, Klaus Hartl <[EMAIL PROTE
HI,
Not sure about the question. Could you clarify ?
You're loading external html that contains html with onclick
functions ?
you're trying to load a javascript file ?
for the second getScript will do it:
jQuery.getScript('whatever.js',function(){alert('things to do once the
script is loaded');
Hi,
I'm using json to update a list and it works fine, but the goodies
(back button, bookmarks...) are obviously not working.
My goal is to keep a version that generates the html lists (for the
ones without js enabled), keep the json update features, and add the
history working.
I'm struggling
This isn't done as a plugin, but that's a similar idea:
(buttons automatic translation)
http://www.gmworkersblog.com/languages/english/union_says_avtovaz_fired_staff_the_moscow_times
On Aug 21, 2:33 pm, "Tane Piper" <[EMAIL PROTECTED]>
wrote:
> Hey folks,
>
> Time for another plugin
> -http://di
Have you seen this post ? Thats going in the same direction I think,
and I like the idea of being able to use the template for an array.
http://www.dennydotnet.com/post/JavaScript-Model-Objects-JMO---An-Idea.aspx
Otherwise, a more complete, non jquery based one:
http://code.google.com/p/trimpath
Looks promising...
> Other feature ideas I find interesting are:
> - Allowing users to specify the height of their element, or the columns, and
> then paginate the text (I'd include links/buttons that allow you to page
> through the text). This would be good so that your columns don't get so
>
Hello,
I've modified a page so instead of putting all the
t; (e.g. this is set to true by default). If you need synchronous
> requests, set this option to false. Note that synchronous requests may
> temporarily lock the browser, disabling any actions while the request
> is active."
>
> Please pay tight heed to the Note.
>
> On
{
if(!$.isFunction($.fn['tablesorter'])) {
$.getScript('/path/...', function() {
init ();
});
} else {
init ();
}
Xavier
This means that :
1) you assume all clients are able to deal with compressed pages
2) your server is going to compress it for each visitor.
3) the headers might or might not be properly dealing with its type.
With mod_rewrite, they are nice tricks to have a compressed file and
serve it instead of
javascript';
> script.src = '/path/to/plugin';
> $('head')[0].appendChild(script);
>
> But then you don't get the nice callback stuff to ensure that it's loaded.
>
> --Erik
>
> On 8/14/07, Benjamin Sterling <[EMAIL PROTECTED]> wrot
Hello,
I'd like to be able to test if a specific plug in is loaded before
calling some of its properties (to avoid throwing an error).
Second question, is it possible to load it if missing ?
Use case:
I have a bit of template that have a sortable table of users, and
another one that list group
re an option to do something like that ?
What's the proper way of using several ratings on the same page for
different objects (or is this a limitation of the plugin) ?
Thanks in advance,
Xavier
Hi,
Like it as well. Would it be possible to add an option to auto scroll
(ie change image every X second, as if you press the next button) ?
Thanks for sharing !
Xavier
On Jun 25, 12:42 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I have been usi
Thanks, very interesting and clarifying.
Actually, I suspect that the loop (or selector) didn't find any
element because the event handler I was looking for seems to be plug
on a parent element.
Anyway, I did it by filtering on the class attribute, that was a
cleaner option. Thanks to all.
X+
bookmark is called ?
On Apr 28, 5:10 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> xavier schrieb:
>
>
>
> > Hello,
>
> > I want to have an application that works both with and without ajax.
> > Eg: without ajax, I get /contentWithMenu and with ajax I .load /
Any idea?
Xavier
On Apr 27, 8:16 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> This is not a terribly elegant way to do it, but it does work.
>
> $('whatever_elements').each(function(i)
> {
> var hasclick = false;
>
>
k that I can customise so I
can load whatever needed based on the hash.
Does it make sense ? Is there a doc on the history plugin I missed or
another plugin that I missed ?
On the other history solutions I found (outside of jquery), you needed
to install an empty html that would be used with a iframe.Is it the
same here ?
Thanks in advance,
Xavier
Well my question was rather looking for a dirty hack anyway...
I will use your way and then move to something cleaner, either using a
class or a rel attibute to define what can't be altered.
Thanks,
Xavier
On Apr 27, 8:16 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
>
a javascript event to it.
Is it possible to select only the links that don't have any event
bound to the click event ?
Thanks in advance,
Xavier
Thanks, elegant solution !
X+
On Apr 13, 11:58 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> xavier 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 t
ay ?
Thanks in advance,
Xavier
Have you tried to create the accordion on a static html file with the
same structure ?
Does it work ?
If not, that's probably you have to give some parameters to the
accordion call to make it work.
X+
On Apr 13, 10:59 am, "WebolizeR" <[EMAIL PROTECTED]> wrote:
> On 13 Nisan, 01:06, "WebolizeR"
Thanks Scott and Karl !
Now I got it, I was missing the $(this) trick to get a jquery object
from a dom one. I've added it to the wiki (on each and on get
sections).
Xavier
On Apr 12, 4:28 pm, Scott Sauyet <[EMAIL PROTECTED]> wrote:
> xavier wrote:
> > I h
m stuck and I fell like I'm missing
something obvious.
Any idea or link to the doc I missed more than welcome!
Xavier
28 matches
Mail list logo