[jQuery] Re: getting the height of some div (which contains p having some margin defined)

2009-08-06 Thread ggerri
The Dimensions plugin might help: http://plugins.jquery.com/project/dimensions Regards G On Aug 5, 6:47 pm, ZedroS wrote: > hi > > we have just found out the issue. > > Let's say you have > >   bla > > > Like this, $('#div').outerHeigth(true) won't care about the > margin. In fact, in just

[jQuery] Re: Looking for a Good JavaScript Editor that Supports JQuery

2009-08-03 Thread ggerri
I'd suggest a simple solution here. Notepad+ (http://notepad- plus.sourceforge.net/de/site.htm) and Firebug Plugin for FF3.5 which has a nice Debugger incluced. You might also want to try Amaya by w3.org (http://www.w3.org/Amaya/ Amaya.html) if you're looking for more IDE like editor than Notepa

[jQuery] Re: selector, second to last row of table

2009-06-17 Thread ggerri
Hi just want to share my piece of code for getting out values of rows/ cells. $('#myTableID tr:gt(1)').each(function(){ $(this).find('td').each(function(){ // get the cell text out with $.trim($(this).text()); }); }); hope that helps Gerald On Jun 17, 7:08 pm, theprodigy

[jQuery] Re: border-bottom in cells fails in FF but works in IE6 - arrgghh

2009-05-28 Thread ggerri
Ok, found the solution table{ border-spacing: 0; } .top { border-top: 1px solid #000; color:#F0F; } .bottom { border-bottom: 1px solid #000; color:#F0F } thanks :-) ps. check out the IE-Tab plugin for FF! ggerri wrote

[jQuery] border-bottom in cells fails in FF but works in IE6 - arrgghh

2009-05-28 Thread ggerri
Hi there I know it must be simple but I'm just stuck here :,( I have to ad a line between some rows, but not for the first col. the table has: table { border-collapse: collapse } that is fix and I can not change it. the following sample code draws the lines nicely in IE6 but in FF there's j

[jQuery] Re: Any jquery plugin to help in displaying popups (divs above everything)?

2009-05-11 Thread ggerri
what you need is: http://jqueryui.com/demos/dialog/ Regards Gerald sandee...@adpsconsulting.com wrote: > > > I am having to display some popup divs (some divs which appear when > user clicks something) in my project. Now, I am facing numerous issues > relating to positioning of the divs, ma

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-03 Thread ggerri
nd(".ui-dialog-titlebar").remove(); > > Note: there's a separate list for jQuery UI plugins: > > http://groups.google.com/group/jquery-ui > > should you have any further questions. > > - Richard > > On Thu, Apr 2, 2009 at 11:47 AM, ggerri wrote: > > > Hi there

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-03 Thread ggerri
thanks Brian, already checked the options, couldnt find this one... On Apr 2, 5:58 pm, brian wrote: > http://docs.jquery.com/UI/Dialog#options > > On Thu, Apr 2, 2009 at 11:47 AM, ggerri wrote: > > > Hi there > > > want to show a 'please wait' dialog with U

[jQuery] UI Dialog: how to remove the title and the X?

2009-04-02 Thread ggerri
Hi there want to show a 'please wait' dialog with UI dialog, but cant figure out how to remove the title and the X (close dialog) as the dialog should auto-close after the content is loaded... Pleeaaas... ;-) thanks :-) Gerald

[jQuery] blockUI + SSL: $.blockUI() triggers "This page contains secure and non secure items" popup in IE6

2009-04-02 Thread ggerri
Hi there we just changed to SSL here in our office and now I have a problem with blockUI: as soon as I put $.blockUI() in my code, IE6 throws this world famous annoying popup before showing my page: "This page contains secure and non secure items" and this, even I have this warning disabled in

[jQuery] Re: whats wrong with my custom selector :readonly (IE6 sucks)

2009-03-16 Thread ggerri
attribute - these are (to some > extent) separate things. It's in the HTML4 and DOM Level 1 specs: > > http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/level-one-html.html#ID-6043025 > http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#adef-readonly > > cheer

[jQuery] Re: whats wrong with my custom selector :readonly (IE6 sucks)

2009-03-13 Thread ggerri
around now :-) thanks and take care Gerald MorningZ wrote: > > > also to note > > $("input[readonly]") should also work as that sector says "give me all > inputs that have the attribute read only", and it doesn't matter what > the value is, just t

[jQuery] Re: whats wrong with my custom selector :readonly (IE6 sucks)

2009-03-13 Thread ggerri
ction(a) { > return !!a.readOnly; > } > }); > > You have to use !! to enforce returning a boolean value. > > cheers, > - ricardo > On Mar 12, 9:30 am, ggerri wrote: >> Hi there >> jQuery 1.3 has problems with handling the readonly attribute (al

[jQuery] Re: not works on IE

2009-03-12 Thread ggerri
crédit" cause problems... try to use html substitution instead. good luck Tanguy JACQUET wrote: > > I made some change about my css file and it's looks good on firefox but > it's > not perfect on IE7. > > I think it's fine for me. > > 2009/3/12 ggerr

[jQuery] Re: not works on IE

2009-03-12 Thread ggerri
nswered about IE. > > It's fix and seems ok. > > But i don't understand what you said about CSS probleme and i don't know > how > to implemente the message box. > > 2009/3/12 ggerri > >> >> >> Hi >> >> sorry only had time for qui

[jQuery] Re: not works on IE

2009-03-12 Thread ggerri
Hi sorry only had time for quick look and it seems that you have a css problem rather than a jquery one. try to remove the lables with the error messages. make a (Messagebox) above or below the form and write your error messages to this box. regards Gerald Mediacom87 wrote: > > > Hi, i've

[jQuery] whats wrong with my custom selector :readonly (IE6 sucks)

2009-03-12 Thread ggerri
Hi there jQuery 1.3 has problems with handling the readonly attribute (already filed a ticket but I'm a bit stuck here with my project). When you want to select readonly inputs, you have to use [readonly=""] in Firefox and [readonly="true"] in IE6... ( because the DOM looks like that after "

[jQuery] Re: Simple one: difference between varXy.find(':text') and $(varXy).find(':text')

2009-03-06 Thread ggerri
code, for > > instance: > > > > var mySet = '$(mySet)' > > > > and then use it as: > > > > mySet.find(':text')... > > > > Written in "longhand", it would be: > > > > $('mySet').find(':text

[jQuery] Re: Simple one: difference between varXy.find(':text') and $(varXy).find(':text')

2009-03-05 Thread ggerri
,( G ryan.joyce...@googlemail.com wrote: > > > mySet is an object or variable, $(mySet) will try to get an element > using the contents of mySet as the selector. > > On Mar 5, 10:04 am, ggerri wrote: >> Hi there >> >> thats an easy one for you ;-) >> >> if

[jQuery] Simple one: difference between varXy.find(':text') and $(varXy).find(':text')

2009-03-05 Thread ggerri
Hi there thats an easy one for you ;-) if i do: var mySet = $('tr>td:nth-child(2n)'); how do I use mySet? What's the difference between mySet.find(':text') and $(mySet).find(':text') Thanks :-)) GGerri -- View this message in context

[jQuery] $('#tab1 tr:gt(0)>td').filter(':nth-child(2n+1)') select also 1st td in row - aargghh

2009-02-26 Thread ggerri
Hi guys this drives me crazy. why does this also select the first td in each a row? $('#tab1 tr:gt(0)>td').filter(':nth-child(2n+1)') Please give me a hint :-) Thanks a lot Gerald

[jQuery] is there something like $('.myClass').contains('val1 or val2 or val3')?

2009-02-23 Thread ggerri
Hi guys is there a way to use logical operators in jQuery e.g. with 'contains'? thanks

[jQuery] Re: Simulate BackSpace key

2009-01-11 Thread ggerri
Hi I've done something similar with the Tab. Maybe that helps. You'll need the FIELDS Plugin for that: $("#PG1_L02-4-5") .bind('keydown',function(e) { switch(e.keyCode) { case 9: // tab i

[jQuery] How to trigger an event for a SELECT after removing an entry??

2008-12-22 Thread ggerri
4 Really ned some hints here :-) thanks guys ggerri

[jQuery] Re: SWF chart problem

2008-12-12 Thread ggerri
bla Hope that helps. ggerri On Dec 10, 11:08 pm, sumpa wrote: > please someone can help me about that ? > > On 10 Dez., 15:26, sumpa wrote: > > > > >  function updateChart(xml,oid){ > >       //var chart=document.my_chart;   is working > >    

[jQuery] Re: how to check if a form has changed

2008-12-03 Thread ggerri
Hi Sridhar you could do something like var vFlag; $('input').bind('change', function() { vFlag = 'X';}); Then you can check with window.onbeforeunload mentioned earlier if things have changed and react accordingly. Regards Gerald On Dec 2, 4:46 pm, "Web Specialist" <[EMAIL

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-17 Thread ggerri
teaching me another way :handshake: Take care GGerri :-) Karl Swedberg-2 wrote: > > On Nov 12, 2008, at 11:13 AM, Rik Lomas wrote: > >> >> Following on from Karl, how about: >> >> $('#PG1_L03-table td:nth-child(2n+3)').slice(0, 4).find('input&#x

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-17 Thread ggerri
Hi Lisaraël thanks for your help and sorry for late reply - I was down with a flu :-( the odd idea was a great idea and it works perfectly :clap: It would also select the first td, but this is not a problem as its not input ready. thanks again GGerri Lisaraël wrote: > > > $(

[jQuery] can you simplify this selector? easy for you...

2008-11-12 Thread ggerri
Hi Gurus have the following selector and wonder how this could be simplified? :confused: $('#PG1_L03-table td:nth-child(3) input, #PG1_L03-table td:nth-child(5) input, #PG1_L03-table td:nth-child(7) input, #PG1_L03-table td:nth-child(9) input').bind.. need to bind an event to all input fie