Jump to content

Joomla Component Window - Resize?


movingelite

Recommended Posts

Good Morning,

 

We had a custom Joomla component built and we're having trouble with the window size when it opens. The top of the component starts about 1/4 of the way down the screen and extends below the screen. There is no scroll bar so the only way to reach the bottom is to tab down. To prevent confusion we're trying to get it to open either higher up on the screen or with a scroll bar.

 

While I know nothing about coding I do have a lot of common sense  ;) and the code I copied in below is what I would assume calls the window into action. I specifically noticed the initWidth line and tried to add a initHeight: 600; but it didn't do anything. Any suggestions on how I can achieve this?

 

$.fn.jmodal({
			initWidth: 600,
			title: 'Create New',
			content: formhtml,
			buttonText: 'Cancel',
			okEvent: function(e) { }
		});
	   initEvents();

Link to comment
https://forums.phpfreaks.com/topic/227175-joomla-component-window-resize/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.