PDA

Click to See Complete Forum and Search --> : Transparent Gif


Hawk
May 20th, 2002, 11:43 AM
How do you place a transparent gif over the entire web page? Is this possible?

If not, how can you place a transparent gif over a picture?

And last, how do you make a transparent gif?

Thanks

Rick Bull
May 20th, 2002, 01:09 PM
I think this should place it over the whole page, although IE is buggy with it (at least I think it is):

<img src="GIFName.gif" alt="Alt Text" style="position:absolute;left:0px; top:0px; width:100%; height:100%;">

And what software are you using to create your GIFs?

Hawk
May 20th, 2002, 01:29 PM
Thanks Rick,

How would you position it over a specific picture? Anyway, I don't have a clue on how to create a transparent gif. Do you have any software recommendation?

Thanks again.

Rick Bull
May 20th, 2002, 02:22 PM
I use Paint Shop Pro which I downloaded from http://kickme.to/FOSI/ - they're so generous Jasc ;)

As for positioning a GIF over another picture I would do something like this (I think it's the correct way, but not totally sure):

<div style="background:url('MAIN_IMAGE.png'); width:468px; height:241px;"><img
src="GIF_OVERLAY.gif" alt="" style="width:468px; height:241px;" /></div>

Note that the width and height should be the same in both the DIV and the IMG's style. The only problem is that it should take up the whole line, so you can have it in the middle of the text. I think you should be able to add "display:inline" to allow this, but it doesn't seem to work in NS or Opera, so my guess is that IE is "buggy" and is allowing you to do something it shouldn't. If you want me to explain how all this works let me know :)

Hawk
May 20th, 2002, 04:12 PM
Thanks Rick,

The piece of information you provided has been a great help.

Have a good day!

Actually, by any chance, do you know how to disable people from doing a select all on a web page or prevent them to save the web page? Yes, I know that is more than impossible.

Thanks

Rick Bull
May 20th, 2002, 05:05 PM
Well it's not impossible in IE (the selection thing anyway) as long as the user has JS enabled. But I'm not sure how to do it, I never bother with those sorts of things. Personally I don't really see the point, as users can check in the temp internet folder, or save the page with a download utility, or many other alternatives. But I know it is possible if you still want to do it.

scoutt
May 20th, 2002, 05:31 PM
Originally posted by Hawk
Thanks Rick,

The piece of information you provided has been a great help.

Have a good day!

Actually, by any chance, do you know how to disable people from doing a select all on a web page or prevent them to save the web page? Yes, I know that is more than impossible.

Thanks
not possible. too many way around it.

the way you are goin gi sthe correct way. make a transparent image over the image you want ot save. but all I have to do is look at the source (and you can stop that) and find the path to the picture and download the picture. if you want to stop people from doing that I would put a watermark on it.

Hawk
May 20th, 2002, 05:39 PM
Originally posted by scoutt
if you want to stop people from doing that I would put a watermark on it.

I am not sure I understand or how to do this scoutt.

But you and Rick are right. There are always around this. It is just more difficult for those who are computer illiterate.

-Internet Cache is one way.
-Save the html page and automatically images save along with it.
-hide the source code - the shift hotkey will bypass any hidden source code.
-put it into frames-I can still save the html page

I guess the key term here is MAKE IT MORE DIFFICULT or FULFILLING MY CURIOSITY. :D

scoutt
May 20th, 2002, 07:16 PM
computer illiterate

is almost extinct. In todays society the only people that are computer illiterate are the old people that don't / won't want to learn. with schools and other means everybody is learning it.

anybody that goes on the internet can and will no how.

if you want to do watermarks then take a look at this.

http://www.snippetlibrary.com/tutorials.php?kid=89&catname=Copy%20Protection

the second one is what you want I think

Hawk
May 20th, 2002, 08:12 PM
That is what I have been looking for. Thanks scoutt

mendhak
May 21st, 2002, 12:41 AM
as an added precaution you can tell the browser not to cache the web pages. But eventually, a determined user can get what he needs.

Hawk
May 21st, 2002, 11:32 AM
Originally posted by mendhak
you can tell the browser not to cache the web pages. Hi mendhak,

Out of curiosity, how do you do that? I don't think I will do that because it will take to long to load my page.

Thanks

scoutt
May 21st, 2002, 11:37 AM
No-Cache (might Not work In IE)
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

Hawk
May 21st, 2002, 12:25 PM
Thanks,

I have IE. Is there a way to test my html against a Netscape browser or do I have to install Netscape? I have not use Netscape for 3 years now. Do you know of a site to download Netscape setup.exe. The one I tried to download from Netscape was an internet installation(meaning you need the internet to install).

scoutt
May 21st, 2002, 12:27 PM
that is the only way to install NS6 is by the internet. you can try www.netscape.com/archive and get version 4.79 but it is a 18-23Mb download

there are some sites that simulate NS but they are not very good.

Hawk
May 21st, 2002, 12:33 PM
Thanks Scoutt