Whoops – jqueryui changed

15 Feb

After the last post I thought I’d better just check that the global education directory site was still up and running, and when I did it looked wrong.

Jqueryui had changed their library, and my code was picking up whatever their latest was, and it didn’t work anymore. I didn’t have time to work out why, but was able to down load the previous version and change so the site now hosts and uses that.

So

<script type="text/javascript" src="http://jqueryui.com/latest/jquery-1.3.2.js"></script>
<script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.core.js"></script>
<script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.draggable.js"></script>
<script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.resizable.js"></script>
<script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.dialog.js"></script>

became

<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="js/jqueryui/ui.core.js"></script>
<script type="text/javascript" src="js/jqueryui/ui.draggable.js"></script>
<script type="text/javascript" src="js/jqueryui/ui.resizable.js"></script>
<script type="text/javascript" src="js/jqueryui/ui.dialog.js"></script>

It was probably not a good idea to rely on a the latest version of a remotely hosted library to always work. there is an argument to use javascript hosted by Google or similar to save it having to be downloaded separately for every site that needs it, but for now what I’ve got works and can’t be broken by a new version of jqueryui being released. Might resarch options later.

I wouldn’t have noticed this without having blogged and then gone to check what I’d just blogged about, so blogging is worthwhile fo rme so far.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: