Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Thursday February 8 2018 - 06:02:56

Simple PHP Browser sniffer

Poster: tootricky
Dated: Tuesday December 7 2004 - 15:14:25 GMT


I have used version 5 of this menu for a year now and it has been brilliant, but I am now working on a new project that requires something different.

I would like to replace the standard NS4 sniffer:

<script type="text/javascript">
if(ns4)_d.write("<script language=JavaScript src=mmenuns4.js><\/script>");
else _d.write("<script language=JavaScript src=mmenudom.js><\/script>");

with a php script that does exactly the same thing. I have searched the boards to no avail and know nothing of PHP at the moment. Could someone please help.


Poster: Ruth
Dated: Tuesday December 7 2004 - 15:33:14 GMT

I don't really know about php, but theres a zip file for a php/mysql menu and it has a config.php page in it that shows a code for calling the menu files. I don't know if that's what you mean, but here is the file.


Poster: tootricky
Dated: Tuesday December 7 2004 - 20:49:20 GMT

Thanks Ruth,

I think that is what I needed. Now to try to decipher only the bit I need.... wish me luck!

Poster: Ruth
Dated: Tuesday December 7 2004 - 20:53:53 GMT

LUCK! And beyond that I'm totally lost. I know nothing about mysql and even less about php :lol: