How to make the unfolding text?
Autore: Dmitriy S.
Visite 2971,
Followers 2,
Condiviso 0
Hi! How to make the unfolding text? As in this example: http://www.antiplagiat.ru/index.aspx?doc=faq
Postato il
Hello,
I have put a sample here: http://answers.websitex5.com/post/57644
Autore
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
Autore
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 ?
Autore
Samuel V. I mean text of title and content text
Thanks, simply inside the HTML & Widget block you put in your page.
I mean
Autore
Samuel V. I mean too
Autore
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).
Autore
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
Autore
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
Autore
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;".