Jump to content

movingelite

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

movingelite's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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();
  2. Hi Jay, Sorry, I guess I really showed how little I know! I appreciate the info, that did work. That was also my common sense guess but as I mentioned I didn't want to mess anything up. I appreciate it!
  3. Good Morning, We recently had a Joomla based component designed for our company and we're having a validation issue. Our programmer is on vacation for a week so we're seeking some assistance adjusting the rule. The field is a numeric entry called "Minimum Hours" and should receive a user input of 1, 2, 3 or 4. The problem is that 0 is allowed but shouldn't be. I pulled the snipet below from the component php file which I believe likely contains the verification rule. The problem is that I don't know php or how to adjust the rule. I'm sure I could try a few common sense approaches but I'd prefer not to screw up the application Any input would greatly be appreciated! if(isNaN($('#minimum_hours_charge').val()) || $.trim($('#minimum_hours_charge').val()).length==0 || parseInt($('#minimum_hours_charge').val())<0) { $('#minimum_hours_charge').get(0).focus(); return false; }
×
×
  • 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.