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: Linking problem
digitalquill
Junior Member

Posts: 2
Registered: 3/11/2008
Location: Hull UK
Member Is Offline
posted on 3/11/2008 at 09:02 PM
Linking problem


Hi all

Ok so I am obviously not the brightest around here or am I missing something? All I seem to be able to get the tree menu to do is show a Javascript alert with the URL in it.

I am using pro version and the PHP database demo provided, this works perfectly in that it pulls out the tree from the DB but all I can seem to get it to do is show a javascript alert

really I want it to link to a php page, I would like the link to contain the category ID e.g.

shop.php?id=123

Hope it is me missing something obvious but I cant even seem to get it to link to a url in the DB
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 3/12/2008 at 12:28 AM

in items.php replace the demo code:
echo " ['$row[$cfn]', \"javascript:linkCheck('$clink')\", ";
with production code:
echo " ['$row[$cfn]', '$clink', ";
View User's Profile View All Posts By User U2U Member
digitalquill
Junior Member

Posts: 2
Registered: 3/11/2008
Location: Hull UK
Member Is Offline
posted on 3/12/2008 at 07:29 AM

Ah! Thanks... works like a gem perfect
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


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