Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

Tuesday, February 24, 2015

mouseover popup box YII griview

Standard
YII Drid cell with a javascript/css content box that pops up upon mouseover.





<! --- Style ------- >


<! ---- Java script ----->



add this on YII drid view

array( 'header'=>' User', 'value' => ' " ".CHtml::link($data->user->username,array("user/admin/view/id/".$data->UserId))."
Email : ".$data->user->email."
Telephone : ".$data->user->Telephone."
" ', 'name'=>'UserId', 'filter'=>FALSE, 'type'=>'raw', ),


 

Tuesday, January 27, 2015

change the color of scrollbars

Standard


add this in your style .css  to change the color of the scrollbars on my pages in Internet Explorer and Firefox

::-webkit-scrollbar {
width: 12px;
height: 4px;
background: rgba(111, 78, 78, 0.35);
}
::-webkit-scrollbar-thumb {
background-color: rgba(145, 36, 66, 0.99);
-webkit-border-radius: 1ex;
}

Thursday, October 23, 2014