sourlemons123
08-06-2004, 04:51 AM
I have two questions:
1) how do you put a small picture in the corner of each module (no ex.)
2) also, how do you have a popup message when someone right clicks to steal your work, so that they can't get in...? thanks!
:)
smileygurl119
08-06-2004, 05:14 AM
heres a pop up code thing:
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="LOSER";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
sourlemons123
08-06-2004, 06:19 PM
Thanks! it worked! now no one can steal my work... so does anyone know how to put the background on the module title yet?
smileygurl119
08-06-2004, 06:38 PM
youre welcome. i think this is the code, but i dont know how to make it go to the the left though:
<style type="text/css">
{
table.left th {
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
background-image: url(http://url.com/to/the/site/image.gif);
}
</style>
sourlemons123
08-06-2004, 06:51 PM
Uuuuum it didn't work?!?!
smileygurl119
08-06-2004, 08:24 PM
did you replace the URL of your picture in the link spot?
CKY Chick
08-06-2004, 09:36 PM
in mine i have to put ' before&after the URL. like this:
background-image: url('IMAGE URL HERE');
maybe that's the problem?
sourlemons123
08-07-2004, 04:23 AM
ya I changed it but it didn't work. i put apostrophe's too
JiNgLeBeLLz77
08-07-2004, 07:02 AM
try this... this is the EXACT code that works on a xanga that i made for my friend...
<style type="text/css">
table.left th {
/* on your menu module, this edits the title part of it */
/* like BLOGRINGS, POSTING CALENDAR, etc */
background-image: url(http://img14.photobucket.com/albums/v41/JiNgLeBeLLz77/star1.gif);
background-repeat: no-repeat;
background-position: 5% 50%;
font-family: comic sans ms;
text-transform: lowercase;
font-size: 18px;
line-height: 36px;
font-weight: bold;
color: #FFFFFF;
letter-spacing: 2px;
background-color: transparent;
text-align: right;
}
</style>