Search found 8 matches

by yes2work1
Tue Oct 03, 2006 2:53 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: DEFINING A BASE URL
Replies: 2
Views: 3497

Base URL

Solved it using this code segment

Code: Select all

aI("text=Address / Telephone Lookup;url="+baseurl+"sites/telephoneLookup.htm;");
Not too hard really was it? just having a bad day :-)

Cheers
by yes2work1
Tue Oct 03, 2006 10:55 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: DEFINING A BASE URL
Replies: 2
Views: 3497

DEFINING A BASE URL

Hi

I am having problems using relative paths within our milonic installation. I have defined a global variable within menu_data.js called baseurl which contains a string which represents the base URL for the site where milonic will be used on our server.

My question is how I concatenate the ...
by yes2work1
Mon Oct 02, 2006 10:10 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Relative paths and milonic
Replies: 11
Views: 10126

Relative paths and milonic

Hi Kevin,

I’ve tried what you suggested i.e. using / as opposed to ../ or ./ and this isn’t working as / takes me to the IIS Server root (this is not the same as the root directory of the website which uses the miloic menu).

I’ve tried to solve the problem by using HTML Base tags on each of the ...
by yes2work1
Fri Sep 29, 2006 4:10 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Relative paths and milonic
Replies: 11
Views: 10126

Thanks for the replay but I was actually hoping that I could use relative paths within the menu_data.js file so that all the menu item URL’s are relative to the site root - I’ve tried using ./foldername/file.htm and ../foldername/file.htm but this doesn't appear to be working on some of my pages ...
by yes2work1
Fri Sep 29, 2006 3:23 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Relative paths and milonic
Replies: 11
Views: 10126

Thanks.

That's fine, but is there no way of doing this using relative paths?

Cheers
by yes2work1
Fri Sep 29, 2006 1:46 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Relative paths and milonic
Replies: 11
Views: 10126

Hi

What is the correct syntax to use when specifying the URL’s for the different menu items within the menu_data.js file?

Cheers
by yes2work1
Fri Sep 29, 2006 11:35 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Relative paths and milonic
Replies: 11
Views: 10126

Hi Andy,

Putting the full path worked although it doesn’t look too elegant it'll do nicely

Cheers
by yes2work1
Wed Sep 27, 2006 3:05 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Relative paths and milonic
Replies: 11
Views: 10126

Relative paths and milonic

I’ve just configured Milonic for use on our intranet site and am having some problems in getting the scripts to work. The scripts work fine as long as the page on which the script block is placed is in the same directory as the .js (JavaScript) files. However if try to use Milonic on a page which is ...