[jQuery] Re: clickCount..

2007-05-27 Thread phutte
questions, questions, questions... patrik+javascript=false(yet); how to make my popup windows blur()? html head title jQuery clickCount /title link rel=stylesheet type=text/css media=screen href=style.css script type=text/javascript

[jQuery] Problem with jCarousel 0.2.0 in IE tables

2007-05-27 Thread Jens
I'm trying to use your beta 0.2.0 with jcarousel inside a table. Doing this corrupts the table layout in IE 7. I have not tried it in other versions of jcarousel. Below is a minimized example: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

[jQuery] Re: Problem with jCarousel 0.2.0 in IE tables

2007-05-27 Thread Jens
The example shows jquery version 1.1.1, this is a copy/paste problem, I am using jquery 1.1.2 sorry... On 27 Maj, 11:12, Jens [EMAIL PROTECTED] wrote: I'm trying to use your beta 0.2.0 with jcarousel inside a table. Doing this corrupts the table layout in IE 7. I have not tried it in other

[jQuery] Re: Problem with jCarousel 0.2.0 in IE tables

2007-05-27 Thread Jan Sorgalla
Hi On 27 Mai, 11:12, Jens [EMAIL PROTECTED] wrote: I'm trying to use your beta 0.2.0 with jcarousel inside a table. Doing this corrupts the table layout in IE 7. I have not tried it in other versions of jcarousel. it seems that the width of the table cells are calculated before jcarousel has

[jQuery] get the current mouse position

2007-05-27 Thread Alexander Petri
Hi i have to build a custom tooltip how can i get the current x and y mouseposition?

[jQuery] Re: clickCount..

2007-05-27 Thread phutte
OOP's many of my popup-in-background works perfect, not in FireFox though. It pops to a new tab, which is not blurred. If I use other settings, than just 'window.open', like scrollbars=.. width=.. etc, it pops my new win in a new window blurred. So to redefine my question, is there any way to

[jQuery] Re: clickCount..

2007-05-27 Thread phutte
Answer to myself, after searching for the answer if one can blur() tabs in FireFox, the answer seems to be: NO!

[jQuery] Re: get the current mouse position

2007-05-27 Thread andycjw
i am not sure whether jquery has this or not you can check out these articles that explains how to check the mouse position with just javascript (without jquery) http://www.quirksmode.org/js/events_properties.html#position http://www.quirksmode.org/dom/w3c_events.html#mousepos hope this helps

[jQuery] Re: get the current mouse position

2007-05-27 Thread Alexandre Plennevaux
did u try cluetip? HYPERLINK http://examples.learningjquery.com/62/http://examples.learningjquery.com/6 2/ _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Petri Sent: dimanche 27 mai 2007 12:08 To: jQuery (English) Subject: [jQuery] get the current

[jQuery] Re: Problem with jCarousel 0.2.0 in IE tables

2007-05-27 Thread Jens
Hi Jan, That did the trick. Now it works in FireFox, IE7 and Opera. But why does it work better when ul/li is encapsulated into divs? In FF there was no need for the div encapsulation. /Jens On 27 Maj, 12:29, Jan Sorgalla [EMAIL PROTECTED] wrote: Hi On 27 Mai, 11:12, Jens [EMAIL PROTECTED]

[jQuery] Re: addClass and removeClass not working in IE6

2007-05-27 Thread Brandon Aaron
This is an issue with your CSS. IE6 doesn't seem to like the .class#id selector. You might need to rethink your approach. Perhaps keep the unordered list and add the class to the li. That way you can reference each part like this: .class #id Hope that helps. -- Brandon Aaron On 5/26/07,

[jQuery] Image preview like TemplateMonsters.com

2007-05-27 Thread Alfdesign.sk
Hi, Is there any plugin or solution to make image preview like at TemplateMonsters.com

[jQuery] Improved timePicker, time/datePicker demo

2007-05-27 Thread Anders
I've been working on improving Sam Collet's original timePicker. Here is the result: http://labs.perifer.se/timedatepicker/ The demo is a Google Calendar-like time/datePicker. It's far from perfect, most of the issues are with the datePicker though, which for example not yet have support for

[jQuery] Problem with globalEval

2007-05-27 Thread Network Newbie
When the function 'globalEval' is evaluating script source that contains html comments (i.e. !--), it will get 'syntax error'. html comments should be stripped before execution. Example: -script source script language=javascript !-- //alert(typeof WebControls.registerListControl);

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Ⓙⓐⓚⓔ
why do you have !-- comments -- instead of /* comments */ in a script? On 5/27/07, Network Newbie [EMAIL PROTECTED] wrote: When the function 'globalEval' is evaluating script source that contains html comments (i.e. !--), it will get 'syntax error'. html comments should be stripped before

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Matt Stith
The HTML comments are to hide the script from older browsers that dont understand javascript. On 5/27/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: why do you have !-- comments -- instead of /* comments */ in a script? On 5/27/07, Network Newbie [EMAIL PROTECTED] wrote: When the function 'globalEval'

[jQuery] Re: addClass and removeClass not working in IE6

2007-05-27 Thread patcoll
Thanks Brandon, that cleared it up. On May 27, 12:46 pm, Brandon Aaron [EMAIL PROTECTED] wrote: This is an issue with your CSS. IE6 doesn't seem to like the .class#id selector. You might need to rethink your approach. Perhaps keep the unordered list and add the class to the li. That way you

[jQuery] Re: A demo and an optimization question

2007-05-27 Thread Sean Catchpole
I think the problem is not the javascript, but instead the browser. Trying to change the display of a thousand items can cause it to be a little slow. I present to you a small example, that shows javascript can handle many items at once, and since the browser only has to display a few items at

