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 09 April 2002, 10:38 PM
  #1  
IWatkins
Scooby Regular
Thread Starter
 
IWatkins's Avatar
 
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes on 0 Posts
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
Old 09 April 2002, 10:40 PM
  #2  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
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
Old 10 April 2002, 01:29 AM
  #3  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
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>
Old 10 April 2002, 10:58 AM
  #4  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

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



Quick Reply: HTML Help - Popup windows



All times are GMT +1. The time now is 04:49 PM.