Add special hover functionality for comic 1564
klange -
aec61177f217
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -116,6 +116,29 if ($STRIP['type'] == 24 || $_GET['hidden_vn_test'] == 'yes_please') {
116 } else {
116 } else {
117 printf('<img align="middle" src="%s/%04d.%s" alt="%s" title="%s" />', SITE_STRIP, $EFFECTIVE_ID, $STRIP['ext'], $alttext, utfentities($tooltip));
117 printf('<img align="middle" src="%s/%04d.%s" alt="%s" title="%s" />', SITE_STRIP, $EFFECTIVE_ID, $STRIP['ext'], $alttext, utfentities($tooltip));
118 }
118 }
119 if ($EFFECTIVE_ID == 1564) {
120 ?>
121 <style>
122 .bubble_pop {
123 opacity: 0.01;
124 visibility: visible;
125 transition: all 0.2s ease-out;
126 -webkit-transition: all 0.2s ease-out;
127 -moz-transition: all 0.2s ease-out;
128 -o-transition: all 0.2s ease-out;
129 }
130 .bubble_pop:hover {
131 opacity: 1;
132 visibility: visible;
133 }
134 .bubble_pop:active {
135 -webkit-transition: opacity 0.2s ease-out;
136 }
137 </style>
138 <?php
139 $style = "position: absolute; left: 102px; top: 1047px;";
140 printf('<img src="%s/%04d_bubble.png" class="bubble_pop" style="%s"/>', SITE_STRIP, $EFFECTIVE_ID, $style);
141 }
119 ?>
142 ?>
120 </span></span>
143 </span></span>
121 </span></span>
144 </span></span>
Comments 0
You need to be logged in to leave comments. Login now