[jQuery] Re: How to manipulate background position

2007-05-28 Thread Karl Rudd
The first example you give works for me. If it's complaining about a missing ")" then the error is elsewhere. The second is indeed invalid JavaScript. This: background-position Is the same as this: background - position So you should either use quotes around the CSS property (like you

[jQuery] Re: Trouble with validate plug-in

2007-05-28 Thread Jörn Zaefferer
[EMAIL PROTECTED] wrote: Aha! Thanks Jorn! btw - is there a problem with your comments system? No, none that I'm aware of. And I got new comments since your first mail. -- Jörn Zaefferer http://bassistance.de

[jQuery] How to manipulate background position

2007-05-28 Thread joomlafreak
I have tried many ways but it seems this is not possible. The css function does not allow me to use two values for background position with a space between the values and gives an error that ")" is missing when I use this css("background-position","0 50%"). Even if I use this css({background-po

[jQuery] Re: How do i remove an event?

2007-05-28 Thread [EMAIL PROTECTED]
Thanks Erik, But how do i rebind something which has been unbound? Erik Beeson wrote: How about: $('div#topLineHover').one('mouseover', function() { $('#topLine').slideDown('slow'); }); Or: $('div#topLineHover').bind('mouseover', function() { $('#topLine').slideDown('slow

[jQuery] Re: How do i remove an event?

2007-05-28 Thread Erik Beeson
How about: $('div#topLineHover').one('mouseover', function() { $('#topLine').slideDown('slow'); }); Or: $('div#topLineHover').bind('mouseover', function() { $('#topLine').slideDown('slow'); }); And: $('div#topLineHover').unbind('mouseover'); --Erik On 5/28/07, [EMAIL PROTECT

[jQuery] Re: CSS3 support

2007-05-28 Thread pd
Thanks guys. On May 29, 3:06 am, "Brandon Aaron" <[EMAIL PROTECTED]> wrote: > We don't support any declarations that the browser itself doesn't > support. However, there are plugins (lots of them) that solve lots of > different problems. There are several plugins that handle rounded > corners. He

[jQuery] Re: Metadata plugin

2007-05-28 Thread Will Arp
having an issue with svn metadata plugin if compressed with packer 3.0 beta 8 or beta 9. code below will return undefined, works fine with uncompressed version. This is a p $.meta.setType("attr", "data"); alert( $("#one").eq(0).item_label ); thank you, have a great day! -will On 28-mag-0

[jQuery] Re: < id=__ie_init defer=true src=//:>

2007-05-28 Thread John Resig
Do you think you could find a test case for this? We were under the assumption that this method was fairly rock-solid, but what you describe sounds like a reproducible flaw. If you can make one, please post it to the bug tracker. --John On 5/28/07, Michael Geary <[EMAIL PROTECTED]> wrote: > F

[jQuery] Re: Trouble with validate plug-in

2007-05-28 Thread [EMAIL PROTECTED]
Aha! Thanks Jorn! btw - is there a problem with your comments system? Jörn Zaefferer wrote: fambizzari wrote: Anyone have any idea where we've gone wrong? No worries! The plugin offers two ways for specifying validation rules. 1. Plugin options: $("#myform").validate({ rules {

[jQuery] Re: < id=__ie_init defer=true src=//:>

2007-05-28 Thread Michael Geary
> From: Diego A. > > In IE (6 and 7) the compressed version of jQuery is adding > the following text to the document: > < id=__ie_init defer=true src=//:> > > I know it's related to the following code (from line 1493): > // Only works if you document.write() it > doc

[jQuery] Re: Autocomplete error

2007-05-28 Thread Jean Nascimento
sorry for my ignorance i test quickly in my job. me and my stupidies On 5/28/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Diego A. wrote: > Sounds like you haven't included the dimensions plugin. > http://www.google.co.uk/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-14,GGGL:en&q

[jQuery] < id=__ie_init defer=true src=//:>

2007-05-28 Thread Diego A.
In IE (6 and 7) the compressed version of jQuery is adding the following text to the document: < id=__ie_init defer=true src=//:> I know it's related to the following code (from line 1493): // Only works if you document.write() it document.write("<\/script>"); I f

[jQuery] Re: RFC: jQuery Figures/Cutlines plugin

2007-05-28 Thread Su
On 5/28/07, Michael Geary <[EMAIL PROTECTED]> wrote: 1) Get in the habit of using "var" on all your variable assignments, so you don't create global variables accidentally. On the list. I was at one point working with two copies of this(long story), and it was done on what is obviously the ot

[jQuery] Re: RFC: jQuery Figures/Cutlines plugin

2007-05-28 Thread Michael Geary
Very nice! A couple of suggestions... 1) Get in the habit of using "var" on all your variable assignments, so you don't create global variables accidentally. 2) Consider using one of the several DOM creator plugins. You can replace code like this: figureFrameInner = document.createElement('d

[jQuery] Re: Menu not working in Firefox 2.0

2007-05-28 Thread warlock24
i found error - missing tag in two links :P thx jake :)

[jQuery] RFC: jQuery Figures/Cutlines plugin

2007-05-28 Thread Su
'lo, all. My interests often fall into the range of enabling more "traditional"(to print) structures/conventions and typography on the web, so that's where my first shot at a plugin went. It's not particularly impressive in any programming sense, but I'm fond of it. See here: http://pioindustries

[jQuery] Re: WYMeditor hiccups

2007-05-28 Thread Devin Torres
Thanks Olaf, that was one of my suspicions, but I'm glad you saw it. I'll see what I can do. On 5/28/07, Olaf Bosch <[EMAIL PROTECTED]> wrote: Devin Torres schrieb: > > I do, indeed: > > src="/static/js/jquery-latest.pack.js"> > Preview Thats must be crash, sorry, no idea what to do is. -

[jQuery] Treeview Questions

2007-05-28 Thread Brad Perkins
I've been looking at the Treeview Plugin and have a few questions. (1) When a tree is expanded I would like to style a hovered or clicked li. The problem I'm having is that all li's in the tree get the style. I have tried to us stopPropagation and return false but neither solve the problem. (2)

[jQuery] Re: OOP's *this* messing up $().each()'s *this*

2007-05-28 Thread [EMAIL PROTECTED]
Works great, thanks

[jQuery] Re: Menu not working in Firefox 2.0

2007-05-28 Thread Ⓙⓐⓚⓔ
firebug (http://getfirebug.com) show that you're mucking with the dom around there, Artykuły Hasła w GG Humor O niemcach

[jQuery] Re: Improved timePicker, time/datePicker demo

2007-05-28 Thread Anders
Nice plugin, very useful. What exactly are the differences to Sam's orginal (without looking at the original...)? Thanks! Not 100% sure on these (Sam, correct me if I'm wrong), but should be mostly correct: * Scrolls to the entered time * Scrolls to the nearest time if not in the list, e.g 05

[jQuery] Re: Autocomplete error

2007-05-28 Thread Jörn Zaefferer
Diego A. wrote: Sounds like you haven't included the dimensions plugin. http://www.google.co.uk/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-14,GGGL:en&q=jquery+dimensions Yep. Dependencies are all listed on the plugin page: http://bassistance.de/jquery-plugins/jquery-plugin-auto

[jQuery] Re: Jorn Form Validation help - how to know when a select field is selected

2007-05-28 Thread Jörn Zaefferer
Web Specialist wrote: Hi all I have a dependent validation routine with Jorn Validation Form plugin. Works like a charm. But I need to validate dependent fields when a select field option is "selected". Looks like wife:{required: function() {return $("[EMAIL PROTECTED]

[jQuery] Re: Menu not working in Firefox 2.0

2007-05-28 Thread Ⓙⓐⓚⓔ
Firefox 2 shows uncaught exception: Permission denied to call method XMLHttpRequest.open an attempt to do ajax from another server. Humor show "Różne dowcipy zamieszczone z premedytacją aby ośmieszać ludzi :)" On 5/28/07, warlock24 <[EMAIL PROTECTED]> wrote: Forgot include url sorry :D :D :D

[jQuery] Re: Metadata plugin

2007-05-28 Thread Jörn Zaefferer
howard chen wrote: anyone can help? It looks like you are missing the DOM-ready code. In addition, if you use an attribute other then class there is no need to add curly brackets. data="item_id:1, item_label:'Label'" should work. -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: Menu not working in Firefox 2.0

2007-05-28 Thread Ⓙⓐⓚⓔ
the misplacement looks like a css error. On 5/28/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: Firefox 2 shows uncaught exception: Permission denied to call method XMLHttpRequest.open an attempt to do ajax from another server. Humor show " Różne dowcipy zamieszczone z premedytacją aby ośmieszać ludzi :

[jQuery] Re: Radio button validation

2007-05-28 Thread Jörn Zaefferer
Oddish wrote: Thanks for the response. I went with the first option and placed a custom error label manually in the HTML, and it works great. Ok, great. -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: Improved timePicker, time/datePicker demo

2007-05-28 Thread Jörn Zaefferer
Anders wrote: 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 hav

[jQuery] Re: Trouble with validate plug-in

2007-05-28 Thread Jörn Zaefferer
fambizzari wrote: Anyone have any idea where we've gone wrong? No worries! The plugin offers two ways for specifying validation rules. 1. Plugin options: $("#myform").validate({ rules { firstname: { 4required: true } } }); 2. Metadata: $("#myform").validat

[jQuery] Re: Menu not working in Firefox 2.0

2007-05-28 Thread warlock24
Forgot include url sorry :D :D :D http://warlock24.googlepages.com/index.html# On 28 Maj, 22:09, warlock24 <[EMAIL PROTECTED]> wrote: > hi, > > could someone can tell me why menu on my page not working properly in > firefox 2.0 (two last items: "Humor" and "Kontakt")? On ie and opera > everythin

[jQuery] Re: Masked Input Field

2007-05-28 Thread Jörn Zaefferer
Chris W. Parker wrote: On Friday, May 25, 2007 9:50 AM Jörn Zaefferer <> said: Masked-input gives you visual hints of the expected input and its very easy to learn that you don't have to enter any delimiters. See Steve Krug's book called "Don't Make Me Think". The less learning a use

[jQuery] Re: Autocomplete error

2007-05-28 Thread Diego A.
Sounds like you haven't included the dimensions plugin. http://www.google.co.uk/search?sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-14,GGGL:en&q=jquery+dimensions Jean Nascimento wrote: > Anyone have problems with the autocomplete plugin from bassistance? > > jQuery(input).offset is not a f

[jQuery] Re: OOP's *this* messing up $().each()'s *this*

2007-05-28 Thread Brandon Aaron
In this particular snippet you just need to reference mainvar instead of this.mainvar. ... $(this).html(mainvar[_i]); ... If you declared mainvar like this: ... this.mainvar = new Array("example", "array"); ... Then you would just need to create a reference to the original 'this' object to ac

[jQuery] Re: OOP's *this* messing up $().each()'s *this*

2007-05-28 Thread arnaud sellenet
You can declare a reference to your main object. It will be usable in all deeper scopes : function classname() { var mainvar =new Array("example","array"); var myreference = this; this.functionname = function() { $('td.number').each(function(_i) {

[jQuery] Autocomplete error

2007-05-28 Thread Jean Nascimento
Anyone have problems with the autocomplete plugin from bassistance? jQuery(input).offset is not a function [Break on this error] var offset = jQuery(input).offset({scroll: false, border: false}); In this line: var offset = jQuery(input).offset({scroll: false, border: false}); After the firs

[jQuery] OOP's *this* messing up $().each()'s *this*

2007-05-28 Thread [EMAIL PROTECTED]
Confusing title, but whatever. So basically I'm working on my first OOP script, and I just ran into a bit of trouble while trying to reiterate over an amount of 's, using each() function classname() { var mainvar =new Array("example","array"); this.functionname = function()

[jQuery] Menu not working in Firefox 2.0

2007-05-28 Thread warlock24
hi, could someone can tell me why menu on my page not working properly in firefox 2.0 (two last items: "Humor" and "Kontakt")? On ie and opera everything is ok :P

[jQuery] Re: jQuery dimScreen

2007-05-28 Thread MikeR
Not sure why I didn't think of that, Glen! Thanks much :). On May 28, 1:41 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > You could just make > > at the end of your page. > > Then call $("overlay").fadeTo("slow",0.5) > > This will fade it on over your whole screen. Make sure body and html have >

[jQuery] Re: jQuery dimScreen

2007-05-28 Thread Glen Lipka
You could just make at the end of your page. Then call $("overlay").fadeTo("slow",0.5) This will fade it on over your whole screen. Make sure body and html have height: 100%. I did this yesterday here: http://www.sparkt.com/index.htm (Click the first image (top-left) to see the fade In Glen

[jQuery] Re: Attribute selectors

2007-05-28 Thread Adrian Gheorghe
In that project I did manage to get the thing going. What I was trying to say is that at first I did try to search for a negating operator and I was surprised to see none was available. To be honest, I didn't try Karl's solution, that is using something like $(':not([EMAIL PROTECTED])') because I

[jQuery] Re: jQuery dimScreen

2007-05-28 Thread Sean Catchpole
While I'm not really sure why this code isn't working, I can recommend that you give thickbox a try: http://jquery.com/demo/thickbox/ You should be able to produce the same result. ~Sean

[jQuery] Re: tableFilter Beta 2 is now live

2007-05-28 Thread Michael Haggerty
Is there a way to get a straight up download of tableFilter? I realize it is in beta but would like to use what's there now in an internal project. I have tried pulling scripts out of the demo page, but the scripts are erroring out when I try to put them in my project. Using jquery 1.1.2. Thank y

[jQuery] Event binding for both body.click AND body.change?

2007-05-28 Thread Kim Johnson
Hi folks, Quite awhile back, Karl pointed out to me the fantastic article about event binding for ajax. I've since implemented the following function $('body').click(function(e) { if ($(e.target).is('img.closebutton')) { var attribute = "close"; buttons($(e.target), attribute);

[jQuery] Re: Jorn Form Validation help - how to know when a select field is selected

2007-05-28 Thread Jean Nascimento
input:selected is the pseudo class for this ;D and input:checked is for the radio box On 5/28/07, Web Specialist <[EMAIL PROTECTED]> wrote: Hi all I have a dependent validation routine with Jorn Validation Form plugin. Works like a charm. But I need to validate dependent fields when a select

[jQuery] Re: Question about scroll in dimensions plugin

2007-05-28 Thread Brandon Aaron
Very cool! Thanks for keeping us in the loop. :) -- Brandon Aaron On 5/28/07, Wizzud <[EMAIL PROTECTED]> wrote: Brandon, just an update in case you are interested. I've made a few changes to the YUI visual test page to try and find out where YUI was going wrong in Firefox. My test page can n

[jQuery] Problem with maskedinput + load

2007-05-28 Thread Jean Nascimento
I´m passing a input value with load function and this ionput with mask dont send any value but without works normal, who know why?? and i already tried with #id of input //mask na consulta de os $("#os_id").maskedinput("", " "); //consulta OS $

[jQuery] Re: CSS3 support

2007-05-28 Thread Brandon Aaron
We don't support any declarations that the browser itself doesn't support. However, there are plugins (lots of them) that solve lots of different problems. There are several plugins that handle rounded corners. Here is one of them: http://www.malsup.com/jquery/corner/ -- Brandon Aaron On 5/28/0

[jQuery] jQuery dimScreen

2007-05-28 Thread MikeR
http://docs.jquery.com/Plugins/dimScreen#Example I'm having difficulty getting this to work. It seems pretty straight- forward to me... I took the example and tried it via Firebug, but nothing happened. Any thoughts?

[jQuery] Jorn Form Validation help - how to know when a select field is selected

2007-05-28 Thread Web Specialist
Hi all I have a dependent validation routine with Jorn Validation Form plugin. Works like a charm. But I need to validate dependent fields when a select field option is "selected". Looks like wife:{required: function() {return $("[EMAIL PROTECTED]'maried_single']").filter('[E

[jQuery] NEWS: Pt 6 of the My First ExtJS DataGrid Series

2007-05-28 Thread Rey Bango
Steve "Cutter" Blades has released the sixth part of his "My First ExtJS DataGrid" series. He's using the jQuery bridge in his examples which is very cool. Be sure to check it out: http://blog.cutterscrossing.com/index.cfm/2007/5/26/My-First-ExtJS-DataGrid-Pt-6-The-Grid Rey... -- BrightLig

[jQuery] Re: History/Remote - jQuery Plugin

2007-05-28 Thread Klaus Hartl
Mandy Singh wrote: Thank you Klaus. All my major issues have been solved including writing a pagination model on top of it and handling the highlighting of the active link (refresh wasn't being taken care of by your library). So, only one thing remains - the double request that sometimes happ

[jQuery] Metadata plugin

2007-05-28 Thread howard chen
Hello, I don't know why my example on metadata plugin won't work, in IE7,nothing has been show up...(no error) Source Code: == http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Demo This is a p $.meta.setType("attr", "data"); alert(

[jQuery] jQuery plugin structure help

2007-05-28 Thread boermans
Hi all, I'm attempting to take the next step into my understanding of jQuery (and JavaScript for the matter) by putting together a simple plugin. Although all the bits are in place; I'm having trouble bringing it all together in a satisfactorily elegant package. This is what I have so far: http:

[jQuery] Re: get the current mouse position

2007-05-28 Thread Giant Jam Sandwich
This is one I'm using now. It gives you access to all the properties as a part of a "doc" object. The getMouseCoord function returns an array, with the X and Y calculated. $(function(){ doc = function(){ if (self.innerHeight) { doc.pageYOffset = self.pageYOffset; doc.p

[jQuery] Re: PNG background Tiling

2007-05-28 Thread andycjw
I recently had a similar problem, that the transparent png doesn't really get transparent when layered on top of background, it shows as solid background color instead I fixed it with something like this, and it works $(document).ready( function() { var bgobj = document.getElemen

[jQuery] Re: compressed blockui

2007-05-28 Thread Mike Alsup
Thanks for the feedback, Frank. The semi-colon has been added. Mike On 5/28/07, dfd <[EMAIL PROTECTED]> wrote: i've downloaded blockui. Nice work, but it want not to be compressed because of a missing colon on line 199. Mike, maybe you can fix it up? Regards, frank aka df

[jQuery] Re: Question about scroll in dimensions plugin

2007-05-28 Thread Wizzud
Brandon, just an update in case you are interested. I've made a few changes to the YUI visual test page to try and find out where YUI was going wrong in Firefox. My test page can now switch between dimensions and the YUI adapter, but more interestingly it can disable the borders on the target div

[jQuery] Re: Attribute selectors

2007-05-28 Thread besh
Hello Adrain, have you tried something like this? $('div').not('.myClass') This will get all divs on a page except those with class .myClass. Bohdan

[jQuery] Re: function are getting called twice

2007-05-28 Thread Jean Nascimento
i dont have problems with that, how u call the website2?? Try dont use the same id for the elements or something like that. On 5/28/07, bingo <[EMAIL PROTECTED]> wrote: hi.. I tried some debugging and found that IE7 is not having any problem with it..the problem is with firefoxthis defini

[jQuery] Re: CSS3 support

2007-05-28 Thread Jean Nascimento
I thinks is only the selectors by now, couze want the jquery implement CSS3 declarations if the browsers dont support?? On 5/28/07, pd <[EMAIL PROTECTED]> wrote: Hi All I know I'm dreaming and it's probably not realistic but on the front of the jQuery site is the following proclamation: "CS

[jQuery] Re: WYMeditor hiccups

2007-05-28 Thread Olaf Bosch
Devin Torres schrieb: I do, indeed: src="/static/js/jquery-latest.pack.js">
...

In the PopUp this Code are in the haed so:
href='/static/js/wymeditor/s

[jQuery] Re: WYMeditor hiccups

I do, indeed: Which is what gets me, because at least jQuery if not $j should then be defined, right? On 5/28/07, Christof Donat <[EMAIL PROTECTED]> wrote: Hi, > However, $j is defined globally throughout jquery.wymeditor.js, as: > var $j = jQuery.noConflict(); I have not looked at

[jQuery] Re: WYMeditor hiccups

Hi, > However, $j is defined globally throughout jquery.wymeditor.js, as: > var $j = jQuery.noConflict(); I have not looked at your code now, so this is just a guess. Are you shure, that you have jQuery propperly loaded? Christof

[jQuery] Re: function are getting called twice

hi.. I tried some debugging and found that IE7 is not having any problem with it..the problem is with firefoxthis definitely shows that there is some bug in Jquery itself Regards, bingo On May 27, 8:25 pm, bingo <[EMAIL PROTECTED]> wrote: > hi, > > I have a webpage (say webpage1) that inclu

[jQuery] WYMeditor hiccups

http://studybreaks.com/story.php and click "Preview" within the WYMeditor FireBug is telling me: $j has no properties fWYM_INIT_DIALOG(0)jquery.wymeditor (line 1263) onload(load )story.php (line 1) [Break on this error] if($j.isFunction(wym._options.fPreInitDialog)) jquery.wymeditor (lin

[jQuery] Re: Radio button validation

Thanks for the response. I went with the first option and placed a custom error label manually in the HTML, and it works great. On May 25, 6:44 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > There still is that positioning problem with radio buttons and > checkboxes. Currently you have two far-f