did you get it to work?
On Sep 12, 1:33 pm, Adrian Chen wrote:
> On Sep 12, 10:09 am, Alex Weber wrote:
>
> > That's totally weird!
>
> > I would start over, delete all the include files and add it once
> > before any other external js script. Test it and gra
That's totally weird!
I would start over, delete all the include files and add it once
before any other external js script. Test it and gradually add the
others one by one afterwards... This is really a weird problem, its
the best I can think of because this hasn't happened to me!!
Also, re-dow
as a year ago or
> so.
>
> On Sep 11, 9:20 am, Alex Weber wrote:
>
> > Just confirming: Aptana and Netbeans are excellent choices! :)
>
> > On Sep 11, 8:15 am, szymon jankowski
> > wrote:
>
> > > NetBeans IDE also has jquery support.
>
> >
Hey, two suggestions:
First off, if you're using JSON data to populate it then I assume the
data will come from an external source and you are only generating it
in your script for testing purposes. In that case, perfect. If not,
and the data is actually hard-coded, then you shouldn't really be
Just confirming: Aptana and Netbeans are excellent choices! :)
On Sep 11, 8:15 am, szymon jankowski
wrote:
> NetBeans IDE also has jquery support.
>
> best regards,
>
> SJ
>
> On Sep 10, 7:58 pm, MorningZ wrote:
>
> > Are you looking for something where Intellisense would work for
> > jQuery?
I'm not sure I understand completely, if you mean that the tooltip
doesnt work with elements dynamically generated via load(), then it
could be a binding issue... try binding an alert() and see if that
works. in case it doesn't its because when the event was bound the
elements didn't exist... the
You can't post a javascript object, its gotta be key-value pairs
if the data is coming from a form you can do:
var serial = $('#myform').serialize();
and post the variable serial
if not then as far as I know you gotta convert the object into key-
value pairs some other way!
On Sep 9, 6
en 1.3.3 will be released, but you can always check out the
> code from Subversion if you want to see the very latest:
>
> http://jqueryjs.googlecode.com/svn/trunk
>
> Or if you want *all* the tagged versions:
>
> http://jqueryjs.googlecode.com/svn
>
> -Mike
>
> O
data = JSON.parse( data );
> } else {
> data = (new Function("return " + data))();
> }
> }
>
> -Mike
>
> On Mon, Sep 7, 2009 at 11:02 PM, Alex Weber wrote:
>
> > I use $.getJSON for all my ajax stuff and it wor
Its definitely possible although it would probably not run so smooth
on anything but the latest generation of browsers due to the heavy-ish
JS required...
I've never seen anything like it done but "Dynacloud" is a very good
tag cloud plugin for jQuery, it could be a good starting point!
On Sep 8,
I use $.getJSON for all my ajax stuff and it works beautifully but
there is one particular situation where I use an iframe hack to do an
ajax file upload and even though the returned value is a json object
(created with PHP), jQuery treats it like a string.
I'm using json2.js right now and it doe
I have a select box with an inline "onchange()" event that reloads the
page.
Using jQuery I've created a $('#myForm select').live('change', function
(e){...}) event handler to intercept the onchange() behavior and even
though I have e.preventDefault() and e.stopPropagation() after my
jquery event
I'm having problems returning values from within functions that make
use of $.ajax functions
For example:
var obj = {
this.foo = 'foo',
this.bar = function(variable){
$.post('myscript.php', 'var='+variable, this.callback,
'json');
},
this.callback = function(json){
wrote:
> Correct. We use yuimin to manuall compress/minify the original .js
> file.
> Then this script handles the gzip compression on-the-fly.
> I really wish we could do the yuimin on the fly as well, but we
> haven't found a good way to handle that.
>
> On Oct 15, 10:35
t; echo file_get_contents($fn);
> echo ";\n"; // accommodate scripts which are missing a trailing
> semicolon}
>
> ob_end_flush(); //output the content
> ?>
>
> On Oct 15, 10:12 am, "Chris Jordan" <[EMAIL PROTECTED]> wrote:
>
> >
them
>
> http://www.google.com/search?q=gzip
>
> On Oct 15, 7:58 am, Alex Weber <[EMAIL PROTECTED]> wrote:
>
> > the recomendation out there is serve your JS "minified + gzipped"
>
> > ok, i downloaded the YUI minified and use it to minify all my file
the recomendation out there is serve your JS "minified + gzipped"
ok, i downloaded the YUI minified and use it to minify all my files
(~50% size reduction)... now whats all this talk about gzipping?
do i have to manually download gzip and do the same thing? AFTER I
minify the file?
(or writ
secure as plain ol text
>
> The advantage of using the $.getJSON method (which remember, is just
> $.ajax but with the dataType set to "json") is that you don't need to
> do anything special to parse it when you get it back from the call
>
>
>
>
> On Oct 13, 12:04
quot;;
> Params.Method = "GET"; // or "POST", which it defaults to
> reqJSON(
> "url of server page",
> Params,
> function(json) {
> // if here, then "json" *is* a JSON object
> },
> function(x,y,z) {
first off, i dont get the difference between using $.ajax, $.post or
$.get instead since the concept is the same afaik: you send a request
and receive a response. the only difference in this case is that the
response would be a JSON object... right?
anyway... i've managed to generate tons of JSO
i use SimpleModal! :)
http://www.ericmmartin.com/projects/simplemodal/
On Oct 13, 8:22 am, MorningZ <[EMAIL PROTECTED]> wrote:
> I also use jqModal i'm not sure what "view" you are looking
> for... use which ever one makes more sense for you and is easier for
> you to code/understand
>
> fu
anyone have any suggestions on where to start?
read pretty much everything on google but still kinda confused...
thanks
Alex
theres a jquery community on jyte and some of the usual js library
bashing and arguments going on... just inviting you all to join the
cause!
(no urls on purpose in not trying to spam or anything!)
Thanks Karl!
Unfortunately I havan't yet become a huge adopter of "progressive
enhancement"/"graceful degrading" :)
i just assume that users have js (and cookies for that matter)
enabled... lol it works most of the time and i haven't really had to
do any mission critical stuff yet :)
thx for the
i have a modal window and when the "close" button gets clicked i log
the time and date the user closed the modal.
but what about if he just closes the browser or directly navigates to
another page?
is there any way to implement "cleanup" stuff here?
thanks
Just a random question here: why would you hide the element with
jQuery as opposed to using CSS? (on pageload that is...)
On Oct 7, 5:50 pm, "John D." <[EMAIL PROTECTED]> wrote:
> Ok I found the culprit. There was a JavaScript for our Google site
> search. Commenting it out solves the problem.
>
NetBeans is good and free :)
I do all of my design in Dreamweaver and PHP in nuSphere so I write my
JS in whatever IDE i'm using at the time :)
On Oct 8, 5:14 am, zizi <[EMAIL PROTECTED]> wrote:
> Komodo (I use it under Ubuntu, but it has a Win version, too)
>
> under Win Ultraedit rulez, but it
for example if you bind something to that ID only the first one will
work. so yeah i suggest either using classes or even prefixing the id
so you can access them all with 1 selector $("div[id^=prefix_]") this
is also similar to the valid CSS to style it (using selectors- but
unfortunately it wont
$('#fruits').val()
On Sep 28, 2:12 am, GARIL <[EMAIL PROTECTED]> wrote:
> How do I use jQuery to determine which item was selected from the
> forms below?
> Thank you for the help.
>
>
> Select your favorite fruit:
>
> Apple
> Orange
> Pineapple
> Banana
>
>
>
>
> Select your favorit
gt; to put that image in it's right place in the XHTML, a floated DIV
> separate from the product list (ol).
>
> - ricardo
>
> On Sep 25, 1:36 pm, Alex Weber <[EMAIL PROTECTED]> wrote:
>
> > absolutely!
>
> >www.weberseguros.com/productos.php
>
> >
dering difference is to blame (rather than
> jQuery). Do you have any sample pages live on the web that I could
> check out?
>
> On Sep 25, 9:18 am, Alex Weber <[EMAIL PROTECTED]> wrote:
>
> > Thanks Eric about the fadeIn() params that was careless of me but it
> > does
and by "sometimes" i mean "all the time" :)
On Sep 25, 10:18 am, Alex Weber <[EMAIL PROTECTED]> wrote:
> Thanks Eric about the fadeIn() params that was careless of me but it
> doesn't seem to have made a difference... :(
> btw the div has no padding an
]> wrote:
> Does #produtos_contato have any padding added to it? If so, IE could
> be calculating the width of the overall element as more than "350px",
> causing it to get bumped to the next line.
>
> On Sep 24, 5:05 pm, Alex Weber <[EMAIL PROTECTED]> wrote:
>
ts under it...
On Sep 24, 5:48 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
> There is no way a css() and show() could happen in the wrong order, as
> the second one only executes after the first one returns the object.
> Is it an animated resize?
>
> On Sep 24, 3:59 pm, Alex
yeah bud thats a given i just wanted to confirm that there wasn't a
callback and why not.
thanks for all the replies!
ajpiano wrote:
> that sounds like an issue that needs debugging, not a (superfluous)
> change to the library core...
>
>
>
> On Sep 24, 1:06�pm, Alex
i realize that... i just needed this in a rare case where jquery is
showing an element before resizing it, even though the resize
statement (css) is before the show()...
On Sep 23, 9:05 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
> Yeah, it's just like doing
>
> $('color','red'); alert('color chan
i guess it makes sense since in most cases its instant but it would be
useful to have a callback as in:
$('#myDiv').css('color','red', function(){
alert('color changed!');
});
addClass() doesnt have a callback either...
is there any particular reason for this?
thanks!
times in most cases.
>
> Matt Kruse
>
> On Sep 18, 3:50 pm, Alex Weber <[EMAIL PROTECTED]> wrote:
>
> > That's possibly the smartest thing I've heard all day! :)
>
> > The content INSIDE the lightbox/modal does need jquery but the biggest
> > p
SimpleModal is great
http://code.google.com/p/simplemodal/
And also Thickbox
best afaik
On Sep 18, 5:30 pm, "Chris Jordan" <[EMAIL PROTECTED]> wrote:
> Um... jQueryUI's dialog widget is good... and super easy to use. I'm just
> sayin'... ;o)
>
> Chris
>
>
>
> On Thu, Sep 18, 2008 at 11:51 A
; > page. In addition, if you are using compression, you should hardly
> > notice the loading time for the script(s).
>
> > -Eric
>
> > On Sep 17, 1:20 am, Alex Weber <[EMAIL PROTECTED]> wrote:
>
> > > and no i dont mean packing or minifying! :)
>
>
rker.flesler.com/
> The deploy part isn't included in the js. It's OO, you can create
> Benchmarker instances.
>
> I used it mainly to check different approaches for frequent problems.
> Also some experiments.
>
> --
> Ariel Fleslerhttp://flesler.blogspot.com/
>
$('div[id^=test]').hide();
:)
if it doesnt work i think its just a case of syntax
$("[EMAIL PROTECTED]").hide();
On Sep 17, 9:14 pm, ripple <[EMAIL PROTECTED]> wrote:
> Try this.
>
> $("div[id*=test]").hide();
>
> The second attempt evaulates the text in the div. Not the id of the div
and no i dont mean packing or minifying! :)
basically all i need is 1 plugin (simplemodal) and because of that i'm
forced to load the entire jquery library, which is crippling load
times...
we use jquery extensively in our website but we have banners in other
sites that open a simplemodal (light
looking to find possible bottlenecks and basically optimize the hell
outta my js which relies heavily on jquery and the occasional
plugin...
is there a more elegant and efficient way to do this than to toss a
few document.write()s at my code?? =P
thanks!!
-Alex
I'm not sure I understand exactly what you mean but I can answer the
question in the title of your thread :)
instead of using the 'blur' event use the 'change' jquery event
(analogous to onChange() traditional js)
http://docs.jquery.com/Events/change
-Alex
On Sep 16, 11:08 pm, bombaru <[EMAIL
Just a bump here since I'm curious too! :)
I just kind if take things like jQuery for granted and use and abuse
them without really knowing or caring how it does what it does, so
long as it works :)
(I guess that's a textbook OOP abstraction definition lol)
Anyway, wanna know the answer too if any
check this thread out:
http://groups.google.com/group/jquery-en/browse_thread/thread/f4277815d73f06ca?hl=en
its mainly about loading multiple libraries but the concept of
appending elements to the DOM vs using document.write() might work for
you :)
On Sep 10, 4:39 pm, henry <[EMAIL PROTECTED]> w
not sure about the whole overflowed DIV thing but in general
$('p:visible') will select only visible elements
On Sep 10, 9:06 pm, spaceage <[EMAIL PROTECTED]> wrote:
> Is there any way to use jQuery to determine which elements/items are visible
> within a div that is overflowing?
>
> ie. let's
.mouseout( function() {
setTimeout('$
(this).children("ul").css("display","none");', 500);
Another option that works better instead of using getTimeout and such
in jQuery is to use animate(callback) on an already visible
element...
ex:
.mouseout(function(){
$("#main-
Stefan,
Any particular reason why you'd want to do this??
Usually its the opposite... posting form fields normally (usually
easier to interpret by the server-side script) and then returning a
JSON object to jQuery, in which case you can use $.getJSON()
Alex
On Aug 29, 3:19 am, "Stefan Sturm" <
js file?
>
> On Aug 29, 11:04 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
>
> > Alex Weber wrote on 8/29/2008 10:15 AM:
>
> > > i'd rather use packed then minified though :)
>
> > Use minified, not packed. Although a packed file is smaller
--
>
> Your script goes here
>
> ;//----
>
> That way you get a nice visual separation between the scripts, and the extra
> semicolons won't hurt anything.
>
> -Mike
>
> > From: A
Thanks again Mike!
I reckon I have it down to a 'T' now! :)
Just one doubt (sorry i've taken so much of your time already!):
When you say:
"Concatenate all of your scripts into a single file."
Do you mean the entire jquery library as well?
Is this feasible? Like, copy and paste the entire jq
this thread might shed some light on your problem! :)
http://groups.google.com/group/jquery-en/browse_thread/thread/f4277815d73f06ca?hl=en
On Aug 14, 7:50 pm, mickes <[EMAIL PROTECTED]> wrote:
> Can the jquery powerusers shed some light onbestpractices for using
> multiple plugins and or any ext
get executed in the
> order they are written to the document.
>
> It will also cut at least .9 seconds off your page load time, since the
> existing code waits at least .3 seconds after loading each file.
>
> Now, the question of *where* host your .js files and whe
or
2) use google code or some other proper hosting service to host jquery
and plugins
3) gotta work on mts_loader.js
see what i mean now?
it checks for the existence of jquery and once its there loads the
plugins and tests if its there and only then does it load my file
(mts_finan.js)
hope th
rudimentary approach?
Thanks again!
-Alex
On Aug 29, 3:04 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
> Alex Weber wrote on 8/29/2008 10:15 AM:
>
> > i'd rather use packed then minified though :)
>
> Use minified, not packed. Although a packed file is smaller, it's ove
gt;
>
>
> And host the rest of your files on Amazon S3. Let them worry about the
> scaling.
>
> Combine the plugin and the other JS file into a single .JS file and minify
> it.
>
> How big are the JS files and the images?
>
> -Mike
>
> > From: Alex Weber
First off hi!
Here's the scenario:
I have a banner that I'm going to put up on various different
websites. The banner relies on the packed jquery core library, 1
plugin and another simple js file.
Oh, and obviously, I can't host anything on the destination site's
servers.
What's happening is
59 matches
Mail list logo