Re: [WSG] new window losing it's anchor place

2004-06-08 Thread Lachlan Hardy
Phillips, Wendy wrote:
The page that opens in the new window has a number of anchor links - 
this is just one of them. I've tried changing to different anchors and 
the same problem occurs, unless it is the last anchor on the page and 
there is no where else for the window to shift to. I can only presume 
it's something to do with the window refreshing itself when it is resized?
Yep. More to the point, the page does NOT refresh when the window is
resized. Why? Because there is no link between the state of the page and
the state of the browser window. So you'll have to create one
Since you're already using JS, you can probably figure something out
with that. Now I'm no JS-head, but I reckon something like this might do
the trick :
body onResize=location.reload();
Stuffed if I know how standards-compliant that is, though (seeing as I
avoid JS like the plague!)
Good luck!
Lachlan
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
* 



RE: [WSG] new window losing it's anchor place

2004-06-07 Thread Jeff Lowder - Accessibility 1st
Title: RE: [WSG] new window losing it's anchor place






Hi Wendy

1. Where is #how_work on the page?

2. You should also add onkeypress=window.open(this.href, 'popupwindow', 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=300,height=300'); return false; just to make sure it's available via keyboard only.

Cheers 

Jeff Lowder

Accessibility 1st

Website: www.accessibility1st.com.au

Blog: www.accessibility1st.com.au/journal/


-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Phillips, Wendy

Sent: Tuesday, 8 June 2004 2:32 PM

To: [EMAIL PROTECTED]

Subject: [WSG] new window losing it's anchor place

I'm using the recommended accessible way to open a new browser window (yes, I know but it's an elearning module and we have to link out to internal content so learners can view reference material without losing their place, plus they are quite used to this method).

However, I'm finding that if the window is opened small to an anchor on the opened page, when the window is resized, the content in the window changes to another section of the page - about a half page worth downwards

a href="" href="http://www.cdn.telstra.com.au/cc-foss/url/1product/isdn2blcomplete.htm#how_work">http://www.cdn.telstra.com.au/cc-foss/url/1product/isdn2blcomplete.htm#how_work  'popupwindow', 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=300,height=300'); return false;

any fixes welcome...

WP

 Wendy Phillips

 Job Ready (Learning  Development) 

 Customer Sales  Service

 ___

*

The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm

for some hints on posting to the list  getting help

* 




RE: [WSG] new window losing it's anchor place

2004-06-07 Thread Phillips, Wendy
Title: RE: [WSG] new window losing it's anchor place



Not 
sure how onkeypress would interfere with other similar links on the page - the 
link can be tabbed to and therefore works via keyboard only.

The 
page that opens in the new window has a number of anchor links - this is just 
one of them. I've tried changing to different anchors and the same problem 
occurs, unless it is the last anchor on the page and there is no where else for 
the window to shift to. I can only presume it's something to do with the window 
refreshing itself when it is resized?

WP


  Wendy Phillips 
  Job Ready (Learning  
  Development) Customer Sales 
   Service___ 

  -Original Message-From: Jeff Lowder - Accessibility 
  1st [mailto:[EMAIL PROTECTED]Sent: Tuesday, 8 
  June 2004 2:54 PMTo: [EMAIL PROTECTED]Subject: 
  RE: [WSG] new window losing it's anchor place
  Hi 
  Wendy
  1. 
  Where is 
  #how_work on the page?
  2. You should 
  also add onkeypress="window.open(this.href, 'popupwindow', 
  'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=300,height=300'); 
  return false;" just to 
  make sure it's 
  available via keyboard only.
  Cheers 
  
  Jeff 
  Lowder
  Accessibility 
  1st
  Website: www.accessibility1st.com.au
  Blog: www.accessibility1st.com.au/journal/
  -Original 
  Message-
  From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
  On Behalf Of Phillips, Wendy
  Sent: Tuesday, 
  8 June 2004 2:32 PM
  To: 
  [EMAIL PROTECTED]
  Subject: [WSG] 
  new window losing it's anchor place
  I'm using the 
  recommended accessible way to open a new browser window (yes, I know but it's 
  an elearning module and we have to link out to internal content so learners 
  can view reference material without losing their place, plus they are quite 
  used to this method).
  However, I'm 
  finding that if the window is opened small to an anchor on the opened page, 
  when the window is resized, the content in the window changes to another 
  section of the page - about a half page worth downwards
  a href=""http://www.cdn.telstra.com.au/cc-foss/url/1product/isdn2blcomplete.htm#how_work">http://www.cdn.telstra.com.au/cc-foss/url/1product/isdn2blcomplete.htm#how_work" 
  
  any fixes 
  welcome...
  WP
   Wendy 
  Phillips
   Job Ready 
  (Learning  Development) 
   Customer 
  Sales  Service
   
  ___
  *
  The discussion 
  list for http://webstandardsgroup.org/
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints 
  on posting to the list  getting help
  *