problems with huge files? look at http://selmiak.bplaced.net/games/c64/index.php?lang=de&game=turrican&page=level&level=4-3&fs=true and try to scroll
your stupid 'forum' made me stuff all into the headline already.
Just look at
and try to scroll with the scrollbars. Could be because of the frameset, could also be that FF refreshes the complete image with every scroll move. Please fix this =)
Eminye Imininingwane Yohlelo
- Shockwave Flash 11.1 r102
- The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
- Version 1.1.11, copyright 1996-2011 The VideoLAN Teamhttp://www.videolan.org/
- Plugin for Wacom tablets.
- Wacom Dynamic Link Library
- Unity Player 3.3.0f4
- Adobe Shockwave for Director Netscape plug-in, version 11.5
- Foxit Reader Plug-In For Firefox and Netscape
- I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
This may not work as expected because of some of the errors in the html of the page. I'd report this to the website owner. In the meantime, if you right-click on the image and select "view image" (first choice) it will open up the image by itself. http://selmiak.bplaced.net/games/c64/turrican/img/lvl4-3.png Then click the magnifying glass on the part of the image you'd like to zoom into and it will work as expected.
thanks. Actually I am the website owner and wonder why it is not working anymore. it worked with FF 10 and still works with opera and chrome.
Where are there html errors? This is just a huge image inside a frame. The frame is there to have navigation elements while the image behaves just like when viewing only the image, like you suggested.
If you want to say now, frames should not be used anymore, well, the same thing appears inside iframes too: http://selmiak.bplaced.net/games/c64/index.php?lang=de&game=turrican&page=level&level=4-3#
Okulungisiwe ngu selmiak
Here's a link to the page run through the W3C validator http://tinyurl.com/82agxpl I don't know if fixing those errors will make the page display correctly but it's a start. Also you can find documentation about coding on our site for developers - https://developer.mozilla.org and a good place to ask questions of this type is http://stackoverflow.com
It's not usually considered good form to put imgs in their own frames (iframes or otherwise).
Instead, make a basic HTML page (just put the image inside some <img> tags)... this should at least make the page consistent across browsers (although it's unclear if that's the behavior your looking for).
Okulungisiwe ngu Cheng Wang
okay, making it validate flawless didn't bring the results I wanted, but made me improve the html (had an closing bracket where there should be an opening one and so on). So I took out 1 optimization so there is still one error in the html with frameset but i need a zero border, otherwise the frameset is draggable in FF.
putting the image in tags with width and height worked, but now there is no zoomed out version first. Gonna look into the JS code for zooming images over the weekend, but hey, it worked without problems before in FF 10...
thanks a lot =)
Ok, dug into this for you. The thing that "broke" this for you is the change in Firefox 11 to use a grey background centered image for image-only pages. What happens when an image is by itself in a frameset/iframe is undefined so Firefox just defaults to treating it like a bare image. In Firefox 10, this was a blank page with the scaled image in the top left. In Firefox 11, the image is centered with a dark grey background (but in your frame it keeps wanting to show the top left so you get grey edges.)
Essentially, you did something unsupported (and bad form) and that behavior broke when we optimized image viewing for the more common usecases.
but adding styles to a single image is not mentioned by the w3c anywhere, and there firefox is claiming to support w3c recommendations better than iE ... ;)
so now I need a workaround for FF like I used to do for iE and finally dropped it 2 years ago and just thought screw these iE6 users and MS? Why do you do this to me? just a little bit offtopic, but where can I rant about stupid changes in FF? This 'forum' is more like one of these really old ~2000AD bulletinboards with treestructure und I don't get it. I can image there are lots of total noobs and spambot coming in here EVERY day, probably more than I can imagine and some defense is needed but the forums are more userunfriendly than firefox could ever get.
So.... *breath* do you know any JS or php code to detect that the browser is FF with this great new single image view feature and then style the image to just be the image with some css !important maybe?
...or is it possible to have a navigation AND the image as it would be without any tags and html at all WITHOUT a frameset? I don't like framesets actually, but this was the only solution I could come up with for this kind of zoomed out display and click on it where you want to view and voila :)
The w3c doesn't say anything about what user agents should do with regards to single images (it definitely doesn't say they should be zoomed out... which is the feature you're exploiting).
This forum is actually pretty well maintained and doesn't have spambots. But Firefox devs don't read it; so there's that. You're more than welcome to rant here but I'm not sure how much it'd be read.
You don't want to style the image... basically anything you do to the image is going to require having it on a page which is going to cause Firefox to not use the default behavior. So it won't zoom out to fit (or if you specify img height or width, it'll scale without the ability to zoom in).
Instead, look at the JS I linked you. It's a library so it works on all browsers and it's well supported with graceful fallbacks.