开发者

MooFlow image size

I'm a n00b when talking about MooFlow and MooTools. I need to display some high res images(like 1000x6开发者_StackOverflow社区00), however something is going wrong. Check out a screenshot:

http://twitpic.com/3eq15w

I need to display the images in a bigger size. It would be fine if I could only display 800x400 or something like that, but people must be able to see the images decently. Does anyone know a good way to solve that problem?

Thanks!


To get your images popping up in their full glory you'll need to implement some kind of lightbox script, attached to the click event of each image. Check out some available mootools lightbox scripts.

If you want to display the images in a size which is bigger than the users browser resolution, you'll need to either open a new page (and not use a lightbox script) or ensure the lightbox script you use can handle iframes. This iframe solution will give your lightbox scroll bars so the user can access the whole image.

My preferred lightbox solution is shadowbox as it can handle lots of media types and provides iframe support.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