Year: 2013
-
Post Views: 9 According to the URL analysis: \module\misc\view\checkupdate.html.php Original code: <?php if($note):?> <?php echo $note;?> Modified to: <?php if($note):?> <?php echo htmlspecialchars($note);?>
-
Post Views: 13 js code: $(#slides).superslides({ Inherit_width_from:.wide-container, INHERIT_HEIGHT_FROM:.wide-container, HashChange: False, play: 7000 }); $(#slides).on(mouseenter, function() { $(this).superslides(stop); console.log(Stopped) }); $(#slides).on(mouseleave, function() { $(#slides)..superslides(startch); console.log(startedled) }); Modified js code: // avoid `console` errors in browsers that lack a console. (function() { var method; var noop = function () {}; var methods =[ assert,clear,poll,debug,DIR,dirxml,Error, Exception,group,GroupCollapsed,Groupend,info,log, marktimeline,Profile,Profileend,table,time,Timeend, timestamp,trace,warn ]#atfp_close_translate_span#; var length…
-
Post Views: 9 HTML code: <div> <img src=”http://www.lassaquarium.com/tpl/lassaquarium/images/about/qq.jpg” width=”167″ height=”30″ alt=”qq customer service 609200709″> <img src=”http://www.lassaquarium.com/tpl/lassaquarium/images/about/phone.jpg” width=”204″ height=”30″ alt=”Consultation telephone 076022283438″> <div>Factory address Xiaolan Town, Zhongshan City, Guangdong Province, Jiuzhouji Second Industrial Zone, Xingzhou Road, Lay’s Shui aquarium</div> </div> css code: .main-con .address { width: 594px; float: left; height: 50px; line-height: 50px; color: #656565; font-weight: bold; font-size: 16px;…
-
Post Views: 11 HTML code: <section> <ul> <li> <a href=”#”><img src=”http://www.lassaquarium.com/tpl/lassaquarium/images/product/product-category/1.jpg”width=”230″ height=”170″ alt=”starfish aquarium”></a> <a href=”#”>Starfish Aquarium</a> </li> <li> <a href=”#”><img src=”http://www.lassaquarium.com/tpl/lassaquarium/images/product/product-category/2.jpg” width=”150″ height=”170″ alt=”filter”></a> <a href=”#”>Filtering device</a> </li> <li> <a href=”#”><img src=”http://www.lassaquarium.com/tpl/lassaquarium/images/product/product-category/3.jpg” width=”150″ height=”170″ alt=”submersible pump/head”></a> <a href=”#”> Submersible pump/head</a> </li> <li> <a href=”#”><img src=”http://www.lassaquarium.com/tpl/lassaquarium/images/product/product-category/4.jpg” width=”170″ height=”170″ alt=”illumination device”></a> <a href=”#”>Lighting device</a> </li> <li> <a href=”#”><img src=”http://www.lassaquarium.com/tpl/lassaquarium/images/product/product-category/5.jpg” width=”150″ height=”170″…
-
Post Views: 11 According to two URLs: http://www.centospub.com/make/awstats.html http://www.centos.bz/2012/02/analyze-nginx-log-with-awstats/ To configure, the version is the selected awstats-7.2.tar.gz, the latest version. You need to go over the wall to download. It is configured on Alibaba Cloud CentOS 6.2 64-bit. After the configuration is complete, open the URLhttp://*.*.*.*/awstats/awstats.pl?config=www.***.com, Searching on the Internet said that the permission of /usr/local/awstats/ was set to 755…
-
Post Views: 10 /* Header: My joy */ $(“.my-leshi”).mouseover(function(){ $(“.my-leshi”).addClass(“my-leshi-hover”); }).mouseout(function(){ $(“.my-leshi”).removeClass(“my-leshi-hover”); }); /* Header: My joy */ $(“.my-leshi”).MouseEnter(function(){ $(“.my-leshi”).addClass(“my-leshi-hover”); }).mouseLeave(function(){ $(“.my-leshi”).removeClass(“my-leshi-hover”); }); When the mouse is moved to the shopping cart, the list of purchase products is weak, and then when the mouse is moved to a specific product, the entire block will flash a bit. The solution…
-
Post Views: 10 Even if my z-index is larger than the navigation menu is still not working, finally put the two divs of its superior position: The Z-index of relative is set the size, so that the previous level of my joy is greater than the navigation.
-
Post Views: 12 The reason is that scandir() is not enabled in the environment configuration, and you need to enable the settings in php.ini.
-
Post Views: 13 When outputting some variables in the template file, if the variable does not exist, it will prompt such an error message. The following is the prompt screenshot and solution: notice:undefined offset: 4 in the include() and other prompts <?php if(isset($content[‘field_power’][0][‘#markup’])) { ?<<span>gong rate:</span>?php print $content[‘field_power’][0][‘#markup’]; ?><br /><?php } ?>
-
Post Views: 9 By searching on the official website, it is determined that the reason is that the installation and activationjQuery updateModule, so this error occurred, I had to disable it recently, and it turned out to be normal all of a sudden.