Forums

This topic is locked

How to get it of scroller on pop up window?

Posted 15 Feb 2007 00:10:39
1
has voted
15 Feb 2007 00:10:39 Victor DeCastro posted:
I am using the extension Avanced Pop up Window and I would like to get rid of the scrollbars.

Please help.

Thanks,

Victor

Replies

Replied 15 Feb 2007 05:19:20
15 Feb 2007 05:19:20 Javier Castro replied:
What is the code that Advanced Popup puts out. It would be helpful to see it.
Replied 15 Feb 2007 06:35:05
15 Feb 2007 06:35:05 Victor DeCastro replied:
Hi,

Here is the JavaScript function that Advance Pop Up writes.

}

function dmxAdvLayerPopup(sTitle,sURL,sPopupName,sContent,sClass,nPositionLeft,nPositionRight,nWidth,nHeight,nAutoCloseTime,bDragable,bResizable,bOverlay,nOverlayOpacity,sIncomingEffect,sIncomingEffectEasing,nIncomingEffectDuration,bFadeIn,sOutgoingEffect,sOutgoingEffectEasing,nOutgoingEffectDuration,bFadeOut,sSlideEffect,nEffectTime,nSlideTime,bClosable) { // v1.02
var aURL, aSlides = sURL.split('|');
if (aSlides && aSlides.length > 1) {
aURL = [];
for (var si=0;si<aSlides.length;si++) {
var cf=aSlides[si],nW='',nH='',nS='';
if (cf.substr(cf.length-1,1)==']') {
var bd=cf.lastIndexOf('[');
if(bd>0){
var di=cf.substring(bd+1,cf.length-1);
var da=di.split('x');
nW=da[0];nH=da[1];
if (da.length==3) nS=da[2];
cf=cf.substring(0,bd)
}
}
aURL[si] = new Object();
aURL[si].src = cf;
aURL[si].nWidth = (nW!=''?nW:nWidth);
aURL[si].nHeight = (nH!=''?nH:nHeight);
aURL[si].nDelay = (nS!=''?nS:nSlideTime);
}
} else aURL = sURL;
if (!cDMXPopupWindow) {
alert('The Advanced Layer Popup script is missing on your website!\nPlease upload the file ScriptLibrary/advLayerPopup.js to your live server.');
return;
}
if (sClass == 'OS_Look') sClass = (navigator.userAgent.toLowerCase().indexOf('mac')!=-1?'dmxOSX':'dmxXP');
return cDMXPopupWindow.buildWindow({sTitle: sTitle, sURL: aURL, sPopupName: sPopupName, sContent: sContent, sClass: sClass, aPosition: [nPositionLeft,nPositionRight], aSize: [nWidth,nHeight], nCloseDelay: nAutoCloseTime, bDragable: bDragable, bResizable: bResizable, bOverlay: bOverlay, nOverlayOpacity: nOverlayOpacity, sStartPosition: sIncomingEffect, sStartShowEffect: sIncomingEffectEasing, nIncomingEffectDuration: nIncomingEffectDuration, bFadeIn: bFadeIn, sEndPosition: sOutgoingEffect, sEndShowEffect: sOutgoingEffectEasing, nOutgoingEffectDuration: nOutgoingEffectDuration, bFadeOut: bFadeOut, sSlideEffect: sSlideEffect, nEffectTime: nEffectTime, nSlideTime: nSlideTime, bClosable: bClosable });
}

And here is the link for the html code.

www.unidesign.com/popupquestion.html

Thanks for the help.

Victor
Replied 18 Feb 2007 05:53:46
18 Feb 2007 05:53:46 Javier Castro replied:
Try this, if doesn't work, ask help on the support section of the Extensions: www.dmxzone.com/forum/forum.asp?forum_id=2020&NewsId=12769

add at the end of the code line:'scrollbars=No'
dmxAdvLayerPopup('','../gallerypages/ia_spread.htm','ai','','OS_Look','center','center',450,300,0,true,false,true,70,'','Linear',1,true,'','Linear',1,true,'',1,5,true,'scrollbars=No')">


Hope it works.

Replied 26 Feb 2007 16:23:26
26 Feb 2007 16:23:26 Victor DeCastro replied:
Hello,

Thanks for the feedback. But I am sorry to say that didn't work.

I will try the other forum as you suggested.

Thanks again

Reply to this topic