OK, Great! And I was thinking one of these two variations might be safer:
Code:
<script>
$(document).on('click','.close_popup',function(){
$(this).parent().stop().fadeTo(300,0,function(){
$(this).remove();
});
});
if(document.addEventListener){
document.addEventListener('touchstart', function(e){
var $t = $(e.target);
if($t.hasClass('close_popup')){
$t.parent().stop().fadeTo(300,0,function(){
$(this).remove();
});
}
}, false);
}
</script>
Or even:
Code:
<script>
$(document).on('click','.close_popup',function(){
$(this).parent().stop().fadeTo(300,0,function(){
$(this).remove();
});
});
if(/ipad|iphone/i.test(navigator.userAgent)){
document.addEventListener('touchstart', function(e){
var $t = $(e.target);
if($t.hasClass('close_popup')){
$t.parent().stop().fadeTo(300,0,function(){
$(this).remove();
});
}
}, false);
}
</script>
But to answer what I think is your question about changing the thread, you cannot close it, you can mark it resolved:
Go to your first post in the thread, hit:
Edit
Then in the lower right hit:
Go Advanced
Then in the top portion of the advanced editor "Your Message" section find the drop down for:
Prefix
Change it to Resolved.
Hopefully that will not cause the page to reload.
If you really want it closed, I can do that for you.
Bookmarks