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]>:


http://www.No-Pun.com/DisneyInstitute/index.asp

Stephen has been very helpful to send me screenshots and even a 
suggestion, which unfortunately is not working.


ISSUE:   Safari only
   3px space under blue navigation bar (at top of page)

As is (working on all PC browsers, and even IE Mac), the height of 
this "banner" navbar area is 85px.  If I change it to 88px, the 
navbar vertically aligns as it should -- atop the dark blue 
horizontal line, the "white space" eliminated.


QUESTION:  How can I eloquently-enough serve up just that mod for 
Safari? Here is what I have tried, that does not work:


if(navigator.useragent.indexof("AppleWebKit") > -1){
   document.getElementById("tblBannerNav").style.height="88px";
}


Safari is not recognizing this browser detect at all.  Been googling 
for better Safari browser detection suggestions.  Not coming up with 
any solutions.


Thank you!

T--




 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: 
mailto:[EMAIL PROTECTED] or

use the web interface http://e-newsletters.internet.com/discussionlists.h

tml/

  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface

:

http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

om

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.





 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


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:



   if(navigator.useragent.indexof("AppleWebKit") > -1) {
document.getElementById("tblBannerNav").style.height="88px";
}
//-->


The browser detection still appears to be failing.  Even tried the above 
with ...indexof("safari")... instead (per another source).  Also tried 
changing the style attribute, and variations of the above.


Again, if I "manually" (within the stylesheet) set the table height to 88px, 
it works for Safari.  Now, I just need to figure out how to serve that up. 
[Haven't found any CSS hacks for the problem, so I am resorting to browser 
detection solution.]



http://www.No-Pun.com/DisneyInstitute/index.asp

PROBLEM -- Safari only: Slight (2px) space -- represented by khaki color --  
under blue navigation bar.




From the ridiculous to the sublime,
Tyme 




 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


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 PROTECTED]> wrote:
> Unfortunately, according to my Mac/Safari tester, that did not work.  Here
> is what I last tested:
> 
> 
> if(navigator.useragent.indexof("AppleWebKit") > -1) {
>  document.getElementById("tblBannerNav").style.height="88px";
>  }
> //-->
> 
> 
> The browser detection still appears to be failing.  Even tried the above
> with ...indexof("safari")... instead (per another source).  Also tried
> changing the style attribute, and variations of the above.
> 
> Again, if I "manually" (within the stylesheet) set the table height to 88px,
> it works for Safari.  Now, I just need to figure out how to serve that up.
> [Haven't found any CSS hacks for the problem, so I am resorting to browser
> detection solution.]
> 
> 
> http://www.No-Pun.com/DisneyInstitute/index.asp
> 
> PROBLEM -- Safari only: Slight (2px) space -- represented by khaki color --
> under blue navigation bar.
> 
> 
> From the ridiculous to the sublime,
> Tyme
> 
> 
> 
>  • The WDVL Discussion List from WDVL.COM • 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
> use the web interface http://e-newsletters.internet.com/discussionlists.html/
>Send Your Posts To: wdvltalk@lists.wdvl.com
> To change subscription settings, add a password or view the web interface:
> http://intm-dl.sparklist.com/read/?forum=wdvltalk
> 
>   http://www.wdvl.com  ___
> 
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> To unsubscribe via postal mail, please contact us at:
> Jupitermedia Corp.
> Attn: Discussion List Management
> 475 Park Avenue South
> New York, NY 10016
> 
> Please include the email address which you have been contacted with.
>

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to $subst('List.Name') as: 
$subst('Recip.EmailAddr')
To unsubscribe send a blank email to $subst('Email.UnSub')
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

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:


if(navigator.useragent.indexof("AppleWebKit") > -1) {
document.getElementById("tblBannerNav").style.height="88px";
}
//-->


The browser detection still appears to be failing.

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 to get "getElementByID" to
work).

I'm not where I can test it, but I noticed both of your posts have it
all lower-case.

Tim 
 
_
Tim Furry
Senior Systems Administrator
English Language Acquisition/Planning, Assessment and Research
Denver Public Schools
303.405.8163
[EMAIL PROTECTED]
 

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
   Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.


Re: Re:[wdvltalk] Safari tweaking help

2005-08-12 Thread T--
Yes, that did look odd to my eye, but since I don't write browser detection 
script much, it passed right by me.  I don't have a Mac now to test it, so 
will have to wait until I can borrow one.


I did resolve the issue, without javascript browser detection (the better 
way) yesterday, when I did have a Mac at my disposal.  But, still am 
interested in the correct way to browser detect for Safari.


If anyone does confirm by test, please post.

Tyme

- Original Message - 
From: "Furry, Tim" <[EMAIL PROTECTED]>

To: 
Sent: Friday, August 12, 2005 10:27 AM
Subject: 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 to get "getElementByID" to
work).

I'm not where I can test it, but I noticed both of your posts have it
all lower-case.




 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
  Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.