Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Dhtml Menu That Reads A Database
psychiccyberfrea...
post Aug 8 2005, 03:21 PM
Post #1


Super Member
*********

Group: Members
Posts: 425
Joined: 19-October 04
From: long island, ny
Member No.: 1,831



I wanted to make a DHTML menu that read off a database, so it woud work with a menu system in PHP-nuke, called somarre patreballe, or something like that. Anybody can help me? I don't know much of anything about DHTML.
Go to the top of the page
 
+Quote Post
whyme
post Aug 15 2005, 12:04 AM
Post #2


Privileged Member
*********

Group: Members
Posts: 661
Joined: 10-January 05
Member No.: 3,189



Because DTHML is client-based and not server based, it can not grab information from a database.

DHTML can not read db's nor can it handle db's.

It's bested if you made a PHP code that would read the SQL db and then use some echo statements to create that DHTML menu.

hth,

whyme
Go to the top of the page
 
+Quote Post
psychiccyberfrea...
post Aug 21 2005, 05:41 PM
Post #3


Super Member
*********

Group: Members
Posts: 425
Joined: 19-October 04
From: long island, ny
Member No.: 1,831



wow, thanks for the tip whyme!
Go to the top of the page
 
+Quote Post
mayank
post Aug 21 2005, 06:17 PM
Post #4


Mankie
*********

Group: Members
Posts: 761
Joined: 22-July 05
From: New Delhi, India
Member No.: 9,746



hey psychiccyberfreak!
i think this link can help you what "whyme" said is correct that you can use DHTML as the frontend and then use asp or any other server side script to read all the content.

the link which i am posting is basically an ASP DHTML driven menu.
Go to the top of the page
 
+Quote Post
Tyssen
post Aug 21 2005, 10:07 PM
Post #5



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



QUOTE(mayank @ Aug 22 2005, 04:17 AM)
i think this link can help you what "whyme" said is correct that you can use DHTML as the frontend and then use asp or any other server side script to read all the content.

You could use some of the functionality outlined in that article, but imho, you'd be better off ditching DHTML menus in favour of a full CSS-driven alternative as the code that needs to be manipulated by the database would be far simpler.
Check out Suckerfish dropdowns for an excellent CSS example.
Go to the top of the page
 
+Quote Post
Lozbo
post Sep 6 2005, 10:35 PM
Post #6


Super Member
*********

Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



As they said, dhtml is client side code, so in order to achieve database connections you need other kind of programming, like php, jps, asp, but not only do you need to program in any of these languages, but you need your server to support them. Trap17 supports php, which is also free if you install a local server in your machine.
Go to the top of the page
 
+Quote Post
psychiccyberfrea...
post Oct 11 2005, 11:45 PM
Post #7


Super Member
*********

Group: Members
Posts: 425
Joined: 19-October 04
From: long island, ny
Member No.: 1,831



ok, I'll try out those links, thanks for all the help.
Go to the top of the page
 
+Quote Post
michaelper22
post Nov 6 2005, 01:40 AM
Post #8


-=Hybrid Bus=-
*********

Group: Members
Posts: 744
Joined: 2-November 05
From: My hybrid bus (in NYC), a computer
Member No.: 13,709
Spam Patrol



In the Mambo content management system, there is a module that makes dropdown javascript menus. I forgot what it is called, but I got it from Mamboforge. I don't like it because the menus slide out instead of just appearing.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Dhtml Opacity(3)
  2. Image Roll Over Drop Down Menu Help(2)
  3. Form To Create Either A Mysql Or Msaccess Database(4)
  4. Menu Bar Aligning(1)
  5. Help With Nav Menu Error(5)
  6. Menu Errors In Internet Explorer(4)
  7. Iframe Menu Question(1)
  8. Is Xml A Programming Language Or A Database Language?(10)