Hi everyone,
I'm by no means a javascript expert, but frequently use a few lines to
create a new browser window in which the actual site can be viewed:
function start(page) {openwin = this.open(page, "ctrlwindow",
"toolbar=no,menubar=no,location=no,scrollbars=no,r esize=no,
width=600,height=500");}
The problem I'm having is that in Netscape this displays perfectly, but
in IE I'm getting scroll bars in every frame of the page. Is there a
simple solution for this or should I just buckle up and finish teaching
myself css? (I'm already using a 0 body-margin css line, which does the
trick in Netscape.) Dropping the frames will probably be a suggestion as
well.
Any information or help would be appreciated. Thanks in advance!
Wolf 2 1011
Wolf and Billie wrote: Hi everyone,
I'm by no means a javascript expert, but frequently use a few lines to create a new browser window in which the actual site can be viewed:
function start(page) {openwin = this.open(page, "ctrlwindow", "toolbar=no,menubar=no,location=no,scrollbars=no,r esize=no, width=600,height=500");}
The problem I'm having is that in Netscape this displays perfectly, but in IE I'm getting scroll bars in every frame of the page. Is there a simple solution for this or should I just buckle up and finish teaching myself css? (I'm already using a 0 body-margin css line, which does the trick in Netscape.) Dropping the frames will probably be a suggestion as well.
Any information or help would be appreciated. Thanks in advance! Wolf
Your window.open I believe should use scrollbars=0 instead of scrollbars=no
Secondly - you say that you are getting scrollbars in every frame - Do
you mean every window, as opposed to every frame (frames can exist
inside windows)? If you mean every frame, then that has something to do
with the <FRAME> and <FRAMESRC> tag and not javascript.
randelld
On Mon, 05 Apr 2004 03:58:18 GMT, Reply Via Newsgroup
<re****************@please.com> wrote: Wolf and Billie wrote:
function start(page) {openwin = this.open(page, "ctrlwindow", "toolbar=no,menubar=no,location=no,scrollbars=no,r esize=no, width=600,height=500");}
[snip]
Your window.open I believe should use scrollbars=0 instead of scrollbars=no
You can use any of
scrollbars=yes
scrollbars=1
scrollbars
to include scrollbars (or any other boolean feature), and any of
scrollbars=no
scrollbars=0
or omit the scrollbars string entirely (the inverse of last line of the
first group) to remove the scrollbars.
[snip]
To the OP: there are very few reasons why you should ever remove chrome
elements from the browser, especially the ability to scroll or resize a
window.
Mike
--
Michael Winter M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Richard Bell |
last post by:
Newbie question ... please respond to group
I'm trying to open/navigate to a url. How can I tell when the page is
fully loaded? Testing suggest that window.open returns before the
page is...
|
by: HarveyB |
last post by:
I would like to generate non-modal popup windows from
ASP.Net code-behind. I have tried using Client Side
scripting like "function Test(){
window.open('test.htm',_blank,...
|
by: JPL Verhey |
last post by:
(i hope somebody (else) will read and have an idea! Thnx)
Hi,
With a script in a popup window, I want to check if certain content is
present in a page loaded into the frame "main" of the...
|
by: anonieko |
last post by:
You can try this code:
>
>
>
>
>
<!--- filename: mypage.html ---->
<html>
....blah blah blah
<script language=JavaScript src=/Javascript/center.js></script>
|
by: gleverett |
last post by:
I have been searching the 'Net, and I can't find the right solution
here. I am writing some PHP pages that utilize some Javascript. The
script works in Mozilla/Netscape, but fails in IE. I don't...
|
by: Paul |
last post by:
Hi I have 2 functions in java script, one opens a second window-this works,
the other is supposed to close this second window, does not seem to be
working. Just wondering if anyone had any ideas....
|
by: yb |
last post by:
Hi,
Is there a standard for the global 'window' object in browsers? For
example, it supports methods such as setInterval and clearInterval, and
several others.
I know that w3c standardized...
|
by: Dave |
last post by:
For some reason, the below lines only work on select machines. All
machines are running IE6. IE SP's and OS's vary. When it doesn't
work, default.aspx (the page that this code is in) opens and...
|
by: Mahernoz |
last post by:
Hi Friends,
I simply want to print a report by opening a popup, calling the print
function and closing the window after the user has printed the
report.
I have 2 functions.... in c#
The...
|
by: Jeremy |
last post by:
Looks like this is either too obvious for anyone to address, or it just
isn't done by anyone. There was a question in early sep this year that no
one replied to, and I don't find any other...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |