[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-19 Thread Sridhar Kuppalli
In those sites they have mentioned to set some variables in apache. How do that. can my cpanel have that option? On Sun, Oct 19, 2008 at 2:17 AM, Sam Sherlock [EMAIL PROTECTED]wrote: search for mod_deflate on google I use jsMin and cssTidy, others prefer other options 2008/10/18 Sridhar

[jQuery] Re: Problem with imported style in text shadow with jquery

2008-10-19 Thread Yassi
Hi Olaf; Yes ist ok when i insert link... before script but i have the same problem when i input this effect in othe site... screen caps below: http://www.nabble.com/file/p20053925/1.gif http://www.nabble.com/file/p20053925/2.gif Olaf wrote: Yassi schrieb: Hi; I have used this script

[jQuery] a probable bug with keyboard events

2008-10-19 Thread alex bodnaru
hello friends, i ran into a corner case with jquery autocomplete which i'd like to seek a solution for: my system is bilingual (en-he) gnome debian linux, with firefox 3.0.3. with focus on an autocomplete field, i'm switching the keymap to hebrew, using alt-shift. logging the event keyCode to

[jQuery] Re: Jquery tab

2008-10-19 Thread [EMAIL PROTECTED]
I have something like this: Index Members News When you go over one of the above opties you will see different options. When you go over News you will get some news categories, my question can i also make the News tab clicable so it goes to a overview of alle the news, but it also hs to use

[jQuery] Disabling jQuery on printing?

2008-10-19 Thread iantresman
script type=text/javascript src=jquery-1.2.6.min.js media=screen, projection/script I wanted disable jQuery on printing, but added the media tag didn't work for me. Is there a proper way to do it? I also tried disabling a function at printing, which also doesn't work: script

[jQuery] Re: Superfish - Fix to allow custom easing

2008-10-19 Thread Joel Birch
Nicely done - thanks for showing us this. I guess this should be an official part of Superfish considering that that all the other animate() parameters are exposed options. I'll include this in the next update. Thanks again. Joel Birch.

[jQuery] Re: window height

2008-10-19 Thread kevind
thanks !! i'm not an expert on script - but, you've obviously been at it for some time - now i can stop pulling my hair out :) kd On Oct 18, 11:16 pm, Michael Geary [EMAIL PROTECTED] wrote: The problem is the document.write. You can't do that in a .ready() or .load() or any time except when

[jQuery] Re: superfish z-index issue

2008-10-19 Thread Joel Birch
Hi Jess, I guess I have replied too late, but it looks like you solved the problem, so that's great. Hope you made your deadline. Joel Birch.

[jQuery] [Validate]

2008-10-19 Thread Michael
Greetings, I'm running into a problem with the validation plug-in and was wondering if someone can point out the solution to me; I'm sure I have just missed something somewhere. Currently, using the markup below, error messages are showing up below the input field and I would like them to show

[jQuery] using jquery to get at the img data???

2008-10-19 Thread whitewaterbug
I am trying to pull the image displayed in the DOM into an applet that will do some image processing (e.g. blur), show the updated image back in the DOM, and then print. Is there a way in jquery to do this? I found in JSobject, I can get attributes of the image, but I couldn't see how to

[jQuery] Problem with JQuery - Ajax

2008-10-19 Thread Tallu
I am trying to use the ajax functions of JQuery but its not working all the normal functions of jQuery are working as expected.What could i be doing wrong. Thanks!!

[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-19 Thread poncz
You can use http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js it is minified, gzip, and the load is not on your servers. It is a free google ajax service. Enjoy,

[jQuery] Resetting the html in a div affects the behaviour of event handling?

2008-10-19 Thread Mario Callisto
Hi all, I am a newbie (thank you in advance for yr patience) and stumbled upon an unclear behaviour (to me). I have the following sequence: 1) create an HTML object 'whatever' containing also the following 'test' link a href=# class=footest/a 2) set it to be showed in the available div

[jQuery] Re: strange bytes marker at head of jquery.blockUI.js?

2008-10-19 Thread Mike Alsup
You're right, Ricardo. The file was saved in UTF-8. Mike On Oct 19, 12:14 am, ricardobeat [EMAIL PROTECTED] wrote: It's probably the Unicode 'BOM' (byte order marker). It creeps in when you save utf-8 files through Notepad or some other editors. Most HTML editors either show it visually at

