Posts

Showing posts with the label javascript

iFrame height

iFrames, do they even still exist? Well integration with systems isn't aways APIs, XML and JSON magically working in harmony.  Some times you have to integrate a web app into another site as quickly as possible, maintaining the sparation to avoid unpleasant upgrade costs. iFrames intially appear to be a great solution, but they do present a number of horrible problems.  The worst offender IMO is the height property.  Why on earth does setting the height to auto or 100% not allow the iFrame to fit the content it contains automatically?  This would seem the most logical and common option, who likes scroll bars inside scroll bars?  Well I guess those higher powers that design specifications seemed to decide that scrollbars are great. So far the best solution I have found so far is at Dynamic drive , a bit of JavaScript that automatically resizes the iFrame to fit the content.  However, a word of warning I found I had to make some minor pixel adjustments ...

SugarCRM

I feel like I am having a personal battle with SugarCRM at work. We have a professional licence and the most recent upgrade 5.0.0e has a large number of bugs that affect us. I can see why the bugs exist, they fundamentally changed several important database relations, while retaining the old relationships. I assume they kept the old relationships so that they would not break existing modules, however, doing this has (for me at least) caused a lot more problems than it has solved. I have logged 8 calls with SugarCRM so far after the upgrade. Each time they come back to me suggesting the problem is server related, or database connectivity, and they "cannot reproduce the problem". I was most frustrated when I gave a 5 step procedure to replicate a bug using their own http://demo.sugarcrm.com/ website. I received a response with a screen shot at step 4 saying "I cannot reproduce the behaviour you are talking about". After my reply saying that you missed out step 5 in t...