Baden on "[Plugin: Collapse-O-Matic] Close one when another is opened"

ساخت وبلاگ

Hi,

Great plugin BTW, it works very well but i need one more aspect to work for it to be perfect.

I am using Themify builder with my website, with the themify theme (ultra)

I have used the image as titles in my site. Currently i have split them in the builder - This was due to the fact that i wanted my 5 images beside each other separately. And to have the text below to be full width with a larger image within the space. It works very well so far. But my only issue is i can't work out how to add the coding for a Highlander Grouping style. So when one is open i want it to close when you click on another.

Here's my site: http://pentec.brandnewfuture.co.uk/our-team/
I have made the first photo on the page open automatically when page loads.
But when i click on another image it just loads under the first one.

Here is the coding i've used:

(i have 5 of these for the images)
<img src="/wp-content/uploads/2016/08/elinor-tag.png" width="100%" class="collapseomatic noarrow colomat-close" id="elinor">

And in another section below on the page : (5 of these for the text and larger image)
<div class="collapseomatic_content" style="width: 100%; height: 250px;" id="target-elinor" align="justify" >
<img src="/wp-content/uploads/2016/07/ELINOR_MG_3312-edited-e1470240221337.jpg" alt="elinor" style="margin-right:20px; width:455px;" align="left">
<b>Dr Elinor McCartney </b>
President

Elinor McCartney, an expert on EU Food Chain legislation and technical director of Pen & Tec Consulting Group, was bo in Edinburgh, Scotland and is a veterinary graduate of the Royal (Dick) School of Veterinary Studies (Faculty of Veterinary Medicine, University of Edinburgh), where she also obtained her PhD in enteric diseases of piglets. She has MBA (with distinction) and has tutored Finance and Marketing for the Open University Business School.

Elinor specializes in advising on legal status and strategic positioning of food and feed products and helps clients understand EU/EFSA legislation, guidelines and guidance, and has assisted many applicants to achieve or maintain EU approval of a wide range of products, including, technological, sensory, nutritional, zootechnical and coccidiostat feed additives.
</div>

Can advise me of how i would do it please?
I've tried a variation of different things from the docs and forums but nothing's worked.

Thanks :)

https://wordpress.org/plugins/jquery-collapse-o-matic/

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 392 تاريخ : دوشنبه 18 مرداد 1395 ساعت: 20:16