| | |
Duplicating text automatically for each page
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: May 2005
Posts: 1
Reputation:
Solved Threads: 0
I am totally self taught in html and a pure novice. I volunteer with a non-profit and I update their existing website. The website has a "Child of the Month" feature which appears on every page of the site. This feature needs to be changed monthly. I have been doing it manually page by page, but I am wondering if there is code that can be placed on the index page that would duplicate the feature on each page??? I am in the process of changing each page now and I am hoping there is a quicker way to do this. The website is http://www.tmihope.org if you want to see what I am talking about. Thanks for any help! Tammy
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
You can do this with a Server Side Include (SSI). The syntax depends upon what server you are running. Is the site run with ISS, Apache? Does the server support PHP, ASP, or what?
A purely "client-side" technique is to write the content of that section of each page via a JavaScript, using document.write(). Include that JavaScript on every page.
A purely "client-side" technique is to write the content of that section of each page via a JavaScript, using document.write(). Include that JavaScript on every page.
Another option is to use frames but not everybody likes to use them...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Updated : Simple ASP.Net Login Page (ASP.NET)
- change the font/color of the selected text on a web page through javascript (JavaScript / DHTML / AJAX)
- Page Rank on Google? (Search Engine Optimization)
- book page text block detection? (not OCR problem) (C)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Need help in design and javascript code for Dynamic form
- Next Thread: I need advices for the Pseudocode
Views: 2261 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
ajax ajaxexample ajaxjspservlets api blackjack browser bug captchaformproblem checkbox child class close cookies createrange() cursor date debugger dependent developer disablefirebug dom dropdown editor element embed engine events explorer ext file flash form forms game gears getselection google gxt hiddenvalue highlightedword hint html ie7 ie8 iframe images internet java javascript javascripthelp2020 jquery jsf jsfile jump libcurl maps margin math matrixcaptcha media mp3 mysql object onerror onmouseoutdivproblem onreadystatechange parent passing paypal pdf php player position post programming progressbar rated runtime safari scriptlets scroll search security session shopping size software solutions star stars stretch synchronous tweet unicode web webkit webservice window wysiwyg \n






