Announcement

Collapse
No announcement yet.

Product popup page and refreshing productgroup page

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

    Product popup page and refreshing productgroup page

    Actinic version 8.5.3

    I am stuck completely here.
    I need to change the settings so that when customers click on the picture for more info and it opens the extended popup page, the page where you came from reloads and starts from the top again. I want it to stay at where you left it.
    I know this has been talked about in previous threads but no matter what I try it doesn't work

    The page what I use for trying it out is:

    http://www.boab.biz/acatalog/Oz_Tents.html

    Please have a look at the screen dump, that are the settings that I use.
    In some post on here they said that the issue wa solved in the 8.5 upgrade.

    Any help would be welcome...

    Regards,

    TJ
    Attached Files

    #2
    You have removed some essential code from the <body ...> tag in your Overall Layout. Presumably because you have replacement code in standard.js. Amend standard.js from:
    Code:
    // JavaScript Document
    
    //Menue
    
    window.onload=show;
    function show(id) {
    var d = document.getElementById(id);
    	for (var i = 1; i<=10; i++) {
    		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
    	}
    if (d) {d.style.display='block';}
    }
    to:
    Code:
    // JavaScript Document
    
    //Menue
    
    window.onload=show;
    function show(id) {
    bPageIsLoaded = true;  // let Actinic know that page is loaded
    var d = document.getElementById(id);
    	for (var i = 1; i<=10; i++) {
    		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
    	}
    if (d) {d.style.display='block';}
    }
    If the above code is not being used then the alternative is to amend the <body ...> tag to be
    Code:
    <body onload="bPageIsLoaded = true;">
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Good Morning Norman,

      Thanks very much for this... I was pulling my hair out this week.

      This solved the problem.

      My boss will be very happy...

      Regards,

      TJ

      Comment


        #4
        The reason for this behaviour is that opening a popup page causes the main page to stop loading on many browsers.

        So if you had a main page with many images (which trundle in after the text of the page) you might end up with an incomplete display if the customer clicked on a popup link before everything has loaded.

        Actinic tries to help with this by reloading the main page when the popup opens but only it's not already fully loaded.

        You'd deleted the code that indicated that the main page was loaded, hence your problem.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X