Forums / Templates, Stylesheets, Page Layout / how-to have different HTML_HEADER for popup windows, please?

how-to have different HTML_HEADER for popup windows, please?

Locked

Views: 750

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
1 Apr 2009, 7:17 PM
#1
trev_h avatar

trev_h

New Zenner

Join Date:
Mar 2009
Posts:
8
Plugin Contributions:
0

how-to have different HTML_HEADER for popup windows, please?

Hi all,

zencart 1.3.8, with Simple SEO (yellow_1912)

On my site I have added a rotating banner, and this required some javascript in the html_header.php file, located at:

/includes/templates/CUSTOM/common/html_header.php

The issue I am having is that this javascript is causing an error when the product popup image window opns, since the js in the hader is looking for a div to manipulate that is not there in the popup.

Is there a way to provide different html_header.php files to different pages?

Thanks kindly for any advice here,
trev

13 Apr 2009, 9:43 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: how-to have different HTML_HEADER for popup windows, please?

put a custom copy of your html_header.php file in the folder includes/templates/custom/popup_image/

Neville
An assumption is what you arrive at when you get tired of thinking...