php output without iframes

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
potsed
Forum Commoner
Posts: 50
Joined: Sat Oct 09, 2004 12:00 pm
Location: - South Africa

php output without iframes

Post by potsed »

http://www.evilwalrus.com/articles.php?aid=46

recent article on evilwalrus about using php in html pages ...

hmmm... interesting 8O
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

That's an interesting approach to adding PHP content to non-PHP pages. Guessing it'll cause issues for non-JS browsers though.

Mac
User avatar
no_memories
Forum Contributor
Posts: 145
Joined: Sun Feb 01, 2004 7:12 pm
Location: New York City

Post by no_memories »

That's an interesting approach to adding PHP content to non-PHP pages. Guessing it'll cause issues for non-JS browsers though.
Sure blows the idea about how this forum is run? Lots of js going on here :P

Come to think of it, I wonder how the none js crowd really get about on the Internet these days?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Generally with text-to-speech readers, or there's the search engines as well... JS should enhance (like it does on this forum), not exclude.

Mac
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Nothing new to me, but interesting indeed.
User avatar
potsed
Forum Commoner
Posts: 50
Joined: Sat Oct 09, 2004 12:00 pm
Location: - South Africa

Post by potsed »

u could always add a noscript tag for those who dont have js.. beside ppl who switch off js should expect to have less functionality
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Is it only me who has been doing this for css files for years?
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

I've been doing the Iframe thing for a while and the one advantage that I can see of using that over his method is the ability to alter the parent page from the iframe without having to refresh the page but I do run into the non javascript issue some times.

but i can see where that method could be usefull especailly in creating any dynamic js from a db or somethin.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

potsed wrote:u could always add a noscript tag for those who dont have js.. beside ppl who switch off js should expect to have less functionality
Certain disabled users and search engines are two definite groups that have not chosen to disable JS, it's simply inaccessible to them. The simple message is to provide an alternative, you then have the benefits of JS for those that can access it and the benefit of being able to access the information for those that can't.

Mac
Post Reply