Re:[wdvltalk] JavaScript/CSS question

2008-09-03 Thread Furry, Tim
Riva, I'd agree with MOU - you're making things too complicated. Set your menu items up to be block display and let the browser handle the movement for the form. Use JS to control just the display:none or display:block. Tim • The WDVL Discussion List from WDVL.COM • To Join

Re: [Bulk] Re:[wdvltalk] JavaScript/CSS question

2008-09-03 Thread Portman
Thanks Ross/MOU and Tim. I will give it a try. Riva On 9/3/2008 10:11 AM, Furry, Tim wrote: Riva, I'd agree with MOU - you're making things too complicated. Set your menu items up to be block display and let the browser handle the movement for the form. Use JS to control just the

[wdvltalk] JavaScript/CSS question

2008-09-02 Thread Portman
Hi all, I was wondering if it is possible to find out the value of a css property (using JavaScript) and then change it? For example, I have a form under a drop down menu. The client wants the form to move down as the menu expands. I made the drop down menu using jQuery and I have figured

Re: [wdvltalk] JavaScript/CSS question

2008-09-02 Thread Ross Clutterbuck
Riva: CSS properties would be found in an object's style property. The JavaScript names are the same usually as the CSS names, only the JavaScript equivalent of hyphenated names is to remove the hyphen and capitalise the second word. The values you give them are the same as the CSS values