Hi to all masters here..
Just wanted to fix our site portfolio using jQuery.
here's my code
In this section, i can able to click thumbs and show main photo in their framebox, photo have 31 sets, although if i am going to click the lower class value, im having trouble to figure out how to set it visible again over the higher class value. i think i need to set a command for z-index.
Is there any command that i can add-up here to set it correctly ?
thanks for advance help.
Just wanted to fix our site portfolio using jQuery.
here's my code
Code:
$(document).ready(function(){
$('#thumbsets li').each(function (i) {
i = i+1;
$(this).addClass('ts'+i);
});
// End .each
$('#web_overview details').each(function (i) {
i = i+1;
$(this).addClass('panels'+i).hide();
$('#thumbsets .ts'+i).bind({
click: function() {
$('#web_overview .on .panels'+i).show();
}
});
// End .bind
});
// End .each
$("#web_overview .panels1").show();
});
Is there any command that i can add-up here to set it correctly ?
thanks for advance help.