iOS 5 UIWebView JavaScript Help

Joined
Mar 21, 2012
Messages
5
Reaction score
0
Points
1
Location
Eagan, MN
Your Mac's Specs
Aluminum Unibody Macbook (Late 2008) 2.4 GHz Intel Core 2 Duo, 250GB HD, 6GB RAM, 10.8 Dev Preview
Hey All,

I'm currently building a simple app on a contract for a school that navigates through multiple table views, until the user selects an option with no successive view. At that point, the user is brought to a UIWebView containing a teacher's homepage, or something similar. However, the school's website is very buggy and is written in JavaScript.

I'm looking for a way to parse the JavaScript to do the following:

  1. Format the tabs on the left side of the pages as tabs in a tab bar
  2. Separate the main text/content and display that without other distractions

I've already gotten the links hooked up/loaded into a UIWebView, I'm just looking for a way to customize the content, and I don't have much experience with HTML/JavaScript.

The teacher's site I've been using to test can be found here.

This is what the website looks like with the current code:
Screen Shot 2012-03-21 at 3.44.43.066 PM.png

This is what I'd like it to look like:
Screen Shot 2012-03-21 at 3.44.26.539 PM.png

Thanks in advance!!!
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top