Hi Martin
The code I am trying to implement can be found on:
http://www. digitop3.com/example.html
To get this nice piece of code working, I had to put the example.css and tabber.js file in the root.
For implementing this code in WB, I also copied example.css in the template folder, where also the css file for my template can be found. To be sure, I also copied tabber.js to that location.
In the head of index.php, I added:
<script type="text/javascript" src="tabber.js"></script>
<link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen">
<link rel="stylesheet" href="example-print.css" TYPE="text/css" MEDIA="print">
<script type="text/javascript">
/* Optional: Temporarily hide the "tabber" class so it does not "flash"
on the page as plain HTML. After tabber runs, the class is changed
to "tabberlive" and it will appear. */
document.write('<style type="text/css">.tabber{display:none;}<\/style>');
</script>
Via code2, I added:
<h1>Tabber Example</h1>
<p>← <a href="http://www.barelyfitz.com/projects/tabber/">Tabber Home</a></p>
<div class="tabber">
<div class="tabbertab">
<h2>Tab 1</h2>
<p>Tab 1 content.</p>
</div>
<div class="tabbertab">
<h2>Tab 2</h2>
<p>Tab 2 content.</p>
</div>
<div class="tabbertab">
<h2>Tab 3</h2>
<p>Tab 3 content.</p>
</div>
</div>
I am shure I tried all possibilities, but because it is not working, I probebly forgot a possebility. I am almost sure it hase something to do with the location of js or css files
Thanks for looking!
hi,
can you post whatt you have put in the code 2 page and what you have put in your index.php....
with the # code button so it is possible to reconstruct your problem...

rgds martin