In article <c0**********@s0b1a68.ssa.gov>, "Mel" <me*@redolive.com>
wrote:
can i specify width and height of the popup window in my href ?
Popup window?
something like:
<a href=xxxx width=200 height=200 target=AAA>YYYYYYYYYYY</a>
It is a link, more precisely an 'anchor'. If it's intention was to spawn
windows, one would have called it <window> a certain point in time.
Following the link does not necessarily result in a new window, despite
your intentions as the author. Don't forget, I, the visitor, have a will
of my own and I can decide to open it in a new tab as I often do.
However, what I now can no longer do, due to your affection with
deciding for your visitors how to surf the web, resulting in the
addition of the target attribute, is deciding to open the link _in the
same window_ that the document is in. You take away that choice.
OBVIOUSLY that did not work !
More than you may realize is not working. That needs to change before
your code does.
<http://www.useit.com/alertbox/990530.html>
<http://diveintoaccessibility.org/day_16_not_opening_new_windows.html>
<
http://www.zenhaiku.com/archives/ope...indow_it_depen
ds.html>
<http://www.mentalized.net/journal/2003/03/17/a_targetbad_idea/index.asp>
Opening new windows of a certain size, regardless of whether you should,
happens by javascript. For example:
<a href="foo.html"
onclick="window.open(this.href,'pop','width=200,he ight=200'); return
false;">foo</a>
--
Kris
<kr*******@xs4all.netherlands> (nl)
<http://www.cinnamon.nl/>