Forums / Templates, Stylesheets, Page Layout / add javascript to head of pages

add javascript to head of pages

Locked

Views: 3,967

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
3 Dec 2006, 7:27 PM
#1
beppo5 avatar

beppo5

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

add javascript to head of pages

Hi I want to add a bit of javascript to the head of my zen cart pages to control window size. But I can't find where I can add it. Help would be appriciated.
Best

3 Dec 2006, 8:31 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: add javascript to head of pages

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Dec 2006, 10:20 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,664
Plugin Contributions:
0

Re: add javascript to head of pages

Please note that as a consumer, I do not like sites I visit taking control of my browser and it is the fastest way to make me leave without looking any further. It is NOT recommended from a sales or usability standpoint.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

5 Dec 2006, 11:56 AM
#4
beppo5 avatar

beppo5

New Zenner

Join Date:
Oct 2006
Posts:
24
Plugin Contributions:
0

Re: add javascript to head of pages

Kim,
Thanks for your input. And in most cases I would agree with you fully. This site is a bit different. The zen cart is launched from a main site. We want to make it clear that the old site is still there, behind the zen cart. We thought the best way was to make sure it was still slightly visible. Ideally, I would like it to resize once when first opened, than let the user take control of there own browser. But at this point I haven't figuered out if there is a way to do that. The user experience in the zen cart is limited to confirming orders and entering payment information, hopfuly it won't be an issue for most people.
Best
Joe