[jQuery] Re: Using Zend IDE with jquery

2009-06-12 Thread Josh Powell
zend with eclipse has some plugins. I don't use them though, so I'm not sure where to get them. On Jun 12, 2:13 pm, Arun wrote: > Hi, > Has anyone ever tried using the zend ide with jquery? Any comments on > this would be appreciated. > > Arun

[jQuery] Re: Superfish menu issue - flyouts expand beyond window boundaries

2009-06-12 Thread Charlie
simplest solution is to add an extra class to the culprit sub ul's either by hard coding it in markup or using jquery . From there it depends on the situation you have, number of sub levels and which levels are being troublesome. If it's just a matter of sliding first level left a bit, use neg

[jQuery] Re: replace text on hover

2009-06-12 Thread waseem sabjee
$(function() { // wait for page to fully load // if you want the text to revert on mouse out set this placeholder var placeholdertext = "Heading Number One"; // create an array of image text var imagetext = new Array(); // assing text to each array note : 0 = first image imagetext[0] = "Image On

[jQuery] Re: css() function returns different results on different browsers

2009-06-12 Thread Dave Methvin
> The issue is on what I get from this function in > Internet Explorer and in Firefox: > IE : url("http://blabla/images/bg_round.png";) > FF : url(http://blabla/images/bg_round.png) Either is valid CSS; the URL only needs to be quoted if it contains certain special characters. http://www.w3.org/

[jQuery] Re: remove question

2009-06-12 Thread brian
On Fri, Jun 12, 2009 at 2:37 PM, amuhlou wrote: > > putting it all together, you'd get something like: > > $('#div1').replaceWith($('#div2')).remove(); > > first you find div1, then replace it with div2, then remove div1 There's no need for remove() because it will have been replaced already.

[jQuery] Using Zend IDE with jquery

2009-06-12 Thread Arun
Hi, Has anyone ever tried using the zend ide with jquery? Any comments on this would be appreciated. Arun

[jQuery] Datepicker ui Altering Button Panel

2009-06-12 Thread aronduby
On the UI website under the datepicker "display button bar" option it says "Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable." I can't find anywhere that states how to turn off buttons or customize the text. A

[jQuery] Superfish menu issue - flyouts expand beyond window boundaries

2009-06-12 Thread fongd
Hi, I'm using Superfish to generate a horizontal menu for a project and the problem I'm having is that the flyout menus close to the right- hand side of the page run off the right-edge of the browser window instead of wrapping around like other menu systems I've used (this project was started bef

[jQuery] replace text on hover

2009-06-12 Thread aw
Hey there, I'm redesigning my website at the moment and am looking to do things a little more efficiently this time around. Currently, I have something that looks like this like this: HEADING NUMBER ONE image one image two image three HEADING NUMBER TWO image four image five image six When so

[jQuery] jQuery's :nth-child selector doesn't work inside GreaseMonkey 0.8

2009-06-12 Thread elzr
Hi, This is my first post here and I did try searching for this in the archives. Please be gentle. I believe jQuery's :nth-child selector doesn't work inside GreaseMonkey 0.8. (At the bottom is a quick GM script to test this.) Why is this? Is this a known limitation from working inside GreaseMon

[jQuery] [autocomplete]

2009-06-12 Thread shaded
im a newbie trying to use the autocomplete plugin. I have a php array returning a name and an id. the autocomplete drop down displays only the first value before the | in name|id This is fine but how do i get the 'id' part to be stored in a hidden field. I've looked at the examples herehttp:/

[jQuery] tables and chairs app

2009-06-12 Thread Jack Killpatrick
Hi All, I'm thinking out how to put together a web app that allows a user to have a "room" and in that room, place tables and chairs, which will then be used for a scheduling app. The scheduling part I'm on top of. The graphical part for positioning tables and chairs is what I'm looking for

[jQuery] ajax start stop of multiple animations

2009-06-12 Thread Peter Marino
Hi jQuery, I have successfully got my ajax working. I'm now in the processing of put an animation gif on the site to show it's sending/retrieving date via. ajax. my problem is that I have multiple ajax calls on the same page.. and I want each call to be represented by a unique gif animation. I tr

[jQuery] jQuery Conference for 2009?

2009-06-12 Thread ak732
Any word on the much-anticipated jQuery conference 2009?

[jQuery] Re: DivMenu

2009-06-12 Thread Glazz
nobody can help me out?

[jQuery] Re: Autocomplete Behavior clarification

2009-06-12 Thread Tom Worster
On 6/10/09 1:17 PM, "Brad" wrote: > > I have an Autocomplete on a form that uses local data. However, the > input allows users to enter values that are not in the local data > array. If the user enters and selects matching data the .result > callback function sets a corresponding key value that

[jQuery] Re: autocomplete

2009-06-12 Thread Tom Worster
On 6/10/09 1:11 AM, "smiling_face" wrote: > > first of all thanks for your gr8 plugins to add autocomplete feature > using jquery. but I am facing a problem to implement this in my > application. As in error console it is showing > syntext error > .ac_results { > >

[jQuery] cycle plugin pagerAnchorBuilder

2009-06-12 Thread jjon
Dear all, I've worked out that the pagerAnchorBuilder option will probably get me what I'm trying for, but I'm trying to add a wrinkle. I've got a slide show using next/prev, but I also want the user to be able to click on links in s to go to specific images in the slide collection. the image c

[jQuery] vertically scroll text

2009-06-12 Thread -Dman100-
Is there a jquery plugin that can scroll text in a div vertically? I have div with a set height that is filled with more content than can be seen. I'm looking for a way to vertically scroll the text or some way to page thru the content. Thanks for any help.

[jQuery] Re: AIR plugin for jQuery?

2009-06-12 Thread Andy Matthews
I suppose you're right... The AIR API is actually pretty well done. It needs better documentation, but Adobe's done a great job setting it all up. I suppose I'm talking about a framework then. I already have a series of files for my AIR apps which I treat as "classes". Interface.js deals with int

[jQuery] json question.

2009-06-12 Thread David .Wu
This the html file I want to catch the object property inside obj and make them a json string like '{"div": [{"name": "div1", "w": "100", "h": "100"}, {"name": "div2", "w": "200", "h": "200" }], "img": [{"name:", "img1", "w": "50", "h": "50"}]}'; any suggestion to accomplish it? http://www.w3.

[jQuery] Re: Can I validate and update the entered value before doing the search?

2009-06-12 Thread JohnT
Hi. I the jQuery source code there is a function called onChange that sends the value of the input box to the backend server and/or checks the local cache. I've implemented a function that checks for valid characters via a regex first before send the result to the backend server for processing. I

[jQuery] Find the height of a div, apply the height to other divs, redo the heights on click

2009-06-12 Thread Dave
I am working on a UI that, when you click on a menu option, a div opens and show three divs inside. These divs all have different heights. The heights are based on the divs content. The problem I'm having is... how do I measure what the divs height should be? IE, how do I grab the height for a di

[jQuery] Re: jQuery UI 1.7.2 released

2009-06-12 Thread MorningZ
Nice! A fixed downloader! I was to the point where I was downloading the full blown versions and using YUI compressor to compress myself... Totally digging the Themeroller stuff... keep up the great work! On Jun 12, 3:13 pm, Rey Bango wrote: > Thanks for posting this Neal! > > Rey > > Neal

[jQuery] Plugin API the jQuery way

2009-06-12 Thread Christopher
Hei there, since http://marcgrabanski.com/article/jquery-tools-vs-jquery-ui it isn't nice to make your own plugin api. Now i am trying to build a plugin api for a pagination in the jquery ui way - llike that $myDiv.pagination('click', function(){ ... }); but the whole ui construct with core a

[jQuery] Re: jQuery UI 1.7.2 released

2009-06-12 Thread Rey Bango
Thanks for posting this Neal! Rey Neal Jansons wrote: Download: http://blog.jqueryui.com/2009/06/jquery-ui-172/ Changelog Summary This is a maintenance release for jQuery UI 1.7. It changes only the plugins listed below. In addition to the plugin fixes below, 7 new themes were added: Sunny

[jQuery] Re: jquery.animate with className only

2009-06-12 Thread amuhlou
This got me curious and after a little digging I find a plugin called animateToClass http://igorvieira.com/blog/animate-to-class-en It seems to be what you're looking for. cheers, ~amy On Jun 12, 2:04 pm, DiggityDan wrote: > I'm new to Jquery and I was wondering if this feature exists anywher

[jQuery] loading data from a file, then appending it to DIV section

2009-06-12 Thread tampascorpion
Hi, I am a newbie to jQuery, and I'm trying to do something that I think can be done, just not familiar enough with jQuery to figure it out. I'm using Uploadify to upload multiple files. I want to load data from a file (using Perl), then append the results to a DIV section in my HTML. I can

[jQuery] jquery.animate with className only

2009-06-12 Thread DiggityDan
I'm new to Jquery and I was wondering if this feature exists anywhere. the animate() function where instead of parameters you pass in a classname and it reads the parameters from available css definitions. I am trying to keep my css specifics out of my javascript files.

[jQuery] Re: AIR plugin for jQuery?

2009-06-12 Thread Jack Killpatrick
From your examples, it looks like you're thinking more about helper methods than just exposing the API, which makes sense, but then the question is "what helper methods should we create to make this a good framework?" (I think). If that's the case, have you thought about it much? Helper method

[jQuery] Re: Plugins/Validation/validate is there a way to add css class to wrapper option?

2009-06-12 Thread Gauthier Segay
Jörn, thanks for your answer I tried your tip and it seems to work showing the items right at first sight. There is one flaw nonetheless, when the item is revoved, the wrapper element is leave present in it's container About the ticket, I just created one as you proposed: http://plugins.jquery

[jQuery] Re: remove question

2009-06-12 Thread amuhlou
putting it all together, you'd get something like: $('#div1').replaceWith($('#div2')).remove(); first you find div1, then replace it with div2, then remove div1 On Jun 12, 2:12 pm, Kean wrote: > W3C says that id should not start with a number > > Here's probably what you need. > > $('#1').rem

[jQuery] Re: document.body is null or is not an object

2009-06-12 Thread Lideln
Hi ! Thanks for the answer. But, if it is due to the code, why does it work on another developer computer, with the exact same code ? And why would it work for one tester out of 3 ? I can't explain that, and as far as I can't explain that, I will not likely consider it is due to the code. Actual

[jQuery] Re: Question about 'ready' event

2009-06-12 Thread Pierre Bellan
I see one fast solution, You put a variable isLoaded in your top frame. At first, the value is false, and when it's ready you change the value to true. Inside the iframe that need the function, you check the value of the variable inside a periodic call. When the value is true, you can make the ca

[jQuery] Re: AIR plugin for jQuery?

2009-06-12 Thread Andy Matthews
Jack... I just blogged about this idea: http://andymatthews.net/read/2009/06/12/jQuery-and-AIR:-AIR-methods-abstract ed-into-jQuery-plugin I think that this is a great idea and I'd love to get involved in it, but I'd want others to be included as well. My jQuery foo is fairly strong, but I've n

[jQuery] Re: css() function returns different results on different browsers

2009-06-12 Thread Kean
It's not really a huge bug and please do submit this as an enhancement to jQuery tracker. On Jun 11, 12:57 pm, upsilon wrote: > Hi everyone! > > Today I've tried to create simple hover effect on a : if the > cursor is over the box, the background-image css property of the div > is modified. > >

[jQuery] Re: remove question

2009-06-12 Thread Kean
W3C says that id should not start with a number Here's probably what you need. $('#1').remove(); On Jun 11, 7:44 pm, "David .Wu" wrote: > Can I remove div1 but div2 keep there? > > > >

[jQuery] Re: AIR plugin for jQuery?

2009-06-12 Thread Jack Killpatrick
OK, yeah, that's what I figured you were looking for. I haven't seen anything like that, but it would be cool if it existed. Doesn't seem like it would be a "ton" of work (famous last words). Have you got any thoughts about how it might work across the sandbox bridges? I use the bridges and bui

[jQuery] Re: append() does not properly resize div when adding content

2009-06-12 Thread Eric-Sebastien Lachance
Awesome, that works! I hadn't set a static height at first, hadn't put any style in fact, so I was in a bind, but this works great for me. Thanks a lot! Eric. On Jun 12, 1:24 pm, amuhlou wrote: > you're declaring a fixed height inline.  the div is being told to only > be 100px tall, so it does

[jQuery] Re: AIR plugin for jQuery?

2009-06-12 Thread Andy Matthews
Thanks Jack...that's not quite what I meant. For example, even though the AIR method for minimizing a window to the system tray is short: nativeWindow.minimize(); It would be cool if this functionality was packaged up so that you could apply the minimize method directly to an object. Here's what

[jQuery] load spinner not working

2009-06-12 Thread Alex
Hi all, Need a little help from you guys here. I tried to show load spinner will ajax doing its work on a complex page item load. In my case I am trying to load a large image and at the same time load large amount of data onto a table. But it only works in FireFox 3 but it doesn't works on FireF

[jQuery] Re: Replace content with title attribute value

2009-06-12 Thread amuhlou
I would probably do something like this: var formattedDate = $('span.date').attr('title'); $('span.date').html(formattedDate); if you have multiple date spans on the page, you may need to use the .each() method On Jun 12, 12:33 pm, jay7 wrote: > Hi, I have this: > > 14 May 2009 > > .. and I'

[jQuery] Re: append() does not properly resize div when adding content

2009-06-12 Thread amuhlou
you're declaring a fixed height inline. the div is being told to only be 100px tall, so it doesn't matter how much content is inside it. try replacing height: 100px with float: left; On Jun 12, 11:38 am, Eric-Sebastien Lachance wrote: > Hello, > > I'm creating a page that lists the available so

[jQuery] jQuery UI 1.7.2 released

2009-06-12 Thread Neal Jansons
Download: http://blog.jqueryui.com/2009/06/jquery-ui-172/ Changelog Summary This is a maintenance release for jQuery UI 1.7. It changes only the plugins listed below. In addition to the plugin fixes below, 7 new themes were added: Sunny, Overcast, Le Frog, Flick, Pepper Grinder, Eggplant and D

[jQuery] Re: AIR plugin for jQuery?

2009-06-12 Thread Jack Killpatrick
This may be of interest, though it's not jQuery encapsulation, it does provide an abstraction layer: http://www.activerecordjs.org/index.html I've been using the ActiveRecord js implementation in AIR for a while now and it's proven to be solid so far: http://www.activerecordjs.org/record.h

[jQuery] AIR plugin for jQuery?

2009-06-12 Thread Andy Matthews
Does anyone know of a plugin for jQuery that encapsulates some, or all, of the AIR API? andy

[jQuery] Replace content with title attribute value

2009-06-12 Thread jay7
Hi, I have this: 14 May 2009 .. and I'd like JQuery script to output it as this: May 14, 2009 Basically, I'm checking the browser language and I want to display all dates in US date format to all users with EN-CA and EN-US browser language (and UK format to all other users). Please let me know

[jQuery] Jquery Ajax Post question

2009-06-12 Thread jef...@gmail.com
$.post("test.php", { func: "getNameAndTime" }, function(data){ process(data); }); Is one of the examples given for Jquery. Now I am trying to implement Jquery Ajax instead of a custom class we have here so am trying to catch on so bear with me. Above, it shows POST variable "func" conta

[jQuery] Trouble constructing selector string.

2009-06-12 Thread rinse_my_phonebook
var t = 'input.ffControl[value="Add a Value"]:first'; var s = 'input.ffControl[value="Add a '+$(this).attr('class') +'"]:first'; if(s == t) { alert(s); } $(t,this).val('gotcha'); Hi there, Can anyone

[jQuery] Position to use to have the Horizontal SuperFish at the top

2009-06-12 Thread nyliferocks
Hi, On my website www.mydabbler.info I wanted the superfish horizontal menu directly below the green banner at the top. I am using this to replace the top 2 menus in the middle. The current top 2 middle menus use User 1 on the middle left and User 2 for the middle right. If I use Superfish with on

[jQuery] Re: document.body is null or is not an object

2009-06-12 Thread mhofmann
Some of my clients have actually seen this, too: Javascript Error: 'document.body' is null or not an object The error line refers to the line "document.body.appendChild( div );" in jquery.js. It has definitely happened for people on IE6, and I believe for people on IE7 as well... however, it is

[jQuery] append() does not properly resize div when adding content

2009-06-12 Thread Eric-Sebastien Lachance
Hello, I'm creating a page that lists the available songs that I have for karaoke, and I'm having some difficulties with formatting. I'm using jquery to retrieve an XML created by php, and outputting it to the html page using jquery's append() function. However, when I do this, the DIV that conta

[jQuery] Trouble constructing selector string.

2009-06-12 Thread rinse_my_phonebook
Hi there, I'm having a bad time trying to work out what is wrong with my approach and hoping someone can enlighten me. Consider the following. var t = 'input.ffControl[value="Add a Value"]:first'; var s = 'input.ffControl[value="Add a '+$(this).att

[jQuery] Question about 'ready' event

2009-06-12 Thread Bernad
Hello everybody. I have one problem but I can't solve it. I have one page with 3 iframes. The first iframe has a 'ready' event. Inside this event I am calling a function which is in the parent page. This function needs that the page was loaded, I mean, when the page is loaded this function can b

[jQuery] Re: Calling C#-function in the validator

2009-06-12 Thread waseem sabjee
STEP ONE. lets create our XML Web Service [WebMethod] public string Check(string key) { return "your key is " + key; } you will notice in the webservice.cs file a line of code with a comment above it looks somthing like [Webservice.scripts] un-comment that line to allow external script acce

[jQuery] Highlight Current Button on jCarousel Lite When Using External Controls

2009-06-12 Thread Build Interactive
Is it possible? I have seen this requested numerous times but found no solution. When using the external controls, I want to add a class to the selected navigation number. I'm assuming this could be done using the callback but I don't know how. Ideas? Thanks

[jQuery] Re: Change form action based on button clicked

2009-06-12 Thread Glazz
Cookies?! See the link i've posted above! On 12 Jun, 15:48, ciupaz wrote: > Thanks, it's work, and how can I recover the input text value, without > using the querystring? > > Luis

[jQuery] Re: Change form action based on button clicked

2009-06-12 Thread ciupaz
Thanks, it's work, and how can I recover the input text value, without using the querystring? Luis

[jQuery] Re: Change form action based on button clicked

2009-06-12 Thread Michael Lawson
function go(button) { $("#my_form").attr("action",button.value); } and then in your button tag add this onclick='go(this)' cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assay

[jQuery] Re: Change form action based on button clicked

2009-06-12 Thread Glazz
View this page http://www.komodomedia.com/blog/2008/07/using-jquery-to-save-form-details/ On 12 Jun, 15:25, ciupaz wrote: > Hi all, > I have a form like this: > > > >     Name: >     > >     >     > > > > how can I change my action form so the form goes to Page1.htm with > click on button

[jQuery] Change form action based on button clicked

2009-06-12 Thread ciupaz
Hi all, I have a form like this: Name: how can I change my action form so the form goes to Page1.htm with click on button1 and goes to Page2.htm to click on button2, and mantein the value inserted in textbox "name"? Thanks a lot. Luis

[jQuery] Re: create a floating Superfish menu

2009-06-12 Thread Yuri Timofeev
It worked! Thanks a lot! On Jun 12, 2:42 pm, Charlie wrote: > give ul.sf-menu an absolute position with css and apply the floating script > to ul.sf-menu instead of the div container in example > everything else in menu css and script remains the same > I believe dimensions.js is deprecated in

[jQuery] Re: Regular Expressions and jQuery

2009-06-12 Thread John
Good call. Here are my changes. function validate_phone(value,alerttxt){ var re = /^\(\d{3}\)\d{3}-\d{4}$/; alert(re); if( $('input[name=unitContactPhoneNumber]').fieldValue().match(/^\(\d {3}\)\d{3}-\d{4}$/) ){ alert('match'); return tru

[jQuery] Re: remove one element in an array

2009-06-12 Thread fabrice.regnier
thank you Pierre and Charlie, this is exactely what i'm looking for ;) regards, f.

[jQuery] Re: Regular Expressions and jQuery

2009-06-12 Thread Michael Lawson
Maybe I'm reading this wrong, but the regular expression you are using looks like it returns a match on valid phone numbers? If that is the case why not return true when it matches, false when it doesn't. Ir just put a ! in front of the match function cheers Michael Lawson Development Lead, Glo

[jQuery] Re: Calling C#-function in the validator

2009-06-12 Thread Ivar Kunst
Ola, Thanks for you reply, but im still not there: My validator: $(document).ready(function(){ var validator = $("#form_user").validate({ onkeyup:false, onblur:false, onclick:false, errorClass: "invalid", errorLabelCont

[jQuery] Re: Regular Expressions and jQuery

2009-06-12 Thread John
Thanks for the reply. 'fieldValue' is used in the jquery form plugin. When I use '.val()' for example: $('input[name=piResults]').val() I get nothing. On Jun 12, 9:33 am, MorningZ wrote: > $('input[name=piResults]').fieldValue() > > ".fieldValue()" ? > > Why aren't you just using ".val()" ?

[jQuery] AIR plugin for jQuery?

2009-06-12 Thread Andy Matthews
Does anyone know of a plugin for jQuery that encapsulates some, or all, of the AIR API? andy

[jQuery] Regular Expressions and jQuery

2009-06-12 Thread John
Hello all, I have some experience in Regular Expressions but this one has me pulling my hair out. I have a form with several input fields including a phone number field. I have a submit button that is linked to jquery form plugin. My validation is checked on "beforeSubmit". ( i.e. beforeSubmit:

[jQuery] Re: Regular Expressions and jQuery

2009-06-12 Thread MorningZ
$('input[name=piResults]').fieldValue() ".fieldValue()" ? Why aren't you just using ".val()" ? On Jun 12, 9:16 am, John wrote: > Hello all, > I have some experience in Regular Expressions but this one has me > pulling my hair out. > > I have a form with several input fields including a phone

[jQuery] Re: BlockUI not always firing

2009-06-12 Thread Shadraq
Donny That did the trick! -Shadraq

[jQuery] Re: Using jQuery with Prototype by using jQuery noConflict

2009-06-12 Thread Terry
Sorry, I meant to say Lightview and not lightbox. On Jun 12, 8:27 am, Terry wrote: > Hi all. I am new to jquery and prototype and have the need to use > both. I am currently trying to use the jquery Cycle with Lightbox that > needs prototype and the two are conflicting. I have been told that I >

[jQuery] Using jQuery with Prototype by using jQuery noConflict

2009-06-12 Thread Terry
Hi all. I am new to jquery and prototype and have the need to use both. I am currently trying to use the jquery Cycle with Lightbox that needs prototype and the two are conflicting. I have been told that I will need to use the jquery no conflict, but I simply can't get it to work. I just don't und

[jQuery] Re: how to make a function with JQuery

2009-06-12 Thread Michael Lawson
It almost sounds to me like you're confused on what jQuery actually is? " Does it works similary like woring with Javascript and DOM ?" in your email jQuery is a code library for use by javascript code. It provides easy access to the DOM and tons of other convenient features for you, so that yo

[jQuery] Re: textarea chars counter

2009-06-12 Thread MorningZ
"But id doesn't work when I click the right mouse button on it and choose "Paste"" And this should be easy as cake to understand: Copy and Paste will *not* fire the "keyup" event which your code is requiring You'll need to wire that event to more events to make it work with C&P (focus would co

[jQuery] Re: how to make a function with JQuery

2009-06-12 Thread MorningZ
jQuery *function*? Do you mean jQuery plugin? http://www.learningjquery.com/2007/10/a-plugin-development-pattern On Jun 11, 10:54 pm, marcelsnews wrote: > Hello every one, > > I'm a new user of JQuery and i'm trying to use it on a web site that > i'm building. Keep in mind that i'm also new o

[jQuery] Re: textarea chars counter

2009-06-12 Thread dreame4
Thanks for your accurate remark. I came up with adding some event but I don't know which. Focus doesn't work as I want to. It doesn't update counter immediately after pasting text. Until after "leaving" input. Just as focus event works. Some other ideas? On 12 Cze, 14:35, MorningZ wrote: > "Bu

[jQuery] Re: Jquery Widgets !!

2009-06-12 Thread Charlie
look on jquery UI main page, there's a developers guide for widgets and tutorial Amit wrote: Hi Group,     I just wanted to knew if we can create widgets using jquery , if yes,  how??                -- Regards, Amit Kr. Sharma Mobile:  09780141161  

[jQuery] Re: remove one element in an array

2009-06-12 Thread Charlie
changing to class will do what you need here's an example using live() instead of livequery since it is built into jquery now and works for click function you are using I just changed to a UL instead of images http://jsbin.com/ewutu fabrice.regnier wrote: hi ;) An id must be

[jQuery] Re: remove one element in an array

2009-06-12 Thread fabrice.regnier
> Can you give some exemple ? $("#IdButton").click( function() { var pic="" $(this).before(pic); }); $("img.whatever").livequery('click', function(event) { $(this).remove(); }); regards, f. > > The probleme is: i want to remove, let's say, the 4th image, by > clicking on it. I don't see

[jQuery] Re: Plugins/Validation/validate is there a way to add css class to wrapper option?

2009-06-12 Thread Jörn Zaefferer
wrapper: "li class='error'" would work in one place (where the wrapper is created), but not in another, where the same option is used as a selector. Could you file an issue for thise? http://plugins.jquery.com/node/add/project-issue/validate Jörn On Fri, Jun 12, 2009 at 7:51 AM, Gauthier Segay

[jQuery] Re: create a floating Superfish menu

2009-06-12 Thread Charlie
give ul.sf-menu an absolute position with css and apply the floating script to ul.sf-menu instead of the div container in example everything else in menu css and script remains the same I believe dimensions.js is deprecated in current jquery.js and is now built into core   Yuri Timofeev wrot

[jQuery] Re: remove one element in an array

2009-06-12 Thread fabrice.regnier
hi ;) > An id must be unique on a page. In your code, every created image as the > same id maybe the problem is here but i'm not sure. Yes, i guess, this is the problem. > I think the first step is to replace id with a class and see if it works. Can you give some exemple ? The probleme is: i wa

[jQuery] textarea chars counter

2009-06-12 Thread dreame4
Hi, I need to count characters in textarea so I wrote sth like this: $input.keyup(function() { var new_length = $(this).val().length; $word_counter.text(new_length); if(new_length >= min && new_length <= max) { $word_counter.addClass('git'); } else

[jQuery] Re: jQuery, ajax, json, php

2009-06-12 Thread David .Wu
Actually I want need server side doing work, and I don't know how php get json, nothing to do with client side. On 6月12日, 下午4時55分, Anish wrote: > What you get while trying $json['name'] ?? > > Why don't you try getJSON instead of calling usual ajax call ?? > > Regards, > > Anish** > > On Jun 11,

[jQuery] [HELP] DivMenu

2009-06-12 Thread Glazz
hi, i've a function that when i click on a link a div shows up, and it works nice, but when i click on the div itself the div closes up, and other "bug" is, that if i have 2 or more divs if i click on one link and click on other link the div's stays visible, how can i solve this? here is the cod

[jQuery] how to make a function with JQuery

2009-06-12 Thread marcelsnews
Hello every one, I'm a new user of JQuery and i'm trying to use it on a web site that i'm building. Keep in mind that i'm also new on the web. So i wanted to know: - How to define a function with JQuery. - Does it works similary like woring with Javascript and DOM ? - Shall my function, if all

[jQuery] Re: jQuery, ajax, json, php

2009-06-12 Thread Anish
What you get while trying $json['name'] ?? Why don't you try getJSON instead of calling usual ajax call ?? Regards, Anish** On Jun 11, 4:40 pm, "David .Wu" wrote: > If I send a json format to php, how to get the value from php? for > example > > front page > > var jsonStr = '{"name": "David"

[jQuery] create a floating Superfish menu

2009-06-12 Thread Yuri Timofeev
Hi I am newbie in jQuery. I use Superfish menu basic style in my small FOSS project. Question: How can I make a horizontal Superfish menu, floating, like is http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/ ?

[jQuery] [HELP] DivMenu

2009-06-12 Thread Glazz
hi, i've a function that when i click on a link a div shows up, and it works nice, but when i click on the div itself the div closes up, and other "bug" is, that if i have 2 or more divs if i click on one link and click on other link the div's stays visible, how can i solve this? here is the cod

[jQuery] [Validate] trigger validation by input:button

2009-06-12 Thread Matt
Hi, I have been working on a big form and using jquery plug-in (wizard form) to divide tit into small subforms. Now, I am trying to integrate the Validation plugin to deal with the validation and come up with an issue. I run validation on subforms which contains two buttons(back, next). Those 2

[jQuery] Pagination

2009-06-12 Thread Lee Wilson
Hi all, Does anyone know of any plugins for getting pagination setup with jQuery, I thought this would be perfect: http://plugins.jquery.com/project/pagination but it only seems to display one item per page. I have also tried an example from this book: http://www.packtpub.com/learning-jqu

[jQuery] Re: remove one element in an array

2009-06-12 Thread Pierre Bellan
Hi, An id must be unique on a page. In your code, every created image as the same id maybe the problem is here but i'm not sure. I think the first step is to replace id with a class and see if it works. You can use the live event gestion if you use jquery > 1.3 ( http://docs.jquery.com/Events/liv

[jQuery] remove one element in an array

2009-06-12 Thread fabrice.regnier
Hi all, When i click once on a button, i create one picture on the fly. And so on. It works ok. Then, using livequery, when i click on one of the all created pictures, i would like to see it removed. But it appears that only the first pic is removed (since all have the same name). What is my mi

[jQuery] Re: using find method on a documentFragment attached node

2009-06-12 Thread amit
Thanks for the reply. I had given this a try but sadly it doesn't work as expected. I did some research on documentFragments and found following on http://ejohn.org/blog/dom-documentfragments/#comment-319149 (need to click "Show Comments" to reach this place) - "# Obvious, but sometimes overlooke

[jQuery] cycle and jcarousel issues....

2009-06-12 Thread Youzernaim
Hi, I have done a fair bit of searching and can't quite find anything that suits my issue :( I have been trying to make a gallery using the cycle plugin's pager function within a jcarousel. I have managed to get it working, without too much of a problem, except that the images are pretty large

[jQuery] Re: document.body is null or is not an object

2009-06-12 Thread Lideln
Up :) On Jun 10, 6:40 pm, Lideln wrote: > Up ! > > I really need some help... Am I the only one experiencing such a > problem ? > I can't use IE6 for now... It's really paralyzing me because I work in > a professional environment. > > Thank you all for your help ! > > On Jun 8, 12:18 pm, Lideln

[jQuery] Re: animate callback scope for infinite loop?

2009-06-12 Thread Waseem
I have been working on a different way...just fooling around actually. This just a semi-failed experiment. don't take too seriously. kinda new to js . just fooling around. PROBLEMS if i reset i to 0 m