Announcement

Collapse
No announcement yet.

Extended Info Manipulation

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

    Extended Info Manipulation

    Hi there,

    I have seen the post where people are using javascript to manipulate the pop up windows in Actinc.

    Can anyone tell me if there is any code that I can add to Design | Text | Goto 2175 to make the window not resize and have no scrollbars.

    Any help is greatly appreciated.

    Lee.
    Regards.

    Lee Jackson
    Creative Director

    Centurius Design & Marketing
    Centurius Website
    Portfolio of Work

    #2
    Hi,

    The window size is generally taken from the Extended Information tab on the Product Details, towards the bottom you have Width and Hight, if you set these values to a reasonable size, then you should not have the scrolling happen. If you have several products to do the update on, you could take a look at this file, SampleFlatImportFile.csv, which you will find in C:\Program Files\Actinic v7\Sites\Site1\Common on your PC. You can use this file to bring in the required data. Else you can make the inputs directly into the Access Database. Make a backup of the Database before making entries.

    Open ActinicCatalog.mdb, and open the 'Product' table, here look for the columns 'nExtendedInfoWidth' and 'nExtendedInfoHight', Input teh required values here, save and exit. Update the site and you will do away with the issue.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      The popup is controlled by this bit of JavaScript which you can find at the bottom of actiniccore.js
      Code:
      function ShowPopUp(sUrl, nWidth, nHeight)
        	{  
      	window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable');
      	if (!bPageIsLoaded)
      		{
      		window.location.reload(true);
      		}
      	}
      If you look up the window.open command in any JavaScript reference site it will tell you what commands can be added to that line. For example removing the fragment + ',scrollbars, resizable' may do what you want.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Norman,
        Thanks once again for the suggestion. Made the relevant change and it works a treat!!!
        Regards.

        Lee Jackson
        Creative Director

        Centurius Design & Marketing
        Centurius Website
        Portfolio of Work

        Comment

        Working...
        X