|
|||||||
| Programming Discuss the code, get ideas, present your own coding. |
| View Poll Results: <iframe> Do you use it? | |||
| Yes |
|
6 | 42.86% |
| No |
|
8 | 57.14% |
| Whats <iframe>? |
|
0 | 0% |
| Voters: 14. You may not vote on this poll | |||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
So do you use the <iframe>, If so what do you use it for?
If not why not? KingTiger
__________________
KingTiger's Hangar About the Game Hardwar |
|
#2
|
||||
|
||||
|
I used it for some projects when I didn't have php support only HTML. So that i don't have to re-work all the pages when making a change in the layout (something I do quite often as you can see
), I used iframe.
|
|
#3
|
||||
|
||||
|
Not for a while, use DIVs now for the sort of thing i used to use Iframes for.
|
|
#4
|
||||
|
||||
|
It's indeed better to use divs (with an overflow option) instead of iframes. SEO, you know. If you really need that content to load seperately from the page, that's where AJAX comes in.
__________________
This time it's personal. |
|
#5
|
||||
|
||||
|
I use iframes to include another site or page. on one of my pages.
i dont know how to do it with php or divs. but i do use php to add the header & footer. so theres only one header file and only one footer file, makes it alot easyer. i also use php to add things like site name incase i change it part way though designing the site. or any other text that is all over the site. KingTiger
__________________
KingTiger's Hangar About the Game Hardwar |
|
#6
|
||||
|
||||
|
I used an iFrame once.
Now divs with overflow: auto and javascript(AJAX).
__________________
Earn Cash online? Follow my experiences |
|
#7
|
||||
|
||||
|
Quote:
__________________
phpBBModders.net |
|
#8
|
||||
|
||||
|
Just started using a php based template with includes and it works OK.
Code:
<?php include "header.tpl" ?> Here goes my main site's pages and info <?php include "footer.tpl" ?> www.cssm.ro It's nice this way .. I can still work on the layout from the header/footer includes .. |
|
#9
|
||||
|
||||
|
It's lovely using php includes on things like the header, so if you decide to change one link, image or something you only have to edit one file and not spend ages going through each individual file and then changing the link.
|
|
#10
|
||||
|
||||
|
You could use another templating system.
Or you could use the dynamic include script from pootato.org - it makes things easier
__________________
The Blogging Café - Blogging Forum
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|