Re: SUMMARY: Spelling out acronyms at first mention

Subject: Re: SUMMARY: Spelling out acronyms at first mention
From: "R A Downey" <rdowney -at- Matrox -dot- COM>
To: <Gilda_Spitz -at- markham -dot- longview -dot- ca>, "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Fri, 13 Oct 2000 11:38:30 -0400

Well - yes you can generate a popup-window, except that you have to realize,
what you are really launching is a second browser window.

There are two ways to do it:
-------------
with javascript (this was taken from
http://javascript.internet.com/generators/popup-window.html - it's a
javascript code generator that takes some of the sting out of programming it
by hand.)
<!-------------CUT HERE------------->
<!-- TWO STEPS TO INSTALL POPUP WINDOW:

1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Idea by: Nic Wolfe (Nic -at- TimelapseProductions -dot- com) -->
<!-- Web URL: http://fineline.xs.mw -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "',
'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=6
40,height=480,left = 320,top = 272');");
}
// End -->
</script>


<!-- STEP TWO: Use the following link to open the new window -->

<A HREF="javascript:popUp('filename')">Open the Popup Window</A>

<!-- Script Size: 0.73 KB -->

// End hiding script from old browsers -->
</SCRIPT>
<!-------------END CUT------------->

This opens a new browser window with the toolbar, scrollbars, location,
statusbar, and menubar. It is resizable, and located in the center of your
screen.


-------------
with html coding (this is taken from
http://www.idocs.com/tags/linking/_A_TARGET.html)
-------------
Attribute for <A ...>
TARGET = "_blank" | "_parent" | "_self" | "_top" | window name
TARGET controls where the new document will be displayed when the user
follows a link. Most of the time, clicking on a link simply loads a new
document in the same window where the link was. However, with TARGET, you
can have the new document open in a new window, or if you are using frames,
in another frame.

You can target a frame by a name you have assigned it. (See our frames page
for how to use and name frames.) TARGET also has four predefined values,
which can be used as if certain windows and frames already have names
without you having to assign them:

"_blank" " opens the new document in a new window. Note: Some versions of
MSIE have a bug which renders anchors using "_blank" inoperative.
"_parent" "_parent" is used in the situation where a frameset file is nested
inside another frameset file. A link in one of the inner frameset documents
which uses "_parent" will load the new document where the inner frameset
file had been. (to get from your popup back to the one that spawned it,
you'd use the parent tag)
"_self" " puts the new document in the same window and frame as the current
document. "_self" works the same as if you had not used TARGET at all.
"_top" "_top" loads the linked document in the topmost frame... that is, the
new page fills the entire window.

"windowname" window name is used to put the linked document in a frame or
window other than the frame the link is in.

Note that each of predefined names starts with an underscore ("_"). They
also must be in all lower-case letters.

Sample <A HREF="gohere.html" Target=NewWindow>

Hope this helps
---
Rebecca Downey
Matrox Networks
Technical Writer
e-mail: rdowney -at- matrox -dot- com
web: http://www.matrox.com/networks








Previous by Author: [OT] Technically speaking (maybe)
Next by Author: Newbee looking for advice
Previous by Thread: Re: SUMMARY: Spelling out acronyms at first mention
Next by Thread: RE: SUMMARY: Spelling out acronyms at first mention


What this post helpful? Share it with friends and colleagues:


Sponsored Ads