Jump to content

Web Design


soul .gc

Recommended Posts

Ok - Here is the dilemma:

 

I have a template done that uses tables. Here is the basic layout:

 

1 Row along the top that is used for the title of the page

 

1 Row beneath title row for links to other pages

 

1 Column on the left side with the labels (1, 2, 3, 4)

 

1 Column on the right where the info appears when it is clicked on in the left column.

 

Example: Click on 1 and in the right column the data appears that is linked to 1. I can only get it to work with Frames so far but I much prefer tables.

 

Anyone know how to do this?

 

Also -

 

If I have a bunch of HTML that I want to resize itself to fit in the window each time, how do I do that? Is it possible?

Link to comment
Share on other sites

I had it :( I'll try to look for it again on the internet. Lost the originals.

 

But what are you exactly having trouble on? <iframe> ?

 

All that template is really is the table with an iframe on the right. The links on the left have a target of "_iframe"

Link to comment
Share on other sites

Member
(edited)

Template shmemplate! Here's a simple example... http://members.cox.net/amotl/iframe/test.htm

 

<html>
<body>

<table border="1" width="100%">
 <tr>
   <td width="100%" align="center">Title</td>
 </tr>
 <tr>
   <td width="100%" align="center">Links</td>
 </tr>
 <tr>
   <td width="100%">
     <table border="1" width="100%">
       <tr>
         <td width="25%"><a href="content1.html" target="rightside">One</a></td>



         <!-- HERE IS THE IFRAME -->
         <!-- The name is "rightside" and all the links target "rightside" -->

         <td width="75%" rowspan="4">
           <iframe name="rightside" size="100%" width="100%" src="content1.html"></iframe>
         </td>

         <!-- *********************************************************************** -->



       </tr>
       <tr>
         <td width="25%"><a href="content2.html" target="rightside">Two</a></td>
       </tr>
       <tr>
         <td width="25%"><a href="content3.html" target="rightside">Three</a></td>
       </tr>
       <tr>
         <td width="25%"><a href="content4.html" target="rightside">Four</a></td>
       </tr>
     </table>
   </td>
 </tr>
</table>

</body>
</html>

Edited by Hitman
Link to comment
Share on other sites

Thanks guys - Here is another question.

 

I downloaded the 3rd template down on the link below:

 

http://www.freelayouts.com/templates/display/templates/

 

How do I get the links to show up in the Iframe? No Iframe tag shows up in the target box in Dreamweaver.

 

Also - How did you create an Iframe? Been tryin to figure this out for a day, head is getting tired.

Link to comment
Share on other sites

You might have to look in the code. I know in Frontpage you have to make an Iframe manually. Look at the code. Can you view code in dreamweaver? Look at it.

 

<IFRAME name=upd 
           marginWidth=0 marginHeight=0 
           src="content.html" 
           frameBorder=0 width="98%" scrolling=yes height=380 
           bordercolor="000000"></IFRAME>

 

Looks like the iframe is called "upd" So send the links to target "upd"

 

On another note: I found my template! http://zymic.surreallia.com/templates/ template 2 yay now I can fix my page.

Link to comment
Share on other sites

Just a site for my Golf League. Trying to make it look good.

 

My only other problem is gettng HTML to resize for the frame.

 

I have a spreadsheet that I save from Excel to an HTML format. When I link it to open in the frame it is big so you have to scroll a lot. Trying to figure out how to get those sheets to resize to the Frame, even if they are real small....or at least the width to resize.

Link to comment
Share on other sites

Alright experts. Finally got some more figured out but I am still stuck on one thing, the size of the page.

 

If you look here:

 

http://my.voyager.net/~haggy/june03.htm

 

You can see how big these spreadsheet pages can be. Is there any way to shrink them or tell HTML to resize them for the available window? If I remove scroll bars it just puts in a small portion and not the entire sheet.

 

Thanks.

Link to comment
Share on other sites

Are these guys images? Or are they imported spreadsheets from another program? I viewed your source code and honestly didn't want to spend the time answering my own question. If they are images, then you can specify the height and width of the image at the end of your image tag.....<img src="blahblah.gif" width="400" height="400"> that would make your image size be 400x400 pixels. You can also do this based on percentage as well.....ie..if you put "400%" it would make the image 4 times as big.

 

*..Hmmm, looked at it again for a sec and doesn't seem to be images. You could manually go in and change all the widths of the table columns. That would be a pain in the rear though.

Link to comment
Share on other sites

soul the sheets look fine. scrolling is not as big a nightmare as

web deisnger make em out to be. They are if you use em as your intro page or they disturb your asthetics.

 

For a sheet like that I EXPECT to have to scroll cause theres so much info. If you want it all to fit then make a img link by printing the sheet to paper then scan it back in as a small image and use the small image as a representation...the thing is people will still have to scroll cause it's just to big.

 

You can script some java to zoom but thats alot of leaning man.

 

dreamweaver is a pain huh? Great program compared to the others but still far from perfect. What version are you using?

 

I was thinking of upgrading from version 3 to mx2004 but I dont know if it's worth it since I don't design very much.

 

I use Flash 5 the most for the animations.

 

Auggy

Link to comment
Share on other sites

Thanks Auggy.

 

I will link the page when it is done, I have been learning a lot over the last few days. It has been 4-5 years since I did any of this....the old SoS web page if anyne remembers that.

 

Dreamweaver is good, it is just annoying when you try to find out how to do something and the help files suck.

 

I have MX2004 and Flash MX. I am currently trying to figure out how to make some Flash buttons. I wanted to have some Flash buttons that made an animation onmouseover and then spawned a sub-level of menu items. I know I can do this with regular Javascript but I figured I would try with Flash since it looks better usually.

Link to comment
Share on other sites

IFrames are not supported by all browsers.

Gond, do you mean older browsers (like IE3)? Personally, I'd say it's more common for a browser to have javascript disabled than not support iframes... or is there a really popular one that it doesn't work with?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...