How do you begin?
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
How do you begin?
Hullo
I'm script-challenged - I learn from copying other stuff. What has me stumped is I downloaded some files but I don't know what to type in the body to call them up - there is a mmenudom.js, menu_data.js, milonic_src.js , menuns4.js
I think you put this on the page :
<script language=JavaScript src="/images/menu/milonic/milonic_src.js" type=text/javascript></script>
<script language=JavaScript src="/images/menu/milonic/menu_data.js" type=text/javascript></script>
but nothing comes up - I just want to see the sample I downloaded from Milonic appear on my page.
I put the script path in
//scriptpath="/images/menu/milonic/";
I'm script-challenged - I learn from copying other stuff. What has me stumped is I downloaded some files but I don't know what to type in the body to call them up - there is a mmenudom.js, menu_data.js, milonic_src.js , menuns4.js
I think you put this on the page :
<script language=JavaScript src="/images/menu/milonic/milonic_src.js" type=text/javascript></script>
<script language=JavaScript src="/images/menu/milonic/menu_data.js" type=text/javascript></script>
but nothing comes up - I just want to see the sample I downloaded from Milonic appear on my page.
I put the script path in
//scriptpath="/images/menu/milonic/";
Last edited by Surfergirl on Mon Aug 25, 2003 10:58 pm, edited 1 time in total.
After downloading the menu, do nothing, open the menu.htm file in your browser. It will appear. Then you can begin by opening menu_data.js and try changing text=YOUR LINK NAME and read more instructions on the website to begin changing the menu.
Everything between
aI("...............");
is a menu item
After the top 8 styles are main menu styles.
ending
}
Followed by styles for submenus.
ending
}
A menu may have its own style.
A menu item may have its own style.
Start slow changing items, save and preveiw in your browser, if you do it wrong the menu won't appear... undo last save.
Read instructions on the site, and search the forum if you run into problems.
When you are ready to put the menu up, then place the script on your page where you want the menu to appear.
Everything between
aI("...............");
is a menu item
After the top 8 styles are main menu styles.
ending
}
Followed by styles for submenus.
ending
}
A menu may have its own style.
A menu item may have its own style.
Start slow changing items, save and preveiw in your browser, if you do it wrong the menu won't appear... undo last save.
Read instructions on the site, and search the forum if you run into problems.
When you are ready to put the menu up, then place the script on your page where you want the menu to appear.
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
Part I
Ok, I conceeded and moved everything into the main directory and it works but that won't solve my problem when I start adding folders. I need help with the dir structure. I tried putting in the url and that didn't work. This file is in http://www.adventurescape.com/HortonRea ... nu/milonic - please tell me what to do for the src and the call files
Part II - If I change only one letter on the menu_data.js from the download example it gives 'done but with errors on the page'
this is driving me mad
the wind is blowing and I want to go surfing
Ok, I conceeded and moved everything into the main directory and it works but that won't solve my problem when I start adding folders. I need help with the dir structure. I tried putting in the url and that didn't work. This file is in http://www.adventurescape.com/HortonRea ... nu/milonic - please tell me what to do for the src and the call files
Part II - If I change only one letter on the menu_data.js from the download example it gives 'done but with errors on the page'
this is driving me mad

You havent set the scriptpath to point to the directory the menu files are in.
We are more than willing to help, but you have to do your part, too.
Given how many letters there are in that file, would you like us to try and guess which you changed one by one, or would you like to give us more exact information on what exactly is happening?Part II - If I change only one letter on the menu_data.js from the download example it gives 'done but with errors on the page'
We are more than willing to help, but you have to do your part, too.
John
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
Thanks - I figured out that I was not saving it in the proper format and that is what gave the error - I feel real stupid.
I would like some help with the directory paths though - I've read everything on the forum and I still don't get it. I have all this in a temp location until we go live so will hve to change it all again - but I need a lesson in directories pretty please...
http://www.adventurescape.com/hortonrea ... nu/milonic ...

I would like some help with the directory paths though - I've read everything on the forum and I still don't get it. I have all this in a temp location until we go live so will hve to change it all again - but I need a lesson in directories pretty please...
http://www.adventurescape.com/hortonrea ... nu/milonic ...
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
For the script src I put : http://www.adventurescape.com/HortonRea ... u/milonic/
I can get to the script on the web at the same address
The menu still isn't coming up on the page .....
But if I put it in the root directory, on the same level as the main index.htm page, without any src it works. I prefer to have it in its own little folder.
I can get to the script on the web at the same address
The menu still isn't coming up on the page .....
But if I put it in the root directory, on the same level as the main index.htm page, without any src it works. I prefer to have it in its own little folder.
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
Your acriptpath in milonic_src.js is wrong AND it's not being read at all because it is commented out (//). It should look like this...
Code: Select all
scriptpath="/HortonRealty/images/menu/milonic/";
Last edited by John on Tue Aug 26, 2003 6:10 pm, edited 1 time in total.
John
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
Thanks for the pointers -
I took out the // -
script path is now /HortonRealty/images/menu/milonic
Tried 2 ways on the web page - with the absolute path http://.... and the relative path /images/menu/milonic/milonic_src.js - hate to say - neither one pulls up the menu - yikes - I know this works because I saw it work when I had everything in the main directory - all I did was change the paths
while I have your attention - what are the other 2 files in the download for ? mmenudom.js and mmenuns4.js? just curious
I took out the // -

Tried 2 ways on the web page - with the absolute path http://.... and the relative path /images/menu/milonic/milonic_src.js - hate to say - neither one pulls up the menu - yikes - I know this works because I saw it work when I had everything in the main directory - all I did was change the paths
while I have your attention - what are the other 2 files in the download for ? mmenudom.js and mmenuns4.js? just curious
Which is incorrectSurfergirl wrote:I took out the // -script path is now /HortonRealty/images/menu/milonic


They are both part of the overall menu code and had better be on your server in the same location as milonic_srcSurfergirl wrote:while I have your attention - what are the other 2 files in the download for ? mmenudom.js and mmenuns4.js? just curious


John
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
Yep, and you will until you take that miserable // off the front of scriptpathSurfergirl wrote:the last / is on the script - I didn't type it on the forum. I'm getting 'done with errors'

You still have...
Code: Select all
//scriptpath="/HortonRealty/images/menu/milonic/";
Code: Select all
scriptpath="/HortonRealty/images/menu/milonic/";

John
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
SureSurfergirl wrote:would you believe I'm blonde?


Try this. Drop the /HortonRealty off the front end of the scriptpath so it looks like this...
Code: Select all
scriptpath="/images/menu/milonic/";
John
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
BAD idea. What you've done is remove all Andy's required copyright info and notes, and possibly other required code as well. Touch only the scriptpath line.Surfergirl wrote:sorry I'm giving you gray hair - I've stripped the whole src file down, bare-naked, took off every little /* at the top - it begins like this:
Get a fresh copy of that file (do NOT try and piece it back together), and edit only scriptpath.
John
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI
yikes ! sorry - - ok, brand new copy - looks like
Non profit use of this menu system is free of charge. All Copyright statements must always remain in place
******* PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE *******
License Number: Un-Licensed
*/
scriptpath="/images/menu/milonic/";
/*
The scriptpath variable stores the path to your menu JS files.
etc.....
Non profit use of this menu system is free of charge. All Copyright statements must always remain in place
******* PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE *******
License Number: Un-Licensed
*/
scriptpath="/images/menu/milonic/";
/*
The scriptpath variable stores the path to your menu JS files.
etc.....
-
- Super Advanced
- Posts: 77
- Joined: Fri Jun 27, 2003 5:38 pm
- Location: TCI