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. |