Continued from page 1
''+ '
'+ 'Your special offer HTML-code. '+ 'You can use:'+ 'still '+ expiryDays +' days '+ 'or... till '+ expiryDate +' '+ '
'+ '' ); -->
Set expiry date you need at string:
var expiry = new Date(2004,0,1);
Note. See comment below this string. Month's numbers begin from 0.
You need to place your special offer HTML-code between string
''+
and
''
Then you should quote each your HTML-code line with single quoting symbol (') and add plus symbol (+) at end of each line.
Please note: You shouldn't use single quoting symbol inside your HTML-code. (Use double quoting symbol inside your HTML-code instead.)
You can also place expiry date inside your special offer.
Use expiryDate variable. Or you can place number of days till offer expire, just use expiryDays variable.
That's all there is to it, if you follow this link: http://www.icoder.com/pluginscripts/examples/2offer.html you can see how it should look when you've installed it on your web page.
For a more detailed explanation on what JavaScripts are and how to install them please send a blank email here: mailto:jshelp@icoder.com
If you need any help or advice in installing this or any of my other plug-in scripts just let me know and I'll do my best to help ;-)
At your service,
Michel Komarov mailto:michel@icoder.com
Michel Komarov is a fully qualified software engineer with over 5 years experience helping people to automate their online businesses for maximum profits.