Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 08-19-2009, 04:27 AM   #1 (permalink)
overlord20's Avatar
 
Ultra Techie

Join Date: Dec 2006

Location: spokomptan

Posts: 830

overlord20 will become famous soon enough

Default HTML Help.

I want to put my group logo on its new web page I am making. I am using dream weaver but also writing in a lot of the HTML myself (dreamweaver can't do it all!). I want to make sure the picture can not be retrieved off the homepage via right click, save image. I know there is a way to do this but how?

2nd question:

I would like to make a certain part of the site password protected. Not multiple passwords but a certain code my "clan" can type in to access server info. Then we don't have mindless wanderers spamming the servers.
__________________

<----If I have helped or amused you hit the or !<----
overlord20 is offline  
Old 08-19-2009, 09:00 AM   #2 (permalink)
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,466

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: HTML Help.

You can't do that in HTML. You'll need something like this done in JavaScript: Right Click Block Javascript

To make part of the site password protected you'll need access to the root of the site. If it's a Linux server use the command chmod 700 followed by the directory name you want to block. If it's Windows then just change the permissions like you normally would.

That way when anyone else other than the admin tries to access it they'll be asked for a password.
__________________

Baez is offline  
Old 08-19-2009, 02:05 PM   #3 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: HTML Help.

Quote:
Originally Posted by Baez View Post
You can't do that in HTML.
Ah, but you can. Using CSS you can overlay your images with a transparent background. So, if they try to right click your image and save as, all they get is the transparent background instead.

Code:
<html>
<head>
  <style type="text/css">
  .transparent {
      background:url('transparent.gif');
	  position:absolute;
	  top:0px;
	  left:0px;
	  width:310px;
	  height:310px;
	  z-index:2;
  }

  .logo {
      background:url('image.jpg');
	  position:absolute;
	  top:0px;
	  left:0px;
	  width:310px;
	  height:310px;
	  z-index:1;

  }
  </style>
</head>
<body>
<div class="transparent"></div>
<div class="logo"></div> 
</body>
</html>
Please don't disable right clicking with Javascript, that is extremely annoying. Just come to the realization that you cannot prevent people from stealing your images on a webpage.

EDIT: Oh, and to restrict access to certain parts of your website you'll either need to make a login system with a server-side language (like PHP, ASP, Perl, etc), or you'll need to use Apache's htaccess functions.
__________________

Need website help? PM me!
CrazeD is offline  
Old 08-19-2009, 03:28 PM   #4 (permalink)
overlord20's Avatar
 
Ultra Techie

Join Date: Dec 2006

Location: spokomptan

Posts: 830

overlord20 will become famous soon enough

Default Re: HTML Help.

Thank you guys.
__________________

<----If I have helped or amused you hit the or !<----
overlord20 is offline  
Old 08-19-2009, 07:11 PM   #5 (permalink)
overlord20's Avatar
 
Ultra Techie

Join Date: Dec 2006

Location: spokomptan

Posts: 830

overlord20 will become famous soon enough

Default Re: HTML Help.

I am going to bump this with a new probelem.

Okay I don't know what I am doing wrong. Can't seem to figure this out.

This is what the page is supposed to look like with the links on the side in that order.



This is what it looks like when uploaded to 110mb.com. Links shrink themselves to little rectangles which appears as one purple block. (all the links are there)



Here is the code.. Is it because there are not proper breaks?



Also 2 links that lead to 2 different steam pages always make both go to the same page. I want one to go to events and one the group page. But they either both go to events or both go to the group page.

The page Free Fallers

EDIT:

This is what the file order on 110mb looks like. All directories are good.



EDIT AGAIN:

Added breaks and nothing happened except that the purple box is now a purple line.


__________________

<----If I have helped or amused you hit the or !<----

Last edited by overlord20; 08-19-2009 at 08:00 PM.
overlord20 is offline  
Old 08-19-2009, 09:48 PM   #6 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,683

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: HTML Help.

This is what YSlow says:



Notice in the URL on the first image, the "images" is lowercase and it loads. The rest are "Images" and do not load. This is your problem.

I'm not really sure what you're talking about on the second problem.
__________________

Need website help? PM me!
CrazeD is offline  
Old 08-19-2009, 10:37 PM   #7 (permalink)
overlord20's Avatar
 
Ultra Techie

Join Date: Dec 2006

Location: spokomptan

Posts: 830

overlord20 will become famous soon enough

Default Re: HTML Help.

I think I fixed the second problem. Thanks for that craze didn't even notice...

It all works Please check it out and comment here. I take all criticism.

Free Fallers
__________________

<----If I have helped or amused you hit the or !<----

Last edited by overlord20; 08-19-2009 at 10:51 PM.
overlord20 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check HTML With CSE HTML Validator Lite Osiris Tips, Tricks & Tutorials 0 07-10-2009 08:35 AM
20 Free Picasa Flash and HTML templates to showcase your photos Osiris Web Graphics, Design, Digital Images 1 04-10-2009 07:07 PM
19 Free Picasa Flash and HTML templates to showcase your photos Osiris Web Graphics, Design, Digital Images 0 12-24-2008 01:30 AM
Posting Form data to HTML page kizzeith Programming Discussions 15 02-03-2008 06:54 AM