Click to See Complete Forum and Search --> : Photo Allbum on master page


msc_168
03-13-2007, 01:38 PM
Hi,
I am creating my first web page using DW 8, and I have FW 8 and Flash 8 to use also. I have generated web albums using DW and FW just fine, but it only displays on its on page (index.html). My question is how do I add a web photo album to my web site and have it open in my master page? Here is an example of what I want to do http://www.silvia.trkman.net/. I also downloaded the web album generator used on that site and get the same results.

Thank you for any help,

Caralee

Twissler
03-13-2007, 03:10 PM
I'm not sure I entirely understand the question, but maybe this will help:

The index page is the master page. It sounds like your program is generating it as index, but you're naming your default page something else?

Index is the default page read by browsers, and is often the homepage.

msc_168
03-13-2007, 03:42 PM
I am trying to add a web photo page so that it opens inside my web page without openning a seperate window. Please go to the web page in my first post to see what I am trying to do. I understand about the index page being the default "homepage" masterpage.

Thanks again to anyone who can help me, Caralee

Twissler
03-13-2007, 04:22 PM
You're trying to copy the fact that only the content changes?

That page uses a frameset, and a frameset is basically an html "frame" template that loads other html documents into defined places on the page.

If that's correct, I would read through:

http://www.htmlgoodies.com/tutorials/frames/article.php/3479241

Just FYI, a much better way to do this would be to use a standard HTML page template that has a header and navigation, possibly a footer, and then from there just replace the main content area with the code that your gallery program generated, assuming it isn't too wide for the rest of the site.

tracknut
03-13-2007, 04:23 PM
That site was made with frames. The nav bar and title being in separate framesets than the content. Look at the page source to see how it's done. The photo album or other content displayed in the center doesn't really even "know" it's inside a frame - hence you can use a canned photo album generator and just drop it's own index.html (say from an album in a subdirectory) into the frame.

Frames are a bit out of favor these days, but there you go.

Dave

msc_168
03-13-2007, 04:40 PM
Thanks now I know what was used on that site (frames). I opened and started a frame set in DreamWeaver, but when I click in a frame and drag the photo picture album from the files panel into the link area the file opens on another page. So, how do I put it and have it open in the main frame? Sorry but I am very new to this. Again thanks...

Twissler
03-13-2007, 04:58 PM
I've never done this in DW (I've only built one frameset, ever, and it was just to learn how it worked), but I don't believe you can link that way as it's showing the HTML document that's supposed to load there rather than the frameset index page.

So basically it seems like if you just copy the code (ctrl+a, ctrl+c) of the generated gallery page, and then paste that code (ctrl+v) in the code view after you've clicked in that section of the document, you should be good to go.

Or the page could catch fire and kill anyone within 50 feet because framesets are the devil. Who knows.

msc_168
03-13-2007, 05:58 PM
Thank you so much.... I got one to work, I had to copy the photo page file "index" into the body of the frameset. Tracknut thanks for the tip on openning the code from the site, I had forgotten all about being able to do that. I will look into the best practice way of achieving what I want before making my whole site using frames.

Thanks again for helping me out, Caralee

Twissler
03-13-2007, 07:02 PM
No problem, glad you got it working.