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:02
VER 3- 5 ERRORS
Poster: dkaleky
Dated: Monday December 6 2004 - 16:05:56 GMT
i am registered pro user . I used the conversion php and made a sample page
http://www.atlanticcity.com/zindex.htm
but gets errors.
Will this version work over form boxes?
Poster: John
Dated: Monday December 6 2004 - 16:59:47 GMT
Your menu_array.js is v3 code - no longer developed or supported. sample_array.js has me lost - unless it's v3 menu code that has been expanded.
I do not see any v5 code or calls on the page.
Poster: Ruth
Dated: Monday December 6 2004 - 17:21:12 GMT
I think you tried to convert the wrong file. It is the z-menu_array.js file you convert. Then you upload it and the version 5 files excluding the menu_data.js file which is what you are 'creating' when you convert the version 3 data.
Ruth
Poster: dkaleky
Dated: Monday December 6 2004 - 17:45:50 GMT
ok--- that helped somewhat--
I still have 3 problems
1. Error on bottom of browser
2, the fade is not there like in atlanticcity.com
3. The milonic is showing up although i am registered
Poster: Ruth
Dated: Monday December 6 2004 - 18:04:26 GMT
1. I take it you're using IE and that's what's showing the error message at the bottom? I don't get any in Netscape or Opera. You have a code on the page that is suppressing errors I believe, so I think to find out just what the error is you'll have to remove that code and see what error message you get.
2. You don't have the overfilter and outfilters set. They go at the end of the 'style' definitions, right after the low3dcolor="#4A0B00"; overfilter="whatever you want"; outfilter="whatever you want" This DEMOhas the various filters and when you select what you want the code gets written in the form. Just copy and paste what you want. I think you're using random dissolve.
3. The version you have is the demo. I think you need to be logged in to download the version with your license. If your license was for version 3 I believe you'll have to update that. You might contact Milonic about that issue.
Ruth
Poster: dkaleky
Dated: Monday December 6 2004 - 18:50:16 GMT
thanks Ruth-- almost got it except for error
The only parametter i cant find is the chisel look I need-- between and around each menu, and line
like here
http://www.atlanticcity.com
Poster: John
Dated: Monday December 6 2004 - 19:49:42 GMT
Some syntax problems that may or may not be giving you trouble. You have...
Code:
aI("text=Hotels;showmenu=simplesub1;;separatorsize=1")
Should be...
Code:
aI("text=Hotels;showmenu=simplesub1;separatorsize=1;");
Note double ;; after simplesub1 changed to single ; , and the closing ;"); sequence. This should be corrected on all your aI statements.
Poster: Ruth
Dated: Monday December 6 2004 - 20:24:32 GMT
After the low3dcolor=whatever; put swap3d="true"; Also, you don't need to have the separatorsize=1 in each of the aI strings, though you can have that. You can put separatorsize=1; and a separatorcolor= if you want color up at the top where the definitions are in the hlp style.
Ruth
still errors
Poster: dkaleky
Dated: Tuesday December 7 2004 - 1:16:44 GMT
thx again for all help-
still getting those errors in IE--
I know it is my script and not anything on page as I put andys menu_data.js in place of mine-- so although the menu was in a different spot--- there were no errors
Poster: Ruth
Dated: Tuesday December 7 2004 - 2:55:09 GMT
I'm no longer getting the error on your page I downloaded. I went through the menu_data.js file and corrected the semi-colons. You need to go through and make sure you have changed all the double semi-colons to single ones, and also put a semi-colon at the end of the aI string. As John posted, they should all look like this aI("text=Hotels;showmenu=simplesub1;"); with single semi-colons and one after the closing bracket )
If you are still getting errors can you post what they are?
Poster: dkaleky
Dated: Tuesday December 7 2004 - 4:21:24 GMT
i went thru the file-- i even deleted all aI lines except 1 aI per section- and still get error-
error says line 82 or 89 object expected
It has something to do with my other rollover button script interfering with this script which doesnt happen with version 3.0
It only happens on the center 3 buttons which also uses milonic-
And only happens when i take mouse off the button
The outer buttons are fine.
Poster: Ruth
Dated: Tuesday December 7 2004 - 5:33:11 GMT
It has to do with this
Code:
onmouseout=popdn()
there's no such variable as popdn. If you change it to popdown the error stops.
Ruth
Poster: dkaleky
Dated: Tuesday December 7 2004 - 12:12:04 GMT
popdn is the variable that changes the graphic back to what it was- it is nessecary and it is th working pages html
Poster: Ruth
Dated: Tuesday December 7 2004 - 15:16:00 GMT
Hi
I think you're mixing up the popup() popdown() function with the swap/change image function. To get the image to change the function being called is the changeImage function that's at the head section of your page. To get the submenu to show the function being called is the popup() and to get it to close the function that should be called is popdown().
Both functions are triggered by the onMouseOver and onMouseOut event.
Ruth
Poster: dkaleky
Dated: Tuesday December 7 2004 - 18:07:07 GMT
hi-- we got it straightened out-- Andy said to rename popdn to popdown
that fixed it
thanks for ALL your SPEEDY replies