13 replies [Last post]
bizzybusterben
Offline
newbie
Last seen: 17 years 26 weeks ago
Joined: 2005-04-03
Posts: 7
Points: 0

I am designing a web site using Dreamweaver and frontpage. I am mostly using frontpage and getting use to and learning dreamweaver. Any way, my question is: I have designed the look and feel of my web site and I would like to have the page that I designed initially be the background for all my pages. The trick is I do not want to keep redrawing the same background over and over again. I want the background to load once and that’s it. Actually the background will be the very first that is loaded. For example the index.html page that loads first into the web site would be the background and every page after that would draw over it and the background (index.html) would scroll with the foreground page. I would also like to put links on the left side of the background and click them and have them load into the same window. Can this be done? I see allot of cool web sites that accomplish this without using frames and I would like to do the same. I see allot on the net about CSS, but I cannot find a link that will explain how to do this with CSS. I would prefer to use CSS, because that is what I am using with dreamweaver and I find it very, very cool and interesting. Thanks for you immediate response, Ben.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 22 weeks 4 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Background

Quote:
Thanks for you immediate response, Ben.

How very presumptuos!

First of all, let me tell you that FrontPage is a Bad Thing. However, you have created a site in it, which is a good start.

First of all, could you possibly upload this page somewhere so we can see what you've got?

Secondly, about allot of cool web sites that accomplish this without using frames - could you give us some examples so we know what you mean?

Quote:
I would like to have the page that I designed initially be the background for all my pages. The trick is I do not want to keep redrawing the same background over and over again. I want the background to load once and that’s it. Actually the background will be the very first that is loaded. For example the index.html page that loads first into the web site would be the background and every page after that would draw over it and the background (index.html) would scroll with the foreground page.

Not entirely sure what you mean here - could you be a bit more specific?

- Pine

Verschwindende wrote:
  • CSS doesn't make pies

bizzybusterben
Offline
newbie
Last seen: 17 years 26 weeks ago
Joined: 2005-04-03
Posts: 7
Points: 0

wow, thanks

WOW! Thank you for the fast response and your opinion on FP. I do not have an area to up load the site yet, but I will work on it. I would imagine that I could get more support if I did so. However, I will try to explain a little more.

When the web site initially appears on the screen I would like it if the background of the first page stays loaded or on the screen. If I press a link, then I would like the new link to draw over the background, but not affect it. The background would be able to scroll with the new page or pages that load on top of it, but the new page will not be able to replace it. I am trying to accomplish having the same page on every page look the same without redrawing it. I saw a cool way of doing it with flash, but I am not ready for flash (yet) and the web site has already been created and I am interested in trying to do this with CSS (if possible). Please let me know if you understand what I am talking about. Thank you again for the input and speedy response. Any information would help. I look forward to reading more of your response, Ben.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 30 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Background

The page always draws itself completely. The background image is cached, and not re-downloaded for pages that use the same image. This is true for all images. If the new page uses all the same images, the redraw will appear not to redraw the images because they are on the local machine and the local machine is very fast compared to the net.

It is a Bad Thing™ to use Flash for actual content. Flash is not accessible through assistive technology or text only browsers.

Let me also say that Frontpage and Dreamweaver generate crappy code. You really should learn html and css and you should hand code your pages. Neither are exactly rocket science, but you will have to put some effort into becoming proficient.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

bizzybusterben
Offline
newbie
Last seen: 17 years 26 weeks ago
Joined: 2005-04-03
Posts: 7
Points: 0

i know html and some css

Thanks kk5st for the response, for the record I know html and I am getting better at css. The question is how do I use the function that you are talking about with css. Can you go into a bit more detail about the draw function? Ben

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 30 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Background

Actually, you don't use the function. It's just the way browsers work.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

bizzybusterben
Offline
newbie
Last seen: 17 years 26 weeks ago
Joined: 2005-04-03
Posts: 7
Points: 0

Background

Kktst, if I have designed the page already and have the look and feel of it, can I load the page up with CSS as a background, you know – like you can do with background-image? This way the designed page can be the background for the entire web site? Thanks, Ben

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 30 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Background

I kinda doubt I'm following you here. Do you mean like all the borders and background colors as a unit, so you just fill in the blanks for the content? No. Why would you want to? It would have to be an image and that would be a direction you do not want to go. The worst thing you can do on the web is to create image bound pages.

CSS allows you to define how your content, as marked up, will render. That's a Good Thing™. Use it as intended.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

bizzybusterben
Offline
newbie
Last seen: 17 years 26 weeks ago
Joined: 2005-04-03
Posts: 7
Points: 0

Background

ok, what should i use to seperate the page with top on the top of page, content (menu list) on left, the viewable page to the right of that, and a bottom. it seems like you are saying that i am using css for the wrong thing, so what should i use to do this without using .shtml and php. i know it is possible to do, but i do not know what to look for (to read about it) or what it is called. please point me in the right direction. thanks for your input, ben

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 30 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Background

If you're using includes to bring in banner snippets and menu snippets, that's the proper way. It is not a job for css.

If you're thinking about frames, don't. Frames are evil.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 22 weeks 4 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Background

yep - php all the way.

Verschwindende wrote:
  • CSS doesn't make pies

bizzybusterben
Offline
newbie
Last seen: 17 years 26 weeks ago
Joined: 2005-04-03
Posts: 7
Points: 0

Background

Thanks for all the help.. i will look into using php. i will let you know how it goes. also do you have any links for tutes on php. thanks ben

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 22 weeks 4 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Background

Yep, here's a great site, will tell you all you want to know about php:

www.google.com

Laughing out loud

search for 'php include'

Verschwindende wrote:
  • CSS doesn't make pies

bizzybusterben
Offline
newbie
Last seen: 17 years 26 weeks ago
Joined: 2005-04-03
Posts: 7
Points: 0

Background

got it sorted guys thanks for the help and response, went with css to help format the site and used a bit of php to do the trick.