web layout, best way to do it |
web layout, best way to do it |
![]()
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 |
|
|
![]() |
![]()
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
|
|
|
![]()
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.
|
|
|
![]()
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/ ] |
|
|
![]()
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. |
|
|
![]()
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?
|
|
|
![]()
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. |
|
|
![]()
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
![]() ![]() |
|
|
![]()
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?!
![]() |
|
|
![]()
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
|
|
|
![]()
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. |
|
|
![]()
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 |
|
|
![]() ![]() |