HTML Help - Popup windows
#1
Scooby Regular
Thread Starter
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes
on
0 Posts
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
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
#2
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
Serioulsy have you tried looking at some **** site source code to see how they do pop-ups. errr or so my mate suggested.
Deano
#3
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>
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>
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