Add to Google

Dhtml Menu That Reads A Database

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

Dhtml Menu That Reads A Database

psychiccyberfreak
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.

Reply

whyme
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

Reply

psychiccyberfreak
wow, thanks for the tip whyme!

Reply

mayank
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.

Reply

Tyssen
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.

Reply

Lozbo
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.

Reply

psychiccyberfreak
ok, I'll try out those links, thanks for all the help.

Reply

michaelper22
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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Recent Queries:-
  1. mysql database drop down navigation menu - 99.39 hr back. (1)
  2. database dhtml menu - 106.47 hr back. (1)
  3. database driven dhtml menu - 113.47 hr back. (1)
  4. create html menu from database mysql - 128.01 hr back. (1)
  5. menu storing in database - 135.46 hr back. (1)
  6. how to create a dhtml menu in php-nuke - 135.69 hr back. (1)
  7. database driven html menu - 146.76 hr back. (1)
  8. query mysql database with php and drop down box - 212.37 hr back. (1)
  9. dhtml menu to open in iframe - 277.18 hr back. (1)
  10. db dhtml - 305.80 hr back. (1)
  11. php menu storing db - 322.64 hr back. (1)
  12. php menu from database - 355.21 hr back. (1)
  13. dhtml dropdouwn menu with database access - 425.61 hr back. (1)
  14. sqlite php drop own menu pull table - 428.30 hr back. (1)
Similar Topics

Keywords : dhtml, menu, reads, database

  1. Navigation Menu
    Anyone help please? (1)
  2. Is Xml A Programming Language Or A Database Language?
    (10)
    I have noticed that XML is in the HTML forum when XML is used for storing data, not actually
    displaying it. This makes me think it is a database rather than programming language. Who here
    agrees with my views?....
  3. Iframe Menu Question
    (1)
    I am trying to make a menu for my site. I made an HTML page with the text/links of the menu, then I
    embedded that page in all the main "content" pages using an iframe. The problem is that whenever I
    click the links in the menu they open INSIDE of the iframe instead of switching the whole browser to
    the page the link is directed to. I hope I'm not TOO hard to understand. /wink.gif"
    style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> Oh, and on this page it has
    the perfect example of what I want. http://www.w3schools.com/tags/tag_iframe.asp See ....
  4. Menu Errors In Internet Explorer
    (4)
    I am not sure if this is the correct section, but this is related to HTML. I have some menus at the
    top of my forum, which work perfectly in Firefox. But my members started complaining that they were
    not working correctly, and when I tested it in Internet Explorer, I found that only two of the menus
    show up, and the others show up as plain text below. Here is a screenshot of what the menus look
    like in the two browsers: I have thought of something though. The HTML i used for my menus was
    the only code I could find for to make some menus. But I noticed that this forum....
  5. Help With Nav Menu Error
    (5)
    my webpage http://switchfoot.ifastnet.com/index.php has something wrong with it, as soon as you
    load the page the menu appears on the right then goes to it's spot on the left, any help? As
    Soon As Poosible would be nice but there is no rush really.... (only hosting it there for now, when
    i finish the website it will be moved to trap) Title needs to be more discriptive then just
    help, so as to get a better answer from the members. ....
  6. Menu Bar Aligning
    (1)
    I am creating a website for an outreach service. I am running into a reoccuring problem. I can get
    everything to center correctly while I am viewing it under 1024x768. When I view it under 800x600
    the menu itself pulls to the right. If I take away the absolute value it puts the menu on the left
    margin. You can view the source by going to this website: http://www.faithcity.org/test.html . Any
    advice would be greatly appreciated.....
  7. Form To Create Either A Mysql Or Msaccess Database
    how do i do it (4)
    i was wondering if anyone here knew how to write a form that will create a MySQL database or a
    MSAccess database like on cpanel in the databases page, i want to know how to write a form like that
    (just the create database form). so any help would be great and if you knowq the code put it below
    thanks....
  8. Image Roll Over Drop Down Menu Help
    (2)
    Ok I been searching for days now on a half way descent tutorial on how to do a Image Roll Over Drop
    Down Menu in CSS without the use of javascript, I been seeing alot of the suckerfish set up but of
    course no one goes in to detail on how to set up the image rollover version of it. Plus I don't
    want the dhtml or the javascript setup just good ole pure css. Also I need ot be able to control
    multiple menus in one script as well. CODE   
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Untitled Document ul, li { margin:0;
    padding:0; list-style-type:....
  9. Dhtml Opacity
    how stable is opacity (3)
    I'm working on a new site, and would really like to use the opacity functions in dhmtl but
    i'm just wondering how stable it is. It is super important that most browsers see it so i've
    found a script for both mozilla ( very difficult to find) and one for ie. but now i'm just at a
    cross roads. Anyone have any thoughts, has every used it and it all went bad. Seems stupid but the
    site i'm working on is like over 500 pages and i don't want to start out bad. round ....
  10. Insert Into Database
    Radio Buttons and dropdown menus (8)
    I am currently working on a registration page but I can't figure out a few things, wich all
    basically have the same thing in common Radio Button: In the registration form i have a gender
    selection and I want to input that into the database, I currently have the following: CODE Male
    Female In the registering file I put the following (edited for the question): CODE $SQL =
    "INSERT into go_logintable(gender ) VALUES ('$gender')"; I have no idea if thats the
    right way to go, so please give me some pointers. ____________________________________ D....
  11. Drop Down Menu
    (1)
    This little code will disable the select option in a drop down menu, sometimes people like to add
    titles to their menu. insted of Pick One Choise 1 try Choise 1 with
    optgroup users can't select Pick One, it is just use as a title....

    1. Looking for dhtml, menu, reads, database






*SIMILAR VIDEOS*
Searching Video's for dhtml, menu, reads, database

*MORE FROM TRAP17.COM*
advertisement



Dhtml Menu That Reads A Database