[thelist] pop-up window with no numbers in link
aardvark
roselli at earthlink.net
Wed Oct 23 12:17:01 CDT 2002
first, i implore you to read this article, as it discusses why your linking
strategy is probably not very useful for those without JS enabled:
Links & JavaScript Living Together in Harmony
http://evolt.org/links_javascript
so, now, assuming you have a lovely function that allows you to pass the
window size in dynamically (i have one sitting around if needed), you can
modify that function a bit, perhaps by creating an array of known window
sizes...
so if you have 5 different window sizes you'll use on the site (after all,
seldom does *every* window need to be a unique size), map each of those
sizes to a variable, and instead of passing a w/dith/height in your function
call, pass the variable that corresponds to the dimensions you want...
doing the resize event after the window has launched creates a nasty flash,
and immediately fires my window closing finger, because i just assume it's
spam...
> From: "Reuben Whitehouse" <reuben at rocketfuelled.com>
>
> i need to have some links within a body of text that open up seperate
> javascript windows. the issue i have is that i can't have the numbers
> within the link that there usually are (eg. <a
> href="javascript:openNewWindow('pop-up_signup.php','thewin','height=40
> 0,widt h=399,toolbar=no,scrollbars=no')">). reason being i have a
> script that changes any numbers within the body text to being
> <sup></sup>, so when i put the above javascript link in, it messes up
> the numbers and i just end up with a huge pop-up window. does anybody
> know if its possible to do the pop-ups some other way, or know of a
> javascript that'll let you specify the size of the window to be
> popped-up outside of the link?
--
Read the evolt.org case study
Usability: The Site Speaks for Itself
http://amazon.com/exec/obidos/ASIN/1904151035/evoltorg02-20
ISBN: 1904151035
More information about the thelist
mailing list