Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Location
    United States
    Posts
    500
    Plugin Contributions
    2

    Default How to use Java to open a Product Tab?

    I need some help on this, I upgraded to a different review system for my products and need to have a link that is on the product details page open up the review tab when you press it.

    I know it has to be java code I just do not now how to write it.....I think something like: example:'javascript:expandcontent(sc3)'

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

    Default Re: How to use Java to open a Product Tab

    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
    May 2008
    Location
    United States
    Posts
    500
    Plugin Contributions
    2

    Default Re: How to use Java to open a Product Tab

    I have that installed, (lite version) what I'm trying to do is when you actually hit one of those tabs the url stays the same just the information held within that tab is show. Now I what to have a link that when press would open up one of those tabs, just has if you press it yourself. The link is on the product info page next to the item number.

    I know it can be done I'm just having a hard time doing it.

  4. #4
    Join Date
    May 2008
    Location
    United States
    Posts
    500
    Plugin Contributions
    2

    Default Re: How to use Java to open a Product Tab?

    Finally figured it out and the below code will open a tab, if anyone else ever needs to do so:

    This is in my "jscript" directory in one of my .js files:

    var pr_read_review="javascript:expandcontent('sc3', this)"

    the pr_read_review is a css tag...just in case your woundering.

    ** 'sc3' is tab three so that can be changed to for example 'sc2' to open tab number 2....and so on. The only thing it does not do is highlight the tab, just display whatever is on it.
    Last edited by marcopolo; 27 Jan 2009 at 10:45 PM.

 

 

Similar Threads

  1. OPEN EZ-PAge on new tab
    By gprit in forum General Questions
    Replies: 2
    Last Post: 1 Nov 2013, 09:30 AM
  2. Replies: 1
    Last Post: 28 Jun 2013, 08:52 AM
  3. How do I auto-open items details after product search?
    By stevenlee in forum General Questions
    Replies: 1
    Last Post: 2 Apr 2009, 09:45 PM
  4. How do I open a product link in the same page, NOT a new one?
    By thesoundsmith in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 20 Jun 2008, 12:32 AM

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