473,763 Members | 1,883 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open window full size without javascript

Hello;

Here is what I wish to do:

Click on a PDF link and have it open as a full screen window - not as
a predetermined size.

Sounds simple?

I want to run the command from within the href only. I don't want to
have to create an HTML page for each PDF file.

This is the link.

<a href="pdf-PPT/05_70857_PPT30x 80.pdf" target="_blank"
onClick="open(' pdf-PPT/05_70857_PPT30x 80.pdf','miniwi n','toolbar=0,l ocation=0,direc tories=0,status =1,titlebar=1,m enubar=0,scroll bars=0,left=0,t op=0,screenX=0, screenY=0');
return false;".....

Thanks in advance...
Jul 23 '05 #1
7 7606
In article <a0************ **************@ posting.google. com>, ma***@wssl.com
enlightened us with...
Hello;

Here is what I wish to do:
Are you sure your users want it?

Click on a PDF link and have it open as a full screen window - not as
a predetermined size.
What do you really mean by fullscreen?
Most people HATE fullscreen. Did you really mean maximized?

Sounds simple?


Sound irritating.
I never use my full browser screen for one window.
It's never a good idea to mess with people's windows unless it is an
application where you know your users and they asked for it.

Clarify what you want...real fullscreen is different from maximized.

--
--
~kaeli~
You can't have everything. Where would you put it?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2
On 8 Nov 2004 10:30:03 -0800, Mark wrote:
Here is what I wish to do:

Click on a PDF link and have it open as a full screen window - not as
a predetermined size.

Sounds simple?


Sure. E.G. If using IE, hit F-11.

Now, if you mean you wish to force a (pop-up) window to full-screen
on my box, I'd add 'Leave *my* browser the hell alone, and stop
using pop-ups. I know how to get new windows whenever I want them'.

HTH

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #3
DU
Mark wrote:
Hello;

Here is what I wish to do:

Click on a PDF link and have it open as a full screen window - not as
a predetermined size.

Sounds simple?

Sounds like a very bad idea, irritating users. PDF on top of all this!
It takes long to load, long to run, requires much on the users' system
resources and often the pdf resource is big (over 100KB).
I want to run the command from within the href only. I don't want to
have to create an HTML page for each PDF file.

This is the link.

<a href="pdf-PPT/05_70857_PPT30x 80.pdf" target="_blank"
onClick="open(' pdf-PPT/05_70857_PPT30x 80.pdf','miniwi n','toolbar=0,l ocation=0,direc tories=0,status =1,titlebar=1,m enubar=0,scroll bars=0,left=0,t op=0,screenX=0, screenY=0');
return false;".....

Thanks in advance...

I agree entirely with what kaeli and A. Thompson replied to you.
Your link is incoherent also: you strictly want an unnamed window but,
at the same time, you are naming it miniwin. On top of that, you want to
create a crippled window which is as bad as a fullscreen browser window.
You do not even notify in advance your users that clicking such link
opens up a .pdf resource in a non-reusable, non-recyclable secondary window.
Your webpage design should address several usability and accessibility
issues first.

DU
--
The site said to use Internet Explorer 5 or better... so I switched to
Mozilla 1.7.3 :)
Jul 23 '05 #4
DU <dr*******@hotN OSPAMmail.com> wrote in message news:<2v******* ******@uni-berlin.de>...
Mark wrote:
Hello;

Here is what I wish to do:

Click on a PDF link and have it open as a full screen window - not as
a predetermined size.

Sounds simple?


Sounds like a very bad idea, irritating users. PDF on top of all this!
It takes long to load, long to run, requires much on the users' system
resources and often the pdf resource is big (over 100KB).
I want to run the command from within the href only. I don't want to
have to create an HTML page for each PDF file.

This is the link.

<a href="pdf-PPT/05_70857_PPT30x 80.pdf" target="_blank"
onClick="open(' pdf-PPT/05_70857_PPT30x 80.pdf','miniwi n','toolbar=0,l ocation=0,direc tories=0,status =1,titlebar=1,m enubar=0,scroll bars=0,left=0,t op=0,screenX=0, screenY=0');
return false;".....

Thanks in advance...

I agree entirely with what kaeli and A. Thompson replied to you.
Your link is incoherent also: you strictly want an unnamed window but,
at the same time, you are naming it miniwin. On top of that, you want to
create a crippled window which is as bad as a fullscreen browser window.
You do not even notify in advance your users that clicking such link
opens up a .pdf resource in a non-reusable, non-recyclable secondary window.
Your webpage design should address several usability and accessibility
issues first.

