View Full Version : Resolved Interstitial Content Box (v1.1)
1) Script Title:
Interstitial Content Box (v1.1)
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/interstitial.htm
3) Describe problem:
Where is going to be content "htm"
For example where I have to put this "samplecontent2.htm":
<iframe src="http://www.google.com/options/" style="width: 100%; height: 350px" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0"></iframe>
Thanks
ddadmin
05-25-2011, 08:07 AM
Since this script uses Ajax to retrieve the contents to show, you can't specify an absolute URL pointing to content on another server, such as http://www.google.com/options/ To do that you might want to look at DHTML Modal Window (http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm), specifically, the IFRAME option.
Look on this page (http://test10.blogger.ba/) and what is wrong?
I can't find where is place for URL image on js. file.?
So..I try put URL image on this place (marked red color),..but nothing change.
var interstitialBox={
//1) list of files on server to randomly pick from and display
displayfiles: ['samplecontent.htm', 'samplecontent2.htm'],
//2) display freqency: ["frequency_type", "frequency_value"]
displayfrequency: ["chance", "1"],
//3) HTML for the header bar portion of the interstitial box
defineheader: '<div class="headerbar"><a href="#" onClick="javascript:interstitialBox.closeit(); return false"><img src="http://i55.tinypic.com/2vdmp11.jpg" style="border: 0" title="Close Box"/></a></div>',
//4) cookie setting: ["cookie_name", "cookie_path"]
cookiesetting: ["stitialcookie", "path=/"],
//5) bust caching of pages fetched via Ajax?
ajaxbustcache: true,
//6) Disable browser scrollbars while interstitial is shown (Only applicable in IE7/Firefox/Opera8+. IE6 will just auto scroll page to top)?
disablescrollbars: true,
//7) Auto hide Interstitial Box after x seconds (0 for no)?
autohidetimer: 0,
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.