The last semi-colon in a set of CSS rules can be omitted; it is there as a rule separator only. Besides, he's getting an "object expected" error, which is purely javascript. Looking at the script, the only thing I can see is that he (she?) has failed to declare the function. That is,

showLeisureSub() {

should be

function showLeisureSub() {

Functions (well, pretty much everything) in javascript are objects, as well as being datatypes. I think that's why he's getting the "object expected" error. I'm on my way to a party so I don't have time right now to test, but I think that nominating the function correctly will probably address his problem.

Cheers,
Scott
.
----- Original Message ----- From: "Portman" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, July 26, 2005 8:20 PM
Subject: Re: [wdvltalk] Troubleshoot javascript (very easy)


Maybe . . . you are missing a semi-colon at the end of the line <div id="LeisureSub" class="nomargin" style="display: none; visibility: hidden*;*">

Riva

Tyme wrote:

Okay, I know that this is incredibly simple. It is just a matter of my staring at it so long that I am overlooking the very obvious. [As soon as I ask for help, I figure it out myself. :-) ] . . .



____ . 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: [email protected]
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: [email protected]
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.

Reply via email to