Hi
im using dreamweaver 8(PHP-mysql)
i download ajax library called dragable-content.
js it enables you to drag the item from any place to any other on the page
like image or DIV just make it's class=dragableElement"
ex
on the top of the page write
-----
<script type="text/javascript" src="
js/dragable-content.
js"></script>
<img src="/images/heading3.gif" class="dragableElement">
-----
now the heading3.gif can be dragged to any place on the page ant it works well
my first question if i want to check any conditional (in PHP) before applying this effect on the element
for example i want only the admin of the site can drag the items not visitors
how an i do that?
the second question is how to save the placment of the dragable elements on the server not cookie or session ex. in db
thanks in advance.