ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > RocketCake
forum topic indicator Feature request: Extension component for copyright notice
person icon
bruce
Registered User
Quote
2024-12-14 19:50:30

Hello,

would it be interesting if you could insert an element into a page (footer) that contains a copyright notice where the year is automatically updated?

(C) 2024 ...

Many thanks & best regards
Bruce

person icon
niko
Moderator
Quote
2024-12-15 07:55:34

You can do it like this:
Create a JavaScript element, double-click it, and paste this code:

var t = document.getElementsByTagName('script'); 
t = t[t.length - 1].parentNode;
t.innerHTML += new Date().getFullYear();

t.style.fontFamily = "Arial Black, Gadget, sans-serif";
t.style.color = 'black';


Be sure to uncheck the "Create Div around code" option in the property window.

The last two lines are for setting a font and color, adjust them according to your needs.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |