Re:[wdvltalk] Safari tweaking help

2005-08-12 Thread Furry, Tim
Tyme wrote: Unfortunately, according to my Mac/Safari tester, that did not work. Here is what I last tested: script language=JavaScript type=text/javascript if(navigator.useragent.indexof(AppleWebKit) -1) { document.getElementById(tblBannerNav).style.height=88px; } //-- /script The browser

Re: Re:[wdvltalk] Safari tweaking help

2005-08-12 Thread T--
: Re:[wdvltalk] Safari tweaking help Tim: My JavaScript is getting a bit rusty, but it seems I recall that you need to use indexOf (note the capitalization). Same problem exists if you don't capitalize getElementById correctly, it just fails when you use it (I spent an hour once long ago trying

Re: [wdvltalk] Safari tweaking help

2005-08-11 Thread Perry Gerenday
Is it the browser detection that not working? Try this instead: if(navigator.useragent.indexof(AppleWebKit) -1){ document.getElementById(tblBannerNav).style.height=88 + px; Might be the problem. Thanks, Perry Gerenday http://www.webinitiative.net Quoting T-- [EMAIL PROTECTED]:

Re: [wdvltalk] Safari tweaking help

2005-08-11 Thread T--
Unfortunately, according to my Mac/Safari tester, that did not work. Here is what I last tested: script language=JavaScript type=text/javascript if(navigator.useragent.indexof(AppleWebKit) -1) { document.getElementById(tblBannerNav).style.height=88px; } //-- /script The browser

Re: [wdvltalk] Safari tweaking help

2005-08-11 Thread Stephen Caudill
I sadd it was untested ;) Couple of typos on my part: if(navigator.userAgent.indexOf(AppleWebKit) -1) { document.getElementById(tdMenuSolutions).style.height=88px; } seems to work for me. Note the spellings of indedOf and userAgent. hth, Stephen On 8/11/05, T-- [EMAIL