Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Load GfxMenu using JavaScript

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
RCG Posted - 02 Jul 2008 : 20:08:04
Is if possible to display / load a GfxMenu using a Javascript? I have several levels of security built into our site and would like to display a different menu base of access level. The following is a rough example of my intentions:

Example:
<script type="text/javascript">
if ('%%seclvl%%' == '9')
{
show,GfxMenu9
}
else if ('%%seclvl%%' == '8')
{
Show,Gfxmenu8
}
else if ('%%seclvl%%' == '7')
{
Show,GfxMenu7
}
else
{
Show,GfxMenu1
}
</script>
3   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 04 Jul 2008 : 09:59:37
I suggest you to search on Google for PHP manuals, I'm not a PHP expert...
RCG Posted - 03 Jul 2008 : 19:36:06
Well that leaves me in the black hole, appreciate the reply

Since my knowledge of PHP is limited, do you have an example I could follow or a good online reference to accomplish my task[2 ?:-|]
s.dav Posted - 03 Jul 2008 : 09:11:07
You can act on the "Custom Code" property and insert PHP or ASP code inside it.
Using Javascript it's not possible.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000