JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eliminating offset at top of page

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
tjd7151
Guest





PostPosted: Fri Jul 11, 2003 3:33 pm    Post subject: Eliminating offset at top of page Reply with quote

I am trying to put a graphic to the right of a horizontal menu at the top of the page. However, the first html element I add to my document appears about an inch down the visible page. I know I can change the start [x,y] position of the menu to move it farther down the page, but then I have a large amount of white space at the top I am trying to avoid.

A. Is there a way to eliminate the HTML offset at the top of the page.

or..

B. Is there a way to add a IMG element which will be drawn immediately to the right of the last menu item. (I doubt it).

I'm no guru on this Javascript stuff, so there might be a better way all together to do this.

Thanks
tjd7151
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Mon Jul 14, 2003 8:07 pm    Post subject: Reply with quote

Solution heavily depends on version you are using: Standard or Pro. Please, quoute your HTML code with menu initialization.

Regarding graphic to the right of the menu. If you are using Pro, then you can put it into relative positioning mode, then create a table with a single row where two cells will contain menu (left cell) and graphic (right cell).
Back to top
testing
Guest





PostPosted: Sat Jul 19, 2003 11:06 pm    Post subject: I have the same problem Reply with quote

I just downloaded the COOLjsMenu and I am having the same problem. I want the menu bar to be positioned in a place within a table cell element, but I have a huge amount of white space once I set the offset to be sort of where I want it to be.

Here is the URL: http://www.pyroboy.com/index.php

Here is the code:

<body marginheight="0" topmargin="0">
<table width="795" border="1" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/alphacine_white.jpg" alt="Alpha Cine" width="253" height="42" hspace="10" vspace="10" border="0"></td>
</tr>
<tr>
<td>
<script type="text/javascript">new COOLjsMenu("menu1", MENU_ITEMS_MULTIPLE1)</script>
</td>
</tr>

I have one other question, is it possible to have the a menu item with no submenus and a URL or each head item to have a URL?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1