|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is it possible to open a new window with the <a href"whatever.html">link </a> command but the new window should open without toolbar, scrollbar etc.
Any idea's? Dave |
|
#2
|
|||
|
|||
|
Yes its possible but you will use Javascript to do it. Here is a script I wrote that enables you to use the same function over and over.
<html> <head> <title>Opening Multiple Popup Windows</title> <script language="javascript"> <!--// function myPopup(url,windowname,w,h,x,y){ window.open(url,windowname,"resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no,width="+w+",height="+h+",left="+x+",top="+y+""); } //--> </script> </head> <body> <!-- Inside the parenthesis the order goes URL, window name, width, height, position from left, position from top--> <!-- Note that by giving each popup window a different name each page will open in a seperate popup window--> <a href="javascript:myPopup('http://www.cnn.com', 'CNN','300','300','10','300')">Open popup 1</a> <br> <a href="javascript:myPopup('http://www.abc.com', 'ABC','300','300','100','300')">Open popup 2</a> <br> <a href="javascript:myPopup('http://www.nbc.com', 'NBC','300','300','200','500')">Open popup 3</a> </body> </html> Spookster |
|
#3
|
|||
|
|||
|
Thnx, it works!!!
Dave |
|
#4
|
|||
|
|||
|
Since you're talking about scroll bars, I wonder if you could help me.
I've built a web page with a very wide table (it has to be due to amount of data I want to display). The only problem is, IE 5 fails to make available a horizontal scroll bar, thereby rendering most of the data unavailable for viewing. In contrast, Netscape 4.7 happily displays a horizontal scroll bar. Strange, because it's normally Netscape which 'errors' long before IE does. Here's an example: http://www.squashleagues.com/squashwa/test.htm This page (above) has been generated using PHP, but that shouldn't make a difference so long as the HTML output is valid (which I believe it is). I presume this is an error with IE. So my question is this: Is there a way to FORCE a horizontal scroll bar? Or maybe someone can see what I'm doing wrong? Thanks, Ross. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > opening new window without toolbar, scrollbar etc. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|