How to make the unfolding text?
Auteur : Dmitriy S.
Visité 2974,
Followers 2,
Partagé 0
Hi! How to make the unfolding text? As in this example: http://www.antiplagiat.ru/index.aspx?doc=faq
Posté le
Hello,
I have put a sample here: http://answers.websitex5.com/post/57644
Auteur
Samuel V. Thanks. Thank you. Tell me how to do that, when you move the cursor to the block, the cursor turn into a hand?
Simply add
in the ".titles" section of the CSS (refering to the file header.txt inside the Toggle.zip
Auteur
Samuel V. Many thanks! Last Question: How to change the title and the text to the left?
Dimitry, what do you mean : the content or the style ?
Auteur
Samuel V. I mean text of title and content text
Thanks, simply inside the HTML & Widget block you put in your page.
I mean
Auteur
Samuel V. I mean too
Auteur
for titles and for content
Sorry Dimitry, I do not understand. The idea is to put the codes above inside a HTML & Widget block inside your WebSite X5's page. Simply add your own titles and content between the HTML codes (replace the "Some title" and "Some content¨ sentences by your own).
Auteur
On picture that, what i mean
Thanks. This is pure CSS. You have to fix the width inside the <style> part of each. Colors can be adjusted too. May I suggest you to read more about. For example, here : http://www.w3schools.com/cssref/pr_dim_width.asp
Auteur
Samuel V., I asked about the position of text and a shift them to the left
Dimitry,
It is the padding part of the CSS code. For the moment it is for example 2px 2px (top+bottom/right+left) but could be 2px 2px 2px 15px (top/right/bottom/left) for example http://www.w3schools.com/css/css_padding.asp
Auteur
Samuel V Thanks. I found the answer for my last question. To move the text to the left (title or content) in the script, you can set: "text-align:left ;" To the right: "text-align: right;".