这是我的页脚代码。
<div class="row">
<div class="col-md-12">
<div> the part that always showing at the bottom </div>
</div>
<div class="col-md-12">
<div> show only if the user reaching the bottom of the page </div>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
我的问题是我希望我的页脚粘在页面底部,直到用户到达底部,然后显示其他内容。
我的项目有2帧,1是我的主框架,第2帧是只有单击按钮才能看到的框架.
单击按钮时显示jframe.class.
这是我执行按钮操作的代码
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
jframe jf = new jframe();
jf.setVisible(true);
jf.setAlwaysOnTop(true);
}
Run Code Online (Sandbox Code Playgroud)
这段代码有效,但问题是我希望主框架禁用或不可点亮,而第二帧是可见的...
我可以用相同的JOptionPane概念吗?
我知道这个问题可能会被标记为重复,但是我从任何重复的帖子中都找不到答案,因此我决定将其张贴在自己的位置。
我有一个带有会话的页面。在完成所有任务之后,有一个链接到此控制器的按钮称为Profileresult.php,但即使我没有代码,但令我惊讶的是我遇到了此错误。
这是错误。
遇到PHP错误
严重程度:警告
消息:session_start():无法发送会话缓存限制器-标头已发送(输出从/home3/oep2732/public_html/knowyourscore/application/controllers/Profileresult.php:1开始)
文件名:Session / Session.php
行号:140
回溯:
文件:/home3/oep2732/public_html/knowyourscore/index.php行:315功能:require_once
我创建了一个名为Profileresult.php的控制器
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Profileresult extends CI_Controller {
public function index()
{
}
}
?>
Run Code Online (Sandbox Code Playgroud)