On Mouse Hover effect like in (M)Social for Startup - possib

October 2012 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Apr 03, 2014 8:05 am
Reply with quote
Report this post
Hello there,
In order for me to create MouseHover effect on picture like here http://demo.gavick.com/joomla25/msocial/index.php/k2/k2-item in article on StartUp here: http://fitness7vetrov.ru/akcii/84-aktsiya-dlya-vypusknits-i-ne-tolko, but in article (not module), do I need to create certain classes in CSS, or how do I do that?
Thanks, my understanding is berely enough to tweak, but can't fathom how to create a new. :blush:
User avatar
Platinum Boarder

GK User
Thu Apr 03, 2014 9:10 am
Reply with quote
Report this post
Could you please specify which effect you have in mind?
User avatar
Moderator

GK User
Thu Apr 03, 2014 9:34 am
Reply with quote
Report this post
Cyberek wrote:Could you please specify which effect you have in mind?

On the Remedy group picture - when we hover over - it zooms in. I understand it's Scale from HTML5, but don't know how to put the event (hover in this case) in the article.
User avatar
Platinum Boarder

GK User
Thu Apr 03, 2014 10:56 am
Reply with quote
Report this post
Could you post me a link to exact place with this effect?
User avatar
Moderator

GK User
Thu Apr 03, 2014 1:13 pm
Reply with quote
Report this post
Cyberek wrote:Could you post me a link to exact place with this effect?

I thought I gave exact link in the first post... Here's the link at the picture itself then... (But don't think it'll help much): http://demo.gavick.com/joomla25/msocial/media/k2/items/cache/aa5045f13216477abf2a0e16a08acd59_L.jpg put the page with this effect (again) is here: http://demo.gavick.com/joomla25/msocial/index.php/k2/k2-item
User avatar
Platinum Boarder

GK User
Thu Apr 03, 2014 2:06 pm
Reply with quote
Report this post
Ok, the code is:
Code: Select all
.itemImageBlock img:hover {
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
-o-transform: scale(1.2);
transform: scale(1.2);
opacity: 0.85;
}


Now please provide me a direct link to single blog post where you would like to have this effect, I'll modify css selector then.
User avatar
Moderator

GK User
Thu Apr 03, 2014 2:18 pm
Reply with quote
Report this post
Cyberek wrote:Ok, the code is:
Now please provide me a direct link to single blog post where you would like to have this effect, I'll modify css selector then.


This is the link to single article: http://fitness7vetrov.ru/akcii/84-aktsiya-dlya-vypusknits-i-ne-tolko.
And the picture we're talking about in this case is http://fitness7vetrov.ru/images/_aktcii/201404school.png
Cyberek, looking at the code you've given, I assume it's additional css-class, right? So we can't just use html5 in article to recreate that effect, must go through class, right?
User avatar
Platinum Boarder

GK User
Fri Apr 04, 2014 7:15 am
Reply with quote
Report this post
With only image it is not possible. You would need to wrap it into another element, create some custom css'ing - and it is quite a lot of work to do :(.
User avatar
Moderator


cron