×

Notice

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

TOPIC: How to set the pop-up window width?

How to set the pop-up window width? 13 years 2 months ago #14027

  • Jeroen van Doornik
  • Jeroen van Doornik's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
How do I change the popup window height/width? (mainly width)

I am embedding videos and would like to have it a bit bigger.

How to set the pop-up window width? 13 years 2 months ago #14030

  • Jeroen van Doornik
  • Jeroen van Doornik's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
+ How to delete a location image uploaded from the frontend? Via the database or backend??

How to set the pop-up window width? 13 years 2 months ago #14033

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
about the width. You will find this code in media/com_hotspots/js/Hotspots.js around line 420
var text = new Element('div', {
						style: 'width: 300px;',
						html: hotspot.description 
					});

change the 300px to something else.

Wow and that question about the image is really good! Currently you can just override the image - no way to delete it. If you go into the database with phpmyadmin you can delete the image from there.

How to set the pop-up window width? 13 years 2 months ago #14036

  • Jeroen van Doornik
  • Jeroen van Doornik's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
I used the DB for that - but a delete button of some kind would be nice.

Thx for the coding, i've changed it
  • Page:
  • 1
Time to create page: 0.136 seconds