MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 5th, 2003, 03:00 PM
ChiDung ChiDung is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Denmark
Posts: 2 ChiDung User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post Creating an IE-Only Database Driven Menu System With PHP, MySQL and DHTML

Hi every one.

I'm newbie in php and mysql. I hope som one can help me.

I have read article"Creating an IE-Only Database Driven Menu System With PHP, MySQL and DHTML" by Annette Tennison.

The menu system is nice, but it seem avanced for me. I just want to maker a simple menu system with text and comnination with php and mysql. Can some one tell me:

- How can I close plus/minus images (just do not want use images, only text )?

- How can I maker example: "Home" without child_td and with a link me back to index.php ?

- The source code uses images to point out when we click on to expand/collapse the menu items, how can I maker expand / collapse with only text without the images?

The exactly my menu look like:

Home -----> with a link, this link me back to index.php

Parent1
Child_1 of parent1 ------> with a link, this link me another pages.
Child_2 of parent1 ------> with a link, this link me another pages.
Child_2 of parent1 ------> with a link, this link me another pages.

Parent2
Child_1 of parent2 ------> with a link, this link me another pages.
Child_2 of parent2 ------> with a link, this link me another pages.
Child_3 of parent2 ------> with a link, this link me another pages.

Parent3

Parent4

So you can see, when I click on parent1 and parent2 so it expand the child_menu. If I click on parent1 and parent2 so they collpase the child_menu.

Please help. Best regards. ChiDung.

Reply With Quote
  #2  
Old October 5th, 2003, 10:37 PM
Taelo Taelo is offline
5B's
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: PC, FL
Posts: 364 Taelo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 26 sec
Reputation Power: 6
hmm,..without reloading the page, your still going to need javascript or dhtml.

now you could use just php to expand/collapse the trees but the only way to do it with php is to reload the page after each click.
__________________
-- Jason

Reply With Quote
  #3  
Old October 6th, 2003, 07:04 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
If you want a really cool cross-browser javascript to handle expanding and collapsing nav, check out http://www.dhtmlkitchen.com/scripts/animtree/index.jsp. This is the best such script I've seen out there, and the author is available at very reasonable rates to help customize it. I think there's a small licensing fee, but for good cross-browser nav, I'd say it's probably worth it. This is just a js, but I suspect the author'd be happy to help write code to generate the DIV tags from a database if need be (though that's really pretty simple to do).

Reply With Quote
  #4  
Old October 6th, 2003, 07:32 AM
ChiDung ChiDung is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Denmark
Posts: 2 ChiDung User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi, dhouston.

Thanks for mail.

I have visit the link you have show me: URL But get 404.html.
By away, I just like maker a simple text menu with combination with html, javascript, php and mysql.

Best regards. ChiDung

Reply With Quote
  #5  
Old October 6th, 2003, 08:13 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
Looks like the forum included the period in the link I pasted in. If you're interested in viewing the site, just remove the period from the end of the link once you click on it and get the 404. Actually, I'll go back and edit the link for future viewers as well.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Creating an IE-Only Database Driven Menu System With PHP, MySQL and DHTML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway