Results 1 to 2 of 2
  1. #1
    Join Date
    May 2010
    Posts
    2
    Plugin Contributions
    0

    Default Adding Javascript via the define pages editor

    Hi all,

    Hopefully someone can point me in the right direction.

    I want to be able add a small countdown javascript file to the define_main_page.php file using the define pages editor so that the code displays in the center box of the "home" page only.

    Following the advice here I have been able to make the code work, but it displays twice. Once at the very top of the index page and again in the define_main_page section.

    If someone can tell me how to stop the code displaying outside the define_main_page section I would be grateful.

    Thanks in advance

  2. #2
    Join Date
    Sep 2004
    Posts
    1,388
    Plugin Contributions
    4

    Default Re: Adding Javascript via the define pages editor

    Got a URL we can look at?
    Frank Koehl
    "Cleverly Disguised as a Responsible Adult"

    frankkoehl.com

 

 

Similar Threads

  1. adding images in define pages editor
    By discoverytdi in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Jul 2011, 10:12 PM
  2. Adding a background to text entered via Define Pages Editor
    By Edessa in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 2 Feb 2010, 01:09 PM
  3. Adding Images to Define Pages Editor Pages
    By nickymcn in forum Managing Customers and Orders
    Replies: 2
    Last Post: 31 Oct 2007, 05:07 AM
  4. Adding pictures in Define Pages Editor
    By jemenvy in forum Customization from the Admin
    Replies: 1
    Last Post: 5 Apr 2007, 08:52 PM
  5. Cannot edit via Define Pages Editor
    By Nellie in forum Basic Configuration
    Replies: 1
    Last Post: 15 May 2006, 07:29 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR