This commit is contained in:
Kovid Goyal 2008-11-03 18:51:32 -08:00
parent 24d630842b
commit 682815c2d8
3 changed files with 10 additions and 5 deletions

View File

@ -278,9 +278,10 @@ function layout() {
$('#loading').css('height', ($(window).height()-20)+'px'); $('#loading').css('height', ($(window).height()-20)+'px');
$('#loading').css('width', ($(window).width()-20)+'px'); $('#loading').css('width', ($(window).width()-20)+'px');
var cover = $('#cover_pane'); var cover = $('#cover_pane');
cover.css('width', (main.width()/2.0)+'px') var title = $('#book_list thead tr td')
cover.css('width', (main.width()-title.offset().left - title.width()-15)+'px')
cover.css('height', main.height()+'px') cover.css('height', main.height()+'px')
cover.css('left', (main.offset().left -25 + main.width()/2.0)+'px'); cover.css('left', (title.offset().left+title.width())+'px');
cover.css('top', main.offset().top+'px'); cover.css('top', main.offset().top+'px');
} }
@ -296,4 +297,4 @@ $(function() {
$($('#book_list * span#date_sort').parent()).click(); $($('#book_list * span#date_sort').parent()).click();
}); });

View File

@ -31,8 +31,10 @@
</form> </form>
</div> </div>
<object width="250" height="250"><param name="movie" value="http://widget.chipin.com/widget/id/328a348be996a273"></param><param name="allowScriptAccess" value="always"></param><param name="wmode" value="transparent"></param><embed src="http://widget.chipin.com/widget/id/328a348be996a273" flashVars="" type="application/x-shockwave-flash" allowScriptAccess="always" wmode="transparent" width="250" height="250"></embed></object>
<h2>Note</h2> <h2>Note</h2>
<div class="note">$note</div> <div class="note">$note</div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -33,7 +33,9 @@
</td> </td>
</tr> </tr>
</table> </table>
<object width="250" height="250"><param name="movie" value="http://widget.chipin.com/widget/id/328a348be996a273"></param><param name="allowScriptAccess" value="always"></param><param name="wmode" value="transparent"></param><embed src="http://widget.chipin.com/widget/id/328a348be996a273" flashVars="" type="application/x-shockwave-flash" allowScriptAccess="always" wmode="transparent" width="250" height="250"></embed></object>
</center> </center>
</div> </div>
</body> </body>
</html> </html>