Results 1 to 2 of 2

Thread: Interstitial content box configuration

  1. #1
    Join Date
    Oct 2005
    Posts
    63
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default Interstitial content box configuration

    1) Script Title: Interstitial content box

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...terstitial.htm

    3) Describe problem: What is the correct syntax for defining the header in the title bar
    defineheader: '<div class="headerbar"><a href="#" onClick="javascript:interstitialBox.closeit(); return false"><img src="closeit.gif" style="border: 0" title="Close Box"/></a></div>',

    Assume i would Like to have a heading as "My ad content " appear as the header?

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

    Default

    You should be able to just insert the text you wish to use as the header inside that variable:

    Code:
    defineheader: '<div class="headerbar">My ad content <a href="#" onClick="javascript:interstitialBox.closeit(); return false"><img src="closeit.gif" style="border: 0" title="Close Box"/></a></div>',
    Note that by default, everything in the header is aligned "right". Play around with the layout by editing the .css file for the script, "interstitial.css".

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
  •