SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 18th, 1999, 07:28 AM
Errol
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I want certain linked pages to open in a new window in which the browser has no buttons or scroll bars etc.

I have tried to use the following script, which is giving the correct size window, but the new window still shows all the buttons, address bar and scroll bar. This is in the <head> of the document:

<!-- Hide from old browsers
function floater() {
window.open("","floater","width=640,height=480,scrollbars=no,toolbar=no,left=50,top=25")
}
// Stop hiding from old browsers -->

The actual link is then further down in the text:

<A onClick="floater()" HREF="slideshow.htm"
TARGET="floater">AssetLink Methodology</a>

Any suggestions would be appreciated.

------------------


Thanks a stack, with those additional commands it's now working perfectly.


[This message has been edited by Errol (edited 12-18-99).]

Reply With Quote
  #2  
Old December 18th, 1999, 08:20 AM
Vernon Frazee
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
<script language="JavaScript">
<!--
function floater() {
window.open("","floater",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=640,height=48 0,left=50,top=25 ');
}
-->
</script>

<A onClick="floater()" HREF="slideshow.htm" TARGET="floater">AssetLink Methodology</a>

--

Note: It appears that string beginning with window.open is going to wrap no matter what I do. The string: ');
on the next line down belongs up at the end of the windows.open line.

[This message has been edited by Vernon Frazee (edited 12-18-99).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Browser Window Settings


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway