Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

HTML Help - Popup windows

Thread Tools
 
Search this Thread
 
Old Apr 9, 2002 | 10:38 PM
  #1  
IWatkins's Avatar
IWatkins
Thread Starter
Scooby Regular
 
Joined: Mar 2000
Posts: 4,531
Likes: 0
From: Gloucestershire, home of the lawnmower.
Question

Hi All,

Struggling with this one.

I need to provide a link to a webpage. I want this webpage to automatically open a small popup with just the title bar and for this popup to load a HTML page.

Now the tough bit. As soon as the popup appears, I want the original page to disappear/close.

I'm trying to allow a small popup to appear on screen that will show an image (some server stats) but will not take up all the desktop.

Any help gratefully received.

Cheers

Ian
Reply
Old Apr 9, 2002 | 10:40 PM
  #2  
dsmith's Avatar
dsmith
Scooby Regular
 
Joined: Mar 1999
Posts: 4,518
Likes: 0
Post

Come on - we all know its a pop-up to advertise other **** sites

Serioulsy have you tried looking at some **** site source code to see how they do pop-ups. errr or so my mate suggested.

Deano
Reply
Old Apr 10, 2002 | 01:29 AM
  #3  
HHxx's Avatar
HHxx
Scooby Regular
 
Joined: Nov 2001
Posts: 2,576
Likes: 0
Lightbulb

Can be done, but do you want to?

If you close a browser window created by the user, it will prompt the user via a dialog box asking if they want to close it.

Why not just resize the window when the new page loads?

Using code like this:

<html>
<body bgcolor="#FFFFFF">
<title>Resize Window Thingy</title>

<script language="JavaScript">
<!--
window.resizeTo(500,500)
-->
</script>
This should be 500 x 500
</body>
</html>
Reply
Old Apr 10, 2002 | 10:58 AM
  #4  
stevencotton's Avatar
stevencotton
Scooby Regular
 
Joined: Jan 2001
Posts: 2,710
Likes: 1
From: behind twin turbos
Post

Ugh, prepare to lose all of your audience the minute you employ the use of horrible ******* pop-up windows.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
shorty87
Full Cars Breaking For Spares
19
Dec 22, 2015 11:59 AM
hardcoreimpreza
Computer & Technology Related
21
Oct 11, 2015 03:40 PM
Pro-Line Motorsport
Car Parts For Sale
2
Sep 29, 2015 07:36 PM
shorty87
Other Marques
0
Sep 25, 2015 08:52 PM




All times are GMT +1. The time now is 12:05 AM.