My solution to the jquery mobile back button problem

Posted on

As I’m new to this new jquery mobile, I’m bound to run in to troubles and find unique ways of accommodating solutions.
So, the my first problem I’ve encountered has been trying to implement a back button. After playing with codes and a few options, I got frustrated and have decided to do it my own way.

By default the back button shows, which is great, if your entire site is on one page. It stays self contained and works really well. But, if you are like me and need to use a CMS or implement a site on to multiple pages, you are going to find it a little harder. I could be wrong, and welcome comments on this, but It seems that when you move to an external page from where you just were, the jquery looses it’s history and can’t do a back to the previous page.

So, I just did this:

<body>

<div data-role="page" id="MainPage" data-theme="a" >
<div data-role="header">
<span style="font-size: 9px; text-align: center;">Header</span>
<!-- Copy this 'a' code -->

<a class="ui-btn-left ui-btn ui-btn-icon-left ui-btn-corner-all ui-shadow ui-btn-up-a" data-icon="arrow-l" data-rel="back" href="javascript:history.back(1) " data-theme="a">
<span class="ui-btn-inner ui-btn-corner-all">
<span class="ui-btn-text">Back</span>
<span class="ui-icon ui-icon-arrow-l ui-icon-shadow"></span>
</span>
</a>

</div>
<div data-role="content">
<p>Please select a job type</p>
<ul data-role="listview">
<li><a href="#page1">Page 1</a></li>
</ul>
<ul data-role="listview">
<li><a href="#page2">Page 2</a></li>
</ul>
</div>
<div data-role="footer">
<h4>Page Footer</h4>
</div>
</div>

<div data-role="page" id="page1">
<div data-role="header">
<h1>Page 1</h1>
</div>
<div data-role="content" data-add-back-btn="true">

<ul data-role="listview">
<li><a href="Page1.html" rel="external">External Link 1</a></li>
<li><a href="Page2.html" rel="external">External Link 3</a></li>
</ul>
</div>
<div data-role="footer">
<h4>Page Footer</h4>
</div>
</div>
etc...

I used the cs5.5 dreamweaver code base originally, with it only needing these slight mods. Let me know how you go.

Advertisements

Dear Apple Australia. Please adjust your iTunes store

Posted on Updated on

Dear Apple Australia,

I’m writing to ask you to update the genres that you categorise the music in the Australian iTunes Store and change the way the account system works to be able to buy from “International” stores.

Your big brother US store has a lot more content and genres, so why aren’t they matched?

My first concern is that music styles are being mixed in with the wrong types, of which the main category of concern is “Inspirational”.
For instance, the US store doesn’t have this genre under the music category. It simply doesn’t exist. I notice instead that those deemed “Inspirational” are instead placed into a better fitting category such as “Christian and Gospel”. Why does this category not exist in the Australian one?

If you have a look at the types of songs that are in the Australian Inspirational list, you’ll see “I still Call Australia Home”, mixed in with worship songs about God. These songs couldn’t be further from with each other. How these two types of songs be listed together has got me baffled.

So why doesn’t Apple Australia reorganised this? Is it because no one in there knows Christian music? Is it not cost effective as far as sales go? Why not just duplicate the US version and adjust the prices accordingly to the Australian matched ones?

There is so much good new Christian music that I think we as Aussies are missing out on.

How or why are we missing out? I’ll try to explain.

If one browses the US version of the site, there are plenty of genres someone can look at and see. We can look at and listen to all the artists and songs we what.
The problem comes when you want to buy the song, which is my second point.
If we want to purchase a song or video we like, iTunes suddenly is displays a message along the lines of “Oops, you need to change store because your account only works in Australia”. So now we’ve just lost our place of where we were on the charts and we are now back to the Australian home page with the browsing history cleared and saying to ourselves “Where was that song I just wanted to buy?”.

The iTunes store works great. Except for these two points.

Working in the radio industry this kind of thing would be very beneficial.

I ask you sincerely, please make some changes.

Transistion from Adobe Audition/Cool Edit to Ardour

Posted on Updated on

Now I’ve always used Cool Edit/Adobe Audition and would consider myself a little more of a power user where I use multi-track features and plugins and things. AA is reasonably a fairly simple application to get your head around when seeing it for the first time. It was a long time ago when I first used it, but I haven’t really tried anything else since.

