We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
website design
mightyreds
Posts: 92 Forumite
in Techie Stuff
anybody know of any good web design forums for some hints and tips?
With the site I am designing I have produced a header but what i would like is for this to not have to reload each time someone clicks to a different part of my site.
What language would I need to design this in and any clues on how to do it or where I could find out??
Thanks
With the site I am designing I have produced a header but what i would like is for this to not have to reload each time someone clicks to a different part of my site.
What language would I need to design this in and any clues on how to do it or where I could find out??
Thanks
0
Comments
-
well if your design is the exact same just with different content in the middle part then you browser will read the images from its cache so it will appear not to reload. That's probably the best and most accessible way.
Alternatively you could use ajax to dynamically load the content but that requires the visitor to have a modern browser.0 -
so how do i get the page to reload from cache then?
Ive been looking at other sites and there headers an background images do not refresh or have to load again, just the content which is what I want mine to do. but mine still appear to reload each time
is there a programming language that i can do this in at all?
thank
0 -
Yes, HTML or, better still, CSS. Use the same image file(s) for all headers so it needs to load only once.0
-
you could use php/asp or similar to use common header and footers
then u just need to change the middle bit for each page0 -
You don't need to do anything to reload images from the cache. Once browsers have downloaded they remember the image automatically so can render it immediately each time it is needed. This does not mean that you should not do everything you can to reduce the size of images - a lot of people still use dial up. If your section that is the same on all pages is text and not an image it will download very fast anyway so there won't be a problem.
This is a good web design forum
http://webproworld.com/
you can sign up for their newsletter which comes out on weekdays.0 -
Just one other point - if you made the header an individual file and brought it into your pages as an include (.shtml/asp/php) if you ever decided to change the content of the header - you could change it site wide on only one file .. not have to update every single page..0
-
1 graphic file as a header? that sounds a horrifically bandwidth intensive way of making websites - is there a good reason why you don't want the header to refresh?
No one has mentioned the old-skool way of doing this: Frames0 -
I think my post was not clear - not one file as in a graphic file.
one individual .asp/.php/shtml file..
that file could include whatever the OP wanted in the header file (tables, divs, navigation. images etc)... but they would be in that one file.
then the OP brings that file in as an SSI (server side include) and bobs your uncle..0 -
This is a really good site which I used for my own site which makes a really professional result very easy (once you've figured out CSS, which takes about half an hour if you are fairly web/computer literate)
http://www.free-css-templates.com/0 -
To me it sounds like mightyreds wants to make use of CSS and Javascript to hide and show div's when the mouse is clicked.
Quite a few websites have this with tabs at the top and you can click each tab but the page doesn't physically reload, it just hides the current text and shows a different piece of text.Chris. :cool:0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.4K Banking & Borrowing
- 253.7K Reduce Debt & Boost Income
- 454.4K Spending & Discounts
- 245.5K Work, Benefits & Business
- 601.3K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.3K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards