Forum Moderators: open

Message Too Old, No Replies

Making a popunder

Making a pop-under

         

nolimit966

10:37 pm on Jul 10, 2003 (gmt 0)

10+ Year Member



Ive been searching all over for a simple popunder javascript for my site. I need to make a html popup that will either auto Hide itself Off screen somewere or either Minimize itself somehow. Is it possible?
if not is it possible to make a popup that that cant be closed - like theres no close button in the corner?
Sounds a funny question but its for a much needed cause.
I really hope u can help me out
Cheers
nolimit

Chndru

10:40 pm on Jul 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



is it possible to make a popup that that cant be closed - like theres no close button in the corner?

sheesh..i hate those no X pops. I just press Alt-F4 :)

nolimit966

10:47 pm on Jul 10, 2003 (gmt 0)

10+ Year Member



i know!
I usually ALt CTRL Del em.
Its nothing like that though - Honestly - the windw is only 1x1 in size - its not even big enough for text!
Its for a counter. - LONG STORY!
ANy help? cheers
ill explain later if anyone really wants to hear

Symbios

11:12 pm on Jul 10, 2003 (gmt 0)

10+ Year Member



Will this help;

<script>
var popunder="pop.html"
var once_per_session=1
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset!= -1) { // if cookie exists
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function loadornot(){
if (get_cookie('popunder')==''){
loadpopunder()
document.cookie="popunder=yes"
}
}
function loadpopunder(){
win2=window.open(popunder)
win2.blur()
window.focus()
}
if (once_per_session==0)
loadpopunder()
else
loadornot()
</script>

nolimit966

11:25 pm on Jul 10, 2003 (gmt 0)

10+ Year Member



yea thats it, but how do i have it so that theres no tool bars and the window is only 1x1 in size?