PDA

View Full Version : Email Riddler code



Bazza2
05-13-2016, 01:37 AM
1) Script Title:
Email Riddler customization#1 Formatting the email link

2) Script URL (on DD):
document.write('<a href="mailto:'+encryptedemail_id45+'" id="mymail" style="color: green">Contact Us</a>')

3) Describe problem:
I have added this snippet of script (above) and it works well.
I need to be able to control the text size as well as the colour.
If it is possible would someone clever with this make the addition for me.

Appreciated

Bazza

jscheuer1
05-13-2016, 02:31 AM
For example:


document.write('<a href="mailto:'+encryptedemail_id45+'" id="mymail" style="font-size: 22px; color: green;">Contact Us</a>')

See also:

http://www.blooberry.com/indexdot/css/properties/font/fontsize.htm

or refer to your favorite css style reference.

Bazza2
05-13-2016, 12:05 PM
Thanks for the code.
Worked fine
Much Appreciated

Bazza