Welcome, Guest
Username: Password: Remember me

TOPIC: OT Articles Scroll

OT Articles Scroll 3 years 3 days ago #5899

  • baaleo
  • baaleo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
How can I achieve this effect?: This image is hidden for guests. Please log in or register to see it. when mouse is "onmouseout" ?
Last Edit: 3 years 3 days ago by baaleo.
The administrator has disabled public write access.

Re: OT Articles Scroll 3 years 3 days ago #5909

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You want it always shows as mouse is hover ?

Regards
The administrator has disabled public write access.

Re: OT Articles Scroll 3 years 2 days ago #5910

  • baaleo
  • baaleo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
trungdt wrote:
Hello,

You want it always shows as mouse is hover ?

Regards

Hello, yes exactly!
Here is an example template with mod_rox_scroller...themerox*com/demo/?theme=MetroRox
Last Edit: 3 years 2 days ago by trungdt.
The administrator has disabled public write access.

Re: OT Articles Scroll 3 years 2 days ago #5920

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You can edit this file: ot_surfdev/html/mot_ot_articles_scroll/default.php

and comment or remove this code below online 75-79
$('#ot-scroll<?php echo $module->id; ?> .ot-panel .ot-list .itemBlock').hover(function(){
  $(".moduleItemIntro", this).stop().animate({top:'0'},{queue:false,duration:300});
 }, function() {
  $(".moduleItemIntro", this).stop().animate({top:'100%'},{queue:false,duration:300});
 });
and edit css file: ot_surfdev//modules/mod_ot_articles_scroll/css/layout.css

change value top:100% to top:0;
.ot-panel .ot-list .itemBlock .moduleItemIntro{
 position: absolute;
 overflow: hidden;
 background: #39bbf9;
 color: #FFFFFF;
 opacity:0.95;
 filter:alpha(opacity=95); /* For IE8 and earlier */
 top: 100%;
 width: 100%;
 height: 100%;
}

Regards
The administrator has disabled public write access.
Time to create page: 0.161 seconds