我有使用這樣的JavaScript彈出效果的網站:只有一個彈出...幫助我
<script type="text/javascript">
var GB_ROOT_DIR = "greybox/";
</script>
<script src="greybox/AJS.js" type="text/javascript"></script>
<script src="greybox/AJS_fx.js" type="text/javascript"></script>
<script src="greybox/gb_scripts.js" type="text/javascript"></script>
<link href="greybox/gb_styles.css" type="text/css" rel="stylesheet">
<script language="JAVASCRIPT">
function loadWindow(){
GB_showCenter('Free Report!', 'http://www.signupformlocation.com/popup/signup.php', 420, 570);
}
window.onload = loadWindow;
</script>
但每次我的客人去到首頁,我的彈出總是顯示。如何使這個彈出只顯示一次?
請幫我
嗨kgb,謝謝你的回答... Bytheway ..如何獲得js/jquery.cookie.js?在哪裏下載這些文件並添加到我的服務器? 感謝之前 – Rudi 2010-06-24 10:37:32
jquery.com,更具體地說 - http://plugins.jquery.com/files/jquery.cookie.js.txt。將其保存爲js ... – 2010-06-24 10:46:47
It Works perfect .. 現在..如何設置過期的cookies? – Rudi 2010-06-24 11:03:41