Is there any coding to make it so a specific link is only view-able by the admins? I've been trying to make a widget that is admin only but when I try adding the div to view a picture page, it shows up for everyone. What I want is to make a direct link to images that only I can use for sending purposes. Here is what I have so far but like I said, showed up for everyone anyway...
In Widget viewable only by Admin:
<style type="text/css">
#float_bottom_save {
position: fixed;
z-index: 50;
top: 200px;
right: 50px;
clip: inherit;
}
#close {
position: absolute;
top: 0px;
right: 0px;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
<script type="text/javascript">
$(function() {
$('#close').click(function() {
$('#float_bottom_left').remove();
});
});
</script>
In the coding for the View an Image Page:
<div id="float_bottom_save">
<a href="{U_PIC}">Get</a>
</div>
In Widget viewable only by Admin:
<style type="text/css">
#float_bottom_save {
position: fixed;
z-index: 50;
top: 200px;
right: 50px;
clip: inherit;
}
#close {
position: absolute;
top: 0px;
right: 0px;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
<script type="text/javascript">
$(function() {
$('#close').click(function() {
$('#float_bottom_left').remove();
});
});
</script>
In the coding for the View an Image Page:
<div id="float_bottom_save">
<a href="{U_PIC}">Get</a>
</div>