Announcement

Collapse
No announcement yet.

Size of pop up

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

    #31
    Chris,
    I agree with the information on you gif, and I haven't any problem to use it. The problem is that POPWIDTH and POPHEIGHT are used with the function ShowPopUp and i don't want to use this function :If I use this function I would have to enter 1500 informations (I have 1500 differents products). It is too long.
    So I prefer to use the function popUp(url) defined in the AUG : on this function there is no POPWIDTH and POPHEIGHT !
    My question is : how to enter a value for 1 product in a section and apply this value to all the product in the same section ? the function placed in the act_primary is :function popUp(url) {window.open(url, 'newwindow', 'width=800,height=600,menubar=on,directories=on,resizable=1,scrollbars=1,toolbar=on');}. So I would like to adapt this function to every section. Perhaps if I cancel "width=800,height=600" on the function and add the value in the section <A HREF="javascriptpopUp('CUSTOMVAR:URL',800,600)"> it can work ?
    So to resume, what is the best way to enter a value to the first product in a section, and apply automatically the information to all the product on the same section ?
    Regards
    Didier
    www.supreme.fr
    _____________________
    Saint Malo. France

    Comment


      #32
      Didier

      Please attach the following files to this thread within a *.zip file.

      Act_ProductLine.html
      Act_Primary.html
      actiniccore.js

      Comment


        #33
        Ok I have uploaded
        Act_Primary.html
        actiniccore.js
        Act_ProductLine3.html which is used for standard product
        Act_queue.html which is used for all the cues (40 % of the catalog)
        Thanks
        Attached Files
        Didier
        www.supreme.fr
        _____________________
        Saint Malo. France

        Comment


          #34
          Act_Primary.html was wrong.

          You had
          Code:
          <script language="JavaScript">
          <!--// beginning of Javascript script
          function popUp(url) {
                  window.open(url, 'newwindow',
          'width=,height=,menubar=on,directories=on,resizable=1,scrollbars=1,toolbar=on');
          }
          // end of script -->
          </script>
          You need to have
          Code:
          <script language="JavaScript">
          <!--// beginning of Javascript script
          function popUp(url) {
                  window.open(url, 'newwindow',
          'width=CUSTOMVAR:POPWIDTH,height=CUSTOMVAR:POPHEIGHT,menubar=on,directories=on,resizable=1,scrollbars=1,toolbar=on');
          }
          // end of script -->
          </script>
          Fixed template is attached.
          Attached Files

          Comment


            #35
            It works, its wonderfull. Thank you. Sorry for all the problems, but I thought it was not possible to use the function with POPWIDTH and POPHEIGHT for my problem. I was wrong.
            Thank you again.
            Didier
            www.supreme.fr
            _____________________
            Saint Malo. France

            Comment

            Working...
            X