Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.