I did in different ways. I tried to use this code on a custom vbulletin page as described below.
How to create your own vBulletin-powered page!
Author : Gary King
Thread : https://vborg.vbsupport.ru/showthread.php?t=62164
Result : http://www.divx-world.com/test.php
The code is working without any problem.
I've created a bbcode as [testt] which includes all the tab panel content. But the result is still same on showthread.php template. Doesnt work.
I've also tested on a clean vB on localhost. I've put the below codes between <head> tags.
Code:
<style type="text/css" media="screen">
<!--
@import url("p7tp_01.css");
-->
</style>
<script type="text/javascript" src="p7tpscripts.js"></script>
But the the result is still same. Doesnt work.
So my opinion is, there should be some code inside the original vbulletin showthread.php template which cause this problem.
Please let me confirm it again if i do it right or not. Because i try to use it on showthread template. Is it right ? Or do i have to use the javascript calling line in a different template ?
Please let me try to explain the reason of why i do want to use this javascript on my vbulletin powered webpage. I own a movie review website. So most of the threads have very long comments and informations.
Lets say we are talking about the X-Files tv serie. It has 9 complete season. In current system, i do have 9 different categories. Each season has its own category which gives information about the movie.
But if i success with this script, then i will be able to show all information in one thread. I will be able to use 9 different tab. (For example Season1, Season2....) And when you click the 1st tab (Season1) you will see all the information about season1. And same for others..
Thats why its really very important for me to solve this problem