|
|
|
3 Questions
|
Original Message
|
Name: tomdelonge
Date: November 13, 2005 at 11:38:34 Pacific
Subject: 3 QuestionsOS: XPHCPU/Ram: AMD64 2600+/1GB 3200 Cors |
Comment: I have 3 questions. I am not very good at html, infact I am pants at it. This is why I am asking. 1. How do I take the blue border from around an pic that I have put to be a link? 2. How do I do the thing where if someone right clicks an image to save it, it pops up with a box saying a message that I can state? 3. How do I control what it says in the status box when someone hovers over an image? It is to stop people stealing artwork and buttons I have created. Living on a steady diet of....soda pop and ritalin
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: randy1959
Date: November 13, 2005 at 13:20:04 Pacific
Subject: 3 Questions |
Reply: (edit)Change the [] brackets to <> brackets in all examples Question 1- In the img src code for the picture add border="0" Example - [a href="pagename.htm"] [img src="the picturename.jpg" border="0"] [/a] Question 2- In the var message line, change your name to your company or website name. Put this code in the head section of your webpage. [script language="JavaScript"] [!-- // No rightclick script v.2.5 // (c) 1998 barts1000 // barts1000@aol.com // Don't delete this header! var message="Sorry, that function is disabled.\n\nContents & Graphics Copyright ©your name\nOur work is not Public Domain, and should NOT be taken from this site."; // Message for the alert box // Don't edit below! function click(e) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // --] [/script] Question 3- [a href="mypage.html" onMouseOver="window.status='The message'; return true" onMouseOut="window.status=''; return true" ] The text of the link[/a]> Finally, if someone wants to steal your images all they have to do is use a "Print Screen" and they have it.
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: randy1959
Date: November 13, 2005 at 13:28:03 Pacific
Subject: 3 Questions |
Reply: (edit)I just re-read your post and now see that you wanted to have a message appear in the status bar when an image was moused over not a link. Just change the "a href" part of the link to "img src" and it should work.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: FishMonger
Date: November 13, 2005 at 14:13:29 Pacific
Subject: 3 Questions |
Reply: (edit)You can't stop people from coping your artwork. Once you put it online, it's available for the taking. They can disable javascript and then use the right-click. Or, since it's already been cached on their system, they can just copy/rename the cached images.
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: tomdelonge
Date: November 13, 2005 at 14:13:43 Pacific
Subject: 3 Questions |
Reply: (edit)Hi, thanks for the reply. It is a very good reply. Thing is I cannot use the javascript for some reason. I cut and pasted it all exact the same and changed [] to <> and it says invalid script post. It is for my smugmug photo site. Is there not a way to do it without the use of java script? The others worked a treat thanks. I wondered if you could also help me with a slight image/button problem? Oh and I know they can print screen, but some people are not so clever! Living on a steady diet of....soda pop and ritalin
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
Name: randy1959
Date: November 13, 2005 at 15:48:27 Pacific
Subject: 3 Questions |
Reply: (edit)There has to be something you are missing in the copy and paste. It works fine for me. See the script in action here http://www.geocities.com/yvarg/RigntClick.htm and copy and paste the code from there.
Report Offensive Follow Up For Removal
|
|
Response Number 6
|
Name: tomdelonge
Date: November 13, 2005 at 17:04:48 Pacific
Subject: 3 Questions |
Reply: (edit)I think the problem is not the code, but the site. I think java script is disabled. Thanks for the help anyway. Living on a steady diet of....soda pop and ritalin
Report Offensive Follow Up For Removal
|
|
Response Number 7
|
Name: FishMonger
Date: November 13, 2005 at 21:11:29 Pacific
Subject: 3 Questions |
Reply: (edit)Randy, your javascript code doesn't work. I have javascript enabled and was able to right-click/copy and paste it into MS paint. I saved it as a bitmap so I lost quality but here it is. http://www.rosysatthebeach.com/randy1959.bmp This is just one example why you can't prevent someone from coping your artwork.
Report Offensive Follow Up For Removal
|
|
Response Number 8
|
Name: FishMonger
Date: November 13, 2005 at 21:31:09 Pacific
Subject: 3 Questions |
Reply: (edit)>> Oh and I know they can print screen, but some people are not so clever! Don't fool yourself. 98% of the people that will want to copy your artwork, will know how to use the print screen key.
Report Offensive Follow Up For Removal
|
|
Response Number 9
|
Name: tomdelonge
Date: November 14, 2005 at 09:47:53 Pacific
Subject: 3 Questions |
Reply: (edit)You know what. I wont bother learning anything. I will just post a copy of everything to everyone in the world because that is what they will do according to you. Just for the record, my target audience, dont really know much about computers! Living on a steady diet of....soda pop and ritalin
Report Offensive Follow Up For Removal
|
|
Response Number 10
|
Name: KrisCardona
Date: November 14, 2005 at 16:44:15 Pacific
Subject: 3 Questions |
Reply: (edit)If you code javascript correctly then you can prevent right-click, copy-and-paste, print screen, capture, etc... But in order to do this it requires alot of coding and so sometimes it isn't worth all of the hassle.
Report Offensive Follow Up For Removal
|
|
Response Number 11
|
Name: SN
Date: November 14, 2005 at 19:17:09 Pacific
Subject: 3 Questions |
Reply: (edit)"If you code javascript correctly then you can prevent right-click, copy-and-paste, print screen, capture, etc..." No, you can't. All the js in the world does no good if the user disables it in their browser. Also noteworthy is the firefox feature of going to tools-media and having the option to save all the pictures on the page. You can also go to file-save as in IE and it will save all the images for you to your hard drive. There are more ways to bypass these weak javascript methods than I can list here - They're simply worthless and just piss people off when they're using your site for legitimate reasons. "You know what. I wont bother learning anything. I will just post a copy of everything to everyone in the world because that is what they will do according to you." I don't know what your problem is...People are only trying to help you here. The bottom line is that when you post an image on a public internet page, you are, indeed, posting a copy of everything to everyone in the world. There's no reason to get snippy with us, we're just telling the truth. In the digital world, giving read access without giving copy access is a pipe dream. Your best bet is to watermark your images to make them less desirable to would-be copyright infringers. I like to use a php script I wrote that automatically puts the watermark on the image. -SN
Report Offensive Follow Up For Removal
|
|
Response Number 12
|
Name: randy1959
Date: November 15, 2005 at 03:25:07 Pacific
Subject: 3 Questions |
Reply: (edit)Fish Monger - I never said the JavaScript code would stop people from stealing images, in fact, see the last sentence on my post. He wanted a script to pop-up a message and I gave him one. The pop-up works fine.
Report Offensive Follow Up For Removal
|
|
Response Number 13
|
Name: FishMonger
Date: November 15, 2005 at 05:19:18 Pacific
Subject: 3 Questions |
Reply: (edit)randy1959, I had javascript enabled when I did the right-click/copy, but I never received your pop-up screen and I didn't need to do a print screen either. Your code will work in some browsers (probably only IE only which gives the illusion of security) as long as the user doesn't disable javascript.
Report Offensive Follow Up For Removal
|
Use following form to reply to current message:
|
|

|