[jQuery] Re: A demo and an optimization question

2007-05-27 Thread David Singleton
Thanks for the tips. Always using element.class in selectors makes sense, I should make it a habbit rather than being lazy. I understand about the idea of ID for a unique instance and classes for repeated types, but this was thrown together rather quickly as a demo, so the semantics aren't

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Ⓙⓐⓚⓔ
The older browsers that jQuery doesn't support? On 5/27/07, Matt Stith [EMAIL PROTECTED] wrote: The HTML comments are to hide the script from older browsers that dont understand javascript. On 5/27/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: why do you have !-- comments -- instead of /* comments */

[jQuery] Re: Problem with globalEval

2007-05-27 Thread RobG
On May 28, 5:10 am, Matt Stith [EMAIL PROTECTED] wrote: The HTML comments are to hide the script from older browsers that dont understand javascript. The use of HTML comments inside script elements hasn't been needed since Navigator 2 or IE 3. I doubt that anyone is still using those

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Matt Stith
No, in HTML, to comment something out and have it not evaluated by the browser, you do !-- COMMENT --. So, a little thing that alot of javascript developers do to hide the javascript from older browers (ones that dont support javascript at all, like cell phone browsers), and make it so that the

[jQuery] Safari append to empty div

2007-05-27 Thread [EMAIL PROTECTED]
well, I've developed an admin system which rely heavely on jQuery. But, safari can't seem to append html to empty div's (or perhaps any div) - is there a fix to this? im doing something like this: var str = 'lorem ipsum'; $(#emptyDiv).append(str); But nothing happens, works in firefox

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Ⓙⓐⓚⓔ
that's much better... it will solve everything, except those old browserwill see // // instead of nothingness. RobG, didn't Nav 2 and IE 3 handle script tags? I thought we were talking about the original couple of browsers that followed 'WorldWideWeb' On 5/27/07, Matt Stith [EMAIL PROTECTED]

[jQuery] Re: Safari append to empty div

2007-05-27 Thread Ⓙⓐⓚⓔ
Safari makes lots of false steps in its efforts at optimization. I always try the webkit version at http://nightly.webkit.org/ If it still croaks, put a nbsp; in the div. On 5/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: well, I've developed an admin system which rely heavely on jQuery.

[jQuery] Re: Safari append to empty div

2007-05-27 Thread Karl Swedberg
If you know the div is empty, and you just want to put a string in it, you could do this instead: $('#emptyDiv').text(str); If you're not sure it's going to be empty, you could try this: var $maybe = $('#emptyDiv'); if $maybe.is(':empty') { $maybe.text(str); } else { $maybe.append(str); }

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Matt Stith
True, but alot of cell phone browsers will show the scripts if its not commented out. On 5/27/07, RobG [EMAIL PROTECTED] wrote: On May 28, 5:10 am, Matt Stith [EMAIL PROTECTED] wrote: The HTML comments are to hide the script from older browsers that dont understand javascript. The use of

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Brandon Aaron
Hmmm I'm curious ... which cell phone browsers will show the script? Do you have or know of any articles on the topic? -- Brandon Aaron On 5/27/07, Matt Stith [EMAIL PROTECTED] wrote: True, but alot of cell phone browsers will show the scripts if its not commented out. On 5/27/07, RobG

[jQuery] Re: Safari append to empty div

2007-05-27 Thread Ⓙⓐⓚⓔ
I tried a simple program to do that in Safari,Webkit, Opera Firefox, it works as advertised. Did I miss something? http://cigar.dynalias.org/plugins/debug/safari.html ?xml version=1.0 encoding=utf-8 ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd;

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Matt Stith
Well i dont know specifically, but im sure at least the older ones do. Any newer phones should hide it, but i dont know any specifics. On 5/27/07, Brandon Aaron [EMAIL PROTECTED] wrote: Hmmm I'm curious ... which cell phone browsers will show the script? Do you have or know of any articles on

[jQuery] Attribute selectors

2007-05-27 Thread Adrian Gheorghe
Hello everyone, In a project, a few weeks ago, I needed support for something like @attr!=val, that is selecting all attributes which don't have a certain value (for example selecting all divs which don't have a certain class). I was wondering if support for something like this is planned, if

[jQuery] Re: Attribute selectors

2007-05-27 Thread Karl Swedberg
Glen's suggestions should work. For classes, the best way is probably to use the class selector, along with not (either as a method or a pseudo-class). So in addition to Glen's examples, you could do this: $('p:not(.myclass)') For other attributes, you can do something like this, too:

[jQuery] Re: PNG background Tiling

2007-05-27 Thread Khurshid
Haved tested tiling yet, but give this a try http://khurshid.com/jquery/iepnghack/

[jQuery] Debugging jQuery 0.2

2007-05-27 Thread Ⓙⓐⓚⓔ
A minor upgrade. a neat feature to help debugging bound events, like click and keyup... plus clicklogger to report back where your users clicked and when! http://jqueryjs.googlecode.com/svn/trunk/plugins/debug/ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ

[jQuery] Re: PNG background Tiling

2007-05-27 Thread Glen Lipka
Didn't seem to work. I changed my strategy though. I put a regular IMG png on the page with a width of 100%. Check it out: http://www.sparkt.com/index.htm This is a crazy strategy I am using the achieve the results. Rather than tiling, I just give them 100% width or height. The fade on the top

[jQuery] Re: Text Button

2007-05-27 Thread james_027
Hi rob, Thanks a lot. Your answers are very helpful. cheers, james On May 23, 4:25 pm, Rob Desbois [EMAIL PROTECTED] wrote: Karl, Any particular reason why you would use a link to click the button to perform the button's task, rather than just disposing of the button and assigning its task