danny.belanger@live.ca wrote:
Is there a possibilty to put an image as the title and...
You can create a template:
Create a text file in the folder pathtojoomla/plugins/content/showhidecontent/templates e.g. imagetitle.tmpl and add text like this:
(you only need changetitle, if you need to change the image when the object is open)
| Code: |
title="<img src=\"images/520408SL_01.jpg\" title=\"this will be displayed at mouse over\" alt=\"image alternative text\" />"
changetitle="<img src=\"images/520408SL_02.jpg\" title=\"this will be displayed at mouse over\" alt=\"image alternative text\" />"
|
Use {showhide1 template="imagetitle"}...content...{/showhide1} to use the parameters set in your template.
when you click on it the description goes on the right side in a sliding effect ?? pretty much like it is now but going to the right instead of down...
At the moment you can only use the horizontal=true parameter.
But if you need vertical and horizontal, I would have to program that. Till when would you want a function like this (if required)?
When doing this code
{showhide1 image="images/520408SL_01.jpg" open=false} colis {/showhide1}
is it possible to change the width iof the image width and size if it already exist how do we do it?
I'm not quite sure what you mean. Change the image size if it already exist?
Please be more precise.
Maybe this will help you.
| Code: |
title="<img src=\"images/520408SL_01.jpg\" title=\"this will be displayed at mouse over\" alt=\"image alt\" style=\"width:20px;height:20px;\"/>"
changetitle=\"<img src="images/520408SL_02.jpg\" title=\"this will be displayed at mouse over\" alt=\"image alt\" style=\"width:20px;height:20px;\" />"
|
why when i do the code above the image does not display??
It might be a CSS problem. The image is included as a list (ul li). You might have padding:0 and margin:0 for lists, so it might be hidden. I would try the solution with the template, described above.
Hope this helped you further.