-
Apostrophe problem in document wipes effect
hi,
How can I put in an apostrophe in this matter? Cos if i put in, the whole thing won't be functioning at all. Please advise on the one underline and bold below.
Thanks so much!!
//////////////////////////////////////////////////////////////////////////
// Customization Area
//
// If your wipe series includes images, put them in this array for preload, seperated by commas.
var wipe_imgs=new Array(
'dwc_btn.gif'
);
if (document.images) {
var theImgs=new Array();
for (var i=0;i<wipe_imgs.length;i++) {
theImgs[i]=new Image();
theImgs[i].src=wipe_imgs[i];
}
}
// Here's where you put the content for the wipes.
// Array elements are arranged in pairs:
// content to display, time allotted for wipe of that content.
// Suggestion: give longer, larger content more time.
// If all your text is to be formatted the same, you can use
// just the wipe class above (it is applied in the doWipes function)
// and put plain text here.
// Images and links are okay too.
var wipe_array=new Array(
'<span class="wipe1">F R U I T F U L I N M I S S I O N S , E V A N G E L I S M & G O O D W O R K S</span>',1500,
'<span class="wipe1">G R O U N D E D I N G O D'S S W O R D & L O V E</span>',1500,
'<span class="wipe1">A B O U N D I N G I N T H A N K S G I V I N G & P R A Y E R</span>',1500,
'<span class="wipe3"><center>A B C D E . T h e A N T I O C H C h u r c h V i s i o n</span><br><span class="wipe1">S T R E N G T H E N O U R S T A K E S FOR G R O W T H 2 0 0 8</center></span>',2500
);
//var wipe_final=new Array('Click here',2500);
//var wipe_final=new Array('Click here',2500);
var wipe_in_delay=1000; // delay before each wipe in
var wipe_out_delay=1200; // delay before each wipe out
// wipe out speed (wipe-in time is divided by this number)
var wipe_out_dv=2.5; // 2 to 4 recommended
var dest_delay=0; // delay before going to destination url
// destination url, where to go at end of wipes
function setDest() {
window.location = "http://www.abc.com.my/home";
}
// end customization area
/////////////////////////////////////////////////////////////////////
-
-
Escape it by using a backslash:
For further reading:
http://www.quirksmode.org/js/strings.html
-
The Following User Says Thank You to rangana For This Useful Post:
-
Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
DD Admin
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks