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.

JavaScript Forum


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



Reply
Old 05-20-2006, 12:29 PM menu to move
Average Talker

Posts: 19
Trades: 0
Hi,

please have a look at the very top there is a horizontal menu.

It's a js menu and I'd like to place it under the header (banner).
I tried to move the code under the header table but it doesn't change.

Maybe I have to edit this file?



Thanks for helping

Last edited by westin; 05-22-2006 at 04:14 PM..
westin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-20-2006, 03:55 PM Re: menu to move
kline11's Avatar
SearchBliss Web Tools

Latest Blog Post:
Oracle Embraces the Cloud
Posts: 1,724
Name: John
Location: USA
Trades: 0
I don't see the horizontal menu at the top. Did you remove it?
__________________

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


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


Please login or register to view this content. Registration is FREE
kline11 is offline
Reply With Quote
View Public Profile
 
Old 05-20-2006, 05:25 PM Re: menu to move
Average Talker

Posts: 19
Trades: 0
Quote:
Originally Posted by kline11
I don't see the horizontal menu at the top. Did you remove it?
no i havent
westin is offline
Reply With Quote
View Public Profile
 
Old 05-20-2006, 05:58 PM Re: menu to move
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
It looks like the postion of the menu is controlled in the menu.js file. Look for the line:

if (ie||ns6) HTMLstr += "<div id='MainTable' style='position:absolute;top:0;left:0;'>\n";

I think all you'll need to do is change the value of top from 0 to where you want it to be under the banner image. I think it needs to be somewhere between 100px and 120px though that's a guess.

Try that and see if it works. If not there may be some other things in the javascript that is controlling the positioning. I think it's just that one line though.
__________________
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 05-20-2006, 06:19 PM Re: menu to move
Average Talker

Posts: 19
Trades: 0
Quote:
Originally Posted by vangogh
It looks like the postion of the menu is controlled in the menu.js file. Look for the line:

if (ie||ns6) HTMLstr += "<div id='MainTable' style='position:absolute;top:0;left:0;'>\n";

I think all you'll need to do is change the value of top from 0 to where you want it to be under the banner image. I think it needs to be somewhere between 100px and 120px though that's a guess.

Try that and see if it works. If not there may be some other things in the javascript that is controlling the positioning. I think it's just that one line though.
changed to 140 but didnt changed
westin is offline
Reply With Quote
View Public Profile
 
Old 05-20-2006, 06:42 PM Re: menu to move
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
You'll need to have it as 140px and not just 140. Did you have the px in there?
__________________
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 05-21-2006, 04:48 AM Re: menu to move
Average Talker

Posts: 19
Trades: 0
yeah I put 140px and still the menu stays at the top...strange
westin is offline
Reply With Quote
View Public Profile
 
Old 05-21-2006, 02:50 PM Re: menu to move
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Yeah I would have thought that would have taken care of it, but maybe something else in the .js file was also setting the position. I didn't look at it too thoroughly.

It looks like you've changed things now to a left side naviagtion.
__________________
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 05-21-2006, 05:08 PM Re: menu to move
Average Talker

Posts: 19
Trades: 0
Quote:
Originally Posted by vangogh

It looks like you've changed things now to a left side naviagtion.
?
what should i do then?
westin is offline
Reply With Quote
View Public Profile
 
Old 05-21-2006, 11:05 PM Re: menu to move
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
It's fine the way it is. There's nothing wrong with having the navigation on the left side. I just assumed you decided to move it there. Are you still wanting it to be horizontally along the top?
__________________
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 05-22-2006, 03:00 AM Re: menu to move
Average Talker

Posts: 19
Trades: 0
Quote:
Originally Posted by vangogh
It's fine the way it is. There's nothing wrong with having the navigation on the left side. I just assumed you decided to move it there. Are you still wanting it to be horizontally along the top?
I want it to be under the banner that's why I put top:140px but it didnt move, still at the top
westin is offline
Reply With Quote
View Public Profile
 
Old 05-22-2006, 06:36 PM Re: menu to move
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Ok I guess I misunderstood. Last time I looked the navigation was running down the left side of the page and it looked like you had placed it there.

Did you remove the link to the site? I'm happy to try to help more, but I'll need the link again so I can see what's going on.
__________________
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 to move
 

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 2.03319 seconds with 12 queries