Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FLASH MENU

Status
Not open for further replies.

z35

Programmer
Dec 21, 2001
206
US
Hello,

My web site is 750 px wide, centered in the browser window. It has a white border around the whole thing.

the left side has a flash movie containing links.

I want the links to stay fixed, while content loads in the right side.

I tried using inline frames, but the problem was that when the page gets longer, the white border doesn't get longer and display more data. Inline frames have a fixed height, so the data scrolls within that window.

Am I beating a dead horse, or is this possible to do?
 
a link so we can see?
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
our server is down right now...i can't load it.

the web site is always 750 px wide with a border around it....exactly like
only mine has a left side with links that has to stay stationary while the content changes in the right side.

this is the problem...please send me any ideas on how this can be done...i think it may be impossible.
 
Looks like you want a html frameset.

You will need three pages initialy to do what you want. A frames page, your nav page with your flash links and a content page. This last page is the one that will change.

This should do it:

<html>
<head>
<title>frameset</title>
</head>

<frameset cols=&quot;80,*&quot; frameborder=&quot;NO&quot; border=&quot;0&quot; framespacing=&quot;0&quot;>

<frame name=&quot;leftFrame&quot; scrolling=&quot;NO&quot; noresize src=&quot;your_flash_buttons&quot;>

<frame name=&quot;mainFrame&quot; src=&quot;content_page&quot;>

</frameset>
</body>
</html>

The cols=80 is the width in pixels of your left frame, the * is your main frame and means it's dynamic and will fill the rest of the screen.

I think this may be the code that you put on your flash buttons.

on (release) {
getURL(&quot;yourpage&quot; &quot;mainFrame&quot;);
}


I've seen a few posts here regarding this but have never tried it. Not sure if this will work but give it a go anyway, if it's wrong someone will correct it I'm sure.:)
funkymonk2.jpg


rod@sameplanet.co.uk
********************
 
hi funkymonk,

this wont work, my web site has to be 750 px wide and centered in the browser WITH a white border around the site...like on
please help.
 
then your going to have to use tables..
logo.gif


carlsatterwhite@orlandomediasolutions.com
 
Yeah, tables.

If you want your site centred in the browser, like Mattel, the links on the left are going to stay fixed, like the rest of your content. Just put the links on all your pages in the left side of the centred table. If your using the same buttons throughout they will only need to be loaded once.

To centre your site in a browser:

<table width=&quot;100%&quot; height=&quot;100%&quot; border=&quot;0&quot;>
<tr width=&quot;100%&quot; height=&quot;100%&quot; align=&quot;center&quot; valign=&quot;middle&quot;>
<td width=&quot;750&quot; height=&quot;how-ever-high&quot;>

<!-- create another table here to hold your content -->

</td>
</tr>
</table>

I think you would have had more luck with this in the HTML/CSS or website designers forum.
funkymonk2.jpg


rod@sameplanet.co.uk
********************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top