Current location: Hot Scripts Forums » General Web Coding » JavaScript » Unblockable pop up Window.


Unblockable pop up Window.

Reply
  #1 (permalink)  
Old 05-11-04, 06:12 PM
DaveLauderdale DaveLauderdale is offline
New Member
 
Join Date: May 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Unblockable pop up Window.

Not spamming...just thought someone might find this usefull.

<html>
<head>

<script>

// JS/CSS Pop over script by Dave Lauderdale
// Originally published at: www.digi-dl.com
// This script only works in IE browsers

function showWin() { winDisplay.style.display = ""}
function closeWin() { winDisplay.style.display = "none"}
</script>

</head>
<body onLoad="showWin()">

<table id="winDisplay" cellSpacing="0" cellPadding="0" border="1" width="300" height="200" align="center" bgcolor="white" style="display:none; left:400px; position:absolute; top:200px; border-left: black 1px double; border-right: black 1px double; border-top: black 1px double; border-bottom: black 1px double">
<tr>
<td align="left" valign="top" bgcolor="blue" width="100%" height="10px">
<font color=white size=2 face=arial><b>

<!-- Your page title goes here -->

Your Title Here...

</b></font>
</td>
<td width="10px" height="10px" bgcolor="red" align="right">
<font color="white" size="3" face="arial"><span onclick="closeWin()" style="cursor:hand" title="Click here to close this window"><b>X</b></span></font>
</td></tr>
<tr>
<td colspan="2">

<!-- Your window content here goes -->

<font color=black size=2 face=arial><b>
<center>Your Content Here...</center></b>
</font>


</td></tr></table>

</body></html>
Reply With Quote
  #2 (permalink)  
Old 05-15-04, 02:25 PM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
Not sure if that's a true pop-up since it's not in its own window... but I'm sure it can irritate a lot of people...

Last edited by TwoD; 05-15-04 at 02:30 PM.
Reply With Quote
  #3 (permalink)  
Old 05-26-04, 08:55 AM
DaveLauderdale DaveLauderdale is offline
New Member
 
Join Date: May 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by TwoD
Not sure if that's a true pop-up since it's not in its own window... but I'm sure it can irritate a lot of people...
Yes a true 'pop up' but not a true 'window'.

This is nothing cutting edge in fact much more interesting effects can be done with Perl.

ALL pop ups are annoying. I do not use them I just write with the code. If a webmaster wants to drive away visitors with stupid ads and the like then he is free to do so.

Dave
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
window on webpage nick1 CSS 6 05-17-04 03:25 AM
window on webpage nick1 JavaScript 3 05-09-04 02:12 PM
window on page that displays announcement nick1 HTML/XHTML/XML 1 05-09-04 11:02 AM
window on webpage nick1 Script Requests 1 05-08-04 06:34 PM
window on webpage nick1 Everything Java 1 05-06-04 11:03 AM


All times are GMT -5. The time now is 02:16 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.