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:34
Proplem with shadow
Poster: pikku-ukko
Dated: Monday April 5 2004 - 13:52:14 BST
Hi,
I use that sample 9. And now I put it verical position.
But IE did'n show that shadow in main menu. Submenus have shadow.
Sample page is in this url: http://www.pikku-ukko.net/te/malli2.htm
I use this: Version 5.1 - Built: Friday March 26 2004 - 17:11
Thanks,
Vuokko
Poster: kevin3442
Dated: Monday April 5 2004 - 23:12:24 BST
Hi Vuokko,
The first problm I see is that you have two different menu styles defined in menu_data.js, but both of them are called menuStyle. the only difference I see between the two is that they each have a different pagecolor setting. Try either (1) deleting the menuStyle that you dont want to use or (2) renaming one of them to something different (e.g., menuStyle2, subMenuStyle, etc.).
Let us know if the problem persists after that.
Kevin
Poster: Ruth
Dated: Monday April 5 2004 - 23:29:06 BST
I think it has to do with it being the position="relative"; If that is removed, the shadow works. But, it's in a table so I don't know if you can remove that. If you take that out and leave the top/left position it moves the menu.
Ruth
Thanks,
Poster: pikku-ukko
Dated: Tuesday April 6 2004 - 5:31:24 BST
I update my menu versio 9 to Version 5.11 - Built: Monday April 5 2004 - 12:52 and I remove that what Kevin suggest. Now th shadow is all right. But I don't know why the mainmenus links are black?
Vuokko
Poster: Maz
Dated: Tuesday April 6 2004 - 7:15:05 BST
Hi,
You are missing a semicolon ; after visitedcolor
maz
Thanks.
Poster: pikku-ukko
Dated: Tuesday April 6 2004 - 7:27:59 BST
Thanks Maz.
I fix it, but still there is that black color.
~Vuokko
Poster: Maz
Dated: Tuesday April 6 2004 - 8:44:31 BST
I think it might be the table.
You have a top & left from the browser edge, but position=relative is from the table, closer to 0 0.
If you don't need it in a table, place to top & left and put the mainmenu back in menu_data.js
Once I mouse over the black it turns blue.
Or try w3 validation of your code, I'm not sure you can use div center in the middle of tables like that. Later on is the menu in the table and it might be a problem.
maz
Poster: Ruth
Dated: Tuesday April 6 2004 - 9:21:54 BST
I think it might be the visited color, which looks black. You might try making that say gold to check and see if that's it.
Ruth
I try to..
Poster: pikku-ukko
Dated: Tuesday April 6 2004 - 9:22:21 BST
Hi Maz,
I try to remove one <div="center">, but still ther is black text. And I remove that top=155; left=200;.
And I validate my test page. W3C validator find only 3 missing alt.
I test older version of menu sample 9, and there is that black text too if menu is verical position.
Still old menu work all right in my page: http://www.pikku-ukko.net/frontpage.shtml
I can't understand what is wrong.
~Vuokko
Poster: pikku-ukko
Dated: Tuesday April 6 2004 - 9:56:45 BST
Hi,
Now I change visitedcolor="#f9e8d2"; and submenus shows that allright. Still mainmenu text is first black.
Vuokko
Poster: Ruth
Dated: Tuesday April 6 2004 - 10:15:14 BST
It is the visitedcolor that is doing it. If you remove that there is no black text. I don't know why but for some reason it seems to override the offcolor when the menu loads until you mouseover it then it works fine.
Ruth
Thanks :)
Poster: pikku-ukko
Dated: Tuesday April 6 2004 - 10:59:21 BST
Hi,
Many thanks to Kevin, Maz and Ruth. Now colors are good, and I'm happy too.
Best regards,
Vuokko
Poster: Maz
Dated: Tuesday April 6 2004 - 15:58:51 BST
Glad it worked, I think Roope looks a little embarassed in that position
maz
Hi,
Poster: pikku-ukko
Dated: Wednesday April 14 2004 - 8:39:19 BST
Roope don't like that, I take pictures of him...
Now my site is redy to use. And that menu work fine
I test it Opera 7.11, IE 6, Mozilla 1.6 and Firebird 0.8.
Regards,
Vuokko