Richard,
Great book! I enjoyed reading it and learning from it!
I've been playing around with Chapter 7-5 and have encountered an issue: the drop-down click functionality works perfectly in Mozilla, but not in Chrome.
As I found it in the book and from your site, here is the JQuery for the function:
Code:
function() {
$('img.hFinderTreeHasChildren').click(
function() {
if (!$(this).next().children('ul').length) {
$(this).next().load(
'AJAX%20Request%20Documents/' +
$(this).prev().attr('id').split('-').pop() + '.html',
function() {
$(this).show();
$(this).prev().attr(
'src',
'../../../Images/Finder/Down.png'
);
}
);
} else {
$(this).next().toggle();
$(this).attr(
'src',
'../../../Images/Finder/' +
($(this).attr('src').indexOf('Down') != -1? 'Right' : 'Down') + '.png'
);
}
}
);
$(this).prev().attr('id').split('-').pop() is collecting the correct ajax file in Chrome and appending it properly, but the data isn't out-putting.
Has their been any updates or something that Ive missed since this was created?