I guess being the fact I like to try out new softwares and things, and having compiled kernels in the earlier days from version .9, I’d sort of think I’m a little nerdy at times. These days though I try things on a needs basis. When looking for free alternatives of multi-track audio software, there were definitely limited options available. As I used Windows XP as my primary operating system there were even less options, and of those that were available most have been fairly unusable.

Along came Audacity, and it was great for what it was. I jumped on board early in version .82 to try it out and for what it is being free, it’s pretty good. But, there are limits. I think generally speaking you get what you pay for and as with a lot of freeware, this is the case. But, there are exceptions.

Years ago when using Linux in my testing phases of ‘look what this can do’ scenario and never actually using it for any real purpose, I discovered Ardour and realised it had a lot of potential. After installing it and importing a few MP3 files, I had a quick play and thought, yeah that works, but never took it to anything further.

Well, since getting a little Mac laptop and getting ready to retire my pc laptop, I’ve been in need of something that is going to do the job properly of multi-track audio recording and editing. So, this is where Ardour comes in to play.

Since downloading it from www.ardour.org I’ve had only a few dramas. I’ve now got a little Behringer UFO202 device for my stereo recording, which the unit itself hasn’t caused my any dramas, but for a new user from AA, getting these devices and Ardour working together is rather confusing and at times frustrating. This is partly because I was sold a hardware device (from an Apple
Genius) that couldn’t do stereo recording. I returned that after a week and a half of trying everything, but that learning curve has since helped me in getting Ardour working properly.

So the biggest challenge for any new user of Ardour is the whole Jack Audio thing. Having read a little, I discovered that Ardour is one of a hand full of Jack-Native programs, whereby support for the Jack program is basically built in to it. Why does it matter? Well, Jack is like a way of taking care of the audio traffic. Internally, the audio data is transported and routed around the computer in and out, to each specific program. This is very very different to Windows computers, where you have 2 audio level windows – Audio In, and Recording Out, where you just select which device, of wav, line in or microphone as your recording device. It’s really different in a way. But, the basics of it are the same.

To get it working in Mac OS X, go to Applications, Utilities and run Audio Midi Setup. Now, I got Ardour working without using Jack and the Core Audio driver, but it is easier and the recommended method to use Jack OSX (http://www.jackosx.com/. Follow the instructions there and you should be right.

Having just posted on the Ardour website, I got a couple of replies straight away, which was great. But I think I may be going about using Ardour in the wrong way… But we’ll see. If I can use it the way I’d expect or find a way, I’ll be trying… http://ardour.org/node/3769

The blog is back

Posted on

It’s been a long while, but now that I’ve found my blog again, it will be making a comeback.

Thankyou to all who had followed in the past.

Steve

Ah, Christmas. Not long now!

Posted on

Ah, I love this time. As I look in the bank account and wonder how I’m going to afford things, I smile and remember that it’s seasonal.For good reason too. I’m very fortunate that I’ve got a close/tight family and lots of them and that we all get on well, without fights and things that I know other people have to go through.We had yet another family do Sunday, with probably 30+ people all crammed in to my Auntie’s house. Did I know them all? No. Does it worry me that I don’t? Not really. It’s just great to be there amongst it all. This was once again, one section of my tree. Grandpa’s side. So his brothers and their kids, kids etc…But it’s made me wonder I guess. What should I get people for Christmas. Now there is no way I’m going to be buying for the entire family, just my immediate family and a couple of selected others. But what do you get for everyone? Do you regift? Or are the usual socks and jocks too far out of the question? This year it’s a bit different.Andy’s now married and moved out, so with Christmas being a little different, we buying presents differently this year. We buy a (or many) present(s) for 1 person up to a certain value, and that way we don’t have to spend hundreds of dollars on stuff that people don’t want or need.I’ve already got mine organised. And I didn’t even select it! Very nice I thought. I’ve just got to pay for it now.Completely changing the topic now, I’m going to be house sitting for the next few weeks in Doncaster. Which will be a nice little change, instead of driving a long way each day in traffic for work.Work has been really great recently. I’m doing stuff I love with some awesome people and I just enjoy it. What more could ya want really?