Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

    Default JavaScript from another website not showing correctly in my zen-cart

    Hello I am trying to get this animal finder on my website provided by Pet Find.com

    the website for the module is:
    http://www.petfinder.com/widgets-ban...?catid=7&id=18

    When I try this code on any of my zen-cart websites it doesn't look like it should. the bottom is rearranged. If I make it a html file and upload it to my domain.com/file.html it looks right but I am trying to put it in either a define page or ez page and its not working: the script is:
    PHP Code:
    <script type="text/javascript" language="javascript"  src="http://fpm.petfinder.com/js/quicksearch.js"></script>
    <script language="javascript">quickSearchHorizontal(18);</script> 
    Any ideas?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: JavaScript from another website not showing correctly in my zen-cart

    Have a look at how ZenCart handles js
    http://www.zen-cart.com/wiki/index.p...s_-_Javascript
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

    Default Re: JavaScript from another website not showing correctly in my zen-cart

    I have also tried

    PHP Code:
    <script type="text/javascript" language="javascript"  src="http://www.mydomain.com/includes/templates/classic/jscript/quicksearch.js"></script> 
    <script language="javascript">quickSearchHorizontal(18);</script> 
    (saving the javascript file to my domain in the jscript folder)

    still doesn't work properly it shows up find its just the background doesn't show correctly, as its been doing

    see attachment
    Attached Images Attached Images  

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

    Default Re: JavaScript from another website not showing correctly in my zen-cart

    And your site is?
    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

  5. #5
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

    Default Re: JavaScript from another website not showing correctly in my zen-cart

    The test page is here:
    www .p**_et**_land**_plus.**_com/page.html?id=15

    minus the **_ thanks... I have tried it in my other 2 zen-carts also, it doesn't work

  6. #6
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

    Default Re: JavaScript from another website not showing correctly in my zen-cart

    can someone test the java script on their zen-cart and see if it works on zen-cart

  7. #7
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    785
    Plugin Contributions
    7

    Default Re: JavaScript from another website not showing correctly in my zen-cart

    There code is not that good.

    Here is a work around placing there code in a table or div forces the need wraps and a back ground color to see headings.

    I tested this and it ran ok.
    Code:
    <table width="300" border="0" bgcolor="#FF00FF">
    <tr>
    <td>
    <script type="text/javascript" language="javascript"  src="http://fpm.petfinder.com/js/quicksearch.js"></script>
    <script language="javascript">quickSearchHorizontal(18);</script>
    </td>
    </tr>
    </table>
    Skip
    • 446F63746F722057686F •

  8. #8
    Join Date
    Feb 2008
    Posts
    569
    Plugin Contributions
    0

    Default Re: JavaScript from another website not showing correctly in my zen-cart

    thanks, I didn't even think about doing that. I guess that will have to do, thanks again!

 

 

Similar Threads

  1. Adding product to shopping cart from another website
    By badarac in forum General Questions
    Replies: 2
    Last Post: 19 Aug 2010, 04:11 PM
  2. Website not showing correctly with Internet Explorer
    By ian_cowdery in forum General Questions
    Replies: 4
    Last Post: 4 Mar 2010, 03:31 PM
  3. Putting products in my cart from another website
    By onlineshop1 in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 28 Mar 2008, 07:23 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