我正在使用nanoscroller.js来创建可滚动的列表.
$(".nano").nanoScroller({ alwaysVisible: true });
$(".submenu").addClass("hidden");
Run Code Online (Sandbox Code Playgroud)
".submenu"是".nano"的父级,仅在单击按钮后显示.
在FF,Safari和Opera中一切正常.但在Chrome中,滚动条的滑块/窗格不会显示.有没有人遇到同样的问题,并找到了解决方案?或者可能知道另一个插件来创建可以处理这种情况的自定义滚动条?
找到了解决方案:
$(".nano").nanoScroller({ alwaysVisible: true });
$(".submenu").addClass("hidden");
$(".pane").css("display","block");
$(".slider").css("display","block");
Run Code Online (Sandbox Code Playgroud)
手动更改display的.pane到block,似乎这样的伎俩.
当我尝试使用XAMPP启动Apache服务器时,它主要说明如下:
[Apache] Check the "/xampp/apache/logs/error.log" file
[Apache] and the Windows Event Viewer for more clues
Run Code Online (Sandbox Code Playgroud)
我检查了错误日志,它说:
"Session Cache is not configured"
Run Code Online (Sandbox Code Playgroud)
完整的日志如下:
[ssl:warn] [pid 5008:tid 316] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[mpm_winnt:notice] [pid 5008:tid 316] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[mpm_winnt:notice] [pid 5008:tid 316] AH00456: Server built: Aug 18 2012 12:41:37
[core:notice] [pid 5008:tid 316] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[mpm_winnt:notice] [pid 5008:tid 316] AH00418: Parent: Created child process 1400 …Run Code Online (Sandbox Code Playgroud) 我正在flex desktop application使用Adobe的这个指南来保存我的应用程序的用户设置:http://www.adobe.com/devnet/air/flex/quickstart/articles/xml_prefs.html
在测试时,我需要知道File.applicationStorageDirectory.resolvePathWindows 7中的物理路径,以检查此文件preferences.xml的创建位置,以便我可以验证其中的内容,还可以通过删除和重新创建它来多次测试.