#1 (permalink)  
Old 03-21-2006, 08:01 PM
Registered User
 
Join Date: Mar 2006
Posts: 1
general iframes question

I'm a semi-newbie to web design. Been doing it for awhile but have been leaning on the Dreamweaver crutch the whole time.

I need some advice about a site I'm designing for my band. We have a regular site, but this one will be specifically for our new album, with just album-related info on it. Check out this rough template:



I think I want some sort of frames set-up where the outer border (including header and bottom text links) stays static, and the content changes in the middle when the text links are clicked - a frames sort of thing. However, I want the page to be small (650x400) and to have a border around the whole thing (as is in the above picture), but I could not seem to get this effect with frames in Dreamweaver.

I've come across "iframes" in trying to figure this out, though I'm not quite sure what they are or how to use them. Does anyone know if iframes would be a good solution for my desired outcome? I'm sure I can dig up some tutorials on iframes, so my main question is whether iframes are an appropriate tool for what I want to do.

Any help would certainly be most appreciated!
Reply With Quote

  #2 (permalink)  
Old 03-22-2006, 08:50 AM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,445
iFrames would absolutely be an appropriate solution for what you want to do. They are one of only two solutions I can think of (the other being divs that you hide and show with javascript).

Basically, iFrames are very simple. You place the iFrame tag wherever you want the iFrame to show up in the page.

In addition, in order to get the specific size and the border you're looking for around the rest of the page, I would recommend placing all of your content within a div, and defining the style of the div with CSS.

Code:
<html>
<head>
<title>This is your title</title>
<style language="css" type="text/css">
<!--
#container {
width: 650px;
max-width: 651px;
min-wdith: 649px;
height: 400px;
max-height:401px;
min-height: 399px;
border: 1px solid #000;
}
-->
</style>
</head>
<body>
<div id="container">
<span style="line-height: 50px;">This is your text that goes above the iFrame.</span>
<iFrame src="http://www.yahoo.com/" name="myframe" frameborder="0" width="645" height="300" scrolling="no"></iframe>
<span style="line-height: 50px;">This is your text that goes below the iFrame.</span>
</div>
</body>
</html>
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #3 (permalink)  
Old 03-22-2006, 12:18 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Lightbulb

Take a look at my site... iframes are useful! http://www.reaganator.com

PS: Plus, check out this site!! It was designed completely in Flash though (I think).
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__

Last edited by Leprakawn; 03-22-2006 at 12:22 PM.
Reply With Quote
  #4 (permalink)  
Old 04-05-2006, 07:00 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,130
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Exclamation

Oops... I think my second example's URL changed. Here is another link for it: http://www.traktwinz.com
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Code:
         ...,,.,.,.
        /          \
__oooo__[///]--[\\\]__oooo__
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Another Image Rollover Question skinner69 Programming and Scripting 1 02-26-2006 10:58 PM
how to put iframes on my blog?(html) para_para_po Programming and Scripting 1 01-16-2006 04:44 AM
vBulletin Question Dan_ Databases 1 01-09-2006 07:12 PM
HTML question Error Programming and Scripting 1 12-25-2005 08:44 AM
HTML Image question GreenKoopaKid Programming and Scripting 2 12-16-2005 07:43 PM


All times are GMT -5. The time now is 04:48 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter