|
Instant plug-in scripts that help you profit... "Special offer
expiry date with
|
By Michel Komarov
[Hits: 25030]
|
|
How would you like to add an irresistible sense of urgency toany of your online offers... instantly?
I thought so!
What I've go for you here is the perfect answer in the form of aspecial piece of JavaScript you can just copy and paste intoyour sa'les page.
So what does it do exactly?
It creates an active deadline date counting down the days untilyour offer expires.
So where's the twist?
What's extra special about this unique code is as soon as theoffer is over the HTML code you placed inside this script willno longer be seen on your website.
For example inside the HTML code could be an order button givingyour visitors the chance to order at a discount.
As soon as the special offer date has been reached the discountorder button just disappears!
I think this is much more honest way of working than just addingan advance special offer expiry date that's never reached.
Here's how it all works...
Place the HTML code into the source code of your web pageanywhere between the and tags. The position youchoose is where your special offer will appear:
Set the expiry date you need at string:
var expiry = new Date(2004,0,1);
Note. See the comment below this string. Month's numbers beginfrom 0.
You need to place your special offer HTML-code between string
''+
and
''
Then you should quote each your HTML-code line with singlequoting symbol (') and add the plus symbol (+) at the end ofeach line.
Please note: You shouldn't use single quoting symbol inside yourHTML-code. (Use double quoting symbol inside your HTML-codeinstead.)
You can also place the expiry date inside your special offer.
Use the expiryDate variable. Or you can place the number of daystill the offer expire, just use the expiryDays variable.
That's all there is to it, if you follow this link:http://www.icoder.com/pluginscripts/examples/2offer.html you cansee how it should look when you've installed it on your web page.
For a more detailed explanation on what JavaScripts are and howto 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 myother plug-in scripts just let me know and I'll do my best tohelp ;-)
At your service,
Michel Komarov mailto:michel@icoder.com
|
|
|
|
|
|