Results 1 to 3 of 3

Thread: Trustpilot content in tab doesn't load unless page is refreshed

  1. #1
    Join Date
    Oct 2013
    Thanked 0 Times in 0 Posts

    Default Trustpilot content in tab doesn't load unless page is refreshed

    1) Script Title: Tab Content Script (v 2.2)

    2) Script URL (on DD):

    3) Describe problem: The tabs, scripts and styling are working fine. However, I'm trying to display a Trustpilot customer reviews widget in the 'Reviews' tab on this page http://www.castleberg.greenjerseyweb...Jacket-13.html. The reviews don't display unless I refresh the page (I've just discovered the same problem on another customer site). I can use 'onClick="location.reload()"' for this particular tab, which does display the content after a page reload, but it reloads the entire page and I'd prefer just to reload the content in the tab if possible. Can anyone help?



  2. #2
    Join Date
    Mar 2010
    Thanked 40 Times in 38 Posts


    First if you are using the script from Dynamic Drive you need to include this:

    * Tab Content script v2.2-  Dynamic Drive DHTML code library (
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at for full source code
    Second, which web browser are you viewing this from?
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

  3. #3
    Join Date
    Mar 2005
    Thanked 3,267 Times in 3,228 Posts
    Blog Entries



    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.

    That said, the widget probably cannot initialize properly when it's display none, which is what the unseen tabs are in this script. When I have more time I will see if I can modify the script to use a combination of absolute positioning and visibility to hide the unseen tabs instead of the display property. That's usually what must be done to fix this sort of thing.

    Edit: I Got the time:

    First backup the .js and .css files you're using now, just in case. Use the updated .js and .css files in the attached archive (right click and 'Save As'):
    Last edited by jscheuer1; 10-14-2013 at 08:49 PM.
    - John

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Dynamic Ajax Content doesn't load Flashpreoloader? (swf)
    By miow in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 08-27-2010, 03:48 PM
  2. Looking for Lightbox like script which doesn't wait while all page elements load
    By viens in forum Looking for such a script or service
    Replies: 0
    Last Post: 05-03-2010, 02:54 PM
  3. Replies: 1
    Last Post: 04-01-2008, 11:52 AM
  4. Switch menu doesn't collapse on page load..
    By triplwammy in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 12-02-2005, 05:16 PM
  5. Switch menu doesn't collapse on page load..
    By triplwammy in forum JavaScript
    Replies: 0
    Last Post: 11-17-2005, 07:47 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts