GregHart
01-02-2004, 04:34 AM
I have code which will generate for me a tree for navigation, and it is simple and all JavaScript, and allows me to execute any JavaScript function instead of just opening URLs (I like that part about it). The only problem is that it renders everything relative, so that it is positioned on the page in a relative position, hence the far left corner. I can place <CENTER></CENTER> tags around a block within the code, and this will center the whole page, but this is not what I need.
The script executes on the BODY tag with onLoad.
The way I see it, there would be 2 possible solutions:
1) Is there a way to embed a page onto another page, and position the page absolute. In other words, can I have page "A", and embed on it Page "B" positioned absolute at 200 top and 100 left?
2) Have the script execute within a <DIV> that is positioned absolutely???
The script executes on the BODY tag with onLoad.
The way I see it, there would be 2 possible solutions:
1) Is there a way to embed a page onto another page, and position the page absolute. In other words, can I have page "A", and embed on it Page "B" positioned absolute at 200 top and 100 left?
2) Have the script execute within a <DIV> that is positioned absolutely???