: [wdvltalk] Troubleshoot javascript (very easy)
Tyme,
Very close :0) You're just missing the declarator for the function
(function):
function showLeisureSub() {
document.getElementById(LeisureSub).style.display = block;
}
For extra behavioral separation, you might even try this:
script type=text
: Re: [wdvltalk] Troubleshoot javascript (very easy)
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 required error,
which is purely javascript. Looking at the script, the only thing I can
see is that he (she?) has
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. :-) ]
Errors: expected ; and object required.
p id=pLeisure class=navbutton
a href=Leisure.asp
Can you do the javascript:alert('coming soon!')? Don't you have to
write a function to do that?
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
, 2005 7:55 PM
Subject: Re: [wdvltalk] Troubleshoot javascript (very easy)
Can you do the javascript:alert('coming soon!')? Don't you have to
write a function to do that?
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
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
Tyme,
Very close :0) You're just missing the declarator for the function
(function):
function showLeisureSub() {
document.getElementById(LeisureSub).style.display = block;
}
For extra behavioral separation, you might even try this:
script type=text/javascript
function
the function correctly will probably address his
problem.
Cheers,
Scott
.
- Original Message -
From: Portman [EMAIL PROTECTED]
To: wdvltalk@lists.wdvl.com
Sent: Tuesday, July 26, 2005 8:20 PM
Subject: Re: [wdvltalk] Troubleshoot javascript (very easy)
Maybe . . . you are missing