Results 1 to 4 of 4

Thread: Interstitial Content Box (v1.1)

  1. #1
    Join Date
    Apr 2011
    Posts
    82
    Thanks
    43
    Thanked 0 Times in 0 Posts

    Default Interstitial Content Box (v1.1)

    1) Script Title:

    Interstitial Content Box (v1.1)


    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...terstitial.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
    Last edited by rexi; 05-26-2011 at 03:40 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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, specifically, the IFRAME option.
    DD Admin

  3. #3
    Join Date
    Apr 2011
    Posts
    82
    Thanks
    43
    Thanked 0 Times in 0 Posts

    Default

    Look on this page and what is wrong?

  4. #4
    Join Date
    Apr 2011
    Posts
    82
    Thanks
    43
    Thanked 0 Times in 0 Posts

    Default

    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,
    Last edited by rexi; 05-26-2011 at 01:55 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •