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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

guys what is wrong with this code.....

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
<HTML>
<HEAD>

<TITLE>..::pRO-MAINTENANCE4U.COM::..</TITLE>

</HEAD>
<FRAMESET ROWS=&quot;20%&quot;>
<FRAME NAME=&quot;top&quot; SRC=&quot;top.html&quot;
<FRAMESET COLS=&quot;144,800&quot;>
<FRAME NAME=&quot;left&quot; SRC=&quot;left.html&quot;>
<FRAME NAME=&quot;right&quot; SRC=&quot;right.html&quot;>
<FRAMESET ROWS=&quot;20%&quot;>
<FRAME NAME=&quot;top&quot; SRC=&quot;top.html&quot;
</FRAMSET>
</HTML>



i want to be able to break up this flash


and place it into this frameset so i can load
as needed into left.html..

thanks in advance
e.gif


carlsatterwhite@endangeredgraphics.com
 
minus the second frameset rows that was a copy and paste mistake..but what would be the correct code for placing the above movie into the appropriate framesets.
e.gif


carlsatterwhite@endangeredgraphics.com
 
got it to work with this

<frameset rows=&quot;20%,*&quot;>
<frame name=&quot;Top&quot; src=&quot;edgetop.html&quot;>
<frameset cols=&quot;22%,*&quot;>
<frame name=&quot;Left&quot; src=&quot;frame.html&quot;>
<frame name=&quot;Main&quot; src=&quot;main.html&quot;>
</frameset>
<noframes>
<body>


</body>
</noframes>

will some one please explin the difference between this and what i have up top..
</frameset>

e.gif


carlsatterwhite@endangeredgraphics.com
 
You have added an extra row and column in your frameset!

<frameset rows=&quot;20%,*&quot;> tells the browser to create a frameset with a row 20% high and a row * high (fill up remaining space). In your first bit of code you were telling the browser that there was one row, and it was 20% of the window height!!! (that's impossible)

Same goes for the vertical frames. Your frames have to add up.
 
yes i got that now..i found that code that matched what i was looking for..then i found a site that explains the *..that was the part i was missing..but thanks alot..one more question if your still around..take a look at this how i have it now..how can i get the swf's to line up right..if you look at it, the left swf(buttons) should be as wide as the lowes link above it..but for some reason the left swf is not showing as it should..also when i removed the frameset borders they do not connect correctly..


any ideas?
e.gif


carlsatterwhite@endangeredgraphics.com
 
I don't get what you mean - All the buttons seem aligned to each other, are you trying to align the top logo and the buttons? Or is it the pics down the bottom?
 
Just a little thing with your arrangement of frames and flash. Without going into your source I assume your flash nav bar is set to a percentage width. And your frameset is also set to percentage width. This is one of the cool things about flash files - they will resize well to any window. But perhaps for nav it is better to set the width in pixels? That way you can be sure the buttons are always legible. This does introduce problems with scrolling nav buttons on small screens - but this is probably better than illegible buttons.

To do it simply set the size of your flash movie to fixed (you can edit the Flash source if you like, or republish it from Flash) and then set an absolute value in your frameset (eg frameset cols=&quot;200,*&quot;). You will also find that this makes aligning elements easier.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top