Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 08-24-2007, 07:02 PM Menu Issue
Experienced Talker

Posts: 48
Name: Harold
Trades: 0
I am building a website that is centered on the screen (similar to thomasville.com). I am using a dhtml menu from CofeeCup. I like this menu and don't want to use another one. The problem I'm having is that I have to define a location for it in the code, but as you can surmise, if it appears in the same place every time, everyone will see it differently depending on their resolution. At this time, I've saved the javascript code in a folder apart from the html and simply reference the menu in the html. Is there a way for me to use this type of menu so that it can scale with the user's screen resolution?
Hans G. is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-24-2007, 09:29 PM Re: Menu Issue
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Could you post the code for the menu along with the code for the page. Even better would be a link to the page if it's online somewhere. I think we'll need to see the code before being able to offer a solution.

I'm sure there's a way to incorporate the code so it doesn't need to be absolutely positioned somewhere, but if that's the only way then you'll have to think about a different menu even if this is your first choice.

Post a link or the code though since I'm sure there's a solution.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 08-27-2007, 01:04 PM Re: Menu Issue
Experienced Talker

Posts: 48
Name: Harold
Trades: 0
Okay, here's the part of the code that deals with the issue of positioning the menu:

var MenuTextCentered='left'; // Item text position 'left', 'center' or 'right'
var MenuCentered='left'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2; // horizontal overlap child/ parent
var ChildVerticalOverlap=.2; // vertical overlap child/ parent
var StartTop=0; // Menu offset x coordinate
var StartLeft=0; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='navig'; // Frame where first level appears
var SecLineFrame='space'; // Frame where sub levels appear
var DocTargetFrame='space'; // Frame where target documents appear
var TargetLoc=''; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
Hans G. is offline
Reply With Quote
View Public Profile
 
Old 08-27-2007, 06:41 PM Re: Menu Issue
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
We're going to need to see more than that. Most likely the html for the page. Ideally the entire page, but at the very least all the code for the menu.

It looks like the menu is all done in JavaScript and we'll probably need to see all of the JavaScript.

The easiest thing for us will be if you can put the page online somewhere and post a link to the page.

Do you mind if I ask why you're wedded to this particular menu. From looking at the little bit posted I can tell you there are many better solutions out there with a lot less code.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 08-27-2007, 06:47 PM Re: Menu Issue
mackaltman's Avatar
Super Talker

Posts: 135
Name: Mack Altman III
Location: Goose Creek, SC, USA
Trades: 0
Place the entire code here. It almost looks like dhtml menus.
__________________
Mack Altman III

Please login or register to view this content. Registration is FREE

My Biggest Pet Peeve: "Web Designers" who have no artistic skill.

mackaltman is offline
Reply With Quote
View Public Profile Visit mackaltman's homepage!
 
Old 08-29-2007, 07:44 PM Re: Menu Issue
Experienced Talker

Posts: 48
Name: Harold
Trades: 0
It is a DHTML menu. I have created a sample of my problem at this link: (link removed). You can find the menu at: (link removed). You'll have to save the file then open it to see the code. Right now I have the menu's location set to:
var StartTop=8; // Menu offset x coordinate
var StartLeft=80; // Menu offset y coordinate
This can be toggled so that I can position it wherever i want. View it at 800x600 and there's no problem. View it at 1024x768 and you'll see my problem. I can't center it in a scaled fashion, as is the case with the other components on the page. It's in a fixed position due to the commands mentioned above. I contacted one of the reps from CoffeeCup, the menu maker, and was told that I would have to create custom CSS code for both the menu and the page's html in order to make this work. Is this correct? If it is, how is this done? Also, is there another way?

Last edited by Hans G.; 08-30-2007 at 02:20 PM..
Hans G. is offline
Reply With Quote
View Public Profile
 
Old 08-30-2007, 02:19 PM Re: Menu Issue
Experienced Talker

Posts: 48
Name: Harold
Trades: 0
I figured it out! Basically, I had to designate MenuCentered='center' and toggle the StartTop to a + value and the StartLeft to a - value. Pheew; thanks to all for your help!
Hans G. is offline
Reply With Quote
View Public Profile
 
Old 08-30-2007, 08:56 PM Re: Menu Issue
vangogh's Avatar
Post Impressionist

Posts: 10,816
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Glad you got it figured out. Sorry we didn't help more.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Menu Issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.33842 seconds with 12 queries