[cBB Blockgets 1.0.3] Menu Block Icon Problem


no_avatar
cossielee
 
Posts: 28
Joined: Fri Oct 12, 2012 11:40 am
Location: Glasgow
 Fri Feb 08, 2013 5:27 pm • via Web
Hi cani, noticed a problem with my menu block.

I created a block with icons to replace by normal menubar. I created icons 50x50 and placed them in the block, set the block to content only(no title) but when i hover over the blocks i cover the unread post links at top (see attached pic) on the pic there is a red line, when i hover the mouse over where that line is you can move the icons left to right, seems to be a eight issue with the icons. I created a custom block and put my php code in for the unread posts links but as soon as you hover over them the icons again move.

Any advice?

icons.png
User avatar
IvanPF
Administrator
 
Posts: 2028
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Wed Feb 13, 2013 3:00 pm • via Web
Hello,

You use the dock menu. This is similar that the Mac Dock.
The icons react with mouse position and when this is approaching, become larger as the proximity of the mouse.

If you want a static icons, open /styles/{your style}/template/blockgets/block/dockmenu_block.html and replace all the content for this:
Code: Select all
<div class="dock" id="dock-{BLOCK_ID}">
<div class="dock-container" style="position:static;">

<!-- BEGIN menu_row -->
   <a href="{menu_row.U_LINK}"<!-- IF menu_row.S_WINDOW == 1 --> class="blank"<!-- ENDIF -->>{menu_row.S_ICON}</a>
<!-- END menu_row -->

</div>
</div>
no_avatar
cossielee
 
Posts: 28
Joined: Fri Oct 12, 2012 11:40 am
Location: Glasgow
 Thu Feb 14, 2013 3:03 pm • via Web
thanks, i like the way it works, take it theres no way to reduce the amount it reacts?
User avatar
IvanPF
Administrator
 
Posts: 2028
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Thu Feb 14, 2013 7:57 pm • via Android
It isn't easy. The value is inside the javascript code and it is compressed

Who is online

Users browsing this forum: No registered users and 0 guests