web layout, best way to do it |
![]() ![]() |
web layout, best way to do it |
Aug 18 2005, 08:07 PM
Post
#1
|
|
![]() dont steal my eggroll ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 528 Joined: Aug 2004 Member No: 41,442 |
If you look at my site you'll notice I use div's and an iframe. Now I've recently found out that the iframe looks all messed up on an Mac. I'd like to know if there is a better way other than iframes.
My goal is to make sure the nav on every page is exactly the same without having to update each individual page. So thats why I put an iframe on my index so that I only have to change the nav on one page. I noticed on most pages when you click a link the entire pages loads with the same nav and the new content. I want to do the same thing. Could someone please tell me how they do this without having to update the nav on each individual page? I know something like that would take a long time and thats not something I want to do. Oh yeah, link is in my sig: livinadaydream |
|
|
|
Aug 18 2005, 08:08 PM
Post
#2
|
|
![]() swear to shake it up ![]() ![]() ![]() ![]() Group: Member Posts: 237 Joined: Aug 2005 Member No: 203,772 |
i have a mac, link me to your web site please
|
|
|
|
Aug 18 2005, 08:10 PM
Post
#3
|
|
![]() dont steal my eggroll ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 528 Joined: Aug 2004 Member No: 41,442 |
Link is in my sig, sorry I forgot to say that.
|
|
|
|
Aug 18 2005, 08:26 PM
Post
#4
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
PHP or SSI. =S
[ http://pootato.org/php/ ] |
|
|
|
Aug 18 2005, 08:53 PM
Post
#5
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
Yea , php is the best way. Using php includes. Im about to change to php includes soon . I didn't know that iframes looked bad in mac
http://pixelfx.org http://bouncy-bubbles.net great php tuts oxbrkntearsxo - your sig stretches out a bit. |
|
|
|
Aug 18 2005, 10:10 PM
Post
#6
|
|
![]() dont steal my eggroll ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 528 Joined: Aug 2004 Member No: 41,442 |
Ok, I've never worked with php but I'll give it a try. But what do I do, just save all my files as php? Can I use the same codes like in html or no?
|
|
|
|
Aug 18 2005, 10:21 PM
Post
#7
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
yes you save all the files as .php and you can use html
but if you do php includes its a bit diffrent so read the tutorials on it. |
|
|
|
Aug 18 2005, 10:34 PM
Post
#8
|
|
![]() dont steal my eggroll ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 528 Joined: Aug 2004 Member No: 41,442 |
Reading a tutorial at bouncy bubbles right now, thanks for the help
|
|
|
|
Aug 19 2005, 12:57 AM
Post
#9
|
|
![]() dont steal my eggroll ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 528 Joined: Aug 2004 Member No: 41,442 |
Ok now I have another problem. Everytime I open a PHP file to view it, my browser keeps trying to download it and the only way to make it stop is to close my browser. It wont even show me what it looks like! How can I make this maddness stop?!
|
|
|
|
Aug 19 2005, 01:02 AM
Post
#10
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
I don't htink you can view php with includes without uploading the file through ftp
|
|
|
|
Aug 19 2005, 01:09 AM
Post
#11
|
|
![]() dont steal my eggroll ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 528 Joined: Aug 2004 Member No: 41,442 |
*sigh*
Overall I do notice that PHP is more organized and for the most part it is working. I guess its just getting used to it. |
|
|
|
Aug 19 2005, 01:13 AM
Post
#12
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
you can always make a indexxxx.php page that no one can see but you to test out the php.
don't worry im here with you on the includes i can't even get it yet haha but im getting there |
|
|
|
![]() ![]() |