Mordechai Pellar wrote:
Very nice, though it would be even nicer were your JavaScript to be
external.
Here's one way of doing that...
In your (X)HTML, assign a class of popup to any links that you want
to open in a new window:
a href=foo.bar class=popuplink text/a
Then in a JavaScript file
Hi,
So the most standards compliant method would be loading each portfolio
piece into a new window without JS. So if this is the case, why have so
many sites resorted to the carnival that is often JS, with window upon
window soaking up screen real estate?
C
On Sunday, October 24, 2004, at
Chris Kennon wrote:
So the most standards compliant method would be loading each portfolio
piece into a new window without JS. So if this is the case, why have so
many sites resorted to the carnival that is often JS, with window upon
window soaking up screen real estate?
Simple answer: because
ALA has a fantastic article on creating accessible Popups - and I use
their method of calling content to the same window name for things
like portfolio pieces and larger images of product items.
It degrades very nicely if JS is disabled, and scales well. Loading
everything into the single window
Chris Kennon wrote:
So the most standards compliant method would be loading each portfolio
piece into a new window without JS.
Perhaps I've misunderstood you here. Do you man the same window or a
new window?
If you mean a new window then the only way you can do it without
JavaScript is to use
Hi,
Just what the was desired!
C
On Monday, October 25, 2004, at 04:30 PM, Natalie Buxton wrote:
ALA has a fantastic article on creating accessible Popups - and I use
their method of calling content to the same window name for things
like portfolio pieces and larger images of product items.
It
Chris Kennon wrote:
I dread the use of JS pop up windows, but would like to keep the page
count down,
Besides being potentially inaccessible to those without JavaScript
(unless done correctly) or XP SP2, and annoying to those where it does
function (again, depending on how and where it's
Hi,
It doesn't keep page count down after thinking about it, can you direct
me to the correct solution you alluded to.
C
On Saturday, October 23, 2004, at 11:30 PM, Mordechai Peller wrote:
Chris Kennon wrote:
I dread the use of JS pop up windows, but would like to keep the
page count down,
Chris Kennon wrote:
It doesn't keep page count down after thinking about it, can you
direct me to the correct solution you alluded to.
First and foremost, start with a plain link: a
href=http://other.domain.com/;Someplace else./a
Then, and only then, (if you must) assign to the node's onclick
Hi Chris,
The semi-accessible way of creating JavaScript pop-ups would go something
like this:
Create a js function called popWindow() or somesuch, with all the relevant
code to create your pop-up window. Your HTML code would then look something
like this:
a href=myWindow.html
Kevin Futter wrote:
a href=myWindow.html onclick=popWindow('myWindow.html'); return
false;Click here/a
Small modification: use popWindow(this.href) to refer back to the A
element's HREF attribute. This way, if you change the href at some
point, you won't have to remember to change the javascript
On 25/10/04 12:13 PM, Patrick H. Lauke [EMAIL PROTECTED] wrote:
Kevin Futter wrote:
a href=myWindow.html onclick=popWindow('myWindow.html'); return
false;Click here/a
Small modification: use popWindow(this.href) to refer back to the A
element's HREF attribute. This way, if you change the
Patrick H. Lauke wrote:
Small modification: use popWindow(this.href) to refer back to the A
element's HREF attribute. This way, if you change the href at some
point, you won't have to remember to change the javascript as well, as
it will automatically pick it up...
I had forgotten about that
Hi,
Beginning the redesign for winter, the biggest issue is with creating a
standards compliant portfolio section. I dread the use of JS pop up
windows, but would like to keep the page count down, what suggestions,
or examples are on the menu?
Imagination is more important than knowledge.
14 matches
Mail list logo