Mercurial > hg > digilib
comparison client/digitallibrary/jquery/jquery.digilib.js @ 641:1da6fc6f0bbb jquery
merge
with 83cc0c96612d0cf2c405dadffb66c427cbb23046
| author | robcast |
|---|---|
| date | Thu, 20 Jan 2011 13:02:22 +0100 |
| parents | 3f23600c96e5 aa54642d666d |
| children | a656e52d7c18 |
comparison
equal
deleted
inserted
replaced
| 640:3f23600c96e5 | 641:1da6fc6f0bbb |
|---|---|
| 614 $link.append($logo); | 614 $link.append($logo); |
| 615 $logo.attr('src', settings.logoUrl); | 615 $logo.attr('src', settings.logoUrl); |
| 616 $link.attr('href', settings.homeUrl); | 616 $link.attr('href', settings.homeUrl); |
| 617 $content.text('Version: ' + settings.version); | 617 $content.text('Version: ' + settings.version); |
| 618 // click hides | 618 // click hides |
| 619 $aboutDiv.bind('click', function () { showDiv(settings.isAboutDivVisible, $aboutDiv, 0); }); | 619 $aboutDiv.bind('click', function () { |
| 620 settings.isAboutDivVisible = showDiv(settings.isAboutDivVisible, $aboutDiv, 0); | |
| 621 }); | |
| 620 data.$aboutDiv = $aboutDiv; | 622 data.$aboutDiv = $aboutDiv; |
| 621 }; | 623 }; |
| 622 | 624 |
| 623 // shows some window e.g. 'about' (toggle visibility if show is null) | 625 // shows some window e.g. 'about' (toggle visibility if show is null) |
| 624 var showDiv = function (isVisible, $div, show) { | 626 var showDiv = function (isVisible, $div, show) { |
