lesley Posted February 3, 2009 Report Posted February 3, 2009 Hello, i am new to CSS and had a simple question. I just finished some tutorials from killersites.com and noticed that the navigation items were repeated in every page. Is there some way to include the items in a template or a css page so if you need to update your navigational menu items, then you only do it in one place? Thanks.
falkencreative Posted February 3, 2009 Report Posted February 3, 2009 Look here: http://www.killersites.com/forums/topic/357/repeating-sections-of-code-on-many-pages/
lesley Posted February 4, 2009 Author Report Posted February 4, 2009 is there another way to accomplish this without php? i have not gotten into that. Im hoping to just use css and html. Thanks.
Wickham Posted February 4, 2009 Report Posted February 4, 2009 is there another way to accomplish this without php? i have not gotten into that. Im hoping to just use css and html. Thanks. There's SHTML but that type of "include" is almost identical to teh PHP method but PHP gives so much scope for other things to add in later like forms to a database. PHP "includes" are the easiest part of PHP to learn. Otherwise you could use a frameset with the repeating bit in a separate frame, but no one will advise you to do that now that PHP can do it better.
lesley Posted February 6, 2009 Author Report Posted February 6, 2009 Thank you! PHP includes were easy to learn. Now i ahve run into another issue, i need create a verticle pop out navigation menu. Any recomendations? Most of the ways i have tried do not work in IE.
jlhaslip Posted February 6, 2009 Report Posted February 6, 2009 cssplay.co.uk/menus/ has several IE compatible menus
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now