Re: Finding the center of a possibly scrolled image (stand-alone SVG)

"Richard Pearman" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <F0E3D3722B5748659CB6999FAD6F6AFF@your9k1ay6x2a2>
Hi,

Firefox 19 (isn't this still in beta), well the last one I tested a couple of days ago, has a bug related to height, width and viewBox. This results in files which have height="100%" and width="100%" get displayes as if they had height="75%" and width="75%". This could mean that it's Firefox which is wrong the other browsers displaying for files according to speck.

Richard Pearman       http://www.pixelpalaces.com/
The next stage in the evolution of web comics: http://www.onlinecomics.net/pages/details/listing.php?comicID=4415
Read my Helium articles: http://www.helium.com/users/212199
South Alberta Cactus and succulent society: http://www.facebook.com/group.php?gid=20360241008
Make money from discussing things: http://www.myLot.com?ref=Graptopetalum

  ----- Original Message ----- 
  From: sroush1 
  To: [email protected] 
  Sent: Monday, January 28, 2013 2:09 PM
  Subject: [svg-developers] Finding the center of a possibly scrolled image (stand-alone SVG)


    
  For stand-alone SVG, I am trying to reposition an SVG element in the middle (or top or bottom) of the visible part of the screen, even after scrolling.
  For stand-alone SVG, IE 10, chrome, and Safari do not correctly report window.pageYOffset or window.scrollY. Firefox 19.0 does work.
  Can anyone suggest what I might be doing incorrectly or another way to find the center/top/bottom of a (possibly) scrolled stand-alone SVG image?

  thanks,
  steve

  

[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.