Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Tabbed Prod Pro (TPP): Adding Anchor Links

    Hi,

    I decided not to put this in the TPP Support thread because what I want to do is sort of off the books. I did comb thru the thread and found others trying to do this, but no solution was posted.

    In a nutshell I'd like a way to use standard anchors to trigger a Tab switch. Here is a link to where I am playing with this:
    http://justusedmedicalequipment**DOT.../Experimenting

    Here is the pertinent html:
    Code:
    <strong><img alt="" src="/images/satisfaction/guarantee-seal.png" style="width: 200px; height: 150px;" /><br />
    			<a href="#qualityassurance">Quality Assurance</a></strong>
    
    <!--%Quality Assurance%-->
    
    <p><strong><a name="qualityassurance">Quality Assurance</a></strong><br />
    What would be awesome is if I could do this:
    Code:
    
    <!--%<a name="qualityassurance">Quality Assurance</a>%-->
    Any suggestions for me?

    Thanks!

  2. #2
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    Ok, halfway there!

    I added this to get it to switch:
    <a href="javascript:void(0)" onclick="expandcontent('sc2', this)">Quality Assurance</a>

    Now it will switch, but it's wonky. The new tab is not highlighted!

  3. #3
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    Ack! I'm going nuts! Can somebody pretty please help me out?

    My link now works, but I can't get the tab to behave properly. It's supposed to highlight the tab being viewed in blue.

    You can see what I mean here:
    http://justusedmedicalequipment(DOT).../Experimenting

    Click back and forth between the two tabs, Product Description & Quality Assurance. Then click on the link I supply beneath the Satisfaction Guarantee image.

    What am I missing?

    Thanks!

  4. #4
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    Anybody?


  5. #5
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    Ok, in case anybody else stumbles in here trying to do the same thing, this is how I solved it:
    <a href="javascript:void(0)" onclick="expandcontent('sc2', this)"><span>Quality Assurance</span></a>

    Easy peasy! New it was something simple. Props to my homey Dave!

  6. #6
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    I lied, still not working...

  7. #7
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    The other thing I noticed was the tabs are in list tags as well as the spans and they are in a div with an ID which I can't remember now. So it's possible that that is related.

    Zen Cart and it's community are the best!!

  8. #8
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    It might be more likely to be a js issue. You could post in the dynamic drive forum if it is a js issue to see if you can get help there if no one can help here.

    Zen Cart and it's community are the best!!

  9. #9
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    Quote Originally Posted by lankeeyankee View Post
    The other thing I noticed was the tabs are in list tags as well as the spans and they are in a div with an ID which I can't remember now. So it's possible that that is related.
    You're right, there are list tags and div ids. I'm going to fiddle around with that this morning. And I'll also repost in a dif forum.... thanks!

  10. #10
    Join Date
    Apr 2010
    Posts
    897
    Plugin Contributions
    0

    Default Re: Tabbed Prod Pro (TPP): Adding Anchor Links

    The solution to this problem is right here:
    https://www.zen-cart.com/showthread....06#post1311906

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Tabbed Products Pro (TPP) Contrib - Official Thread
    By qhome in forum All Other Contributions/Addons
    Replies: 2216
    Last Post: 8 Feb 2024, 12:43 PM
  2. v139h Conflicts between Tabbed Home and Tabbed Products Pro v1.07
    By swdynamic in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 14 Sep 2014, 06:29 PM
  3. adding top link to prod listing bottom links
    By igofresh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Feb 2011, 01:52 AM
  4. Replies: 3
    Last Post: 22 May 2010, 11:41 PM
  5. Render Issue(apparently not Tabbed Prod Lite RELATED)
    By m3s_4ev3r in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 4 Sep 2007, 01:25 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