|
|
|
@ -1,3 +1,39 @@
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
$("#relateProject,.relatePInfo").mouseover(function(){
|
|
|
|
|
$(".relatePInfo").css("display","block");
|
|
|
|
|
})
|
|
|
|
|
$("#relateProject,.relatePInfo").mouseout(function(){
|
|
|
|
|
$(".relatePInfo").css("display","none");
|
|
|
|
|
})
|
|
|
|
|
$(".homepagePostPortrait").mouseover(function(){
|
|
|
|
|
$(this).children(".userCard").css("display","block");
|
|
|
|
|
})
|
|
|
|
|
$(".homepagePostPortrait").mouseout(function(){
|
|
|
|
|
$(this).children(".userCard").css("display","none");
|
|
|
|
|
})
|
|
|
|
|
$(".userCard").mouseover(function(){
|
|
|
|
|
$(this).css("display","block");
|
|
|
|
|
})
|
|
|
|
|
$(".userCard").mouseout(function(){
|
|
|
|
|
$(this).css("display","none");
|
|
|
|
|
})
|
|
|
|
|
$(".coursesLineGrey").mouseover(function(){
|
|
|
|
|
$(this).css("color","#ffffff");
|
|
|
|
|
})
|
|
|
|
|
$(".coursesLineGrey").mouseout(function(){
|
|
|
|
|
$(this).css("color","#808080");
|
|
|
|
|
})
|
|
|
|
|
$(".homepagePostSetting,.coursesLineGrey").mouseover(function(){
|
|
|
|
|
$(this).prev().css("color","#ffffff");
|
|
|
|
|
$(this).css("z-index", "9999");
|
|
|
|
|
})
|
|
|
|
|
$(".homepagePostSetting").mouseout(function(){
|
|
|
|
|
$(this).prev().css("color","#808080");
|
|
|
|
|
$(this).css("z-index", "1");
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
<% org_activity_field = organization.org_subfields.where('field_type="default" and name="activity" and field_type="default"').first %>
|
|
|
|
|
<% org_course_field = organization.org_subfields.where('field_type="default" and name="course" and field_type="default"').first %>
|
|
|
|
|
<% org_project_field = organization.org_subfields.where('field_type="default" and name="project" and field_type="default"').first %>
|
|
|
|
|