DU


Okay - first of all - thanks for wasting my time. If you don't know
how to help me, shut yer yap. Morons.

Secondly, I would like a maximized window, not full-screen. My fault
for not clarifying.

Thirdly, if you don't define a name for the window, the browser locks
up on after clicking the link.

Lastly, who said anything about website design? This is for a CD that
will be given out to a small handfull of people, all of which we know
personally, and I assure you that none of you are them. So don't worry
about being annoyed.
Jul 23 '05 #5
On 9 Nov 2004 06:48:54 -0800, Mark <ma***@wssl.com > wrote:

[snip]
Okay - first of all - thanks for wasting my time.
If you don't post a clear question, it is *you* that is wasting *our* time.
If you don't know how to help me, shut yer yap. Morons.
To call them morons is not wise. Insulting people for your errors won't
yield answers and will probably get you ignored.

[snip]
Thirdly, if you don't define a name for the window, the browser locks
up on after clicking the link.
What DU was referring to is that the target attribute would create an
unnamed window, whilst the script would create a named one, so why not
have them refer to the same window? If it doesn't exist, the user agent
should create it with either approach. Alternatively, use _blank for both
to create new windows every time:

<a href="..." target="_blank"
onclick="window .open(this.href , this.target, '...');return false;">
Lastly, who said anything about website design?


The *vast* majority of questions refer to a Web environment, and unless
the poster states otherwise, that is the assumed circumstance. If you have
a more restrictive audience then it is up to you to say so otherwise you
won't receive the correct advice.

[snip]

By the way, I fail to see where the "without javascript" part of your
subject comes into your original post. Perhaps you meant "with javascript".

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #6
In article <opsg7ecwd6x13k vk@atlantis>, M.******@blueyo nder.co.invalid
enlightened us with...
On 9 Nov 2004 06:48:54 -0800, Mark <ma***@wssl.com > wrote:

[snip]
Okay - first of all - thanks for wasting my time.


If you don't post a clear question, it is *you* that is wasting *our* time.
If you don't know how to help me, shut yer yap. Morons.


To call them morons is not wise. Insulting people for your errors won't
yield answers and will probably get you ignored.


Yeah, pretty much.
I know how to do it, but after that little diatribe, I'll be darned if I'm
going out of my way to bother to post the solution.

This group assumes questions apply to the internet unless otherwise stated. I
believe that's in the FAQ for this group, too...
2.2 What questions are off-topic for clj?

clj deals with ECMAScript languages, so any questions about JavaScript or
JScript are welcome - however the group has a majority of questions about
using javascript in a web browser, please make it obvious which type of host
you are using javascript in.
Perhaps that should be modified from "what type of host" to "what type of
environment"...
Of course, I'd bet the OP didn't bother to READ the FAQ anyway. ;)

--
--
~kaeli~
She was engaged to a boyfriend with a wooden leg but broke
it off.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #7
DU
Mark wrote:
DU <dr*******@hotN OSPAMmail.com> wrote in message news:<2v******* ******@uni-berlin.de>...
Mark wrote:

Hello;

Here is what I wish to do:

Click on a PDF link and have it open as a full screen window - not as
a predetermined size.

Sounds simple?

Sounds like a very bad idea, irritating users. PDF on top of all this!
It takes long to load, long to run, requires much on the users' system
resources and often the pdf resource is big (over 100KB).

I want to run the command from within the href only. I don't want to
have to create an HTML page for each PDF file.

This is the link.

<a href="pdf-PPT/05_70857_PPT30x 80.pdf" target="_blank"
onClick="ope n('pdf-PPT/05_70857_PPT30x 80.pdf','miniwi n','toolbar=0,l ocation=0,direc tories=0,status =1,titlebar=1,m enubar=0,scroll bars=0,left=0,t op=0,screenX=0, screenY=0');
return false;".....

Thanks in advance...

I agree entirely with what kaeli and A. Thompson replied to you.
Your link is incoherent also: you strictly want an unnamed window but,
at the same time, you are naming it miniwin. On top of that, you want to
create a crippled window which is as bad as a fullscreen browser window.
You do not even notify in advance your users that clicking such link
opens up a .pdf resource in a non-reusable, non-recyclable secondary window.
Your webpage design should address several usability and accessibility
issues first.

DU

Okay - first of all - thanks for wasting my time. If you don't know
how to help me, shut yer yap. Morons.


