Insert CC Menu code into VSD

User 513087 Photo


Registered User
6 posts

I created my site in VSD, and am finally getting around to professionaling the menus with the CC menu tool. I created menus that look perfect, posted the code into the html code box on VSD, and tried them out in my site and it all looked great.

Until........ I expanded my browser window. The positioning of the menu stays exactly the same, it doesn't move with the window. I can't have this.

What am I doing wrong? I clicked a "static" button on my menu options, but that doesn't see to fix the problem. If I can't get this figured out I'll need to go and find a new menu program.
User 463058 Photo


Ambassador
1,085 posts
Online Now

User 513087 Photo


Registered User
6 posts

Yes.
User 122279 Photo


Senior Advisor
14,622 posts
Online Now

Paul, what is it that you want to achieve? Do you want the menu to move down as you scroll down the page, or does the menu stay top left and doesn't move into the middle?
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 513087 Photo


Registered User
6 posts

I want my menu to be in teh same relative position to the rest of my webpage at all times, just like any other content on the page. Right now, when I maximize my screen, the menu keeps a position that is different than when my screen is cascaded or smaller.

I think it has something to do with the menu wanting to be X characters from the left and top at all times. That changes as my screen size changes. Perhaps the real issue is with how I set up my WYSIWYG website?

I tried a tip linked to above, but I couldn't get it to work.

In short, everything else that I ever post in an html box (google ad, search code, etc.) keeps the same relative position on the page regardless of how I've sized my browser screen. Why doesn't this?

Thanks MUCH for help. You guys are awesome.
User 122279 Photo


Senior Advisor
14,622 posts
Online Now

Have you got an URL for us, so that we can take a look?

Actually, the DHTML menu is said not to be working in VSD. I know that some people have found some workaround. Personally I get it working in IE, but not in FF (latest versions for both).

I'll try to alert someone named Bill R, he seems to know his way around this app. better than me.
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 513087 Photo


Registered User
6 posts

Sorry, I don't have anything uploaded for you to look at. I'm a website beginner and this is an actual (small) business site, so I can't take any chances uploading the wrong thing.

If DHTML doesn't work well with VSD, it would also be very useful to learn about any menu builders that do. I guess the other option is to build my menu in VSD using the mouse-over features. I've built them so far using plain links, but that looks unprofessional.
User 122279 Photo


Senior Advisor
14,622 posts
Online Now

CoffeeCup has another menu builder called Flash menu builder...
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 463058 Photo


Ambassador
1,085 posts
Online Now

Paul Johnson wrote:
I tried a tip linked to above, but I couldn't get it to work.


With the HTML Tool, instead of
<span id="themenu">
.....all the menu code.....
</span>


try this:
<div id="themenu" style="position:relative">
.....all the menu code.....
</div>


And make the necessary changes to the menu code, as explained in the link.
User 513087 Photo


Registered User
6 posts

Thanks, Cary. Just to be sure, can you confirm that my additions you mention above are to be done after the "you can edit here but be careful" and before the "don't touch anything here or you'll screw up the script" lines?

Also, confirm this the line of code I should be modifying?
"var TargetLoc=''; // span id for relative positioning"

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.