Announcement

Collapse
No announcement yet.

Disable scrollbar from pop-0ut

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

    Disable scrollbar from pop-0ut

    Hi,

    If i do not want my Pop-out image to be using scrollbar but at least fix to the size of the images available. What should i do?

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

    shd i be putting Scrollbars=0; and resizable=0;?

    Thanks In Adv,
    Swee
    Http://www.hst.com.sg

    #3
    Hi,

    i forgot where can i change those codes in? Where is the pop-out function huh? so its call resizable=0 or resizable="no"?

    Thanks in Adv,
    Sweeee
    Http://www.hst.com.sg

    Comment


      #4
      I'm afraid what you want to do is not possible without an in-depth knowledge of JavaScript.

      Comment


        #5
        Omg.. i have studied javascript in my course... I can see he is giving me all the attributes to be used but i'm not sure which template did i get those function initially. Perhpas i will do the seraching myself again. Thanks anyway
        Http://www.hst.com.sg

        Comment


          #6
          Ron

          Once again I am really not clear what you are looking to do. It sounds like you want to the pop-up window to automatically re-size itself based on the size of the image in the pop-up window. This is what I cannot help you with.

          If you are asking for something else, could I ask you to state it clearer so perhaps I can find you an answer.

          Comment


            #7
            Hi Chris,

            Haha..sorry dude. I thought it could resize it based on the image of size. If thats the case, then forget it. Thanks for the help thou.

            With Regards,
            Swee
            Http://www.hst.com.sg

            Comment

            Working...
            X