Results 1 to 1 of 1
  1. #1
    Join Date
    Sep 2009
    Stuart, FL
    Plugin Contributions

    Default Product's main image inserted via javascript ... why?

    The module /includes/templates/template_default/templates/tpl_modules_main_product_image.php uses javascript to insert the product's main image, with a '<noscript>' addition.

    Why is this? Why not simply include the HTML associated with the link to the product's large image?

    Update: It's done since the <script> version performs a javascript popup to display the image while the <noscript> version simply links to the popup_image page in a new window.
    Last edited by lat9; 19 Sep 2021 at 05:21 PM. Reason: Adding update



Similar Threads

  1. Image Swap via Javascript
    By voltage in forum All Other Contributions/Addons
    Replies: 94
    Last Post: 14 Sep 2011, 01:46 PM
  2. Trying to remove text I inserted on main page.
    By lilrowo in forum Customization from the Admin
    Replies: 4
    Last Post: 9 Dec 2009, 08:09 AM
  3. Add Image to Main Page via Admin Panel
    By aajc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jun 2009, 09:49 AM
  4. Possible to re-arrange main product page layout via admin?
    By JHouse in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Feb 2009, 03:11 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Zen-Cart, Internet Selling Services, Klamath Falls, OR