[jQuery] Re: [Superfish] Close current after delay

2008-10-19 Thread Joel Birch
Hi Dom, Rather than use the pathClass option for this, you can manually show all '.current' submenus on document ready, then set a timer to close them after a couple of seconds. Below is your initialisation code modified as described. I've tested it and it seems to work right - unless I have

[jQuery] Re: Slide one div off left, expand another in one click?

2008-10-19 Thread Krys
anyone? On Oct 18, 8:59 am, Krys [EMAIL PROTECTED] wrote: I have a page to code where there will be two divs side by side. The left one will contain navigation, and a button. Clicking this should slide the dive off the page to the left, leaving just a button. At the same time, the

[jQuery] Re: Problem with JQuery - Ajax

2008-10-19 Thread Mike Alsup
I am trying to use the ajax functions of JQuery but its not working all the normal functions of jQuery are working as expected.What could i be doing wrong. Thanks!! There's no way to tell what you're doing wrong if you don't show us what you're doing. Please post an example or a link.

[jQuery] Re: [Superfish] Close current after delay

2008-10-19 Thread [EMAIL PROTECTED]
Superbe! That's exactly what I wish. Thx for the help. Dom On Oct 19, 1:32 pm, Joel Birch [EMAIL PROTECTED] wrote: Hi Dom, Rather than use the pathClass option for this, you can manually show all '.current' submenus on document ready, then set a timer to close them after a couple of

[jQuery] use .each? hover over list items to change contents of div

2008-10-19 Thread yaayme
So, I have a ul list like so: ul id=fruits li id=appleapple/li li id=orangeorange/li li id=grapegrape/li /ul I also have a div that is currently displaying an image of an apple using a background image: div id=fruit-display/div where #fruit-display {background:

