deadforsure
Newbie
Posts: 1
Registered: 8/11/2005
Location: i
Member Is Offline
|
| posted on 8/11/2005 at 01:35 PM |
|
|
[TIP] Relative positioning with Tigra menu (no GOLD)
I succed to put Tigra Menu inside a table or div, doing this way:
1- enclose the script in a div like this
<div style="display:block; position:relative">
<script language="JavaScript">
new menu (MENU_ITEMS, MENU_POS);
</script>
</div>
2- put the div inside the element you want (table, div) the menu to display inside.
|
|
|
SopieMunky
Member
Posts: 13
Registered: 9/8/2005
Location: TX
Member Is Offline
|
| posted on 9/19/2005 at 09:38 AM |
|
|
This...kind of worked. I was able to put my menu somewhere other than the top left corner, but the menu isn't exactly relative to the page
where the table I have it in is located. Yes, it moves when I resize the page, but not the way it's supposed to.
In other words, the menu is still off-centered, but it's a start...
...any additional solutions to add to this?
Also, I viewed my page in FireFox with these results.
With Internet Explorer the menu was completely off. It was in the same vertical spot, but the menu started where it was supposed to be
centered, so it overlapped the rest of the page to the right of the center spot.
Keep experimenting. This is fun! :D
|
|
|
amiel01
Junior Member
Posts: 2
Registered: 12/22/2009
Location: Philippines
Member Is Offline
|
| posted on 12/22/2009 at 03:54 AM |
|
|
Thanks a lot!
This worked okay for me. I simply had to change the top and left offsets to make them look properly.
Thanks again! =)
|
|
|