Wednesday, February 25, 2015

Searchbar Functionality, Blog Changes, and Themes (2/25)

To start out, I fixed some things with this blog today. New title and new GitHub link (on the right!).

I also added searchbar functionality with JQuery. It took a lot of googling, but I finally found a StackOverflow post with a person with the similar issue. Instead of calling the text() method of my searchbar, it was the var() method that I needed to call. Now, I have a searchbar that calls a method when the user presses enter, and the text that is inputted is stored in a variable for searching! Once Alex figures out how to use JSON requests with permissions, we should have a stable first release.

I also started looking around for themes. I really want to use the Graphite theme in blue. I think it matches the LibriVox's colors best, and I also believe that it looks clean and simplistic. Sadly, I've figured out that this theme was abandoned years ago, so it looks as if we're going to have to do another theme.

So, I decided to make my own theme. I started out with some help from Aki; we created a header and a div that created a menu-like theme, using data-role. I then created buttons to go to a settings menu, created a new settings.html page, and then buttons to go from the settings menu back to home. I tested the button and it works great, and looks nice as well! Alex got the JSON working, so an early version might be possible by tomorrow! It had to do with app permissions, and a few lines fixed it.

I worked on a volume slider as well. As we're working with audiobooks, this function is key for our app. I'm still working on getting its value, but I'm pretty close to that - so volume should be working tomorrow as well, provided we can get permissions working!

1 comment:

  1. Your new blog title and github link will go a long way toward making this blog a nice part of your "digital portfolio". You should plan on listing it in your resume and treat it accordingly, as an example of your work that demonstrates your skills to a future perspective employer.

    Now, about those screenshots? ;-) Regarding theming, don't put too much effort into that at this early stage. Since I'm your "customer", I'll want some input into the final look of the app, and I want to wait to see what our mentors say regarding best practices for making apps look natural in FXOS.

    ReplyDelete