Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: dynamic URL
kouri
Junior Member

Posts: 6
Registered: 12/3/2003
Member Is Offline
posted on 12/3/2003 at 03:06 PM Reply With Quote
dynamic URL


MY URL wait for an id that is provided by a PHP variable..Is it possible to enter a PHP sequence as URL in menu_items.js file?
Thx for your answer and your product !
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 12/13/2003 at 03:25 AM Reply With Quote

Yes, sure.
Below are the ways to generate menu structure dynamically by server side script:

1. rename menu_items.js into menu_item.php (don't forget to update the link to the file in the code of the page). Then you put inside menu_items.php the code which produces the text of that configuration file just the way you usually generate HTML with server side scripts. Also check if this file is in the directory where server executes the scripts.

2. unlink menu_item.js and generate items variable inside the <script> block before menu initialization together with other client side code. This assumes that your page itself is dynamic.

Currently Tigra Menu GOLD and Tigra Tree Menu PRO are supplied with PHP and ASP samples of dynamic menu structure generation from database and file system.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004