Announcement

Collapse
No announcement yet.

Scrollbar

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

    Scrollbar

    Hi
    I use a script to open a pop up information page. I would like to cancel the horizontal and vertical scrollbar. Code is :
    "javascript:ShowPopUp('http://www.supreme.fr/truc.html','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=768, height=568, left=10, top=10');"
    I thought that scrollbars=0 is sufficient and it seems not to be.
    How can I do ?
    Thanks
    Didier
    www.supreme.fr
    _____________________
    Saint Malo. France

    #2
    Use numbers only for numeric values. For others use =yes or =no e.g.

    scrollbars=no

    also spaces are prohibited in this string e.g.

    resizable=no,scollbars=no

    If you want to set a yes/no item to yes, then it is permissible to just name it (=yes is assumed) e.g.

    resizable,scrollbars=no
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      I changed to this
      <a href="javascript:ShowPopUp('http://www.supreme.fr/truc.html','_blank','scrollbars=no,resizable=no,width=768,height=568,left=10,top=10');" onMouseOut="RestoreImage()" onMouseOver="SwapImage('montage','../montage.jpg')"><img src="../montage1.jpg" name="montage" width="140" height="26" alt="Montage du billard" border="0"></a>
      but still have the same problem !
      Didier
      www.supreme.fr
      _____________________
      Saint Malo. France

      Comment


        #4
        You are using
        javascript:ShopPopUp which is using Actinic's own javascript function which only takes these 3 parameters

        Code:
        function ShowPopUp(sUrl, nWidth, nHeight)
        I think you want
        Code:
        javascript:window.open('http://www.supreme.fr/truc.html','_blank','scrollbars=no,resizable=no,width=768,height=568,left=10,top=10');"
        Fergus Weir - teclan ltd
        Ecommerce Digital Marketing

        SellerDeck Responsive Web Design

        SellerDeck Hosting
        SellerDeck Digital Marketing

        Comment


          #5
          Yes you're right. I changed it to :
          <a href="#" onClick="window.open('http://www.supreme.fr/truc.html','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=768, height=568, left=10, top=10');return(false)"
          and it works.
          Thanks
          Didier
          www.supreme.fr
          _____________________
          Saint Malo. France

          Comment

          Working...
          X