updated colorbox to work with jq 1.4.4

This commit is contained in:
sanj 2010-11-15 07:22:17 +05:30
parent a4628e5ea7
commit c73b6f6177
3 changed files with 28 additions and 28 deletions

File diff suppressed because one or more lines are too long

View File

@ -176,7 +176,7 @@ $(function() {
$('td').removeClass('selected');
$('.navButton').removeClass('navSelected');
var catName = $(this).text();
var type = $(this).attr("class").replace("Category", "");
var type = $(this).attr("data-type");
$(this).addClass('selected');
var id = $(this).attr("data-id");
$('#media').html("Loading " + type + "s for " + catName + " .. please wait..");

View File

@ -115,40 +115,40 @@ University College London.</p>
<div id="categories">
<table class="translatable">
<tr>
<td class="imageCategory" data-id="11" data-lang_hi="हवाई पुल">Flyover sweeps</td>
<td class="imageCategory" data-id="1" data-lang_hi="केंद्रीय दर्शन">Central underview</td>
<td class="imageCategory" data-id="9" data-lang_hi="प्रतिरूप">Models</td>
<td class="imageCategory" data-id="16" data-lang_hi="स्क्य्वाल्क स्वीप्स ">Skywalk sweeps</td>
<td class="imageCategory" data-type="image" data-id="11" data-lang_hi="हवाई पुल">Flyover sweeps</td>
<td class="imageCategory" data-type="image" data-id="1" data-lang_hi="केंद्रीय दर्शन">Central underview</td>
<td class="imageCategory" data-type="image" data-id="9" data-lang_hi="प्रतिरूप">Models</td>
<td class="imageCategory" data-type="image" data-id="16" data-lang_hi="स्क्य्वाल्क स्वीप्स ">Skywalk sweeps</td>
</tr>
<tr>
<td class="imageCategory" data-id="6" data-lang_hi="चिन्ह">Signs</td>
<td class="imageCategory" data-id="7" data-lang_hi="बांध">Piers</td>
<td class="imageCategory" data-id="15" data-lang_hi="स्क्य्वाल्क पत्रभाग">Skywalk Columns</td>
<td class="imageCategory" data-id="13" data-lang_hi="अन्तिम सतह">End surfaces</td>
<td class="imageCategory" data-type="image" data-id="6" data-lang_hi="चिन्ह">Signs</td>
<td class="imageCategory" data-type="image" data-id="7" data-lang_hi="बांध">Piers</td>
<td class="imageCategory" data-type="image" data-id="15" data-lang_hi="स्क्य्वाल्क पत्रभाग">Skywalk Columns</td>
<td class="imageCategory" data-type="image" data-id="13" data-lang_hi="अन्तिम सतह">End surfaces</td>
</tr>
<tr>
<td class="imageCategory" data-id="4" data-lang_hi="असमाप्त">Unfinished</td>
<td class="imageCategory" data-id="12" data-lang_hi="निर्माण">Construction</td>
<td class="videoCategory" data-id="2" data-lang_hi="निर्माण">Construction</td>
<td class="textCategory" data-id="6" data-lang_hi="संचार माध्यम">Media</td>
<td class="imageCategory" data-type="image" data-id="4" data-lang_hi="असमाप्त">Unfinished</td>
<td class="imageCategory" data-type="image" data-id="12" data-lang_hi="निर्माण">Construction</td>
<td class="videoCategory" data-type="video" data-id="2" data-lang_hi="निर्माण">Construction</td>
<td class="textCategory" data-type="text" data-id="6" data-lang_hi="संचार माध्यम">Media</td>
</tr>
<tr>
<td class="imageCategory" data-id="2" data-lang_hi="व्यवस्थापन">Regulation</td>
<td class="imageCategory" data-id="10" data-lang_hi="घेराबंदी">Fencing</td>
<td class="videoCategory" data-id="4" data-lang_hi="रास्ते में">In The Way</td>
<td class="textCategory" data-id="5" data-lang_hi="तकनीकी">Technical</td>
<td class="imageCategory" data-type="image" data-id="2" data-lang_hi="व्यवस्थापन">Regulation</td>
<td class="imageCategory" data-type="image" data-id="10" data-lang_hi="घेराबंदी">Fencing</td>
<td class="videoCategory" data-type="video" data-id="4" data-lang_hi="रास्ते में">In The Way</td>
<td class="textCategory" data-type="text" data-id="5" data-lang_hi="तकनीकी">Technical</td>
</tr>
<tr>
<td class="imageCategory" data-id="14" data-lang_hi="ग्रीनस्पेस">Greenspace</td>
<td class="imageCategory" data-id="8" data-lang_hi="इश्तिहार">Posters</td>
<td class="videoCategory" data-id="1" data-lang_hi="मार्ग">Routes</td>
<td class="textCategory" data-id="4" data-lang_hi="कथन">Stories</td>
<td class="imageCategory" data-type="image" data-id="14" data-lang_hi="ग्रीनस्पेस">Greenspace</td>
<td class="imageCategory" data-type="image" data-id="8" data-lang_hi="इश्तिहार">Posters</td>
<td class="videoCategory" data-type="video" data-id="1" data-lang_hi="मार्ग">Routes</td>
<td class="textCategory" data-type="text" data-id="4" data-lang_hi="कथन">Stories</td>
</tr>
<tr>
<td class="imageCategory" data-id="5" data-lang_hi="कार्यकाल तले">Life underneath</td>
<td class="imageCategory" data-id="3" data-lang_hi="संचय/विक्रय">Storing / Selling</td>
<td class="videoCategory" data-id="3" data-lang_hi="भभका तले">Stills underneath</td>
<td class="audioCategory" data-id="" data-lang_hi="भूमि ध्वनि">Ground Sounds</td>
<td class="imageCategory" data-type="image" data-id="5" data-lang_hi="कार्यकाल तले">Life underneath</td>
<td class="imageCategory" data-type="image" data-id="3" data-lang_hi="संचय/विक्रय">Storing / Selling</td>
<td class="videoCategory" data-type="video" data-id="3" data-lang_hi="भभका तले">Stills underneath</td>
<td class="audioCategory" data-type="audio" data-id="" data-lang_hi="भूमि ध्वनि">Ground Sounds</td>
</tr>
</table>
</div>