WebsiteBaker Support (2.8.x) > Diskussion über WB (closed)

WYSIWYG TAB mit Header

<< < (5/16) > >>

Luisehahne:
Hallo,

ganz einfach. Du gibst einfach über den Text eine Überschrift ein z.B. <h2>Title</h2> und der erscheint dann im Tab. Dann gibt es eine ini Datei im Verzeichnis wysiwyg_tab. dort gibt es einen Eintrag HeaderReplace. Auf true gesetzt, wird die Überschrift über den Text nicht gesetzt.

Dietmar

crnogorac081:
I put part of text in heading 2 format, but still have simple text...

I have this in my source:


--- Code: ---<div class="tabs"><!-- begin tab -->
<ul><!-- begin List -->
<li><p><a href="#tabs-10">First tab title</a></p></li>
<a class="section_anchor" id="wb_11" name="wb_11"></a><li><p><a href="#tabs-11">Seccond tab title</a></p></li>
<a class="section_anchor" id="wb_12" name="wb_12"></a><li><p><a href="#tabs-12">Third tab title</a></p></li>
</ul><!-- end List -->
<div id="tabs-10"><!-- begin content -->
<a id="wb_10" name="wb_10"></a>

<p>first tab text</p>
<br />
</div><!-- end content -->
<div id="tabs-11"><!-- begin content -->
<a id="wb_11" name="wb_11"></a>

<p>seccond tab text</p>
</div><!-- end content -->
<div id="tabs-12"><!-- begin content -->
<a id="wb_12" name="wb_12"></a>

<p>third tab text</p>
</div><!-- end content -->

</div><!-- end tab -->


--- End code ---

and this in header when I view source:


--- Code: ---    <link href="http://127.0.0.1:4001/inf/modules/wysiwyg_tab/frontend.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="http://127.0.0.1:4001/inf/modules/wysiwyg_tab/frontend.js"></script>


--- End code ---

is there anything else I should include ?

Luisehahne:
I will be going to test and inform you. Do you have normaly headertext in content or do you mean in the tab

Dietmar

Luisehahne:
The font-sisze fpr the tab you can change it in the frontend.css

Dietmar

crnogorac081:
I am building template from scratch.. so there is nothing special in the header  :-D


--- Code: ---<link href="<?php echo TEMPLATE_DIR; ?>/stylel.css" rel="stylesheet" type="text/css" media="screen" />

    <?php
    if(function_exists(&#39;register_frontend_modfiles&#39;)) {
    register_frontend_modfiles(&#39;css&#39;);
    register_frontend_modfiles(&#39;js&#39;);
    } ?>

--- End code ---

and attached picture is how it looks like on page  :cry:

I dont know why the scripts are not doing their job..the code seems to be ok..

btw, where do you define the color/or grafic for tabs ?

thanks for help.
all best,
ivan

[gelöscht durch Administrator]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version