Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Location
    Atlanta, GA
    Posts
    79
    Plugin Contributions
    0

    Default Where to insert js code for 'draggable layer'?

    I feel like I never do anything here but ask questions and I apologize for that ....

    Here's my problem: I will be on vacation the end of this month and need to let customers know that the orders they place during this time will be delayed. I don't want to close the shop or disable the cart.

    In the past I have done this by adding corner banners, but I think that looks a little cheesy. Actually they are up right now until I figure out something better - hopefully soon! So feel free to look.

    I found some code for a "draggable layer" which I think will be perfect because it comes up once and the user can click on the X to make it go away. I inserted this code into my tpl_header.php file but the problem is 1) it stayed anchored to the left side of the page and couldn't be moved (not a major problem) and 2) when I clicked the X to close it, it went away until I navigated to a different page and then it came back (major annoying problem).

    I found the code here: codelifter.com/main/javascript/dragablelayer.html

    I guess my question is: is there somewhere I else I should insert this code instead of in the tpl_header.php file? I only want the customer to see it once and then have it go away for good when the 'window' is closed. Or does anybody know a better solution to let customers know orders will be delayed? I have already added some verbiage to the shopping cart page but I really need some other way to let them know – no matter what page they land on first.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Where to insert js code for 'draggable layer'?

    A simpler solution: add this content at the login/register page, since it is required to login/register to checkout, it can not be missed.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Oct 2007
    Location
    Atlanta, GA
    Posts
    79
    Plugin Contributions
    0

    Default Re: Where to insert js code for 'draggable layer'?

    Quote Originally Posted by yellow1912 View Post
    A simpler solution: add this content at the login/register page, since it is required to login/register to checkout, it can not be missed.
    Brilliant! Thanks!

 

 

Similar Threads

  1. v139h Where to insert HTML Code
    By rafwraf in forum General Questions
    Replies: 1
    Last Post: 1 Feb 2012, 01:59 PM
  2. Replies: 5
    Last Post: 23 Feb 2010, 01:21 PM
  3. insert individual side box code where I want it
    By vandiermen in forum Basic Configuration
    Replies: 5
    Last Post: 28 May 2009, 11:11 PM
  4. EXACTLY where do I insert SITEMETER code?
    By likes2draw in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Jun 2008, 02:25 PM
  5. Where to insert Comodo Trust Javascript and image code?
    By leeasteadman in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 27 Jul 2007, 05:09 PM

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