Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   Web Design and Hosting (http://www.mac-forums.com/forums/web-design-hosting/)
-   -   Single Copyright Multiple Pages (http://www.mac-forums.com/forums/web-design-hosting/307775-single-copyright-multiple-pages.html)

Tappiocca 01-16-2014 03:37 PM

Single Copyright Multiple Pages
 
I am not sure if it is possible, but I would think that it is.

When using CSS and multiple webpages; is it possible to use a single

& copy NAME

and then have the exact same info show on multiple pages, that way your are not forced to repeat the same content?

vansmith 01-16-2014 03:59 PM

You could use Javascript to do this - simply have the JS replace the contents of a div or span with the copyright information and then simply include a div or span on each page with the appropriate id. So, the JS would look something like:
Code:

document.getElementById("copyrightInfo").innerHTML = "Here is the copyright"
. On each page, you'd have an element with the id "copyrightInfo". Does that work?

Tappiocca 01-16-2014 04:20 PM

I have never used JS, so I will have to look into it..


All times are GMT -4. The time now is 07:58 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.