Author Topic: problem with liquid scaling  (Read 2015 times)

senza

  • Newbie
  • *
  • Posts: 2
problem with liquid scaling
« on: July 15, 2009, 05:40:37 pm »
hi, first of all you have done a really good work, than this is my problem: I download version 1.37b all work good but when I set liquid scaling from index.html the book became smaller. I have set from megazine.xml in book tag ->  pageheight="797" pagewidth="561" and with this setting with liquid scaling off (minScale : 1 and maxScale : 1) the height of book is ok; when I put minScale : 0.1 and maxScale : 1, with all the rest unchanged, the book resize automatically and became smaller, I try to change css div.outer with absolute height but this is not a good solution... thank

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: problem with liquid scaling
« Reply #1 on: July 18, 2009, 09:55:40 pm »
I don't get your point?

Of course the book gets smaller if it has to, if the minScale is reduced. That's what it's there for.

Please either post a link to an example where you think it doesn't do what it should, or explain in more detail what you think is wrong.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

ToS

  • Newbie
  • *
  • Posts: 7
    • ToS showcase
Re: problem with liquid scaling
« Reply #2 on: July 23, 2009, 03:26:12 am »
I believe that with liquid scaling, the book gets smaller than expeced/wanted, it is smaller altough it seems that there is no need to.
Solution to this could be setting something like target margin width(but not exactly that).
It's not on wikipedia nd therefore it does not exist.

senza

  • Newbie
  • *
  • Posts: 2
Re: problem with liquid scaling
« Reply #3 on: July 24, 2009, 10:12:18 am »
thank for your reply; I put online 2 file to try to explain better...

http://www.enterframe.it/megazine/bin/index.html
In this page liquid scale is inactive and the page is displayed correct


http://www.enterframe.it/megazine/bin/index2.html
In this page I have activate liquid scale, with this parameter: minScale : 0.1 and maxScale : 1.
If maxscale is = 1 I think that when I open this page I see the page at his 100% size in other words like http://www.enterframe.it/megazine/bin/index.html, but you can see that the page is smaller then his 100%, thanks

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: problem with liquid scaling
« Reply #4 on: July 27, 2009, 05:51:42 pm »
This works just like it should. And no, maxScale = 1 does not mean it starts 100%, it just means it maximally gets 100%. It will always adjust it's size to fit the browser frame. Which it does just fine in your example.

Ergo, not a bug. Unless I misunderstood, in which case please enlighten me. Otherwise I'll lock this thread soon.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.