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: Saturday July 14 2012 - 06:07:16

Simple url?


Poster: ajosborne
Dated: Wednesday February 1 2006 - 11:29:44 GMT

I want some simple urls in my intranet website (for simple users?).

I want a link to a network share and found that I had to double up on the number of backslashes (url=\\\\servername\\sharename\\foldername;) why? Guess it might be a unix vs. windows thing.

Now my problem is I want url=My Documents; but the menu code always changes the link so that I cannot actually just get "My Documents" to appear in the browser URL.

How do I get 'My Documents' recognised as a file link???

Presumably there is some parsing of the url=xxx variable. what are these parsing rules and are they documented?

Cheers. James.


Poster: John
Dated: Wednesday February 1 2006 - 14:50:10 GMT

'My Documents' is not a URL. It would be something like...
Code:
"C:\Documents and Settings\username.login_domain\My Documents"

The main problem here is that directory is on your local drive. Unless you're building a system that you plan on running just locally (i.e., not being published on a server), nobody will be able to get to that location. Or are you going to open up your system to the whole world... :?: :roll:

I realize you said 'intranet', but that still implies opening up your system to outside users. Not a good idea at all.


Poster: ajosborne
Dated: Wednesday February 1 2006 - 15:31:04 GMT

Hi John,

I am running the website on an IIS web server. Not locally.

All users are internal staff who have a 'My Documents' which is redirected to a network server so that their 'My Documents' is backed up. Therefore every user has a My Documents which is specific to them. Yes it is roughly equivalent to the long link you mention, which could be a local directory or a network directory.

In Internet Explorer the URL 'My Documents' works fine so as far as IE is concerned this is a valid URL which IE knows what to do with. Equally valid for IE would be an URL such as 'H:\' which might be a mapped network drive or a local disk.

The menu can cope with a sharename such as \\\\server\\share\\folder. I've also found the menu can cope with a link to a shared folder such as url=file:///\\server\\share\\folder. but it doesn't seem able to cope with something like 'H:\' or 'My Documents' no matter how I write the syntax.

Is there any way I can make these simple IE URLs recognised?

James.