Welcome visitor
* Login
* Register
It is currently September 19th, 2019, 4:44 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 4 posts ] 
Author Message
  html include
PostPosted: April 9th, 2009, 12:12 am 

Posts: 46
hi, is there a way to have an html file inside another, or do i need to copy and paste the content?


Top
 Profile  
 
  Re: html include
PostPosted: April 9th, 2009, 12:16 am 
User avatar

Posts: 56
can u use server-side-language?

http://scriptingok.com/forum/viewtopic.php?f=4&t=12&start=0


Top
 Profile  
 
  Re: html include
PostPosted: April 9th, 2009, 12:17 am 

Posts: 46
thanks for the quick reply, and no, not for this, any other idea?


Top
 Profile  
 
  Re: html include
PostPosted: April 9th, 2009, 12:40 am 
User avatar

Posts: 112
create a javascript file with the content you need to include, thus

file included.js content:
document.write("text to include");


and on call that file where you need it on the html using:
<script src="included.js" type="text/javascript"></script>
hth, ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron