×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Fluid Width and Height

Fluid Width and Height 12 years 9 months ago #13114

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
Hi Daniel,

Is it possible to have a fluid height for the map so that it fits the users screen rather than the current 'Height of the map div'?

Thanks,

Bruce.

Fluid Width and Height 12 years 9 months ago #13119

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Not really...
It is a complicated problem. You can read this: www.tutwow.com/htmlcss/quick-tip-css-100-height/ an experiment here: jsfiddle.net/compojoom/nKuhT/

I can easily set the map height to 100%, but then since your template doesn't have a height of 100% in the body and html, I'll pretty much make this div as big as itself - since this div is containing dynamic content and has nothing in it, it will end up being just 0px in height...

I just got another idea that is perhaps more interesting than this - maybe when the user clicks on the fullscreen icon we can add a variable to the url for full screen. So if the user sends a link to a friend, the page will load and hotspot will move to full screen. But i guess that maybe most of the users will want that the user looks at their cool logo instead of a big map...

Fluid Width and Height 12 years 9 months ago #13135

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
Hi Daniel,

I had a look at the links provided but they don't mean much to me I'm afraid.

I like your idea of having a URL to the page to open it in full screen. Is this already possible? If so, can you explain how to create the URL or provide an example?

I am quite happy not have my 'cool logo'!

Fluid Width and Height 12 years 9 months ago #13161

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ritght now it is not possible, but I've already made some changes to the load function and if I have enough time I could already add this functionality in 2.0.5 ...

Daniel

Fluid Width and Height 12 years 9 months ago #13163

  • Bruce Hatton
  • Bruce Hatton's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0
Great - it would be really good to have that functionality.
  • Page:
  • 1
Time to create page: 0.107 seconds