I just came around something with jQuery that is somewhat discouraging
after all the positives I have been experiences with jQuery.
Maybe there is an answer to this.
One of the "selling points" I had plans to make in helping to introduce
and promote AJAX into our package and to our customers
Um. Guys. What was the very first jQuery plugin? :-) [1]
It's true, AJAX (XMLHttpRequest) won't work across domains, but JSONP with
the dynamic script tag works fine (except for a few versions of Safari like
2.0.0 - which should be pretty rare).
Eric, I saw your comment on my blog post (below)
ok, cool thanks for the help
and to make sure i understand that code, the first part is basically the
constructor and the second part(the .prototype) is adding all the
members/methods to the class, right?
Ganeshji Marwaha wrote:
>
>>> why do i get error saying that test is not a function of t
Nazgulled,
I understand exactly what u are after. They key to the solution is interface
animation's stop() method. I guess it will take some work to get this done,
and i sincerely can't squeeze in enough time to ponder around for a
solution. So, i would leave this for other jquery experts here, or
Just to add to what john said, it is not a limitation of jquery, but ajax in
general, but i might be wrong...
John, correct me if i am wrong.
-GTG
On 8/11/07, John Resig <[EMAIL PROTECTED]> wrote:
>
>
> You can't request JSON data from remote URLs, currently. You'll need
> to run the request thr
>> why do i get error saying that test is not a function of t?
Because you are approaching it wrong. This is how u can achieve what u want
to
$.ajax_request = function(options) {
this.options = {test: "test"};
}
$.ajax_request.prototype = {
On Aug 11, 11:27 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> Just so your clear, while jQuery doesn't have any built-in "bindings" (as
> you used) like Spry does, there are the plug-ins above which address that.
>
> Plus, it wouldn't be very difficult to roll your own solution.
>
Yes
You can't request JSON data from remote URLs, currently. You'll need
to run the request through a local server in order to get at the
specific data, unfortunately.
--John
On 8/11/07, neuromystical <[EMAIL PROTECTED]> wrote:
>
> Can anyone tell me what is wrong with the following. I am new to
> J
ok here is my code:
jQuery.ajax_request = function(options)
{
ajax_options =
{
test: 'test'
};
test = function()
{
alert(this.test);
}
}
var test = $.ajax_request();
test.test();
why do i get error saying that test is not a function of t?
Ganeshj
Pops,
>> If you decide going with a JSON/XML approach is best, check out some of
>the
>> jQuery DOM creation plug-ins:
>>
>> http://jquery.com/plugins/project/Plugins/category/55
>>
>> Plug-ins such as FlyDOM, appendDom, jTemplates, etc are all designed to
>give
>> you an easy way to programmatic
I know you will. You do kick ass work and I know you won't release
something that's not top stuff. :)
Let me know if you need help testing.
Rey...
Ganeshji Marwaha wrote:
thanks rey... will take care of it in my first release as a plugin...
-GTG
On 8/11/07, *Rey Bango* <[EMAIL PROTECT
thanks rey... will take care of it in my first release as a plugin...
-GTG
On 8/11/07, Rey Bango <[EMAIL PROTECTED]> wrote:
>
>
> Nice work G. In IE7, it looks good. In FF v2.0.0.6, there's always an
> initial delay when hovering over the first option.
>
> Rey
>
> Ganeshji Marwaha wrote:
> > I a
I'll follow up here as well:
To write a class how you like, you could do it like this:
function ajax_request(options){
// initialize
this.setOptions( options );
}
ajax_request.prototype = {
// members and properties
setOptions: function(options){
this.options = options;
}
};
That's the
Nice work G. In IE7, it looks good. In FF v2.0.0.6, there's always an
initial delay when hovering over the first option.
Rey
Ganeshji Marwaha wrote:
I am working on something like that... it is not a completed version,
but works enough to get the point across.
I will be making it into a ful
I just wanted to post my reply from your other thread, not sure if you saw it:
To write a class how you like, you could do it like this:
function ajax_request(options){
// initialize
this.setOptions( options );
}
ajax_request.prototype = {
// members and properties
setOptions: function(opti
When you create a plugin that will be executed on a selected set of DOM
elements, you use
jQuery.fn.myPlugin = function() {}
When you create a plugin that is going to be executed statically, like
$.ajax, you create it like this.
jQuery.myPlugin = function() {}
Effectively, jQuery is an instance
http://www.apex-wowguild.com/dev/javascript/ajax.js
This is a example. I can create a object and then modify it based on the
user interaction. If i can not store this as an object i would need to
write code to create each different option the user can do instead of just
modifying this one obje
Trying to reply with the code i cut out to see if it works, the code is in
order
1 => $().click(function(){});
2 => $().addEvent('click', function(){});
3 => var ajax_request = function(options)
{
ajax_options =
{
test: 'test'
};
test = function()
{
a
I have tried to post this on jQuery mailing list/forums system but it
is not posting for whatever reason so maybe some people who have used
either or both can help me out
I have been working with mootools for a bit the past few months and
started to take a look at jQuery too see what the hype is
On Aug 11, 4:03 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote:
> Here is a key question: Will the customers of your web service be calling it
> from JavaScript on websites loaded from their own domains? If so, then you
> won't be using AJAX at all. In jQuery code, that means you won't be using
I am working on something like that... it is not a completed version, but
works enough to get the point across.
I will be making it into a full featured plugin sometime this week.
Here is the link to it...
http://www.gmarwaha.com/jquery/jkwick/test/test.html
Hoep that helps.
-GTG
On 8/11/07, R
The hoverintent plugin won't help, because the "hover event" will only
take place after a while when the user hovers the mouse and I can't
have that, I need the event to be fired just when the mouse is over,
so that plugin is out.
And I though you already knew that I'm using animate() method from
Benjamin,
Think google maps... It is a nice class, which can be instantiated and setup
any number of times within the same page... So, in this case class offers a
convenient blueprint for further instantiation.
Hope that clarifies a bit.
-GTG
On 8/11/07, Benjamin Sterling <[EMAIL PROTECTED]> wr
Eridius,
If you do a search in the group (
http://groups.google.com/group/jquery-en/search?group=jquery-en&q=mootools&qt_g=Search+this+group)
you will see a few comparisons between both. I think ultimately it comes
down to preference.
As for the class thing you talk about, can you give an example
Brian, That is a good approach, thanks for the tip.
Olaf, that is what I thought of doing but could not come up with the correct
function. That should be pretty easy to add to the header for each plugin,
thanks a bunch.
Also, what I was experimenting with and seemed to start working was to add
"
Pops, thanks for the additional information.
Before getting into too many details, let me check again: is this for your
own company's website, or are you building something that other people will
use on their websites to incorporate some of your data?
That will help clarify which approach to tak
To write a class how you like, you could do it like this:
function ajax_request(options){
// initialize
this.setOptions( options );
}
ajax_request.prototype = {
// members and properties
setOptions: function(options){
this.options = options;
}
};
That's the full source code - no e
Hola Ricardo,
Check the mailing archives as there was a whole series of discussions
about accordians.
http://groups.google.com/group/jquery-en/search?group=jquery-en&q=accordian&qt_g=Search+this+group
Rey...
ricardoe wrote:
Hi everyone, regards from México. (Sorry for my english, is not ve
On Aug 11, 3:02 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> Pops,
> >Does that sound correct?
>
> You could do that, but you can also load HTML fragments as well. jQuery has
> a load() method that makes it very easy to insert HTML fragments into an
> existing DOM element.
>
> Returning
I have been working with mootools for a bit the past few months and started
to take a look at jQuery too see what the hype is all about from what i have
heard from a co-worker. From what i see, jQuery does not offer anything
that mootools does not. I mean jQuery does have
$().click
and i don
I don't know what happen with the last post but let me try to explain myself
better in this one.
The only way i see documenetation for building plugins is so you can add
like:
$('#whatever').plugin();
Now this is all good but I want to know something different. I want to be
able to build a pl
Hello folks,
I'm trying to use Thickbox. The page is here:
http://www.alakhnor.com/post-thumb/
So, it works fine until, at some point, it doesn't work anymore.
On a side note, I've tried to use jquery without Thickbox on the same
page, in another way and got the same result.
So, I assume that
Well i guess that works for what i need, i just think that have a separate
class is better in certain cases so having both option is nice.
Sean Catchpole wrote:
>
> Mootools tries be a bit more C-like, where jQuery uses javascript OO like
> peanut butter and jelly.
>
> //jQuery version
> var a
I have this:
$('#mydiv').animate({marginLeft:100}, 500);
it works just fine in Firefox and Safari. In IE (6 and 7) I get
"Invalid argument". If I use this instead:
$('#mydiv').css({marginLeft:100});
It works in ALL browsers, including IE.
What's wrong? The comment above the animate() function
Thanks Michael for taking the time to assist. I do apologize for lack
of clarify.
Maybe a high level illusrtation of what we are doing will help:
http://www.winserver.com/public/vimg.wct?src=wcrpcnet6.png
The yellow boxes is our existing 11 years old framework. We already
have native and Java
Can anyone tell me what is wrong with the following. I am new to
JQuery and I do not know if I am doing anything wrong here. I am not
just looking for an answer, I am trying to understand what is going on
here and I do not understand by looking at the existing jquery.js I
have or searching the web
Hi everyone, regards from México. (Sorry for my english, is not very
good)
I've been developing a website for my little companie
(www.tuukuls.com.mx) but my comrades saw the mootools page and they
are fascinated by the kwick accordion.
I love jQuery, so, do we have something like that?
Regards :D
Thanks for the tip, John.
Maybe I don't quite grok it, but could it handle cases like this?
This is bold.
It seems to me that innerWrap could give me this:
This is bold.
but what I'm really after is this:
This is bold.
In other words, I'm looking for a way to manipulate all text nodes
thems
Plesae excuse I am being redundant here. I find it alittle
frustrating that I my mail take such a long time to get posted
here.This will probably take long too.
But I think if I just spell it out with what I think I need in order
to use JQUERY, then maybe can provide a quick example. Thats
> From: Klaus Hartl
>
> Yeah! I like how it is build on top of my basic cookie plugin
> instead of rebuilding stuff...
>
> Another example how well the plugin architecture works out.
...except that there's no "plugin architecture" at work here. :-)
These three plugins don't really need jQuery
Benjamin Sterling schrieb:
What I am trying to do is post my plugins to my blog (wordpress), but I
don't want to load unnecessary code for all pages. For instance, I want to
post my shuffle plugin in one post and I don't want have that code for all
post.
Thanks in advance.
Write this in y
Hello,
I have several things that can be rated in one page. As html, I added
an hidden field that contains the id of the element I voted on:
Rate Me!
0
1
The plugin doesn't use that key item as a parameter to the post, only
the rating choosen.
Is there an opti
Hi ashok,
It really depends on the number of thumbnails u have. If the number is not
too large, the jCarouselLite is a good choice, because of its light-weight
nature.
But, if the number is too large, then you will need the ajax facilities of
the jCarousel plugin.
Hope that helps
-GTG
On 8/10/0
this is very interesting... i think i will have a use for it sometime very
soon.
-GTG
On 8/11/07, Tane Piper <[EMAIL PROTECTED]> wrote:
>
>
> Another plugin that's not mine, but very handy:
>
>
> http://johannburkard.de/blablog/programming/javascript/2007/08/06/dynacloud-a-dynamic-javascript-tag
Hi, the demo that is posted was just a way to approach that problem...
As i mentioned already, you can use the hoverIntent plugin to approach it as
well...
If you are fine to use interface plugin, then you can use interface's
animate() method, coz, that allows you to stop animation in between...
you should post it on digg... "how annoying a scrollover is?" haha, i will
digg it for sure..
-GTG
On 8/11/07, Stephan Beal <[EMAIL PROTECTED]> wrote:
>
>
> On Aug 11, 6:21 am, Blair Mitchelmore <[EMAIL PROTECTED]>
> wrote:
> > Here's my (40 line) proof of concept. It's not as foolproof as the
>
cool, that will be great. i sincerely wish u convince ur managers. Also,
lemme know if you need any help... I have been programming in java for long
enough to offer u some decent help.
-GTG
On 8/11/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
>
>
> I'm working on a jQuery-based Java web-framewo
Hey Benjamin,
I've had the same problem in the past. What I do now is create a post
discussing the plugin, and then I create a one-off page that has all
the information regarding the version of jQuery, the version of the
plugin, bugs, supported browsers, etc. The post then links to that
page.
It
Great Plugin!
~Sean
Yep!
Klaus Hartl wrote:
Rey Bango wrote:
This is a VERY cool plugin!
Rey...
Yeah! I like how it is build on top of my basic cookie plugin instead of
rebuilding stuff...
Another example how well the plugin architecture works out.
--Klaus
Rey Bango wrote:
This is a VERY cool plugin!
Rey...
Yeah! I like how it is build on top of my basic cookie plugin instead of
rebuilding stuff...
Another example how well the plugin architecture works out.
--Klaus
This is a VERY cool plugin!
Rey...
LetsSurf wrote:
I've just finished writing a cookieJar plugin for jQuery, as I
couldn't find anything like it for jQuery.
http://www.jdempster.com/category/code/jquery/cookiejar/
Thought I would post it here in the hope of some feedback.
Please let me know
I've just finished writing a cookieJar plugin for jQuery, as I
couldn't find anything like it for jQuery.
http://www.jdempster.com/category/code/jquery/cookiejar/
Thought I would post it here in the hope of some feedback.
Please let me know what you think. Is this a good approach to the
problem.
Another plugin that's not mine, but very handy:
http://johannburkard.de/blablog/programming/javascript/2007/08/06/dynacloud-a-dynamic-javascript-tag-keyword-cloud-with-jquery.html
DynaCloud is a jQuery plugin that generates tag or keyword clouds from
text on web pages and highlights matching par
This isn't my plugin, but I came across this today, and found it handy:
http://www.hovinne.com/blog/index.php/2007/08/09/135-jquery-wordstats-plugin
>From the site itself:
The jQuery wordStats plugin tries to determine what a page is about by
computing the density of its keywords.
It uses a sim
Hey Guys and gals,
Sorry about the off topic here, but asked the question on the wordpress
forum and did not come up with a method that made sense.
What I am trying to do is post my plugins to my blog (wordpress), but I
don't want to load unnecessary code for all pages. For instance, I want to
po
Mootools tries be a bit more C-like, where jQuery uses javascript OO like
peanut butter and jelly.
//jQuery version
var ajax_request = function(options) {
op = { }; //default options
$.extend(op,options); //overwrites defaults
//more code here like $.ajax()
}
~Sean
> From: Pops
> I think, and this is more of a question, I think I need to
> first create a new WCX that creates XML or JSON output only
> to begin to take advantage of JQUERY. Then second, I need to
> "bind" if that is the proper JQUERY term, the JSON fields
> with a Table columns.
>
> -
Pops,
I'm going to clip your message and just respond to key portions.
>I think, and this is more of a question, I think I need to first
>create a new WCX that creates XML or JSON output only to begin to take
>advantage of JQUERY. Then second, I need to "bind" if that is the
>proper JQUERY term
Hey Pops,
I'm just going to address a couple of your questions for now - we can come
back to the detailed code later after it's more clear what you want to do.
First, let's call it jQuery, not JQUERY, so no one thinks you're shouting.
:-)
About catering specifically to jQuery, it's unlikely tha
this article might be of interest here :
http://www.julienlecomte.net/blog/?p=4
On Aug 11, 5:09 pm, weepy <[EMAIL PROTECTED]> wrote:
> I'd love to see a jSprite plugin :-)
>
> Perhaps you could use a 2d array for the sprites. X direction could be
> the sprite and Y could be it's Type ?
>
> Ano
Can anyone help me with this?
On Aug 10, 8:06 pm, Nazgulled <[EMAIL PROTECTED]> wrote:
> It doesn't really work as expected. Let's say you increase the time it
> takes to do the animation (it's easier to see the problem). You move
> the mouse over, then out and then back over, all this while the
How about using innerWrap?
http://blog.brandonaaron.net/2007/06/04/jquery-snippets-innerwrap/
--John
On 8/11/07, Jed Schmidt <[EMAIL PROTECTED]> wrote:
>
> Looking into the jQuery source, it seems like this would be pretty
> daunting ("nodeType == 1" is checked in 5 different places, making it
>
I'm loving the table sorting plugin and I'm trying to get a
"sorting..." notification going. I've found this demo site:
http://bitten.ufsoft.org/demo/ that has it working. It seems you have
to attach the functions you want run on sortStart/Stop.
I've added the methods like so so my site's js file
One thing that i like from mootools is the way to create custom classes.
like in mootools i could do this
var ajax_request = new Class({
options:
{
//class members...
}
initialize: function(options)
{
this.setOptions(options);
}
//more methods
});
Looking into the jQuery source, it seems like this would be pretty
daunting ("nodeType == 1" is checked in 5 different places, making it
seem like a non-trivial fix).
Perhaps the next best bet after a proper selector would be a function
that, for each matched element, adds the jQuery objects for
I have a few questions about implementing JQUERY.
First, I am relatively new to "WEB 2.0" methods, so please be patience
with what might seem to be silly questions.
I think I need to see an example of how we might be able to use JQUERY
or better said, how we might be able to "add" it to our curr
> So what else is there?
The next step in the "recycle" evolution of real interactive I/O.
Once upon a time, we had dumb terminals. Then someone had vision - "I
think I will add smart keys and graphics to the terminal." The
server sent special graphic codes the terminal understood.
Then the
Oh ! Thank you !
This comma was not in the first example of the plugin's author !
spinnach wrote:
>
>
> you're missing a comma after 'event: "keyup"', it should be ' event:
> "keyup",'
>
> dennis.
>
> debussy007 wrote:
>>
>> Hi, I am trying to use the Validation plug-in but I have the
you're missing a comma after 'event: "keyup"', it should be ' event:
"keyup",'
dennis.
debussy007 wrote:
Hi, I am trying to use the Validation plug-in but I have the following error
:
missing } after property list
[Break on this error] rules: {\n
Here is the simple code :
$("#form_cont
Hi, I am trying to use the Validation plug-in but I have the following error
:
missing } after property list
[Break on this error] rules: {\n
Here is the simple code :
$("#form_contact").validate({
event: "keyup"
rules: {
"lastname": "required"
I'd love to see a jSprite plugin :-)
Perhaps you could use a 2d array for the sprites. X direction could be
the sprite and Y could be it's Type ?
Another question, do you know if this would work with IE6 with
transparent PNGS that have been fixed with a DXFilter ? The reason I
ask is that I rece
Ive been experimenting with icon sprites. Specifically how to manage them
for a RIA that has many many icons with several states.
Check out my findings here: http://commadot.com/?p=590
A little jQuery help would be good for this page:
http://www.commadot.com/jquery/sprites/78div.htm
Is there a b
On Aug 11, 3:34 pm, phill <[EMAIL PROTECTED]> wrote:
> a sample is available here:www.chantrybeeproducts.co.nr/jqueryani/
>
> i am having a few problems, i was wondering if some one could help,
>
> in ie whe the main body of the content, it flashes up before it is
> shown and after it has been hid
I want to create a page that when it loads, the content is brought on
to the screen using jquerys show method, when the user navigates away,
the page colapeses and the loads the new page.
a sample is available here: www.chantrybeeproducts.co.nr/jqueryani/
i am having a few problems, i was wonder
Hi guys,
Thanks a lot for your answers.
It works fine now!
Thanks again, David.
On 10 ago, 19:28, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Dan G. Switzer, II wrote:
>
> >> yes, sorry, it works if you include the for="" bit.. if you leave it out
> >> (and write it like this, which is a
On Aug 11, 6:21 am, Blair Mitchelmore <[EMAIL PROTECTED]>
wrote:
> Here's my (40 line) proof of concept. It's not as foolproof as the
...
> algorithm so its glitchy when the font gets really big or really
> small).
>
> Source code:http://jquery.offput.ca/js/jquery.scrollover.js
>
> Simple (even fo
This was mentioned on another thread, and there were at least 2 other people
interested in it, so I think it warrants its own thread.
What are people's thoughts on some sort of jQuery integration with Java on
the server side? This is exactly the setup my company runs, and we'd be
interested in inv
> I therefore want to use validate in it's simple form as
> $("#booking-stage-2").validate();, and put the requirements inline as
> class="{required:true}". However, adding
> $("#booking-stage-2").validate(); to my script brings up the error
> "jQuery(a).data is not a function" in the console win
I'm working on a jQuery-based Java web-framework. Basically everything
is working, but its not really a framework yet. There is just too much
that you have to deal with yourself. If I succeed to convince my
managers that we should use that framework to build our two products,
I could spend quite a
Klaus Hartl wrote:
Blair Mitchelmore wrote:
Here's my (40 line) proof of concept. It's not as foolproof as the
original especially regarding the positioning of the resultant element
(the original took a link and changed it to an em in a span in a span
in a span in a fieldset in a link with eac
Blair Mitchelmore wrote:
Here's my (40 line) proof of concept. It's not as foolproof as the
original especially regarding the positioning of the resultant element
(the original took a link and changed it to an em in a span in a span
in a span in a fieldset in a link with each nested level having
Hello,
I am trying to get a tree view thing working in jQuery, but I don't
want anything overly complicated like some of the tree view plugins I
have seen (and tried to customise).
My code is modified from
http://pixelcarnage.net/articles/development/jquery-collapsible-menu/
(currently down) an
Mitchell Waite wrote:
> I thought the same about checking a checkbox but "checked" is not the right
> value, you have to use true and false.
>
>
>
> So like this:
>
>
>
> On
>
> $(checkbox).attr("checked", true);
>
>
>
> Off
>
> $(checkbox).attr("checked", false);
>
>
>
> I have no idea why you c
Hi,
I'm trying out the 3D Carousel from the Interface
plugin and have problems with making it work in
IE 6 and 7. In Firefox it works great.
While initializing the carousel, IE chokes on
line 118 in the fullsize source of carousel.js.
The line reads:
image = jQuery('img', this).get(0);
T
I'm running into a problem with a simple Ajax call within an ajax
called page in IE. I did a forum search and it didn't really clue me
into what's going on.
In the page:
http://www.cyma.com/NEWCYMA/support/updatecenter/(Page 1)
Clicking on "Version 9" loads a page with two god ugly tabs:
"
Well my php and forms run fine, but when I click submit it jumps into the PHP
page when it should stay put and submit data without opening PHP in the
window.
Code:
Jquery:
$('#myform').ajaxForm(function() {
return false;
al
(I'm not sure if this is a double post, I tried to post earlier...)
Here's my (40 line) proof of concept. It's not as foolproof as the
original especially regarding the positioning of the resultant element
(the original took a link and changed it to an em in a span in a span
in a span in a fields
I have looked at both of these plugins. How would i decide which one
to use? Basically i just the carousel to show the thumbnails and then
below the carousel the large image will appear.
Thanks
Ashok
Ask and ye shall receive. http://jquery.offput.ca/js/jquery.scrollover.js
It's not probably not a foolproof as the other one, I left out any
options that could have been specified, and I could probably make the
nudging work a bit better but this is good enough for a bit of
hacking. It's also not
90 matches
Mail list logo