Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2006
    Posts
    24
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: add javascript to head of pages

    read http://yoursite.com/docs/read_me_jscript.html
    or the wiki at: http://www.zen-cart.com/wiki/index.p...s_-_Javascript
    .

    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. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default 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.

  4. #4
    Join Date
    Oct 2006
    Posts
    24
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. v150 How to add .js files to head of pages
    By clint6998 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Sep 2012, 02:23 AM
  2. non-english head tags goes out of <head></head>
    By Jerry5763837 in forum General Questions
    Replies: 5
    Last Post: 5 Jun 2012, 02:21 PM
  3. Replies: 8
    Last Post: 28 Feb 2012, 03:05 PM
  4. load javascript in <head> for certain category?
    By magicmike in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Nov 2009, 07:26 AM
  5. Adding Custom Javascript to head and body
    By Xena in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jun 2007, 04:30 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
  •  
disjunctive-egg