jQuery UI non ajax tab loading whole website into itself?

前端 未结 7 1723
灰色年华
灰色年华 2021-02-07 03:00

Having a large problem with jQuery Tabs.

Im trying to load the tabs on my sites product page... When the page loads i see that tabs content for a second (standard html t

7条回答
  •  时光说笑
    2021-02-07 03:26

    I am in no way JS programmer, more C++/C# on Windows, reached this post while helping a relative with his web site on Joomla, where he had a similar problem, but thanks to MVlink to bug item the solution is simple. Bottom line - you can't use "local" href= , so .. don't use them , for example for page mypage.html on server http://www.example.com the code instead of original:

    test
    test
    test
    Sorry, no downloads available for this product.

    You should use:

    test
    test
    test
    Sorry, no downloads available for this product.

    And everything will work just fine. Of course if you use some code generation , like PHP in Joomla it becomes even easier to put for example() echo JUri::getInstance() . '#tab' in code generation

提交回复
热议问题