PDA

View Full Version : Interstitial content box configuration



dbldee
08-14-2007, 04:26 PM
1) Script Title: Interstitial content box

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/interstitial.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?

ddadmin
08-14-2007, 05:31 PM
You should be able to just insert the text you wish to use as the header inside that variable:


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".