[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-19 Thread Sridhar Kuppalli
Thanks man, Its really a good one, my request time for jquery library has been reduced by 50%. In the similar way I have to do for other js files also. Is there any way to achive gziping? I cannot configure apache. Regards Sridhar K N On Sun, Oct 19, 2008 at 3:34 PM, poncz [EMAIL

[jQuery] Re: Resetting the html in a div affects the behaviour of event handling?

2008-10-19 Thread Ca-Phun Ung
Give livequery a go - http://docs.jquery.com/Plugins/livequery On Sun, Oct 19, 2008 at 6:08 PM, Mario Callisto [EMAIL PROTECTED]wrote: Hi all, I am a newbie (thank you in advance for yr patience) and stumbled upon an unclear behaviour (to me). I have the following sequence: 1) create an

[jQuery] Re: JQuery Selector and Java Script Variable

2008-10-19 Thread RotinPain
@ Balazs Endresz: You're right, and Ricardobeat has given the good answer ;) Even if i'm working with Firebug I didn't notice this behavior between value and text. @Remy: yeah! I couldn't manage to put xml in jsbin. I followed the ajax video without no success. Any view where i pasted the xml

[jQuery] Re: Slide one div off left, expand another in one click?

2008-10-19 Thread Mike Alsup
On Oct 19, 8:09 am, Krys [EMAIL PROTECTED] wrote: anyone? On Oct 18, 8:59 am, Krys [EMAIL PROTECTED] wrote: I have a page to code where there will be two divs side by side. The left one will contain navigation, and a button. Clicking this should slide the dive off the page to the

[jQuery] Re: a probable bug with keyboard events

2008-10-19 Thread Dan Switzer
Alex, What keyboard event are you logging? Some events are only captured by a keypress event and will be ignored by the keydown event. -Dan On Sun, Oct 19, 2008 at 5:12 AM, alex bodnaru [EMAIL PROTECTED]wrote: hello friends, i ran into a corner case with jquery autocomplete which i'd like

[jQuery] Re: using jquery to get at the img data???

2008-10-19 Thread Ca-Phun Ung
img id=myImage src=logo.gif / To get the image current image location: $('#myImage').attr('src'); To update DOM with new image use: $('#myImage').attr('src', [new image location]); On Sun, Oct 19, 2008 at 3:30 PM, whitewaterbug [EMAIL PROTECTED]wrote: I am trying to pull the image displayed

[jQuery] Re: use .each? hover over list items to change contents of div

2008-10-19 Thread Mike Alsup
ul id=fruits         li id=appleapple/li         li id=orangeorange/li         li id=grapegrape/li /ul I also have a div that is currently displaying an image of an apple using a background image: div id=fruit-display/div where #fruit-display {background:

[jQuery] [tooltip] fixing the tooltip position relative to tooltipped element's position, not mouse position on event firing

2008-10-19 Thread RTW
Hi, So far, tooltip is working great. Only one problem - currently the tooltip's position is offset from the mouse position when the mouseover event fires. I'd like to fix the tooltip's position as always relative to tooltipped element's position (currently an image - I'd like the tooltip to

[jQuery] Re: Slide one div off left, expand another in one click?

2008-10-19 Thread Krys
wow - thanks Mike! On Oct 19, 7:40 am, Mike Alsup [EMAIL PROTECTED] wrote: On Oct 19, 8:09 am, Krys [EMAIL PROTECTED] wrote: anyone? On Oct 18, 8:59 am, Krys [EMAIL PROTECTED] wrote: I have a page to code where there will be two divs side by side. The left one will contain

[jQuery] tablesorter reset?

2008-10-19 Thread Dr3adl0ck
I have a table that dynamically changes columns/headers and uses the tablesorter plugin. I'd like to reset my tablesorter, so that I can assign different sorting options for these new headers. I tried using unbind(), and then re-instantiating, but I get an error: cache.normalized[0] is

[jQuery] Re: a probable bug with keyboard events

2008-10-19 Thread alex bodnaru
hi dan, thanks for your answer. i'm logging the keydown event on the input in the plugin autocomplete. the keydown is there to react to movement, return and delete, and in the default condition it may check for eventual changes in the input field. but, pressing of a hebrew character

[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-19 Thread Karl Swedberg
Sridhar, Are you using apache? Or are you using IIS? If apache, you can create a .htaccess file and add this line to it: AddOutputFilterByType DEFLATE text/javascript text/css application/ javascript application/x-javascript If IIS, please take a look at the link I posted earlier.

[jQuery] Re: a probable bug with keyboard events

2008-10-19 Thread alex bodnaru
hello dan, everybody. i have posted yesterday on this list a few improvements to autocomplete for your review, which i'd be glad to see committed if ok. as it turned out, the work was more delicate, but with your expert guidance i got the hoped result. here is jquery.autocomplete.js, as

[jQuery] Re: [tooltip] fixing the tooltip position relative to tooltipped element's position, not mouse position on event firing

2008-10-19 Thread Jörn Zaefferer
Check out clueTip, it supports positioning relative to the element. Jörn On Sun, Oct 19, 2008 at 3:43 PM, RTW [EMAIL PROTECTED] wrote: Hi, So far, tooltip is working great. Only one problem - currently the tooltip's position is offset from the mouse position when the mouseover event fires.

[jQuery] Re: Jquery change event

2008-10-19 Thread Dave Methvin
How do I get jquery's change event you fire per letter typed into a text box? You can use the keyup event. If there are both text boxes and other elements like radio buttons, you could attach the handler to both events: $('input').bind(change keyup, function() { alert('you

[jQuery] Re: Jquery hide and fadeout are not the same

2008-10-19 Thread Dave Methvin
While Hide not only hides the img element it also hides the li element. Do you have a page that demonstrates the problem?

[jQuery] Problem with DIV CONTENT show()

2008-10-19 Thread PatricioTarantino
Hello everybody! First, I am sorry for my poor english! I am from Argentina. Well, I have the next problem in IE7, it works fine in FF. I have DIVs, they appear when some IMGs have a mouseover or when a A (link) has a click. I use show() to make them appear (or dissapear, because they are 1in

[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-19 Thread Rodrigo Paiva
You can gzip the response on the fly. You can use ob_* functions and gzcompress() to send the content gzipped. On Oct 19, 11:01 am, Sridhar Kuppalli [EMAIL PROTECTED] wrote: Thanks man, Its really a good one, my request time for jquery library has been reduced by 50%. In the similar

[jQuery] Re: Jquery tab

2008-10-19 Thread Klaus Hartl
Try to attach a click handler before tabifying... $(function() { $('#overview a').click(function() { location.href = 'url_to_overview'; return false; }); $(#nieuws ul).tabs( { event: 'mouseover' }); }); (assumes that that particular tabs li element has an id

[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-19 Thread Angel Marquez
http://www.ee.surrey.ac.uk/Teaching/Unix/unix6.html download cygwin. http://www.cygwin.com/ On Sat, Oct 18, 2008 at 11:42 AM, Sridhar Kuppalli [EMAIL PROTECTED] wrote: Hi All, I am a PHP programmer. I dont have access to the htdocs or apache of my web hosting. *Can we gzip JS and CSS

[jQuery] Looking for a way to pause (w/o using setTimeout) in an animate() function which is in the second...

2008-10-19 Thread rob.robb.ns
...part of a hover() function. Whew. SO, I'll post the code tomorrow (I'm not at work right now). Basically, I am animating a little tab rising and falling upon mouse rollover. I'm comfortable with hover() and its dual function firing (mouseon and mouseoff {miyagi-like there...]) and I wouldn't

[jQuery] Re: Best practices for including Jquery

2008-10-19 Thread Enano
Hello, I don't know if my way would be called best practices but definetly works as expected. What I do is whenever I need a fancy feature which needs one or two plugins, I write a function to start it, that function checks if the plugin js code was already loaded, else it blocks the interface

[jQuery] Re: Disabling jQuery on printing?

2008-10-19 Thread ricardobeat
The media attribute is only for CSS files, not scripts... scripts never run when printing. On Oct 19, 9:25 am, iantresman [EMAIL PROTECTED] wrote: script type=text/javascript src=jquery-1.2.6.min.js media=screen, projection/script I wanted disable jQuery on printing, but added the media tag

[jQuery] Re: Close current after delay

2008-10-19 Thread [EMAIL PROTECTED]
If I wish add a fade out to close the menu, how I must do that? Regards, Dom On Oct 19, 2:18 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Superbe! That's exactly what I wish. Thx for the help. Dom On Oct 19, 1:32 pm, Joel Birch [EMAIL PROTECTED] wrote: Hi Dom, Rather than use

[jQuery] Re: Jquery change event

2008-10-19 Thread Ronn Ross
Dave, Thank you that worked great. Is there away to find out what specific element is firing the event. For example I would like to know the 'id' of the element that is currently being type in. Thanks again, Ronn On Sun, Oct 19, 2008 at 12:24 PM, Dave Methvin [EMAIL PROTECTED]wrote: How do

[jQuery] Re: Jquery change event

2008-10-19 Thread BB
Try: $('input').bind(change keyup, function() { alert('you changed or typed something'); alert('Input ID:' + this.id); // or $(this).attr(id) }); On 19 Okt., 21:26, Ronn Ross [EMAIL PROTECTED] wrote: Dave, Thank you that worked great. Is there away to find out what specific element is

[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-19 Thread ricardobeat
Probably your server is not setting the headers for JS files. Try adding this to your .htaccess, right after SetOutputFilter DEFLATE, this way you'll be asking for compression in two ways, if this doesn't work you should contact your hosting company: AddOutputFilter DEFLATE css js AddType

[jQuery] Re: Access to restricted URI denied code: 1012

2008-10-19 Thread [EMAIL PROTECTED]
I used some $.getScript() to load myScripts after page loaded Now I use them all in a file and i include it to main page ( html) I did'nt get error any more! ;) thanks my self ! On Oct 16, 6:38 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I don't know why my page have error yet! You can go  

[jQuery] Re: Showing 1 post after being buried.

2008-10-19 Thread ricardobeat
If you're clicking the p itself you can use $('p').click(function(){ $(this).show(); }); On Oct 18, 3:39 am, Miraploy [EMAIL PROTECTED] wrote: Hello. jquery newbie here. I'm trying to build a digg-like bury- comment feature with drupal. I got the comments to bury after a certain number of

[jQuery] Re: some doubt

2008-10-19 Thread ricardobeat
I don't get what's the issue on nº 1, could you try to make it more clear? Are you using jQuery v1.2.6? Regarding the second question, $('#id ~.class') $('#id ~ .class') $('#id ~.class') all return exactly the same results here. $('#id ~ class') returns 0 because ovbiously there are no

[jQuery] Re: Looking for a way to pause (w/o using setTimeout) in an animate() function which is in the second...

2008-10-19 Thread ricardobeat
You can indeed use the animate() function's callback: $('#tab').hover( function(){ //mouseover $(this).css('backgroundImage','newImage').stop().animate({ ... }, 200); }, function(){ //mouseout $(this).stop().animate({ ... },200,function(){ $ (this).css('backgroundImage','oldImage') });

[jQuery] Re: using jquery to get at the img data???

2008-10-19 Thread whitewaterbug
I believe this would require a 2nd download of the image so that it is within the applet. I am trying to get the actual image data into the applet through javascript to applet communication or having the applet access the DOM directly. Since the image data is downloaded as the HTML is being

[jQuery] How to address JSON data once returned with getJSON ?

2008-10-19 Thread smallcog
Hello, I'm retrieving JSON data from my own domain but don't understand how to access the data which is returned, I can see it from firebug. In the example below I want to create a list of dates My code is : !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/ TR/html4/strict.dtd

[jQuery] Re: How to address JSON data once returned with getJSON ?

2008-10-19 Thread Mike Alsup
({                 electricity: [                         {                                 location:Toulouse,                                 supplier:Enercoop,                                 readings:[                                         {when :20080101,                            

[jQuery] Re: a probable bug with keyboard events

2008-10-19 Thread alex bodnaru
don't tell me i forgot to attach the file ;) On Sun, Oct 19, 2008 at 18:15, alex bodnaru [EMAIL PROTECTED] wrote: hello dan, everybody. i have posted yesterday on this list a few improvements to autocomplete for your review, which i'd be glad to see committed if ok. as it turned out, the

[jQuery] Simple AJAX Question

2008-10-19 Thread OscarGodson
I have searched the web over and over and I can't figure out how to do this. I know jQuery very, very well, but I just haven't used AJAX before. All I want to do is simply When someone clicks a li I want to get its text() Use that text as var name = $(this).text(); Use name as the row (var

[jQuery] Only Fire Mouseover If Not Already Active

2008-10-19 Thread QuickScriptz
Hey, I have a row of icons that each have a mouseover function. I'm using the drop animation to produce a popup below each icon on mouseover of the icon. The problem is that the drop animation makes the popup flow down over top of the icon and then it stops below the icon. That being said,

[jQuery] Re: Multiple JQuery Bottleneck

2008-10-19 Thread dvdavid2001
Hi John Resig, I have been able to simulate the problem in the simple process. I have one file called testJQuery.html which once the document has been completely loaded, it will call three JQuery method to call AJAX functions i.e. loadProcessOne(), loadProcessTwo() and loadProcessThree().

[jQuery] Re: a probable bug with keyboard events

2008-10-19 Thread alex bodnaru
backspace support added. alex On Mon, Oct 20, 2008 at 02:08, alex bodnaru [EMAIL PROTECTED] wrote: don't tell me i forgot to attach the file ;) On Sun, Oct 19, 2008 at 18:15, alex bodnaru [EMAIL PROTECTED] wrote: hello dan, everybody. i have posted yesterday on this list a few improvements

[jQuery] Re: Multiple JQuery Bottleneck

2008-10-19 Thread dvdavid2001
Hi John Resig, Unfortunately, I was not able to upload the file via Nabble...I think that there must be a firewall in my company that blocks the traffic. However, I managed to upload it via 3rd party website. You can see my codes at http://www.yousendit.com/download/Y2orU2VnNDR3NUx2Wmc9PQ

[jQuery] [autocomplete]

2008-10-19 Thread itaymesh
Hi, This a wondeful plugin. I tried to use it with the Hebrew language with not much of a success. Is there a solution to this issue? Thanks a lot Itaymesh

[jQuery] Re: [autocomplete]

2008-10-19 Thread alex bodnaru
hi itay, it works for me, and i made a few additions, partly hebrew related. here is my copy, and a few more will come. alex On Mon, Oct 20, 2008 at 01:15, itaymesh [EMAIL PROTECTED] wrote: Hi, This a wondeful plugin. I tried to use it with the Hebrew language with not much of a success.

[jQuery] how can i get the direction of an html element?

2008-10-19 Thread alex bodnaru
hello friends, in my case, the direction is not being set through the dir attribute, but it's inherited from the parents of the widget. how can i get this attribute in jquery? best regards, alex

[jQuery] Re: some doubt

2008-10-19 Thread 汪杰
when you test $(.test ~ div div) , you'll see what i mean