I am setting up a web page for a games group and i want to be able to code my pages to show 1 of 2 members depending on whether the user is a member or not.
Since I am just learning web coding i was wonder if some kind person would help me with my code: the error part are marked by **. thanks
<!-- Menu START -->
**get value of userIsMember
**if userIsMember = true then <h1 class="hidden"> else <h2
** class="hidden"> end if <h1>Menu <br />
<a href="/index.html" class="style3">Home Page</a><br />
<a href="/who-we-r.html" class="style3">Who we are and what we are about.</a><br />
<a href="/history.html" class="style3">History of our Kinship.</a><br />
<a href="/philosophy.html" class="style3">Philosophy of our Kinship.</a><br />
<a href="/public_html/rules.html" class="style3">Rules of our Kinship.</a><br />
<a href="/application.html" class="style3">Application to join to theKinship.</a><br />
<a href="/feedback.html" class="style3">Feedback or Comments.</a><br />
</h1>
<br />
<h2>Menu <br />
<a href="/index.html" class="style3">Home Page</a><br />
<a href="/awards.html" class="style3">Awards</a><br />
<a href="/bank.html" class="style3">Bank</a><br />
<a href="/calendar.html" class="style3">Calendar</a><br />
<a href="/characters.html" class="style3">Characters</a><br />
<a href="/events.html" class="style3">Events</a><br />
<a href="/feedback.html" class="style3">Feedback.</a><br />
<a href="/gallery.html" class="style3">Gallery</a> <br/>
<a href="/groups.html" class="style3">Groups</a><br />
<a href="/polls.html" class="style3">Polls</a><br />
<a href="/raids.html" class="style3">Raids</a><br />
<a href="/ranks.html" class="style3">Ranks</a><br />
<a href="/shouts.html" class="style3">Shouts</a><br />
</h2>
<br />
<!-- Menu END -->
As you can see the idea is to hide one of the either menu 1 or menu 2 depending of the userIsMember status.
Thanks very much for your assistance
Michael
Since I am just learning web coding i was wonder if some kind person would help me with my code: the error part are marked by **. thanks
<!-- Menu START -->
**get value of userIsMember
**if userIsMember = true then <h1 class="hidden"> else <h2
** class="hidden"> end if <h1>Menu <br />
<a href="/index.html" class="style3">Home Page</a><br />
<a href="/who-we-r.html" class="style3">Who we are and what we are about.</a><br />
<a href="/history.html" class="style3">History of our Kinship.</a><br />
<a href="/philosophy.html" class="style3">Philosophy of our Kinship.</a><br />
<a href="/public_html/rules.html" class="style3">Rules of our Kinship.</a><br />
<a href="/application.html" class="style3">Application to join to theKinship.</a><br />
<a href="/feedback.html" class="style3">Feedback or Comments.</a><br />
</h1>
<br />
<h2>Menu <br />
<a href="/index.html" class="style3">Home Page</a><br />
<a href="/awards.html" class="style3">Awards</a><br />
<a href="/bank.html" class="style3">Bank</a><br />
<a href="/calendar.html" class="style3">Calendar</a><br />
<a href="/characters.html" class="style3">Characters</a><br />
<a href="/events.html" class="style3">Events</a><br />
<a href="/feedback.html" class="style3">Feedback.</a><br />
<a href="/gallery.html" class="style3">Gallery</a> <br/>
<a href="/groups.html" class="style3">Groups</a><br />
<a href="/polls.html" class="style3">Polls</a><br />
<a href="/raids.html" class="style3">Raids</a><br />
<a href="/ranks.html" class="style3">Ranks</a><br />
<a href="/shouts.html" class="style3">Shouts</a><br />
</h2>
<br />
<!-- Menu END -->
As you can see the idea is to hide one of the either menu 1 or menu 2 depending of the userIsMember status.
Thanks very much for your assistance
Michael