8 replies [Last post]
Fr0z3n
Offline
newbie
Last seen: 14 years 37 weeks ago
Joined: 2005-09-16
Posts: 7
Points: 0

:?: :?: :?:
What code should i put to disable the right and left click mouse function on any images in my css w/o affecting the whole page... just for the images...

this is the code of my friendster css:

body { background-color:transparent; background-image:url(http://img371.imageshack.us/img371/9274/avatarhellcom*beep**beep**beep*avata.gif); background-attachment:scroll; background-position:center; }
body,td,tr,div,p { font-family:Arial, Sans-serif !important; font-size:14px; color:ff0033; font-weight: bold; }
a,a:link,a:visited,a:active { color:ff0033; font-weight: bold; text-decoration: underline; border-bottom:0px !important; font-style: normal; }
a:hover { color:ff0033; font-weight: bold; text-decoration: underline !important; border-bottom:0px !important; font-style: normal; }
.left_column_header h2 { font-size:20px !important; border-bottom-color:transparent; } .left_column_header h2,.left_column_header h2 .online { color:ff0033; font-weight:bold; }
.left_column_header2,.right_column_title,.right_column .column_header { background-color:transparent; height:20px; border:1px solid; border-color:transparent; }
.left_column_header2 h1,.right_column_title h1,.right_column .column_header h1 { font-size:14px; margin:3px 0px 0px 5px; color:ff0033; font-weight:bold; }
.commonbox h2,#teaserBox h2 { font-size:14px !important; background-color:transparent !important; color:ff0033; font-weight:bold; }
.left_column_wrapper,.left_column_wrapper .left_column_content { background-color:transparent; border-color:transparent; }
.column_profile_nav { background-color:transparent; border-color:transparent; }
#navigation,#marketing_bg { background-color:transparent; background-image:none; }
#nav_bg { background-color:transparent; border-bottom:0px; }
.left_column_content,.right_column_content,.right_column .column_content,#teaserBox div,.boxcontent { background-color:transparent !important; border-color:transparent; } .commonbox { border-color:transparent; }
.left_column_profile_mainphoto img { border-color:transparent; }
.left_column_profile_thumbnails .photothumb,.right_column_groups .photo,.left_column_testimonials .photo,.friendsphoto { border-color:transparent; }
.left_column_testimonials_content .date,.right_column_groups_content .date,.blog_posted { font-size:12px !important; color:ff0033 !important; font-weight:bold; }
.left_column_header h1 a:hover,.left_column_header2 h1 a:hover { color:ff0033 !important; }
#caption { font-size:12px; color:ff0033; font-weight:bold; }
.left_column_info p { font-size:13px; color:ff0033; font-weight:bold; }
.left_column_info a,.left_column_info a:visited { font-size:14px; color:ff0033 !important; font-weight:bold; font-style:normal; text-decoration:none; }
.left_column_info a:hover { font-size:14px; color:ff0033 !important; font-weight:bold; font-style:normal; text-decoration:none; }
.left_column_info .q { font-size:14px; color:ff0033; font-weight:bold; }
.buttondiv_new a:link,.buttondiv_new a,.buttondiv_new a:visited { font-size:13px; border-bottom: 0px; color:ff0033 !important; font-weight:bold; font-style:normal; text-decoration:underline; }
.buttondiv_new a:hover { font-size:13px; border-bottom: 0px; color:ff0033 !important; font-weight:bold; font-style:normal; text-decoration:underline; }
.left_column_about p { font-size:14px; color:ff0033; font-weight:bold; }
.left_column_about a { font-size:14px; color:ff0033; font-weight:normal; font-style:normal; text-decoration:none; }
.left_column_about a:hover { font-size:14px; color:ff0033; font-weight:normal; font-style:normal; text-decoration:none; }
.left_column_about .q { font-size:14px; color:ff0033; font-weight:bold; }
.photolinks { font-size:11px; }
.blogs p,.right_column_groups_content p { font-size:14px; color:ff0033; font-weight:bold; }
.blogs a,.blogs a:visited,.right_column_groups_content a { font-size:14px; border-bottom:0px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
.blogs a:hover,.right_column_groups_content a:hover { font-size:14px; border-bottom:0px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
.blogs h2 { font-size:13px !important; border-bottom-color:ff0033; color:ff0033; font-weight:bold; }
.right_column_groups { border-bottom-color:ff0033; }
.left_column_testimonials_content a,.left_column_testimonials_add a { font-size:12px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
.left_column_testimonials_content a:hover,.left_column_testimonials_add a:hover { font-size:12px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
.testimonialbody,.left_column_testimonials_add { font-size:12px; line-height:normal; border:0px; color:ff0033; font-weight:bold; }
.left_column_hr,.left_column_testimonials_add { border-bottom-color:transparent; }
.friends .name,.friends .name a,.friends .name a:visited { font-size:11px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
.friends .name a:hover { font-size:11px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
.boxcontent,#teaserBox ol li { font-size:14px; color:ff0033; font-weight:bold; }
.boxcontent a,#teaserBox ol li a { font-size:14px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
.boxcontent a:hover,#teaserBox ol li a:hover { font-size:14px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
#marketing { font-size:13px; color:ff0033; font-weight:bold; }
#options ul li a,#options ul li a:link,#options ul li a:visited,#options ul li a:active { font-size:12px; color:ff0033; font-weight:bold !important; font-style:normal; text-decoration:none !important; }
#options ul li a:hover { font-size:12px; background-color:ff0033; color:ff0033; font-weight:bold !important; font-style:normal; text-decoration:none !important; }
#subnav a,#subnav a:visited,#marketing a:link,#marketing a:visited,#marketing a:active { font-size:12px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:none; }
#subnav a:hover,#marketing a:hover { font-size:12px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
#footer { border-color:transparent; }
#footer div { font-size:12px; color:ff0033; font-weight:bold; }
#footer a { font-size:12px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
#footer a:hover { font-size:12px; color:ff0033; font-weight:bold; font-style:normal; text-decoration:underline; }
.see_all_friends a,.see_all_friends a:visited,.seeall a,.seeall a:visited,.see_all a,.see_all a:visited { font-size:13px !important; border-bottom:0px; color:ff0033 !important; font-weight:bold !important; font-style:normal; text-decoration:underline !important; } .see_all_friends { border-top:0px; }
.see_all_friends a:hover,.seeall a:hover,.see_all a:hover { font-size:13px !important; border-bottom:0px; color:ff0033 !important; font-weight:bold !important; font-style:normal; text-decoration:underline !important; }
.left_column_header { background-color:transparent; }
#marketing a:link,#marketing a:visited,#marketing a:active,#marketing a:hover { font-size:13px; }
#options ul li a:hover { background-color:ff0033; }
#search,#subnav { width:auto !important; }
a,a:link,a:visited,a:active,a:hover { cursor:pointer; }
a:hover
{
filter:blur(add="0",direction="90",strength="8");
height:0;
}
body{ scrollbar-track-color:999999; scrollbar-face-color:000000; scrollbar-highlight-color:FF0000; scrollbar-base-color:FF0000; scrollbar-darkShadow-color:FF0000; scrollbar-shadow-color:FF0000; scrollbar-arrow-color:FF0000; }

where should i put the code to disable the click function?

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 5 years 33 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Re: Just asking...

Fr0z3n wrote:
:?: :?: :?:
What code should i put to disable the right and left click mouse function on any images in my css w/o affecting the whole page

That's a javascript function, not CSS. You'll need to do a search on 'javascript right click disable'.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Fr0z3n
Offline
newbie
Last seen: 14 years 37 weeks ago
Joined: 2005-09-16
Posts: 7
Points: 0

Just asking...

I've made a search for that already and find some java script codes... but... i don't know ere to put those codes and is it possible to use it on my friendster page???

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 6 years 13 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

Just asking...

Can't help you with your friendster related question, but was wondering if you knew that using javascript to disable the mouse is not going to protect your images. If they're on the web, anyone can get them. It's kind of like door locks, they only keep the honest people out.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 5 years 33 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Just asking...

As Wolfcry says, there's no 100% foolproof way to protect your content on the web, and in my opinion the time you waste trying to find a method would be better spent on actually improving your website.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Fr0z3n
Offline
newbie
Last seen: 14 years 37 weeks ago
Joined: 2005-09-16
Posts: 7
Points: 0

Just asking...

Umm... I see ur point guys... I just want to keep all the noobs leeching my images... and figured out that it is impossible to do it in friendster cuz I think we are only allowed to make html and css codes. friendster doesn't accepts javascript codes... thankz guyz for the advice...

pr_moments
Offline
newbie
philippines
Last seen: 14 years 35 weeks ago
philippines
Joined: 2005-09-29
Posts: 1
Points: 0

teach me please

hello i'm s newbie, can you teach me how to use this css? Laughing out loud i want to make my page in friendster look good. thanks

Anonymous
Anonymous's picture
Guru

Re: teach me please

pr_moments wrote:
hello i'm s newbie, can you teach me how to use this css? Laughing out loud i want to make my page in friendster look good. thanks
I think TPH said it best:
thepineapplehead wrote:
Of course! We don't mind doing all your work for you - heck, it's what we get paid for!

There's some great techniques here and here.

And while you're at it, this diagram may help.

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 10 weeks 2 days ago
Joined: 2004-06-30
Posts: 9668
Points: 801

Just asking...

pr, being a newbie doesn't mean we let you get away with things like this. Read the rules and try not to post in other people's topic.

Verschwindende wrote:
  • CSS doesn't make pies