Click to See Complete Forum and Search --> : is there an easier way!?


GreyFaerie
09-10-2003, 07:19 PM
i currently have maybe 20 pages to my site and i plan on adding alot more.

for referance go here http://www.playingwithfaeries.com/Council.htm

as you can see, i have decided to add links in blogs to the left side of my page... i know it would be easier to use frames but i like this look alot better.

my problem is this : I am still constucting the site and I am adding pages all the time... so every time I add a new page I have to go back to EVERY SINGLE PAGE and add the link to the new page, and then reupload all the pages to my site with the updated links... this can become very irritating and time consuming. isnt there an easier way?

PeOfEo
09-10-2003, 09:51 PM
Ok you can combine frames with a scroll-able window (which you are using a div for now with overflow:auto;. Just use an iframe. It is an inline frame and it acts just like a table cell except it can scroll. To see one in action view my home page the center content is in one. Also I suggest using css for layout its a whole lot less code on every page because you can use an external css file and things are a lot more organised that way then with tables it also saves on bandwidth.
<iframe src="thepageinside" name="iframename" height="someheight" width="somewidth"><a href="thepageinside">You dont support me, click here</a></iframe>
Be sure to use html 4.01 transitional loose dtd docktype with this or a frameset doctype.
One more thing to target a link to open in the iframe do this with your links
<a href="somepage" target="iframename">text</a>
to have a link inside the iframe open in the main window put
<a href="somepage" target="_parent">text</a>

simpson97
09-11-2003, 02:57 AM
check out using SSI (server side includes)

Bob

GreyFaerie
09-11-2003, 05:32 AM
that site is very impressive and exactly what im looking for ... thanks!

GreyFaerie
09-11-2003, 11:34 AM
how did you get the border to be rounded like that?

PeOfEo
09-11-2003, 04:18 PM
I used images at the top and bottum of the table cells, I positioned my whole site (except for the middle stuff due to ie bugs with %'s) with css including those images and for the side divs I only usde left and right borders so the images would be right up on the divs. Like I said before using css can do some very nice things. www.w3schools.org Also
simpson97 why would you use an include when the goal is to put the content in a box with a scroll bar, you could ditch the div overflow all together and have your menus in a separate file with an iframe, sometimes an include is the answer, but in this instance I would say an iframe would be the best solution.

PeOfEo
09-11-2003, 04:21 PM
.nav {
position:relative;
width:auto;
margin:-3px 0px 0px 0px;
border:1px solid #003366;
background-color:black;
border-top-width: 0px;
border-bottom-width: 0px;
padding-left: 10px;
padding-right: 10px;
z-index:2;
color:#4682b4;
font:12px ms sans serif, arial, helvetica;
}
.navheader {
margin:0px 0px 0px 0px;
}
.navfooter {
margin:0px 0px 10px 0px;
}

.nav is the div class for all of my menus, where .navheader and .navfooter are at the top and bottom of my .nav divs and the .navheader and footer have images that are rounded inside of them, does that clear it up any?