edieyang
User
 Fresh Boarder
| Posts: 1 |   | Karma: 0
|
No background colors - 2008/03/20 20:33
I use LxMenu for my vertical "Church Men", LxMenu works fine with IE, but no background colors for firefox. I did modify the index.php to include code as suggested (line 11 - 17) - -
my url - http://chinese-catholic.org/
Can anyone help ? Thanks
index.php ========================================= 1. <?php 2. defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 3. // needed to seperate the ISO number from the language file constant _ISO 4. $iso = split( '=', _ISO ); 5. // xml prolog 6. echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>'; 7. ?> 8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 9. <html xmlns="http://www.w3.org/1999/xhtml"><head> 10. 11. // LxMenu start 12. <?php 13. if(file_exists($mosConfig_absolute_path."/modules/mod_lxmenu/css_lxmenu.css")){ 14. ?> <link href="<?php echo $mosConfig_live_site; 15. ?>/modules/mod_lxmenu/css_lxmenu.css" rel="stylesheet" 16. type="text/css"/> 17. <?php 18. } 19. ?> 20. // LxMenu end 21. 22. <?php 23. if ( $my->id ) { 24. initEditor(); 25. }?> 26. <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> 27. <?php mosShowHead(); ?> 28. <link href="templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" /> 29. <link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" /> 30. 31. 32. 33. 34. </head> 35. 36. 37. 38. <body id="page_bg"> 39. <a name="up" id="up"></a> 40. 41. 42. 43. <div id="center"> 44. <div id="main_bg"> 45. 46. <div id="content_bg"> 47. 48. <div id="header"> 49. <div id="newflash"> 50. <div> 51. <?php mosLoadModules( 'top', -1); ?> 52. 53. </div> 54. </div> 55. </div> 56. <div id="topmenu"> 57. 58. <?php mosLoadModules( 'user3', -1); ?> 59. 60. <a id="translateLink">转为简体</a> 61. 62. </div> 63. 64. <div id="content"> 65. 66. <div class="padding"> 67. <?php mosPathWay(); ?> 68. <?php if (mosCountModules('user1')) { ?> 69. <div class="highlight"> 70. <?php mosLoadModules( 'user1', -2); ?> 71. </div> 72. <?php } ?> 73. <?php mosMainBody(); ?> 74. 75. </div> 76. </div> 77. <div id="navigation"> 78. <div class="padding"> 79. <?php mosLoadModules( 'left', -2); ?> 80. 81. <?php mosLoadModules( 'user4', -2); ?> 82. <?php mosLoadModules( 'user2', -2); ?> 83. <?php mosLoadModules( 'right', -2); ?> 84. </div> 85. </div> 86. 87. 88. <div id="footer"> 89. Template designed by rockettheme.com, Graphics designed by Alex Ling 90. </div> 91. </div> 92. </div> 93. </div> 94. <?php mosLoadModules( 'debug', -1 );?> 95. 96. 97. <script type="text/javascript" src="http://chinese-catholic.org/tw_cn.js"></script> 98. <script type="text/javascript"> 99. var defaultEncoding = 1; 100. var translateDelay = 0; 101. var cookieDomain = "http://chinese-catholic.org"; 102. var msgToTraditionalChinese = "轉為繁體"; 103. var msgToSimplifiedChinese = "转为简体"; 104. var translateButtonId = "translateLink"; 105. translateInitilization(); 106. </Script> 107. 108. 109. </body> 110. </html>
Rendering Time: 0.295118093491 Sec. [ 上方 ]
joomlaXplorer (Check for latest version)
|