×

Notice

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

TOPIC: Adjust size of popup detail

Adjust size of popup detail 10 years 7 months ago #25607

  • Thrane
  • Thrane's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Karma: -1
  • Thank you received: 0
Hi
How do I adjust the size of the popup that displays, when I click a Hotspot?

Regards
Thomas

Adjust size of popup detail 10 years 7 months ago #25628

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Thomas,
As I explain in this blog post: compojoom.com/blog/entry/changes-coming-up-with-hotspots-4 the infowindow will go away with the next hotspots release.
Currently you'll have to hack several fies if you want to have it bigger:
media\com_hotspots\js\modules\hotspot.js
media\com_hotspots\js\modules\tiles.js
media\com_hotspots\js\modules\hotspot\hotspot.js

Look for the line:
this.infoWindow.setOptions({disableAutoPan: true, minWidth: 200, minHeight: 30, maxHeight: 350});

And change it to what you want to have.
Cheers,
Daniel

Adjust size of popup detail 10 years 7 months ago #25629

  • Thrane
  • Thrane's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Karma: -1
  • Thank you received: 0
Thanks!
Seems like I better wait for the next version... Looking to be really great!
  • Page:
  • 1
Time to create page: 0.101 seconds