Hexagora Forum
Home
|
Profile
|
Active Topics
|
Members
|
Search
|
FAQ
Username:
Password:
Save Password
Forgot your Password?
All Forums
Dynamic HTML Editor
Dynamic HTML Editor
Load GfxMenu using JavaScript
New Topic
Reply to Topic
Printer Friendly
Author
Topic
RCG
Novice
USA
10 Posts
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>
s.dav
Site Admin
Italy
3364 Posts
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.
Regards, Davide
RCG
Novice
USA
10 Posts
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
Site Admin
Italy
3364 Posts
Posted - 04 Jul 2008 : 09:59:37
I suggest you to search on Google for PHP manuals, I'm not a PHP expert...
Regards, Davide
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Forum & Site (Forum e Sito)
Hexagora.com Home Page...
Forum Rules - Le Regole del Forum
Advice, idea and suggestions
Information (or Problems) about Forum and Site
OT (OffTopic, Vario)
Purchase Orders and Activation Issues
Purchase Orders and Activation Issues
Dynamic HTML Editor
Share self-made extensions with other users
Purchase Orders and Activation Issues
News and Announcements
Mobile Development
Dynamic HTML Editor Site
Dynamic HTML Editor
Share templates with other users
Web sites built with Dynamic HTML Editor
Info & Tips for the WEB
Other hexagora products
Purchase Orders and Activation Issues
Programs (Programmi)
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
Hexagora Forum
© s.dav
Snitz Forums 2000