Wednesday, April 28, 2010
The Collapsing Works!
Like, completely! We finally got the collapsing panel to work. It starts at 100%. When you click to close it, it changes to pixels first, hides the table, then closes it. When you click to open, it opens, changes to 100%, then unhides the table. Beautiful! JK, also managed to fix the table size to fit phone screenwidth. Awesome!
Labels:
collapsible panels,
JavaScript,
mobile project,
OpenMRS,
partner
Monday, April 26, 2010
Progress on Mobile Find Patient
All right, so after quite a bit of trial and error and a lot of Googling, we finally resolved the error in the way the Javascript handled percent values. The only problem was that the way one site claimed that percent height's worked, turned out to not be accurate. So it was a miracle that everything worked the way that it did. It seems, then, that resolving the "popping" problem we had with the collapsible divs might not be possible. Instead we are going to have to re-engineer this without percentages. Oh, well, progress is progress!
Labels:
Google,
JavaScript,
miracles,
mobile project,
OpenMRS
Wednesday, April 14, 2010
The New Mobile Site
Surprisingly JK and I found that getting the hang of the JSP was not as hard as we anticipated. We do have to follow a lot of trails through the trunk, but these are not that hard to pin down. Since my last post we have almost entirely completed the Patient Search page for the mobile site. This is a huge milestone. We are now left with trying to figure out how to get the findPatient div to resize when a search is in progress. What we have done:
- Shrunk page elements to be suitable for mobile environment
- Brought language bar up to rest immediately under the page info (fixing the display problem on the iPhone)
- Shortened the user login bar
- Shortened the search field
- Eliminated unnecessary whitespace (breaks, etc.)
- Coded the JavaScript to scroll the findPatient and createPatient fields
- Made small formatting tweaks to make things cleaner overall
Labels:
hackers,
JavaScript,
jsp,
milestone,
mobile project,
OpenMRS,
partner,
patient search,
progress
Subscribe to:
Posts (Atom)