[jQuery] Re: resize iframe to fit contents

2009-05-22 Thread kevind
never mind - fixed On May 22, 7:26 am, kevind wrote: > hi, > > i have an iframe on page to hold record editing form - the form > presented in the frame needs to   be different sizes depending on the > form size > > i want the page called to resize the frame but, i can&

[jQuery] resize iframe to fit contents

2009-05-22 Thread kevind
hi, i have an iframe on page to hold record editing form - the form presented in the frame needs to be different sizes depending on the form size i want the page called to resize the frame but, i can't figure out how to refer to it from the page loaded in the iframe parent().$("#myiframe").he

[jQuery] Re: add href to table row from link inside row

2009-04-19 Thread kevind
never mind - added line : window.location=href; to complete process thanks again On Apr 19, 4:35 pm, kevind wrote: > hi, > > your example code didn't work - is there some step i'm missing ? > > here's an example of one of the rows in my table > > >

[jQuery] Re: add href to table row from link inside row

2009-04-19 Thread kevind
hi, your example code didn't work - is there some step i'm missing ? here's an example of one of the rows in my table USB Backupsetup USB backup 09-Sep-08 0809007

[jQuery] Re: add href to table row from link inside row

2009-04-19 Thread kevind
nd('a').attr('href'); > > }) > > Be aware that depending upon how your markup is structured, a user > could click the anchor itself and that would be followed, so you might > want to return false if that's not desirable behavior. > > On Apr 19, 12:35

[jQuery] add href to table row from link inside row

2009-04-19 Thread kevind
I want to make rows in a table clickable. the row already contains a link in a TD cell which works - however, i've added a hover effect to the table and want to copy the href from the link and add it to the row itself all rows in the table have class .Row to make selection through JQuery easie

[jQuery] Re: change LI class onclick of A inside

2009-04-11 Thread kevind
work :) > > > $("ul.glossymenu li").bind("onclick",function(){ > >                 $("ul.glossymenu li").removeclass('current'); > >                 $(this).addclass('current'); > >         }; > >         ); > > > O

[jQuery] change LI class onclick of A inside

2009-04-11 Thread kevind
i'm using Glossymenu at dynamic drive: http://www.dynamicdrive.com/style/csslibrary/item/glossy_horizontal_menu/ what i want to accomplish is when I click one of the links inside the LI element, the LI's in the UL lose their class of 'current' and the clicked LI gains the class 'current' i have

[jQuery] Re: paint columns in alternating colour

2009-01-29 Thread kevind
$("table.Grid tr td:nth-child(even)").css("background","gainsboro"); this did the trick - figured it out myself (ok, i read it in the zebra striping tutorial at jquery.com and figured it would work for columns too) thanks all

[jQuery] Re: paint columns in alternating colour

2009-01-28 Thread kevind
forgot to say, it didn't work :(

[jQuery] Re: paint columns in alternating colour

2009-01-28 Thread kevind
nstead and leave the td > transparent it's just this > > $(document).ready(function(){ > $(".Grid .Row:even").css("background","silver"); > > }); > > I'd change .css("background","silver"); to .addClass("class

[jQuery] paint columns in alternating colour

2009-01-28 Thread kevind
i have this table structure - a database feeds rows into it with Class=Row or AltRow I want to paint the columns in alternating colours for both Row and AltRow for readability I tried: $(document).ready(function(){ $(".Grid>.Row>td:even").css("background","silver"); }); and other variations - i'

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread kevind
Update on this project i've opted to roll up to 1 row as end users of this private app. have more screen space horizontally that i can work with. however, the script below doesn't appear to work in Firefox - it works fine in IE 6, Chrome what's up with that ? my on-page style is tr.hover td

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread kevind
r: pointer in your CSS, and use this: > > $('.Row:even').each(function(){ >    var t = $(this), link = t.find('a')[0].href; >    t.add( t.next('.Row') ).click(function(){ >       window.location = link; >   }); > > }); > > use :odd an

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread kevind
showing a 'hand' when mouseover occurs - any suggestions? thanks again Kevin On Jan 25, 7:45 pm, kevind wrote: > hi, > > i'm using JQuery to add a Class when a row is hovered over - i have it > working, however, each row of data has 2 rows in the table - I want to >

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread kevind
().hasClass(cls)) >                 return $(el).prev(); >         if($(el).next().hasClass(cls)) >                 return $(el).next(); > > } > > > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com > > On Mon, Jan 26, 2009 at 5:45 AM, kevind wrote

[jQuery] Hover Effect on 2 rows

2009-01-25 Thread kevind
hi, i'm using JQuery to add a Class when a row is hovered over - i have it working, however, each row of data has 2 rows in the table - I want to have both rows change background color whenever i hover over either of them. The table already has 'stripes' for alternating records and readability.

[jQuery] Re: window height

2008-10-19 Thread kevind
thanks !! i'm not an expert on script - but, you've obviously been at it for some time - now i can stop pulling my hair out :) kd On Oct 18, 11:16 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > The problem is the document.write. You can't do that in a .ready() or > .load() or any time except w

[jQuery] window height

2008-10-18 Thread kevind
can anyone point me to where i can get the window height or viewport height of the current window. the code (below) in the onload event doesn't return anything in IE 6 or Chrome but does work in FF3 i just need the height so i can adjust another element on the page to fit in and leave a footer a