Web Hosting Talk







View Full Version : Hey guys, bare with me plz Imma noobie!


draward
11-22-2009, 12:11 AM
Hey guys whats up, I have created a website layout in photoshop for my home page, about page, services page, projects page, careers page, and contact page. I dont know If I had to create them all but I did... either way heres my question, okay so I have the home page sliced out and saved for web optimized and all that yadda, its now in dreamweaver right... okay now my question is do I need to slice out each individual page? or how does that work? ALSO I need to know how to get say a link from a sidebar to appear in the same window, if you kind of know what I mean, If not just say something and I will upload a pic and try to explain a little better. basically sidebar on the left, I want whatever to open without opening a new window immediately on the right in the space I have allowed for it... If somebody could please reply with some answers that would be greatly appreciated as I am kind of stuck and can't really do much more until I can figure this out! thanks guys! have a good night!

bear
11-22-2009, 09:39 AM
its now in dreamweaver right... okay now my question is do I need to slice out each individual page? In Dreamweaver, use that layout to create a template (DWT) file, and create your pages based on that template (new->page from template). Anywhere you want to be able to edit the content, insert an "editable region". This will be unlocked and editable on all pages created from that template.
To make changes to the layout, edit the template file, and when you save it will ask if you want to update pages based on it. Agree, and it's done.
I want whatever to open without opening a new window immediately on the right in the space I have allowed for it.
If you mean you'd like to have it show in the right hand space, there are several ways (here's two):
- Just link to the page with that content in the middle. If you're using templates, every page will have that same layout and navigation, so it will look identical, except for the changing content on the "right".
- Use frames (please don't, they're usually a bad idea). This uses a "frameset" to include other pages to make up a page. To have a link open in one of the individual frames, you specify a target, using the frame's name (IE: href="content.html" target="frame_name">). Each frame has it's own name so you can reference it in this way.

There are other ways too, but these are the basics.