Thursday 16 June 2011

Using iPad / iPhone as remote mouse

Recently I have been doing some development work on the iPad and iPhone, while doing this I started thinking of ideas for my own App. One of the ideas was that the iPad touch screen works very similar to my MacBook's trackpad, but is larger, so I thought it would be great to be able to use my iPad as the trackpad for my MacBook, my first thought was how it would communicate between the devices and I thought Bluetooth was the solution. Someone has already beaten me to this idea and come up with an App that does this, it is called 'Remote Mouse', if you do a search in the App Store you will find it. You will also need to go to their web site and download the software that needs to be installed on the computer, it can also be installed on a PC. It does not use Bluetooth but uses WiFi, it is a clever app and I am glad I did not spend much time looking into developing one.

Tuesday 14 June 2011

iWeb problem with jQuery

I recently produced a web site using iWeb on the Apple Mac, it was a quick and easy way of producing a basic web site, which looks good. I wanted to make a couple of changes to it and have a couple of paragraphs expand when a user click a caption. To do this I used jQuery (innerfade), which I have used on other web sites, I found that jQuery conflicts with the iWebSite.js. To get around the problem I did the following:
<script type="text/javascript">
  var $j = jQuery.noConflict();
  $j(document).ready(function(){....

</script>
Using noConflict fixed the problem and the fade worked fine.