我发现我可以通过在"服务器IP白名单"字段和"有效OAuth重定向URI"字段中包含服务器IP地址,将多个域添加到我的Facebook应用程序中.能够在白名单字段中添加一系列IP而不是单个IP地址真的很棒.
我尝试使用127.0.0.0,127.0.0.*和127.0.0.1-127.0.0.100而不是127.0.0.1.这似乎都不起作用.
有谁知道这是否可以做到?
一段时间以来,我一直在寻找代码的修复方法。
我有一个下拉菜单,在您将鼠标悬停在静态对象上后显示菜单的内容,但是当您尝试选择其中一个项目(将鼠标移离静态对象)时,项目会消失(设置回显示:无)
我的代码如下:
HTML:
<div id="menuContainer">
<div class="menuItem first">
<div class="settingsIcon"></div>
<div class="text">Account Settings</div>
<div class="downArrowIcon"></div>
</div>
<div id="settingsMenu">
<div class="menuItem">Manage clients</div>
<div class="menuItem">Manage specials</div>
<div class="menuItem">Manage users</div>
<div class="menuItem">Logout</div>
</div>
</div>';
Run Code Online (Sandbox Code Playgroud)
CSS:
div#menuContainer div:hover + div#settingsMenu{
display: block;
position: relative;
z-index: 100;
}
div#menuContainer div#settingsMenu{
display: none;
width: 100%;
}
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激。
我一直在搜索这个网站并谷歌搜索我的问题的解决方案,我找不到任何东西.我认为应该只是工作; 但事实并非如此.我的JComboBox的箭头图标没有显示,我找不到任何地方将其可见性设置为true.
这是我的代码:
public class Driver implements ActionListener {
private JTextField userIDField;
private JTextField[] documentIDField;
private JComboBox repository, environment;
private JButton close, clear, submit;
private JFrame window;
public Driver()
{
window = makeWindow();
makeContents(window);
window.repaint();
}
private JFrame makeWindow()
{
JFrame window = new JFrame("");
window.setSize(500,300);
window.setLocation(50,50);
window.getContentPane().setLayout(null);
window.setResizable(false);
window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
window.setVisible(true);
return window;
}
private void makeContents(JFrame w)
{
makeDropDowns(w);
w.repaint();
}
private void makeDropDowns(JFrame w)
{
String[] repositoryArray = {"Click to select", "NSA", "Finance", "Test"};
repository = new JComboBox(repositoryArray); …Run Code Online (Sandbox Code Playgroud)