[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-21 Thread mrhankey
I also just noticed that the problem goes away when I turn animation off (although the plus/minus icons still display erratically on the last parent node in the list). I have left animation on for now so that you can see the problem. On Sep 22, 12:10 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrot

[jQuery] Re: Insert variable into a selector

2008-09-21 Thread ricardobeat
I can't get it either, what are you trying to accomplish? $('h1 a#' + this.id') is not logical, you first need to reference some element to get it's ID, but in doing that you already wrote the ID... On Sep 21, 11:16 pm, FrenchiINLA <[EMAIL PROTECTED]> wrote: > i think your problem is this.id, y

[jQuery] Re: [VALIDATE] - Submit button is missing from post if i use remote method

2008-09-21 Thread zanetine
Hi Jörn, Thanks for your prompt reply, if it is intended to behave like this its ok. but i think submit button should be included in request if its possible, as most of programmers (including my self) check post back on same page using submit button name, so it would be better if it includes subm

[jQuery] Re: jCarousel

2008-09-21 Thread sandy haryono
Hi Peter, It seems that you have been failed to load from special_textscroller.php... you have an error : Fatal error: Call to undefined function: file_get_contents() in /var/www/activelittleones /jcarousel/examples/special_textscroller.php on line 13 try to fix that first. Thx Sand

[jQuery] Re: Insert variable into a selector

2008-09-21 Thread FrenchiINLA
i think your problem is this.id, you have to show the entire code in order for us to see what does this mean. try just to add a alert for example to see what you get for this.id On Sep 21, 7:38 am, suntrop <[EMAIL PROTECTED]> wrote: > HI there, > > I want to insert two variables into the selector

[jQuery] Re: Replace html class with rel attribute into an anchor

2008-09-21 Thread FrenchiINLA
what you need is attr. to get the value of an attribution use $ ('iframe').attr('href'); to set a rel attribute use $ ('iframe').attr('rel':'myrel'); On Sep 21, 10:12 am, Andrea - Aosta <[EMAIL PROTECTED]> wrote: > I need to replace an attribute inside a tag I have this code html > > Link > > An

[jQuery] Re: star ratings pllugin

2008-09-21 Thread pedalpete
my quick guess would be that you need a comma. [code] class="star {split:4, required:true}" [/code] but that is just a quick guess based on what i've seen in Jquery before. On Sep 21, 4:54 pm, chadmichael <[EMAIL PROTECTED]> wrote: > I would like to be able to feed two options into the class nam

[jQuery] dynaCloud - alphabetical sorting and allow & in words?

2008-09-21 Thread pedalpete
I've been playing with the DynaCloud plugin over the weekend and as per normal, I don't have a standard implementation. I'm using the tag-cloud as a way to define musical genres on my site. The list is created dynamically, which is why dynacloud is an awesome implementation. But I'm having a few

[jQuery] Jquery Form Plugin - tags are removed

2008-09-21 Thread theaska
I am using the Jquery Form pluging version 2.12 to submit a form with a response of another form: $(document).ready(function(){ $("[EMAIL PROTECTED]'formHello']").ajaxForm({ success:function(response){ $("div#formContainer").html(response); } }); }

[jQuery] star ratings pllugin

2008-09-21 Thread chadmichael
I would like to be able to feed two options into the class name. The following example is from the project page, and works fine. class="star {split:4}" BUt when I try something like class="star {split:4 required:true}" It doesn't work?

[jQuery] Re: Help refactoring code for css sprite animation

2008-09-21 Thread Michael Geary
Just to explain that code a bit... You can't use a simple for loop, because your repeated steps have to be run asynchronously, when the fadeOut callback function is called. So, instead of using a separate callback function for each step, this code uses a common callback for all the steps, and mak

[jQuery] Re: Help refactoring code for css sprite animation

2008-09-21 Thread Michael Geary
I think you could do it something like this (untested): $.fn.walk = function( now, incr, last ) { var $it = this; step(); function step() { $it.css({ backgroundPosition: now + ' 0' }).show(); now += incr; if( now != last ) $it.fadeOu

[jQuery] Re: jScrollPane and fadeIn

2008-09-21 Thread ricardobeat
You should apply the fadeIn effect to the element that contains both the content DIV and the jScrollPane controls, either #jScrollPaneContainer or #containerContent. Applying the effect to the DIV in use by jScrollPane will override it's changes. Also, jQuery provides a function for use in place

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-21 Thread mrhankey
I forgot to mention that you need to have the Google Earth plugin installed first. Google Earth retrieves a kml file from which the list is built. On Sep 22, 12:10 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > I don't see any checkboxed-tree on that page. Below the google earth > box are only

[jQuery] Help refactoring code for css sprite animation

2008-09-21 Thread gogojuice
Sorry if I posted this twice, I've just joined and got told I couldn't post messages by google groups. Think I have joined properly now though. I have a css sprite which I have finally managed to figure out how to animate. All is well, except that there is a lot of repetition in the code and m

[jQuery] UI Magnifier on text links

2008-09-21 Thread Disbas
Hi guys, The UI magnifier plugin works great on images. Is there a way to get it to work on vertical list of text links as well? I've been playing around with it, but to no avail. The plugin modifies the height and position of the link. I guess what I'd want is a way to modify the font-size on ho

[jQuery] jCarousel

2008-09-21 Thread Peter
I am having problems with the using jCarousel as a text scroller. I have loaded your code but it does not work. Any ideas Yuo can view the site here http://www.activelittleones.com/jcarousel/examples/special_textscroller.html Also do you have a example of the actual code that makes up the RSS

[jQuery] forms

2008-09-21 Thread johnmiller
hello, right upfront, please let me apologize for my ignorance. i'm a server dude and got stuck with some front end work and obviously too stupid not only to figure it out but even to formulate the question. hence, let me give my "need" statement: i need an input form that gathers user info inclu

[jQuery] Re: replaceWith returns the replaced element

2008-09-21 Thread tchvil
Richard, Thanks for your reply. It is neat but it leaks memory on IE. While the following not: $.fn.replaceWithAndReturnNew = function(html){ var div = document.createElement('div'); var replaced = this[0]; replaced.parentNode.replaceChild(d

[jQuery] Re: Replace html class with rel attribute into an anchor

2008-09-21 Thread BB
Hmm.. maybe you should read the documentation of jQuery.. Do you mean something like this? $(".iframe").attr({ "rel": "highslide-iframe", "href": "my-new- url.html" }).removeClass("iframe"); http://docs.jquery.com/Attributes/attr On 21 Sep., 19:12, Andrea - Aosta <[EMAIL PROTECTED]> wrote: > I

[jQuery] Re: IE7 and FF3 difference when hiding elements

2008-09-21 Thread Karl Swedberg
Hi there, It might help to fix the HTML validation errors: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.lifestylelog.nl%2F --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 21, 2008, at 6:05 AM, rick wrote: I just switched from prototy

[jQuery] Replace html class with rel attribute into an anchor

2008-09-21 Thread Andrea - Aosta
I need to replace an attribute inside a tag Link And, for all link with iframe class, i need to have Link I have try with $(".iframe").append("rel='highslide-iframe'"); but this append outside the

[jQuery] jQuery Treeview + CheckBox

2008-09-21 Thread Don Quijote de Nicaragua
It is possible to use a CheckBox in a Treeview? Es posible usar un CheckBox en un Treeview? Don Quijote de Nicaragua. Elder Soto.

[jQuery] Re: Insert variable into a selector

2008-09-21 Thread MorningZ
Can you show more code? "The first variable comes from the object's ( element) id" doesn't make any sense

[jQuery] Re: Multiple autocomplete

2008-09-21 Thread aimhier
Actually I am working on a local machine so cannot upload the code.. however.. I the following are the code fragments /The HTML Fragment Customer Name: Contact Name: Edited Name:

[jQuery] Insert variable into a selector

2008-09-21 Thread suntrop
HI there, I want to insert two variables into the selector and an attribute. But it doesn't work. $('h1 a#' + this.id + ' img').attr({src : "images/" + msg + ".png"}); I looked through various tutorials but couldn't find an answer to this. The first variable comes from the object's ( element)

[jQuery] Re: about $(document).ready()

2008-09-21 Thread Xinhao Zheng
你好, 你可以为ready事件定义多个函数。也就是你那样写是可以的。 至于你说的合在一起和分开是有区别的,至少我亲身体验的是我是能合在一起就合在一起,需要分开就不得不分开。 不过分开写的时候,最好每个函数彼此之间不要相互依赖。 Xinhao Zheng SGL中文Blog: http://blog.cjcht.com SGL中文文档: http://wiki.cjcht.com SGL中文Group:http://groups.google.com/group/seagull_forum 2008/9/21 立体风 <[EMAIL PROTECTED]> > 不

[jQuery] Re: Simple Reference Question

2008-09-21 Thread Nicola Rizzo
$(Mobj).eq(0).append('test'); IIRC Nicola On Sun, Sep 21, 2008 at 3:00 PM, BillCompton <[EMAIL PROTECTED]> wrote: > > var Mtemp = $(Mobj)[0] > $(Mtemp).append('test') > > How would I do this on one line? I want to append to only the first > element of the wrapped set? > > Thanks, > > Geo

[jQuery] Re: Search for special characters in the autocomplete (no matter whether it is prototype or jquery)

2008-09-21 Thread Jörn Zaefferer
Okay, so you are looking for a feature that doesn't exist yet - mapping multiple inputs to a single value. As the workaround (delegating the mapping to the serverside) doesn't seem to be acceptable, the way to go is to create a ticket for the feature: http://dev.jquery.com/newticket (requires regis

[jQuery] Re: Search for special characters in the autocomplete (no matter whether it is prototype or jquery)

2008-09-21 Thread M. Srni
is it mean that, with the help of jquery we can achieve the following things, 1/. special character things which we needed (it want we were discussing) 2/. multiple id selection within the text box 3/. also, this jquery autocomplete search will work within our div popup please write me back your i

[jQuery] [validate] Problem with code in ie6 - Object doesn't support method

2008-09-21 Thread Mattl
OK, will do, many thanks. Matt On Sep 21, 2:57 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > You could use the minified file (jquery.validate.min.js) and gzip it, > that gives you a better performance then packed anyway. > > Jörn > > On Sun, Sep 21, 2008 at 3:49 PM, Mattl <[EMAIL PROTECTED]>

[jQuery] Re: [validate] Problem with code in ie6 - Object doesn't support method

2008-09-21 Thread Jörn Zaefferer
You could use the minified file (jquery.validate.min.js) and gzip it, that gives you a better performance then packed anyway. Jörn On Sun, Sep 21, 2008 at 3:49 PM, Mattl <[EMAIL PROTECTED]> wrote: > > Thanks Jorn, > The problem is the jquery.validate.pack.js file, I've tried using the > jquery.va

[jQuery] Re: Multiple autocomplete

2008-09-21 Thread Jörn Zaefferer
Could you post a testpage? Jörn On Sun, Sep 21, 2008 at 3:42 PM, aimhier <[EMAIL PROTECTED]> wrote: > > Actually it is passing the string ' function () { return $(" ' as an > argument to parameter2 i.e. it is not treating it as a function. > I hope you get that. > Any thing that can be done.. >

[jQuery] Re: Multiple autocomplete

2008-09-21 Thread aimhier
Actually it is passing the string ' function () { return $(" ' as an argument to parameter2 i.e. it is not treating it as a function. I hope you get that. Any thing that can be done.. By the way Thanx for your quick response. On Sep 21, 6:32 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > So,

[jQuery] [validate] Problem with code in ie6 - Object doesn't support method

2008-09-21 Thread Mattl
Thanks Jorn, The problem is the jquery.validate.pack.js file, I've tried using the jquery.validate.js and that works fine, so there must be something in the .pack version that ie6 doesn't like. The debugger said it was expecting ; on line 2 which in the pack file is the entire code! I'll just go

[jQuery] Re: Multiple autocomplete

2008-09-21 Thread Jörn Zaefferer
So, does that work? Whats happening? Jörn On Sun, Sep 21, 2008 at 2:43 PM, aimhier <[EMAIL PROTECTED]> wrote: > > It takes "function () { return $("" as an arguement to firstfield... > > I am trying it this way >$("#parameter2").autocomplete( >"../agent.py/

[jQuery] Simple Reference Question

2008-09-21 Thread BillCompton
var Mtemp = $(Mobj)[0] $(Mtemp).append('test') How would I do this on one line? I want to append to only the first element of the wrapped set? Thanks, George

[jQuery] Re: about $(document).ready()

2008-09-21 Thread 立体风
不好意思,英语不好见笑了,我实际是想问问: 放在$(document).ready(x)中的函数多少有限制吗?比如: $(document).ready(function(){ a(); b(); c(); }); 上面是放了3个函数,如果这样写: $(document).ready(function(){ a(); }); $

[jQuery] jcarousel error in IE7

2008-09-21 Thread john
Hi, I use jcarousel but hv problem in ie7. it works on main page but got error in another category. error is Line 1 Char 2 Code 0 Error syntax error URL http://url/category/ Apprear twice, then another error is Line 36 Char 2 Code 0 Error object expected URL http://url/category/ When

[jQuery] Passing Functions in Extraparameters autocomplete

2008-09-21 Thread aimhier
extraParams: { customere: function(){ return $('#customere').val(); }, }, the query takes the the value of parameter "customere" as " function() { return $(' ". Any help regarding the same... Thanx

[jQuery] Re: Multiple autocomplete

2008-09-21 Thread aimhier
It takes "function () { return $("" as an arguement to firstfield... I am trying it this way $("#parameter2").autocomplete( "../agent.py/returncontacte", { extraParams: { parameter1: function() { return $("#parameter1").val(); } }, d

[jQuery] Re: Multiple autocomplete

2008-09-21 Thread Jörn Zaefferer
Try: $("#secondfield").autocomplete("url", { extraParams: { firstfield: function() { return $("#firstfield").val(); } } }); Jörn On Sun, Sep 21, 2008 at 1:29 PM, aimhier <[EMAIL PROTECTED]> wrote: > > Now, I want to use 2 autocompletes in the same form. What I am doing > is i a

[jQuery] Re: [treeview] newbie...

2008-09-21 Thread Jörn Zaefferer
Have you looked at the async treeview? http://jquery.bassistance.de/treeview/demo/async.html http://dynamicdrive.com/dynamicindex1/treeview/treeview_suppliment.htm Jörn On Sun, Sep 21, 2008 at 10:53 AM, GARIL <[EMAIL PROTECTED]> wrote: > > What I'm trying to accomplish with the code below is popu

[jQuery] Re: [VALIDATE] - Submit button is missing from post if i use remote method

2008-09-21 Thread Jörn Zaefferer
When using remote validation, the submit is native submit is always cancelled and a different submit is triggered after validation has run. Therefore the submit button isn't included in the request. If you consider that a bug, please file a ticket: http://dev.jquery.com/newticket (requires registr

[jQuery] Re: treeController [treeview]

2008-09-21 Thread Jörn Zaefferer
See sample #3: http://jquery.bassistance.de/treeview/demo/ or here: http://dynamicdrive.com/dynamicindex1/treeview/ Jörn On Sun, Sep 21, 2008 at 12:36 PM, GARIL <[EMAIL PROTECTED]> wrote: > > I need an example on how to correctly use treeController for the > treeview plugin (http://docs.jquery.co

[jQuery] Re: [validate] Problem with code in ie6 - Object doesn't support method

2008-09-21 Thread Jörn Zaefferer
Try installing a script debugger to get a more useful error message and line numbers: http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx Jörn On Sun, Sep 21, 2008 at 10:19 AM, Mattl <[EMAIL PROTECTED]> wrote: > > Subject Changed > > On Sep 21, 7:29 am, Mattl <[EMAIL PROTECTED]> wrote: >> Tha

[jQuery] Re: Treeview problem with checkboxes in IE

2008-09-21 Thread Jörn Zaefferer
I don't see any checkboxed-tree on that page. Below the google earth box are only navigation and print links. Jörn On Sat, Sep 20, 2008 at 10:43 PM, mrhankey <[EMAIL PROTECTED]> wrote: > > The page is: > test.cloudbase.org.nz/node/126 > > The list is below the google earth plugin. It is populated

[jQuery] Re: Search for special characters in the autocomplete (no matter whether it is prototype or jquery)

2008-09-21 Thread Jörn Zaefferer
Yes, but the jQuery autocomplete doesn't work that way. In this case it would be much easier to do the filtering in PHP. Jörn On Sat, Sep 20, 2008 at 6:22 PM, Srini <[EMAIL PROTECTED]> wrote: > > But json.php (the file can even be an text file) file doesn't have any > thing related to php related

[jQuery] [treeview] newbie...

2008-09-21 Thread GARIL
What I'm trying to accomplish with the code below is populate nodes dynamically. Thus when a user clicks on a node, I call the function below. The problem is that when the tree is rendered the + and - images to the left of the node does not appear for the new children. Am I doing something wron

[jQuery] simple wizard: stuck with first jquery usage

2008-09-21 Thread claudes
Hi, I would like to make a simple wizard. I have gotten as far as hiding all divs aside from the first, and inserting the next and back buttons. I'm having problems assigning click function to next/back next should hide current div and revel next div back hides current and revels previous mar

[jQuery] [treeview] newbie...

2008-09-21 Thread GARIL
I have the following code that retrieves data using an ajax get in the following format: $("#"+sid+"_c").remove(); $("#"+sid).find("a").after(""); var children; $.get(setToNewPage("main.aspx")+"?tree=1&sid="+sid, function(data){

[jQuery] Superfish navbar wrapping problem in IE6 & Firefox

2008-09-21 Thread Ashley
Hi everyone, I am very new to superfish, and I am using superfish 1.4.8's navbar menu. I have 3 levels of menu items and in the 1st level menu I have 11 items and when my browser is maximized to the full resolution (my screen resolution is 1400x900 and my text size is medium in both Firefox an

[jQuery] Multiple autocomplete

2008-09-21 Thread aimhier
Now, I want to use 2 autocompletes in the same form. What I am doing is i am passing the input textfield filled using autocomplete as an extra parameter while passing the auto compete for the second form. However, I only pass a blank(the default value of parameter1 when it was loaded initially not

[jQuery] [VALIDATE] - Submit button is missing from post if i use remote method

2008-09-21 Thread zanetine
Hi Jörn , I am facing a problem in validate liberary using remote method, i am not sure if i am doing something wrong or its a bug. here is demo link of my form : http://www.zanetinewebdesign.com/demo-register.php Remote validation is used on 3 fields Email , Username , and city + state + zip

[jQuery] jScrollPane and fadeIn

2008-09-21 Thread RitchieTheBrit
Hey guys! I've searched everywhere before posting here, but I've found nothing. Anyway, I have a page that fades in a DIV on page load using fadeIn. I tried to apply the jScrollPane effect to the div, but it seems that the fadeIn effect breaks it. Is there a way around this? Below is the way I

[jQuery] treeController [treeview]

2008-09-21 Thread GARIL
I need an example on how to correctly use treeController for the treeview plugin (http://docs.jquery.com/Plugins/Treeview/treeview) Many thanks!

[jQuery] IE7 and FF3 difference when hiding elements

2008-09-21 Thread rick
I just switched from prototype to jQuery and created my first lines of a simple script with JQuery, however IE7 and FF3 handles the script differently. The script itself is: $(document).ready(function(){ $(".htmlBlock .details").each( function(e){ $(this).hide

[jQuery] [validate] Problem with code in ie6 - Object doesn't support method

2008-09-21 Thread Mattl
Subject Changed On Sep 21, 7:29 am, Mattl <[EMAIL PROTECTED]> wrote: > Thanks for the feedback, I have not finished the design yet, still > working on functionality, but will make the changes as you suggest. > > In the meantime, can anyone comment on the problem I posted about? > > Thanks > Matt

[jQuery] Re: Superfish navbar for Wordpress

2008-09-21 Thread Joel Birch
I just thought of a really simple solution for this. Before initialising Superfish simply dynamically add one common class to the elements that are of any of three WordPress classes. $('document').ready(function(){ $('ul.sf-menu') .find('li.current_page_item,li.current_page_parent,li.current_p