Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
light box 2.04 close.gif loading.gifが表示されない lightbox.js | 社内SEのウェブ制作

2010.06.21xoopsズープス

light box 2.04 close.gif loading.gifが表示されない lightbox.js

★lightbox2.04を ドキュメントルート直下にアップロード

★light boxのjsフォルダ lightbox.js の41行目あたり
LightboxOptions = Object.extend({
    fileLoadingImage:        'images/loading.gif',    
    fileBottomNavCloseImage: 'images/closelabel.gif',

画像のURLを確認し、変更する。(xoopsで使用する場合は、絶対アドレスで画像の場所を指定する。※モジュールの配下で使用した場合、/modules/images が読み込まれてしまうため。)
 

 ★theme.htmlのヘッダー部分に下記を追加
<!--ライトボックス用ジャバスクリプト-->
<link rel="stylesheet" href="<{$xoops_url}>/lightbox2.04/css/lightbox.css" type="text/css" media="screen" />
<script src="<{$xoops_url}>/lightbox2.04/js/prototype.js" type="text/javascript"></script>
<script src="<{$xoops_url}>/lightbox2.04/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="<{$xoops_url}>/lightbox2.04/js/lightbox.js" type="text/javascript"></script>


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (27638)

トラックバック

トラックバックpingアドレス http://www.suehirogari.com/modules/blog/tb.php/52

コメントの投稿

コメント投稿に関するルール : コメントは全て承認が必要

キーワードでサイト内を検索
人気のエントリ