VER 3- 5 ERRORS

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

VER 3- 5 ERRORS

Post by dkaleky »

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?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

Post by dkaleky »

ok---- let me try that
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

Post by dkaleky »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

Post by dkaleky »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Some syntax problems that may or may not be giving you trouble. You have...

Code: Select all

aI("text=Hotels;showmenu=simplesub1;;separatorsize=1")
Should be...

Code: Select all

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.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

still errors

Post by dkaleky »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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?
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

Post by dkaleky »

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

It has to do with this

Code: Select all

onmouseout=popdn() 
there's no such variable as popdn. If you change it to popdown the error stops.

Ruth
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

Post by dkaleky »

popdn is the variable that changes the graphic back to what it was- it is nessecary and it is th working pages html
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

Post by dkaleky »

hi-- we got it straightened out-- Andy said to rename popdn to popdown

that fixed it

thanks for ALL your SPEEDY replies :D
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

dkaleky wrote:hi-- we got it straightened out-- Andy said to rename popdn to popdown
Sorry, but in defense of my Team Member - that's exactly what Ruth told you to do yesterday...
John
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

Post by dkaleky »

true
dkaleky
Advanced
Advanced
Posts: 22
Joined: Mon Dec 06, 2004 4:53 pm

Post by dkaleky »

true-- but i had alreay submitted a ticket in the midst of this thread
Post Reply