HTML - Need Help Protecting Imgs But Not Java
Ive already read all the posts about this but I need some help. I have a bunch of images in a scrollbox on my myspace. I love sharing photos with my friends but somehow my friends send me fake profiles of me. I would like to know if theres anyway to protect them whether it be by no right click, a clear gif, etc. The thing is I make my page with MyGen.UK gen and I dont know what code to use or what to do? I trust most of my close friends but I dont know why people keep using my pictures and making a fake profile. I really dont want to have to take them down so if anyone could help me out that would be great?
Similar TutorialsFirst post here, I know a little bit so hopefully there will some n00ber than I to help down the road. For some reason all of these attempts (in html5) are coming up with 4px between the top and bottom of the images (horizontal space) Code: <table width="664" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/1.jpg" width="664" height="131" hspace="0" vspace="0"></td> </tr> <tr> <td><img src="images/2.jpg" width="131" height="19" hspace="0" vspace="0"><img src="images/3.jpg" width="87" height="19" hspace="0" vspace="0"><img src="images/4.jpg" width="446" height="19" hspace="0" vspace="0"></td> </tr> <tr> <td><img src="images/5.jpg" width="664" height="381" hspace="0" vspace="0"></td> </tr> <tr> <td><img src="images/6.jpg" width="330" height="28" hspace="0" vspace="0"><img src="images/7.jpg" width="96" height="28" hspace="0" vspace="0"><img src="images/8.jpg" width="106" height="28" hspace="0" vspace="0"><img src="images/9.jpg" width="132" height="28" hspace="0" vspace="0"></td> </tr> <tr> <td><img src="images/10.jpg" width="664" height="130" hspace="0" vspace="0"></td> </tr> </table> I also tried it previously without the hspace/vspace attributes with no success. I also tried it just like this. Code: <img src="images/1.jpg" width="664" height="131" hspace="0" vspace="0"><img src="images/2.jpg" width="131" height="19" hspace="0" vspace="0"><img src="images/3.jpg" width="87" height="19" hspace="0" vspace="0"><img src="images/4.jpg" width="446" height="19" hspace="0" vspace="0"> <img src="images/5.jpg" width="664" height="381" hspace="0" vspace="0"> <img src="images/6.jpg" width="330" height="28" hspace="0" vspace="0"><img src="images/7.jpg" width="96" height="28" hspace="0" vspace="0"><img src="images/8.jpg" width="106" height="28" hspace="0" vspace="0"><img src="images/9.jpg" width="132" height="28" hspace="0" vspace="0"> <img src="images/10.jpg" width="664" height="130" hspace="0" vspace="0"> Here's the whole site if it helps Code: <!DOCTYPE html> <head> <title>Ayla Stapleton</title> <meta charset="utf-8" /> <meta name="description" content="Ayla Stapleton is an Australian born model working out of Sydney" /> <meta name="keywords" content="Ayla, Stapleton, Ayla Stapleton, model, modelling, Sydney, Australia, female model" /> <!-- lightbox includes --> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="js/lightbox.js"></script> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" /> <style type="text/css"> <!-- body { font: 80% Verdana, Arial, Helvetica, sans-serif; background: #0b0010; margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #ffffff; } .oneColFixCtr #container { width: 664px; background: #0b0010; margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */ text-align: left; /* this overrides the text-align: center on the body element. */ } .oneColFixCtr #mainContent { padding: 0px; /* remember that padding is the space inside the div box and margin is the space outside the div box */ } --> </style> </head> <body class="oneColFixCtr"> <div id="container"> <div id="mainContent"> <table width="664" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/1.jpg" width="664" height="131" hspace="0" vspace="0"></td> </tr> <tr> <td><img src="images/2.jpg" width="131" height="19" hspace="0" vspace="0"><img src="images/3.jpg" width="87" height="19" hspace="0" vspace="0"><img src="images/4.jpg" width="446" height="19" hspace="0" vspace="0"></td> </tr> <tr> <td><img src="images/5.jpg" width="664" height="381" hspace="0" vspace="0"></td> </tr> <tr> <td><img src="images/6.jpg" width="330" height="28" hspace="0" vspace="0"><img src="images/7.jpg" width="96" height="28" hspace="0" vspace="0"><img src="images/8.jpg" width="106" height="28" hspace="0" vspace="0"><img src="images/9.jpg" width="132" height="28" hspace="0" vspace="0"></td> </tr> <tr> <td><img src="images/10.jpg" width="664" height="130"></td> </tr> </table> <a href="images/1.jpg" rel="lightbox[roadtrip]" title="Gallery"><img src="images/ayla_stapleton.jpg" alt="Ayla Stapleton" width="664" height="689" border="0" usemap="#Map"></a> <map name="Map"> <area shape="rect" coords="132,132,218,149" href="" alt="Gallery"> <area shape="rect" coords="132,149,218,165" href="" alt="Info"> <area shape="rect" coords="330,532,425,558" href="www.facebook.com/ayla.fanpage" alt="Facebook"> <area shape="rect" coords="426,532,532,558" href="http://www.twitter.com/aylastapleton" alt="Twitter"> </map> <a href="images/2.jpg" rel="lightbox[roadtrip]"></a> <a href="images/3.jpg" rel="lightbox[roadtrip]"></a> <h2>About Ayla Stapleton</h2> <p>Ayla is an Australian-born, freelance model slowly emerging into the acting, film & tv industry. She has been modelling from a very young age - completing her first professional modelling course when just ten years old. She completed year 12 at a small catholic college in 2007 achieving a scholarship for her university studies. Ayla has studied a dual degree Bachelor of Business/Bachelor of Professional Communication (specialising in Marketing). She has also studied acting at ACTT (Actors College of Theatre & Television) in Sydney. Ayla is a full-time professional model - meaning she is reliable & skillful - because her modelling is her business; not just a weekend hobby. She has maintained a positive image and reputation.</p> <p>You can be sure to have a positive experience when working with Ayla. She is available for almost all types of modelling, particularly in swimwear and lingerie. Full and half day rates available upon request. Available for work internationally.</p> <h2>Stats</h2> <ul><li>Height: 5'11</li> <li>Weight: 63kg</li> <li>Measurements: 37-24-33</li> <li>Dress size: 8</li> <li>Cup size: 10F</li> <li>Shoe size: 10</li> <li>Hair: Brown</li> <li>Eyes: Brown</li> <li>Skin: Tanned</li> <li>D.O.B: 24.07.1990</li> <li>No tattoos, piercings, or markings.</li> </ul> <h2>Consider Ayla for</h2> <ul> <li>Swimwear/Bikini Promotions</li> <li>Fashion Parades</li> <li>Magazine Appearances</li> <li>Film/TV</li> <li>Video Clips</li> <li>Catwalk Modeling</li> <li>Sporting Events</li> <li>Corporate Event Waitressing/Hostessing</li> <li>Card Girl for Boxing, Muai Thai, Kickboxing etc.</li> <li>Music Festivals</li> <li>Fundraising Events</li> <li>Product Launches</li> <li>Race Day Promotions</li> <li>VIP Waitressing</li> </ul> <!-- Do not change code! --> <table cellspacing="0" cellpadding="0" border="0" align="center"><tr><td><iframe width="400" height="440" frameborder="0" src="http://www.foxyform.com/form.php?id=130068&sec_hash=614236b4643"></iframe></td></tr><tr><td align="center"><a style="font:8px Arial;color:#5C5C5C;" href="http://www.foxyform.com">foxyform.com</a></td></tr></table> <!-- Do not change code! --> <!-- end #mainContent --></div> <!-- end #container --></div> </body> </html> Just had my first product approved on Clickbank and don't want to start selling before I have protected my thank you page (where my downloads are from theft and sharing) I am new to this and I need to know how can I cloak the address of my thank you page so that it's not shared. Thanks E I have a web site where some of the pages are password protected using php script. This works fine on html pages, but I also have some pdf files that I want to protect. Now the pdfs are not protected. They are linked to images in an index page and when the image is clicked, the pdf is opened in a new window. I now want to protect the pdfs. I want my users to be able to access the index page and see the images, but when they cliick the image to the view the actual pdf, they are prompted for a usercode and password. Since the protection I use on my protected html pages is based on php, I assume I will have to create a cover page for each pdf and link the index page image to that php page instead of the pdf. This I know how to do. What I don't know how to do is to have the php page open the pdf directly without user intervention and when the pdf window is closed by the user the php page also closes and returns the user to the image index page. In other words, I want the php page to be completely invisible to a user who has already logged on and invisible except for the login prompt for the user who has not yet logged on. Anyone have any suggestions? Hi There! I'm trying to password protect a page in my website. I got this code from DHTML and was wondering how it could be modified so that it would display in a new window. Cus when I do it now, it just displays the page in the frame I have (and the password protected page, uses another frame so it displays as 2 frames and gets confusing). Any help would be appreciated!! function submitentry(){ password = document.password1.password2.value.toLowerCase() username = document.password1.username2.value.toLowerCase() passcode = 1 usercode = 1 for(i = 0; i < password.length; i++) { passcode *= password.charCodeAt(i); } for(x = 0; x < username.length; x++) { usercode *= username.charCodeAt(x); } //CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD if(usercode==142703219952000&&passcode==1809918190080) //CHANGE THE NUMBERS ABOVE TO REFLECT YOUR USERNAME/PASSWORD { window.location=password+".htm"} else{ alert("password/username combination wrong")} } </script> </div> <form name="password1"> <p align="left"><strong>Enter username: </strong> <input type="text" name="username2" size="15"> <br> </p> <p align="left"><strong>Enter password: </strong> <input type="password" name="password2" size="15"> </p> <p align="center"> <input type="button" value="Submit" onClick="submitentry()"> </p> </form> I have found a way to protect images I have tested my code in different computer with different browsers and it works except in one browser, I didn't used javascripts or php. You can tested by going to files.combbat21.com/website/images you will see a lot of images click on a image and try to see it, now go to demo.combbat21.com every image in that page comes from files.combbat21.com/website/images try to download any image. I'm giving the code away just email me to cuestadaniel31(at)gmail.com. I have been through Google, but am unable to find a semi-simple way of doing this... Basically I am looking to make someone enter a username and password before they are allowed to view a webpage. Like... if someone goes to http://www.test.com/test1.html, a window pops up and they are forced to enter a username and password that I can specify and change for every page. So if they go to http://www.test.com/test2.html.... it would be a different UN and PW (again, that I can specify). I believe it is some sort of javascript that I need... but I cannot figure out a way to make this work without having the username and password be in some openable file that can be viewed to find out the password n such easily. 1. How to protect a HTML file to avoid to run it from other URL? (then I would encrypt the HTML) 2. How to avoid to run the rest of HTML code if a URL/picture is not found? How to create explorer like menu in Html or java script? eg + Game(inside this Cricket and Football) when click on + sign it become like-- - Game -Cricket -Football Can anybody suggest me, by which command I can do it? Commercial Removals || Removals and Storage||Specialist Removals Hey folks, I have been looking all over the web for hours looking for the script that potspace.com uses that cool little warning thing. No I do not use potspace.com Some one told me about their pop up notifier thing and I want it for my site however It's just a regular site. I want to use that for Website Alerts. =) I really want that script If some one could please just visit potspace.com as soon as they get to the site a div will pop up I like that it's really cool can some one please get me the script that does that. I thought I made it but I didn't it just stayed on the page 24/7 LOL it didn't have that re'direct back to the page button. Also It only shows up one time per a session.!! // JavaScript Document document.write("<style type=\"text\/css\"><\/style><script type=\"text\/javascript\">function init(){ var mywindow; w=+screen.width; \/* this value may be edited *\/ h=+screen.height; \/* this value may be edited *\/ t=(screen.height-h)\/2; l=(screen.width-w)\/2; features='height='+h+',width='+w+',top='+t+',left='+l+',scrollbars=1,resizable=1,menubar=no,location =no,directories=no,toolbar=no,'; df=document.forms[0]; df[0].value=''; df[0].focus();df.onsubmit=function() {if(df[0].value==''){ alert(''); df[0].focus(); return false; }else {if(mywindow) { mywindow.close(); } mywindow=window.open('http:\/\/www.smalldotdesign.net\/'+df[0].value,'',features, document.title = "Hello"); mywindow.focus(); return false; } } } window.addEventListener? window.addEventListener('load',init,false): window.attachEvent('onload',init);<\/script><\/head><body><form action=\"#\"><div> <label for=\"inp1\"><\/label> <input id=\"inp1\" type=\"text\"> <input type=\"submit\" value=\"Login\"><\/div><\/form><\/body><\/html>"); where do i put a Code: document.title = "X" I need to make the title of the popup window a value and it's not working... the form and button don't appear when I try to do this. Can someone help? First of all sorry, but couldn't figure out where to put this :s anyway, I'm wondering what would be a good program to write Java applet's with for a website. I'm planning on making my own Java irc (applet) so that it will blend in nicely with the rest of the website style, and as such doesn't clash with it so any good programs, tutorials would be welcome I am a first time poster so If this is the wrong Thread I apologize. We are wanting to add a field to our website. The company we are trying to link to has given us JAVA code to use so the window is a popup. When I took the code to my manager he said that in order for us to edit our website we have to use contribute. The site has sections written in Perl. He thought that using JAVA would affect the Perl code. Is that true? Ok, so I've recently been given a project my my comp sci teacher to do a word game. It's the one where the computer picks a random word of a certain length and you have to guess the word. Each guess, it tells you the amount of letters that are in the word (but not the ones that are in the right place. For example, moon + know = 2.) I currently have the word game down, but I need help with an extra credit part. Also, I'm writing this in java and making it web based. Only on my local host though. For example, I got http://localhost:8000/rawr.html (rawr being the name of the page) and I get taken to my homepage. The main focus of the lab was doing binary search and word comparison, but the teacher always add extra credit parts for those who go above and beyond. Now, because this is java, it is extremely hard to do HTML commands, for instance, changing font color and the name of the title bar. I have to do con.println("<html><body>random junk la la</body></html>"); with con being my network connection object. I can also do con.println("<html><body>"); con.println("random junk la la la"); con.println("</body></html>"); and other ways of rearranging the print statements. Now that you all have the background, let me ask my question. I want to be able to have a table of letters and when I click on a letter once, it goes to blue and when I click on it one more time it turns red with a strike-through and when I click on it once more, it resumes its normal black format. So I need someone who's good at Java and HTML to help me If you need more information or background, just ask me and I'll provide it. And I need help pronto cause it's due soon. Thanks ~Smipims~ I have an html application consisted of a number of html files, js files and css files. Is it possible to have an external property file where I can keep the name of the server so as to use a variable for the urls? For example to have something there like nameOfTheUrl=andreana and in the html file to have something like http://nameOfTheUrl/content/index.html My server has java but it is not a servlet container so I can not use jsp. Hi, i am creating a web page dynamically through ajax like this here i am creating a td element and appending a button element to it Code: var td5= document.createElement("TD"); td5.style.whiteSpace = "nowrap"; td5.setAttribute("id", "button" + hostname); var button=document.createElement("input"); button.setAttribute("type", "button"); button.setAttribute("id", "updatebutton" + hostname); button.setAttribute("value", "Click here"); button.setAttribute("onclick", "alert('OK')"); td5.appendChild(button); it appearing good on web page the but when i click the button, where i am not getting supposed alert Code: button.setAttribute("onclick", "alert('OK')"); line is not showing effect and when i try like this Code: button.onclick=new Function (alert('hi')); when my IE loads the page i am getting alert where as , alert must come after clicking the button any work around please Thanks R Let me start by say I am a newbie so please be gental, also let me thank you ahead of time. I do appreciate your time already... So on my left navigation I have an issue with the contact us image / newsletter image. Everything looks great until I roll over newsletter. It changes contact us to newsletter....I think it has to be in my javascript but I can't pinpoint it. Any help would be great. How can I run HTML from Javascript? What I mean is that from etc. index.html I will load a file.js script, which will include the whole HTML. Not sure if I can explain myself correctly, do you know what I mean? Hi! Is it possible to make a self-updating HTML version of this java table? I need it for my Excel project, cause it cannot open java based tables. Thanks. Hello, I had a pretty basic html site that I made then one of my customers offered to spruce it up a bit. I gave him the go-ahead but told him that it had to be in html for search engine indexing. He did not build it in html, rather java (or maybe a combo - regardless, it is over my head). After launching it, I have watched it go backward in the search engines. Keywords, etc are at 100%. I tried to make a site map using the automatic generator from xmlsitemaps.com, but only three pages are found. So, not only are the robots not indexing it, apparently it does not follow "normal" programing that xmlsitemaps follows. Someone suggested adding html links under each java link in my menu. For example, here is a current link in my menu: <li><a href="javascript:getView( 'buyers' )">Buyers</a></li> If making an html link, I would reference the full path to the "buyers" page like this: <a href="http://clearchoicehi.com/index.php?c=Index/getView&v=buyers>Buyers</a> But if I did that, I would have two "Buyers" showing. Any way to do something like an ALT tag for the java and place the html in the ALT tag? Or should I just add a seperate menu somewhere in html? My site is NCinspector.com Thanks for your help. Which you think i should go with if I am using drop down menus for my site? CSS dropdown or Java? There is a lot of nifty programs out there that generate this dropdown menu for you, but what are the disadvantages? Should I create using CSS in the page itself, which seems more difficult to do and more time consuming... |