What RC and version do I have now?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

What RC and version do I have now?

Post by rudy »

I understand that if I supply you a URL, you can look at my code and see if I have my Milonic menu registration number in right and also if I have the most up to date version/RC.

I would appreciate having you take a look and let me know if everything us right and up to date, as I have lost track of where I'm at.

http://www.networkdriven.com/qp/9Ab898b.html

------------

Also, one more question. I would guess that each style of menu I would download would have a different menu_data.js (sample file) that would get downloaded in the .zip file, but are the other 3 code files (milonic_scr.js, mmenudom.js, and mmenuns4.js) the same for all the menu styles, that are the same version of course?

Hope you will help :o
Rudy
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

You are up to date, and you are correct about replacing just the 3 files.

If you check the post above by John and click on the notify me, you'll get an email when its time to update.

Regards,
maz
Davidk
Super Advanced
Super Advanced
Posts: 48
Joined: Tue Sep 23, 2003 11:10 am

Post by Davidk »

Sorry, but which post should we check and click on notify me? It would be excellent to receive an e-mail when it's time to update.

David
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

The top one

viewtopic.php?t=3108

maz
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

Just wanted to add a note to what Maz told you. You have to be logged in order for the option to be available that you can be notified about a topic change.
When you login and go to the "Menu code release topic" you will see this option available in the upper right hand corner of the topic.
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Maz - How can you tell?

Post by rudy »

Always wondered how someone could look a URL with a Milonic menu on it and tell what version it is and if it is registered, as the only thing you can see by clicking "View" and then "Source" is the little piece of script that calls the other three main files of the menu and they are on my local hard drive and ISPs server only.
How do you do this?

:D
Rudy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You're half-way there, rudy. Take the info from "...the little piece of script that calls the other three main files of the menu..." and tack the call path on the URL. Instant code!

"...and they are on my local hard drive and ISPs server only." Well, follow that through a bit. I can't see your local drive, of course. However, if it's on your server it is meant to be served (unless protected by password, etc.). That's why we're always asking for a URL. It's all we need to see the complete setup (which simply posting code snips doesn't do).

Try this. Assume...

1. Your URL is http://mysite.com/

2. You have /images/ at the same level

Pick any image that is in that directory - say myimage.gif. Given that info you can then build the following URL...

Code: Select all

http://mysite.com/images/myimage.gif
Using your own site info, build a URL and plug it into your browser and see what you get.
John
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

I viewed the source code that loaded your site. You have a file called QuizPage_aplus7.htm which is being loaded. So I load that address in my browser. http://www.networkdriven.com/qp/QuizPage_aplus7.htm Inside that file there are the calls to load the Milonic menu. The Milonic menu is being loaded from the root directory, http://www.networkdriven.com/qp

So I then load the file http://www.networkdriven.com/qp/milonic_src.js in my browser and then view that code. Magic.
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

followed bobwills response, still a problem

Post by rudy »

I followed the steps layed out by bobwill but when I perform the final step that is layed out, I get a dialog box open up (like you would get if you were downloading a zip or exe file) that asks if I would like to "open" or "save" the file.

Is this the way that it should work? If so, I would have to save it to,let's say my desktop, then open the .js file.

Maybe one more shot at explaining this would help...
Rudy
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Paths,

so you have a url http://www.mysite.com/
on the server is a folder called public or www that is root file for public access. In this file you have a folder for your menu, this is called
http://www.mysite.com/menu/
inside the folder menu you have your menu files
http://www.mysite.com/menu/milonic_scr.js
inside your menu file you have an image file with images in.
http://www.mysite.com/menu/images/myimage.gif

Say your index.html is in the root
http://www.mysite.com/index.html
when you view source html it says on the script path
/menu/milonic_src.js
so you know the first slash is from the root, so its here:
http://www.mysite.com/menu/milonic_src.js
User avatar
stephen702
Super Advanced
Super Advanced
Posts: 77
Joined: Wed Jul 16, 2003 4:53 am
Location: Davis, CA
Contact:

Post by stephen702 »

After reading Rudy's last question, I was curious and thought I'd also try to read the milonic_src.js file using my browser. No luck.

If I browse to my own website URL and ask to see milonic_src.js, I get a IE dialog box that warns about suspicious files, then gives the option of opening milonic_src.js or saving it to my computer.

However, if I choose "open" I get an Microsoft JScript runtime error message saying that on Line 16, character 37, 'document' is undefined, Code 800A1391.

Of course, I can save milonic_src.js to my hard drive, then open it up to view the version number, but from the discussion on this board, it seems that others can indeed open the file in their browser.
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

I suspect it has something to do with the way you have your Windows setup to execute default programs when it sees a certain type of file extension. On my system when I double click a file with an extension of "js' then it loads into my default text editor. Same way when I "Open" a file.
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

.js files

Post by rudy »

I guess the best way to avoid the download dialog box from poping up is to make an "association" for .js files to work with notepad or wordpad, right?
Rudy
User avatar
bobwill
Mega Advanced
Mega Advanced
Posts: 229
Joined: Tue Oct 01, 2002 3:03 pm
Location: Kansas
Contact:

Post by bobwill »

Yes. The dialog box should may or may not appear, depending upon the type of browser you are using. If it does appear, then when you say "OPEN" then it should be loaded into your text editor.
Post Reply