Prevent Firefox Logo Dragging
Posted: 04 Mar 2010, 22:29
Prevent Firefox Logo Dragging
Written by djs596
You may be aware that, in Firefox, you can 'drag' images with your mouse. Try it with my avatar >>>>>>>>
If you don't want people to be able to drag your site logo:
Open styles/{YOURSTYLE}/template/overall_header.html
Prosilver
Find:
Replace with:
Subsilver2
Find:
Replace with:
You can do this with other images as well. Just add the onmousedown, which is this:
Written by djs596
You may be aware that, in Firefox, you can 'drag' images with your mouse. Try it with my avatar >>>>>>>>
If you don't want people to be able to drag your site logo:
Open styles/{YOURSTYLE}/template/overall_header.html
Prosilver
Find:
Code: Select all
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
Code: Select all
<a href="{U_INDEX}" title="{L_INDEX}" id="logo" onmousedown="event.preventDefault()">{SITE_LOGO_IMG}</a>
Find:
Code: Select all
<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
Code: Select all
<td><a href="{U_INDEX}" onmousedown="event.preventDefault()">{SITE_LOGO_IMG}</a></td>
Code: Select all
onmousedown="event.preventDefault()"