Announcement

Collapse
No announcement yet.

Pop-up Scrollbars

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pop-up Scrollbars

    I have altered the actiniccore.js as below in order to disable scrollbars and make the window look neater.

    function ShowPopUp(sUrl, nWidth, nHeight)
    {
    window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars=no, resizable=no');
    }

    It works fine on most browser / computer combinations but not on others. i.e. the scrollbars still appear on some combinations.

    It is not as simple as the browser version or the operating system version! IE6 on one XP machine will work and on another it won't!

    Any ideas anyone? Is my syntax correct?

    #2
    The javascript reference docs states:

    "Many of these features (as noted above) can either be yes or no. For these features, you can use 1 instead of yes and 0 instead of no. If you want to turn a feature on, you can also simply list the feature name in the windowFeatures
    string."

    If you are having browser problems, try just not specifying the feature if you want it off, or specifying =0.

    HTH
    Mike Booker
    M B Web Services
    mbws@mbwebs.co.uk
    +44 1932 340318

    Comment

    Working...
    X