Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2010
    Posts
    142
    Plugin Contributions
    0

    Default How do I add this javascript?

    Hi,

    I would like to add a loading message between page loads on my ZC store, as my host is quite slow. What I am after is something like this:

    http://rainbow.arch.scriptmania.com/...load_wait.html

    I'm not sure how to implement code like this into ZC. What files do I modify? Any help is appreciated.

    Thank you!
    -R

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How do I add this javascript?

    I guess I don't understand why you don't find a new host. Many visitors, including me, would never wait for your site to load if it takes so long you think you need that message.

  3. #3
    Join Date
    Dec 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: How do I add this javascript?

    Quote Originally Posted by stevesh View Post
    I guess I don't understand why you don't find a new host. Many visitors, including me, would never wait for your site to load if it takes so long you think you need that message.
    I appreciate the reply... but it isn't very helpful :/

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: How do I add this javascript?

    Quote Originally Posted by lolwaut View Post
    I appreciate the reply... but it isn't very helpful :/
    It's probably the single most helpful response for the long term health of your online business. Instead of hacking up the code with a crutch, you really should find a way to improve the speed of your site.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How do I add this javascript?

    Most likely your host is slow because of database misconfiguration.
    And, if your host is slow because of such database inefficiency, then your javascript idea won't help at all. It'll just make things slower.

    Care to show us your working site?
    .

    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.

  6. #6
    Join Date
    Dec 2010
    Posts
    142
    Plugin Contributions
    0

    Default Re: How do I add this javascript?

    Quote Originally Posted by DrByte View Post
    Most likely your host is slow because of database misconfiguration.
    And, if your host is slow because of such database inefficiency, then your javascript idea won't help at all. It'll just make things slower.

    Care to show us your working site?
    I just created a new thread for this issue; however, i thought I would reply here as well. The link to my site is: http://tinyurl.com/7pnwxps

    Thanks for taking a look!

 

 

Similar Threads

  1. How to add javascript? OMG?
    By bigmo337 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jun 2010, 12:19 AM
  2. How do I add javascript rollover buttons to my header?
    By cuppycakez in forum Basic Configuration
    Replies: 2
    Last Post: 5 Apr 2009, 11:30 PM
  3. How do I add extra images to a product using javascript
    By southernlady in forum General Questions
    Replies: 8
    Last Post: 14 Jan 2009, 08:26 PM
  4. how do I add a javascript in product page
    By reza in forum Contribution-Writing Guidelines
    Replies: 0
    Last Post: 31 May 2007, 11:54 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