|  | Posted by Els on 03/24/06 22:43 
Chris Ianson wrote:
 > "Els" <els.aNOSPAM@tiscali.nl> wrote in message
 > news:150hk9chpj0ol.mall80tufd6w$.dlg@40tude.net...
 >> Chris Ianson wrote:
 >>
 >>> £1,000,000* to anyone who is able to actually show a way to do this.
 >>
 >> http://here.locusmeus.com/temp/chris.html :-)
 >
 > Hmm interesting, you've obviously taken the time to try to fix it, thanks. I
 > appreciate that.  Sadly it has the same behaviour as before, at least on IE6
 > & 7.  The whole page scrolls to the bottom when you click a link in the
 > iframe.
 >
 > Did something break,
 
 It works here in IE6 and IE7 and Firefox - it doesn't in Opera, but in
 Opera you can scroll from left to right with the mouse wheel, as long
 as the pointer is on the scrollbar.
 
 I have a second version on http://here.locusmeus.com/temp/chris2.html
 - maybe that one works for you? What version of Windows are you using?
 I tested on WinXP and Win98.
 
 > and what was your proposed solution?
 
 The reason the page jumped down, is that you used "end" as a fragment
 identifier. Even if you wouldn't have a target <a> element with the
 name or id "end", it would still jump down. Just like it jumps to the
 top of the page when you use <a href="#top"> in some (most?) browsers.
 I changed these names to left and right to avoid this problem.
 
 Since the <a> elements were still half way the image, the page would
 jump to that place. So my solution is to place the <a> elements with
 the id/name attributes to the top of the image. And because you seemed
 to like to have the links halfway, I separated links and targets.
 Target <a> left and right at the top, link <a> left and right half way
 the image.
 
 My second version is better btw - there's a weird thing in the first
 version. The second one would also validate against a transitional
 doctype. So.. hope it works for you :-)
 
 --
 Els                     http://locusmeus.com/
 
 Now playing: Spargo - Can You Feel It
  Navigation: [Reply to this message] |