Rudeness and name-calling will not bring you help in any way in
newsgroups: they'll help you get censored, ignored, filtered.
We're all volunteering our time trying to first figure out what is the
whole issue with your post: if you want helpful feedback, then best is
to provide specific, clear, useful info regarding the whole issue. If
you want vague, evasive, obscur answers, then just post a few words with
general description.
Secondly, I would like a maximized window, not full-screen. My fault
for not clarifying.

Are you saying that your post cause several others to waste their
volunteer time trying to answer you?
Thirdly, if you don't define a name for the window, the browser locks
up on after clicking the link.

I have no idea what you're talking about. Your link as coded is
incoherent, inconsequent.
Lastly, who said anything about website design? This is for a CD that
will be given out to a small handfull of people,
Are you saying we should also be mind reading you over the internet?

all of which we know personally, and I assure you that none of you are them. So don't worry
about being annoyed.


Here's more annoyance and time waste for your personal friends:

PDF: Unfit for Human Consumption
Users Hate PDF
http://www.useit.com/alertbox/20030714.html

Avoid PDF for On-Screen Reading
http://www.useit.com/alertbox/20010610.html

"Use link titles to provide users with a preview of where each link will
take them, *before* they have clicked on it."
Ten Good Deeds in Web Design
http://www.useit.com/alertbox/991003.html

"You always need to provide an *explicit warning when linking to files
in any other format than HTML* for at least two reasons:
o the user may not have the necessary software installed and it is very
impolite to make them wait (these files are usually bigger than simple
HTML) for something they can't use
o the non-standard file format will cause a non-standard behavior: for
example, a PDF file will start up Acrobat (if the user has it installed,
of course), thus giving users a nasty surprise in terms of an even
longer wait and the appearance of new and different interface controls"
J. Nielsen
Linking to Non-Standard Files Without Warning
http://www.useit.com/alertbox/990530_comments.html

DU
--
The site said to use Internet Explorer 5 or better... so I switched to
Mozilla 1.7.3 :)
Jul 23 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
15363
by: Archi | last post by:
Hi. All. I need open a browser (IE5.5 or letter) to full screen like F11 pressed. I use a little trick. Open new window, and close old: var win = window.open('index.aspx','',"channelmode=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,titlebar=no,resizable=no"); opener=self; window.close(); This code open window WITH titlebar!!!! If i close it and open new - it without... WHY? I need it without titlebar in firsttime! What I can do?
2
4137
by: venkatesh | last post by:
Hi Members, I have used the below mentioned code to open a html page in a new browser. The window size is 200 x 300. In that browser, I've given code to open another browser of the same size. However, this is not happening in IE 5. Can anyone help me solve this problem? Code: Script:
1
1411
by: Bettina Costa | last post by:
Hello, Your help was very useful last time, so I ask you again... may I? I have 2 problems: 1) I don't know why, but sometimes, when I open Internet Explorer, the browser opens itself in a reduced size, so that I have to maximize the window to see it at full size, and sometimes it opens at full size. Is somewhere a setting saved up that can explain what happens? I would like
4
651
by: Phillip Parr | last post by:
Hello, I have a nice system where someone clicks on a picture to show the full version. This pops up in a window.open box. It works great, the only problem is that if the user clicks a second picture before closing the first then the new picture loads into the original popup box which is often a different size. How can i make them open in their own popup windows? Thanks
29
5025
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the window properly but does not pass the parameter. (this is part of a coldfusion template) <a href="##"
6
8994
by: Mateo | last post by:
Hi! I tried to open page in new window with window.open(...) method. open() method supports fullscreeen mode, but I would like to open new maximized window with tiltle bar only.... Any idea how to do this? Can I maximize window from current page after it is opened with window.open?
6
34287
by: Jack | last post by:
I have a main webpage that has a list of records, each with a link to a window.open function call. As an example, a page that opens is editrecord.aspx?RecordID=34, and another is editrecord.aspx?RecordID=52. If the user starts changing the contents of the opened window, and then leaves it open and goes back to the main page, refreshes the list, and clicks on the same record link again, it reloads the contents of the page the user had...
3
2913
by: Mike | last post by:
When I run my web app via the IDE, it opens up IE maximized (full screen) then when the page gets ready to load it shrinks down my IE window. Is there a way to keep IE to a full screen?
0
9566
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10149
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9943
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9828
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8825
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5410
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3918
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3529
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.