R
richard
I've been tossing around the idea now that maybe my problem might be
better resolved by using the "select case"/switch command.
The only problem is, all the dozens of sites I've seen so far only
give very brief examples using the very basic things.
Such as:
select case name
case "adam"
document.write("adam")
or what ever.
They might mention that is possible to put code into this statement
but show no examples of this.
Let alone show how to pass a value to the "case" other than by manual
input in the coding.
Assume I have 3 links.
Link 1.
Link 2.
Link 3.
The opening and default is link 1.
User clicks on link 2, what's ever showing in that visible <div 1> is
replaced with <div 2>.
How would I best do this?
better resolved by using the "select case"/switch command.
The only problem is, all the dozens of sites I've seen so far only
give very brief examples using the very basic things.
Such as:
select case name
case "adam"
document.write("adam")
or what ever.
They might mention that is possible to put code into this statement
but show no examples of this.
Let alone show how to pass a value to the "case" other than by manual
input in the coding.
Assume I have 3 links.
Link 1.
Link 2.
Link 3.
The opening and default is link 1.
User clicks on link 2, what's ever showing in that visible <div 1> is
replaced with <div 2>.
How would I best do this?