143 Posted October 25, 2004 Posted October 25, 2004 I am looking into adding some Flash to my page. The way I want to have my page is to have it broken into 3 horizontal sections. The top and bottom section will be 100% Flash. The center section will be HTML. Basically, the top and bottom sections will remain the same no matter what section of the site you visit, only the center HTML section will change (based on links that can be clicked on from the Flash section on the top), and it would only vary between 10 or so different things. My question is, what is the best way to do this? I know basic HTML and Flash, and just can't quite seem to grasp how to do this. Thanks in advance for any help. Quote
AlanV Posted October 25, 2004 Posted October 25, 2004 Frames. You can then load things into the center frame through links (Flash has an easy way to do this with targets, but there's an easy way with textlinks as well). http://wp.netscape.com/assist/net_sites/frames.html http://www.w3.org/TR/REC-html40/present/frames.html Quote
143 Posted October 25, 2004 Author Posted October 25, 2004 Thanks for your quick help, I'll check those links out. Quote
TCH-Rob Posted October 25, 2004 Posted October 25, 2004 Cant you put it in a table, or a header/footer? Quote
TCH-Thomas Posted October 25, 2004 Posted October 25, 2004 Just a quick reminder that not all can see flash stuff for various reasons. Quote
143 Posted October 25, 2004 Author Posted October 25, 2004 Cant you put it in a table, or a header/footer? Is there a way to make cells static? When a link is clicked, I don't want the whole page to load, is would just be the center cell. Quote
TCH-Bruce Posted October 25, 2004 Posted October 25, 2004 No there isn't. The only way to keep static content is with frames. How ever frames are not necessarily a good thing when it comes to search engines. But if you are using the same content on each page, once downloaded it is usually pulled from the user's cache instead of downloaded again. Quote
143 Posted October 25, 2004 Author Posted October 25, 2004 No there isn't. The only way to keep static content is with frames. How ever frames are not necessarily a good thing when it comes to search engines. But if you are using the same content on each page, once downloaded it is usually pulled from the user's cache instead of downloaded again. Yea the search engine thing was what I was worried about, but I think I found a possible solution: Frames & Search Engines Hopefully that will eliminate some % of the problem Quote
TCH-Don Posted October 25, 2004 Posted October 25, 2004 You can use tables and use php or .shtml to include common content in the top or bottom. Quote
borfast Posted October 25, 2004 Posted October 25, 2004 My first suggestion would be to forget the idea of using 100% Flash content on your site, unless the *whole* site is made in Flash - and by this I mean that it's just one Flash file in one HTML file, not various HTML files, one for each section of your site and each with a Flash file in it. The various sections of the site could then be loaded dynamically within the main Flash file itself. But I would still recommend having an alternative HTML-only version, for those people who can't/won't see Flash movies on their browser. Quote
143 Posted October 25, 2004 Author Posted October 25, 2004 You can use tablesand use php or .shtml to include common content in the top or bottom. Yea - I was reading about php but it got really confusing, really fast. I dunno, I might look futher into it since the frames thing seems to be frowned upon in web-development. My first suggestion would be to forget the idea of using 100% Flash content on your site, unless the *whole* site is made in Flash - and by this I mean that it's just one Flash file in one HTML file, not various HTML files, one for each section of your site and each with a Flash file in it. The various sections of the site could then be loaded dynamically within the main Flash file itself. But I would still recommend having an alternative HTML-only version, for those people who can't/won't see Flash movies on their browser. After looking further into it, I wouldn't want 3 sections, just two. The top being the static Flash. This site is almost exactly what I am looking to do: EXAMPLE Quote
143 Posted October 25, 2004 Author Posted October 25, 2004 Actually after looking at that, it looks like they reload their flash animation every time. =/ Quote
TCH-Don Posted October 25, 2004 Posted October 25, 2004 If you haven't already Try the mini php turtorials from Total Choice hosting. php mini tutorial by Jim Uni and php mini part one tutorial by TCH-Jack Quote
143 Posted October 25, 2004 Author Posted October 25, 2004 If you haven't alreadyTry the mini php turtorials from Total Choice hosting. php mini tutorial by Jim Uni and php mini part one tutorial by TCH-Jack Yea I was looking at those actually . I Tried entering some of the example code in my HTML editor that they had listed and realized that I may need some type of PHP editor to do it? Quote
TCH-Don Posted October 25, 2004 Posted October 25, 2004 No, most html editors should work just fine. I use one from notetab.com that and an ftp ptogram is all I need. Try the samples as listed then play with them Oce you see the power of even just the include ou will be a fan of php in no time. Quote
TCH-Bruce Posted October 25, 2004 Posted October 25, 2004 You can write PHP with any text editor. To test PHP requires that you either put it on the server here or set up your environment to run a web server along with the PHP engine. Quote
AlanV Posted October 25, 2004 Posted October 25, 2004 Be sure to name your files with a .php extention You can actually name all your files .php if you want. Any HTML in there (provided it's outside the <? and ?> tags) will render normally, and you can insert php code whenever you want easily! But if you want static pages with common headers/footers, I would recommend shtml over php. Quote
borfast Posted October 25, 2004 Posted October 25, 2004 Actually after looking at that, it looks like they reload their flash animation every time. =/ That's exactly why I said that a 100% Flash site should be done in just one Flash movie, which dynmically loads the other parts of the site (other Flash files) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.