[jQuery] Re: is it possible to convert html data in json format?

2009-03-07 Thread sure
Hi james, Thanks for your quick reply. Here is my code. HTML CODE -- div id=liquidlayout class=liquidlayout div class=top div id=topleft class=topgroupTopLeft/div div id=topright class=topgroupTopRight/div /div div

[jQuery] display children using jQuery

2009-03-07 Thread Alain Roger
Hi, i need to debug jQuery code and i would like to know if there is an easy way to display (as alert or into FFconsole) the children tags of a particular element ? thanks Al.

[jQuery] filter some elements problem

2009-03-07 Thread rahman...@gmail.com
i want to select a tags that : 1.it's href dos not contain javascript: 2.its onclick attribute dos not contain return false 3. and it's target is not _blank i wrote this rules with jQuery like this 2 codes but it's not working true, where is my problem ?! 1. $(A

[jQuery] Re: 2 tables with same td width

2009-03-07 Thread Alain Roger
Hi, so i found why my code was not working...basically i found the reason but not how to walkaround it for now. in fact my data cells (2nd table) is loaded with a getJSON data collection (as you can see below): $.getJSON(lg.php,{ start: 0, offset : 10 }, function(data) {

[jQuery] Clickable rotated image

2009-03-07 Thread Petar
I'm dynamically creating several image elements which I want to rotate with custom degree, append it to some div, and bind onclick method to them. I tried jquery-rotate and Wilq32.RotateImage, but they don't work like they should - it seems to me that call to rotate function somehow breaks a

[jQuery] [Job subcontract] Part-time jquery jquery-ui developper

2009-03-07 Thread Francis
Hi If someone knows a place to post jquery jobs, please let me know. We are looking for a subcontractor for a couple of our a week. Which may depend on the developer availability. If you're interrested, please send your resume, rate and contact information to j...@vimba.ca Position :

[jQuery] RTL Superfish menu

2009-03-07 Thread dannyb...@gmail.com
Is there is why to make the superfish menu go from right to left and not left to right?

[jQuery] How does Facebook do to edit profile picture thumbnails?

2009-03-07 Thread juan-i
I just can't figure that out! On FB, you get to change the thumnail for your profile picture. You have a containing div with dimensions of about 50x50 and you can move the image (which is actually bigger) inside that containing div until it displays what you want. Ideas?

[jQuery] Get Textbox-value and write to table-cell (td/td)

2009-03-07 Thread Eric Gun
Hi guys, let's get straight to the problem. First, I have this deal-post table (actually tbody content is generated dynamically from PHP code, but I omitted it here and make it static for simplicity sake): table width=500px id=deal-post border=1 thead tr valign=top

[jQuery] $(document).ready and window.onload

2009-03-07 Thread Bob
I am moving an app to the jquery framework. There is a good deal of script that I don't want to load until the landing page is up, and this includes dom node creation and manipulation that I want to tie in to the jquery event structure. This would seem to dictate window.onload instead of

[jQuery] Face markers like in Facebook and Orkut album photos?

2009-03-07 Thread Saneef H Ansari
Is there a jQuery plugins which can be used for implementing that face markers like in Facebook and Orkut Photo albums? Or anybody have any leads on how to start to build one for the same? Thanks, Saneef +91 98861 35466 http://saneef.pixelring.net/phoogler http://twitter.com/saneef

[jQuery] Browser independent top of offsetParent() hierarchy?

2009-03-07 Thread anynick
I want to find out if a particular absolutely positioned element on my page is visible. I want to use offestParent() to cumulatively add up the offsets from the 'root' of the document, and use $ (window).scrollTop() to find out the amount of scrolling. My code (excluding the calculation of the

[jQuery] Drop down menu disappears when you hover over Cycle slideshow area

2009-03-07 Thread Shane Riley
I've tried getting this to work properly in IE with a variety of different methods, and none are working. The page in question is here: http://elixir.biz/coders/marlins/incoming/photos.php If you hover over the blue team text it will display a drop-down menu. However, in IE6 and IE7 once you've

[jQuery] Re: $.post() callback

2009-03-07 Thread bart
Thanks for your reply.I reviewed the code and it was a structure problem, I've set a few things up differently and now it works. Thanks :) On Mar 6, 10:01 am, James james.gp@gmail.com wrote: I don't see any issues with the code you posted. I suggest try removing some code from inside-out

[jQuery] How to use the plugins into our project

2009-03-07 Thread bharani kumar
Assum for example i want this plugin http://plugins.jquery.com/project/Plugins/category/20 Add to list, How to customize this into my work area, Can some one share your ideas, thanks -- உங்கள் நண்பன் பரணி குமார் Regards B.S.Bharanikumar POST YOUR OPINION

[jQuery] Re: How to use the plugins into our project

2009-03-07 Thread Charlie Tomlinson
download plug in, include the script on page, follow plugin API bharani kumar wrote: Assum for example i want this plugin http://plugins.jquery.com/project/Plugins/category/20 Add to list, How to customize this into my work area, Can some one share your ideas,

[jQuery] Re: $(document).ready and window.onload

2009-03-07 Thread MorningZ
document.ready means the DOM is ready, you'll be fine creating nodes there window.load is used when you need to wait until images are loaded and after the fact stuff happens On Mar 6, 11:58 pm, Bob bder...@myprotools.com wrote: I am moving an app to the jquery framework.  There is a good deal

[jQuery] How to validate two form validaiton-plug in

2009-03-07 Thread Hellofrom
Hello every one i am new and need to use Validaiton plug in to validate two from can some body help me thanks

[jQuery] equalTo Validation plug in

2009-03-07 Thread Hellofrom
Hello can some body help my. I have from with two combo box( all listing cities). I need to be able to validate the combo box value so if their value is different then submit the form else no thnaks

[jQuery] 19kb or 56k? Confused with jquerys file size

2009-03-07 Thread JohneeM
Ok im obviously missing something here but on the JQuery home page it advertises the fact that its 19kb, when you actually download the .min file its 56k. Thats quite a difference! Is it possible too get it 19kb?

[jQuery] Re: Get Textbox-value and write to table-cell (td/td)

2009-03-07 Thread brian
For starters, give each of your dealAmount[] inputs an ID according to the Posting index. Something like deal_amount_1, deal_amount_2, etc. Next, do the same for the inc-current TDs. Give each an ID like, whatever_1, whatever_2, etc. Grab all of the inputs using $('.deal-post') and apply your

[jQuery] Re: How does Facebook do to edit profile picture thumbnails?

2009-03-07 Thread Brian
Is there a specific part that's inconceivable? I can imagine one way to do it--probably very similarly to how Facebook does it--which follows. Markup-wise, the containing div + image must look roughly like div id=thumb-container style=width: 50px; height: 50px; overflow: hidden; position:

[jQuery] Re: display children using jQuery

2009-03-07 Thread Josh Powell
Long answer: Check out the section on Traversing in the jquery documentation on the site. Lots of good examples and documentation on there. Short answer: console.log($(element).children())); On Mar 7, 1:33 am, Alain Roger raf.n...@gmail.com wrote: Hi, i need to debug jQuery code and i

[jQuery] Image carousel

2009-03-07 Thread paul.mac
In the jQuery documentation under animate there is an example as follows: $(#go3).click(function(){ $(#go1).add(#go2).click(); }); which is used to transform 2 blocks below the example code. I have an image carousel with 7 images in a row with right and left pointing arrows at either

[jQuery] Re: Get Textbox-value and write to table-cell (td/td)

2009-03-07 Thread Josh Powell
Why do you have the [] characters in the name of the elements? That might screw up selectors. Another options is to give the dealAmount inputs a new attribute with a value of an incrementing numbers, foo=0 say. As long as the post amounts are in the same order you could:

[jQuery] Target DIV on tab using AJAX

2009-03-07 Thread littlefixit
Hello, I have a series of tabs on my page that I'd like to have dynamic content inside. Throughout the course of reading over multiple issues, I've discovered that what I'd like to do most likely can be done; but I may be taking the wrong approach. First, a copy of my script block: script

[jQuery] Re: 19kb or 56k? Confused with jquerys file size

2009-03-07 Thread MorningZ
It will be an actual 19k across the wire if your web server has GZIP going on the file will still show as 56k whether GZIP is on or not On Mar 7, 11:15 am, JohneeM johnee...@gmail.com wrote: Ok im obviously missing something here but on the JQuery home page it advertises the fact that

[jQuery] Re: Get Textbox-value and write to table-cell (td/td)

2009-03-07 Thread brian
On Sat, Mar 7, 2009 at 2:16 PM, Josh Powell seas...@gmail.com wrote: Why do you have the [] characters in the name of the elements?  That might screw up selectors. PHP, likely. But there's no need to use the name in the selector. Another options is to give the dealAmount inputs a new

[jQuery] Re: Would like to limit toggle to the plus/minus icons

2009-03-07 Thread Mike B
For those of you who may still be looking for a solution, we commented out line 67 of jquery.treeview.js which reads toggler.apply($(this).next()); This fix appears to work. Any comments would be appreciated, especially from Jorn. On Feb 25, 10:30 am, Mike B mbbow...@gmail.com wrote: Jorn,

[jQuery] Re: Adding values from a variable number of select drop downs

2009-03-07 Thread ricardobeat
function weightTotal(){ var total = 0; $('.weight').each(function(){ total += +$(this).val(); //if it's an empty string + == 0 }); $('#grand_total').html( total + % ); } cheers, - ricardo On Mar 6, 9:58 pm, shallowman nha...@gmail.com wrote: Hello all, I am trying to add

[jQuery] Re: filter some elements problem

2009-03-07 Thread ricardobeat
You can satisfy condition 1 and 3 with this: $('a:not([href*=javascript])[target!=_blank]') But it's not that easy for nº 2. What is saved on the onclick attribute is a function, not plain text. You can see the source code of the function with the .toString() method, so you could do this:

[jQuery] Re: Regular Expression that works everywhere but in jQuery

2009-03-07 Thread ricardobeat
this seems to work: scrubbed = code.html().replace(/!--[^--]*--/gi,); The expression you had would eat everything between the first !-- and the last --. There's probably a more elegant way to do it, but I can't help any further. cheers, - ricardo On Mar 6, 4:10 pm, Adam adamhow...@gmail.com

[jQuery] jeditAble.js+ Datatables.js

2009-03-07 Thread TheaterOnline.com
The demo that combines datatables.js with jEditAble.js athttp://www.datatables.net/examples/example_editable.html is not ready for prime time. As a database developer, I think this union is fantastic. I'll make a $100 donation to both jEditAble.js and Datatables.js if we can get a professional

[jQuery] Two galleries side by side - IE problem

2009-03-07 Thread hgw
Hello, I have two different horizontal carousels located sideby side in two table cells in a one row/two columns table (of course the images located in ul lists). In Firefox this is working fine, but IE7 expands the cells up to the total width that all images need resp. to the width the ul

[jQuery] Cluetip with live

2009-03-07 Thread korg
I'm currently using cluetip with livequery, but is it possible to use it with live too? $('#mydiv a.tooltip').livequery(function(event) { $(this).cluetip({cluetipClass: 'tooltipclass', width: 400}); }); Using the below code doesn't seem to work very well if the

[jQuery] My First Plugin

2009-03-07 Thread Sergio Michels
Hi all, i'm trying to build a plugin that create :hover and :active rules in my form (to work with ie sucks). But when i call the plugin, i receave this error: $(input).psHover is not a function. Anyone? Pastebin: http://pastebin.com/f20a1fea5

[jQuery] Combining results of two getJSON calls

2009-03-07 Thread Dr. Drang
I'm working on a Twitter webapp, and I want to display both the friends_timeline and replies streams, mixed together in chronological (or reverse chronological) order. (FYI: the replies stream collects tweets from people you *don't* follow as well as people you do. That's why I want both.) I can

[jQuery] Re: Combining results of two getJSON calls

2009-03-07 Thread Michael Geary
Put some console.log() calls in your code and run it with Firebug enabled: $.getJSON(friendURL, function(friends){ console.log(1); $.getJSON(replyURL, function(replies){ console.log(2); $.extend(friends, replies); console.log(3); }); console.log(4); $.each(friends,

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-03-07 Thread Derek Perkins
I've been trying to get these centered and I can't for the life of me figure out how to do it. I've tried putting extra divs on the outside, using every display property available and I still can't get it. http://derekperkins.com/seatability1/test-post-on-bill/ I really just want the outer

[jQuery] Re: My First Plugin

2009-03-07 Thread Michael Geary
What is the exact name of your plugin function as defined in line 13 of your pastebin code? Is it psHover or is it something else? -Mike _ From: Sergio Michels Hi all, i'm trying to build a plugin that create :hover and :active rules in my form (to work with ie sucks). But when i

[jQuery] Re: Regular Expression that works everywhere but in jQuery

2009-03-07 Thread Karl Swedberg
On Mar 7, 2009, at 4:20 PM, ricardobeat wrote: this seems to work: scrubbed = code.html().replace(/!--[^--]*--/gi,); I don't think that is going to work, either (at least, it didn't for me in firebug). You're probably expecting the character set, [^--], to negate the string --, but it

[jQuery] Re: Combining results of two getJSON calls

2009-03-07 Thread Michael Geary
Here's an even better set of console.log() calls: $.getJSON(friendURL, function(friends){ console.log( 1, friends.length ); $.getJSON(replyURL, function(replies){ console.log( 2, friends.length ); $.extend(friends, replies); console.log( 3, friends.length ); });

[jQuery] Re: Get Textbox-value and write to table-cell (td/td)

2009-03-07 Thread Josh Powell
6 of one... half dozen of another... On Mar 7, 12:04 pm, brian bally.z...@gmail.com wrote: On Sat, Mar 7, 2009 at 2:16 PM, Josh Powell seas...@gmail.com wrote: Why do you have the [] characters in the name of the elements?  That might screw up selectors. PHP, likely. But there's no need

[jQuery] Re: Get Textbox-value and write to table-cell (td/td)

2009-03-07 Thread brian
On Sat, Mar 7, 2009 at 6:21 PM, Josh Powell seas...@gmail.com wrote: 6 of one... half dozen of another... I don't buy that. I've suggested using an attribute whose purpose is well defined. Making up attributes that aren't represented by the DOCTYPE is a bad idea. Don't get me wrong--I've done

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-03-07 Thread Derek Perkins
Another option, though less desirable, would be to make the slides all the same width, even if the picture inside is different. Then I could at least have a background on the entire slide. The way it is now, the slide size is being set by Cycle, so I can't even get the background to look right.

[jQuery] Help with JQuery checking 2 fields are same

2009-03-07 Thread namiras...@googlemail.com
I have a Username field and a repeat Username field. The repeat one calls this function $(#user2).blur(function() { $(#msgbox_check).removeClass().addClass('messagebox').text ('Checking...').fadeIn(slow); if($(this).value == $(#user).value) { $(#msgbox_check).fadeTo(200,0.1,function()

[jQuery] inserted html content doesn't respond to events?

2009-03-07 Thread Miguel
Here's what I'm trying to do: Jquery: * $(.test).click(function(event){ event.preventDefault(); $(#testing).html('a href=# class=test2 id=1test again/ a'); }); $(#test2).click(function(event){ event.preventDefault(); alert($(this).attr(id)); }); ***

[jQuery] Event binding newly added jQuery objects

2009-03-07 Thread method8
Each time I add new HTML to a div, either by .html('') or by .load... it looks great but it seems that the newly added html's event do not bind to the page's javascript/jquery. That means that a span or a div cannot be clicked even if it's been added. Any ideas how to solve this issue? Thanks

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-03-07 Thread Mike Alsup
Another option, though less desirable, would be to make the slides all the same width, even if the picture inside is different.  Then I could at least have a background on the entire slide.  The way it is now, the slide size is being set by Cycle, so I can't even get the background to look

[jQuery] Re: inserted html content doesn't respond to events?

2009-03-07 Thread brian
On Sat, Mar 7, 2009 at 5:31 PM, Miguel miguelarc...@gmail.com wrote: Here's what I'm trying to do: Jquery: * $(.test).click(function(event){    event.preventDefault();    $(#testing).html('a href=# class=test2 id=1test again/ a'); }); $(#test2).click(function(event){  

[jQuery] Re: Event binding newly added jQuery objects

2009-03-07 Thread brian
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F On Sat, Mar 7, 2009 at 7:21 PM, method8 william.farru...@gmail.com wrote: Each time I add new HTML to a div, either by .html('') or by .load... it looks great but it seems that the newly

[jQuery] Re: Help with JQuery checking 2 fields are same

2009-03-07 Thread donb
if($(this).value == $(#user).value should be if($(this).val() == $(#user).val() On Mar 7, 7:05 pm, namiras...@googlemail.com namiras...@hotmail.com wrote: I have a Username field and a repeat Username field. The repeat one calls this function $(#user2).blur(function() {  

[jQuery] Re: Get Textbox-value and write to table-cell (td/td)

2009-03-07 Thread mkmanning
With the markup example in the OP, use this: var dp = $('#deal-post tbody tr'); dp.find('input[name^=dealAmount]').keyup(function(){ var amount = $(this); $('#deal-summary tbody tr:eq('+dp.index(amount.closest('tr')) +')').find('td.inc-current').text(amount.val()); }); On Mar

[jQuery] dynamic generated elements action

2009-03-07 Thread MorF
Hi there, I have a problem, and I haven't found the solution after even ater googling a lot. I have a funtion written, which generates elements for example [HTML] div class='generated' this is a div /div [/HTML] And then I've also written a function which should give an alert after clicking the

[jQuery] Re: dynamic generated elements action

2009-03-07 Thread MorningZ
This article will point the way http://www.learningjquery.com/2008/03/working-with-events-part-1 On Mar 7, 8:30 pm, MorF nuzz...@gmail.com wrote: Hi there, I have a problem, and I haven't found the solution after even ater googling a lot. I have a funtion written, which generates elements

[jQuery] Re: traversing ajax response with .find in Safari/Chrome

2009-03-07 Thread JMN
I have the same problem with .find, except running against an HTML string (not AJAX related). ie something like: jQuery(somehtml).find('link').each(... IE,FF,Opera all find the elements ok - chrome safari just don't find them. jQuery JavaScript Library v1.3.2 J On Feb 7, 4:48 pm,

[jQuery] Need Help with changing css on an object

2009-03-07 Thread zeckdude
Hi, I am having some issues with my site. I have a main Nav with four links that load in 4 different sections. You can see the page I am working on here: http://idea-palette.com/official/newofficialsite4.html http://idea-palette.com/official/newofficialsite4.html What I am trying to do is,

[jQuery] Re: How to trigger click event in jquery

2009-03-07 Thread Andy789
Thank you guys! I did not know that jquery can handle only its 'own' bound events. I will have to use mootools as it works fine. I just wanted to avoid mixing jquery and mootools in the same function.

[jQuery] Re: inserted html content doesn't respond to events?

2009-03-07 Thread mkmanning
You can also create your html in jQuery such that you can bind your event at the time: $('a').attr({'id':'id_1','href':'#'}).addClass('test2').text('test again').click(function(){ event.preventDefault(); alert($(this).attr(id)); }).appendTo('#testing'); On Mar 7, 5:19 pm, brian

[jQuery] Re: inserted html content doesn't respond to events?

2009-03-07 Thread mkmanning
Forgot to mention, your id for your anchor is invalid; it should begin with a letter (which is why I changed it in the code above). On Mar 7, 9:12 pm, mkmanning michaell...@gmail.com wrote: You can also create your html in jQuery such that you can bind your event at the time:

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-03-07 Thread Derek Perkins
After at least 4 hours in Firebug and CSS code, I switched something that started working. I'm amazed at how difficult it was to do, when it should have been so simple, but all's well that ends well. Thanks again.