Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Location
    New York State & Cape Town
    Posts
    76
    Plugin Contributions
    0

    link problem Java popup link in product descripton

    I have a small shop with only 5 products.

    My Products category displays my products on my main page so that customers can just come in.. They see my 5 products with descriptions

    Click a product they would like to purchase, add it to the cart and check out.

    What I would like to do is place a link in the product description for a Java popup for a more detailed description of the product. (I would like this to work pretty much the way the pretty much the way the [help (?)] link works in the Shopping Cart area or the [More Info] link operates in the Login area.

    Now here's where I'm going crazy... I can place a regular http: link in that area and it works fine, but if I place a java link into that area it doesn't work at all

    For Example: In the Products Description Text
    This link will work fine <a href="http://www.google.com">A Link that Works</a>

    This link does nothing: <a href="javascript:session_win();">[help (?)]</a>

    After digging through files for most of the day I can't seem to find a place where I can make Java see links in this area.

    I've tried using the developers tool kit to find the files that hold the 'product descriptions' with no luck. (By searching text of product description from the Developers Tool Kit).

    This really has me going insane

    Any help is appreciated.. BIG TIME!!!!

    Thanks a bunch~

    Rich
    Last edited by rich_li_ny; 11 Sep 2007 at 07:23 PM.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,223
    Plugin Contributions
    11

    Default Re: Java popup link in product descripton

    php prefers to have javascript separated when loading. If you look at the template files, php will follow after any javascript is loaded.

    Since spiders might not be able to follow the popup, why not stick the a href link but add target="_blank" to the tag?
    <a href="http://www.google.com" target="_blank">A Link that Works</a>
    It will open in its own window and you can set the window to your specs.

  3. #3
    Join Date
    Aug 2007
    Location
    New York State & Cape Town
    Posts
    76
    Plugin Contributions
    0

    Default Re: Java popup link in product descripton

    Thanks for the reply..

    I was able to get a java popup to work flawlessly after all. I just typed the script into product description and all worked fine.

    I think it was just having problems loading scripts off another folder somewhere on the server. But then again.. that could have been human error as well :) LOL

    Rich

 

 

Similar Threads

  1. Product Descripton Character Amount?
    By ravynw34 in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 6 Aug 2013, 08:41 PM
  2. v150 Disabling product image popup link
    By markboardman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Apr 2012, 02:03 PM
  3. How to have product image popup instead of link?
    By drmike in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Oct 2007, 05:09 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