logo-dw

Go Back   Dreamweaver Club Forums > Community Talk > Dreamweaver Club Cafe
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 01-09-2013, 08:44 AM   #1
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,176
Default html5 includes

although not strictly true i came across this while yahoogling so thought id post it

<object name="foo" type="text/html" data="foo.txt"/>or
<object name="foo" type="text/html" data="foo.inc"/>
will include a file so if the contents is of foo.inc or text is

Code:
<p> This is an HTML paragraph </p>
it will return This is an HTML paragraph, similar to php includes in that way so a great way to include your repeatable items such as menu header, footers. borwsers must suppory html5 and pages must be declared
Code:
<!DOCTYPE html>
<html>
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 01-10-2013, 09:16 AM   #2
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

Quote:
Originally Posted by edbr View Post
although not strictly true i came across this while yahoogling so thought id post it

<object name="foo" type="text/html" data="foo.txt"/>or
<object name="foo" type="text/html" data="foo.inc"/>
will include a file so if the contents is of foo.inc or text is

Code:
<p> This is an HTML paragraph </p>
it will return This is an HTML paragraph, similar to php includes in that way so a great way to include your repeatable items such as menu header, footers. borwsers must suppory html5 and pages must be declared
Code:
<!DOCTYPE html>
<html>
That's useful to know, thanks Ed. HTML5 keeps throwing up some really nice surprises
Corrosive is offline   Reply With Quote
Old 01-10-2013, 09:28 AM   #3
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,176
Default

i know im trying to work with apps and am juggling between native android and html5 apps, its driving me insane
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com