DHTML drop down menu - can't move it!

User 2158241 Photo


Guest
3 posts

Hi guys,

I've tried everything posted in the forums, but for some reason my menu won't budge!

I have it set to relative positioning, I've added the spanID tag "themenu"... to my knowledge, everything should be working fine!

My page is here:
http://www.80scartoons.co.uk/NEWsite/test1.php

My menu is held here:
http://www.80scartoons.co.uk/NEWsite/80smenu.js

And my css file is here:
http://www.80scartoons.co.uk/NEWsite/80sstyle.css

It's not in a table, so it's not that that's causing the issue..... any clues??

Thanks in advance!
User 2158241 Photo


Guest
3 posts

p.s. the page isn't at all finished by the way, and the bevelled menu that you can see that IS in the right place, is just an image to show where it should be! The menu causing the problems is about half way down the page......... tsk.
User 603315 Photo


Registered User
938 posts

Haven't really checked your code, but having the menu as relative instead of absolute could be your problem. I never set anything to relative it's too hit and miss for my liking.
User 603315 Photo


Registered User
938 posts

I would also check out "top: 800px" on your menu.
User 2158241 Photo


Guest
3 posts

thanks g'kar!

the top: 800 worried me - but i've since changed it to top: 1 and still no movement!

if i change it to absolute positioning, it doesn't stay in the one place when the browser windows are resized - which isn't any good for me.

:(
User 603315 Photo


Registered User
938 posts

It's a very nice website apart from the menu, love thundercats. I think there is probably conflict between the js and CSS files. You don't really need to have the top anything, but that's obviously not the problem. You could do the menu again, also try and put your css file in the head section rather than where you have it.
User 122279 Photo


Senior Advisor
14,454 posts

Funky Kitten, the DHTML menu builder is about to be discontinued at CoffeeCup for many reasons, among them being that it's built on very old technology, and if you have visitios to your site using the Opera browser, they won't be able to see the menu at all.

CoffeeCup has a new CSS menu builder integrated in their HTML Editor. With it you can build menus that look excactly like the one you have, and the best part of it is that you don't have to edit any javascript in order to position it. And it works in all browsers.

We are hoping that this CSS menu also will appear as a standalone programme, but that is not certain yet.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 603315 Photo


Registered User
938 posts

Inger, why would the CSS menu be an advantage by having it as a standalone program?, also would this be free?
I must admit with the CSS menu it's far better than the DHTML one, I always found there were missing borders to it.
User 147665 Photo


Ambassador
712 posts

just a quick look...

the menu is a span id="themenu"

the css is not declared

themenu {
position: relative;
top: 1px;
left: 50px;
}
---should be---
#themenu {
position: relative;
top: 1px;
left: 50px;
}


User 603315 Photo


Registered User
938 posts

Ha ha that is so obvious and I missed it.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.