Attention: PROnetworks has upgraded our forum from phpbb2 to phpbb3!!

Please head over to our new converted forum at: http://www.pronetworks.org/forums/

This old forum will remain 'read-only' until approximately February 2009. We look forward to seeing you at the new forum!
Author Message
imnuts
PostPosted: Wed Jun 09, 2004 3:29 pm Reply with quote

Support Team
 
 


Joined: 24 Mar 2004
Posts: 14585
Location: Boothwyn, Pennsylvania
I want to know if there is an html command that will open links in a new window when they are clicked. i think there is i just don't know what it is. if it can't be done with html, then what would i need to use to get the new window upon being clicked.
 
Back to top
imnuts
PostPosted: Wed Jun 09, 2004 3:55 pm Reply with quote

Support Team
 
 


Joined: 24 Mar 2004
Posts: 14585
Location: Boothwyn, Pennsylvania
i have another html question for all of you people. how do you protect images on a webpage so that people can't copy them or save them. i've seen it places but i've never thought about looking at the source to see what was keeping me from saving the image.
 
Back to top
ODiaz86
Omar Diaz
PostPosted: Wed Jun 09, 2004 4:00 pm Reply with quote

PRO PLATINUM
 
 


Joined: 26 Jun 2002
Posts: 6018
Location: Millville, New Jersey - USA
imnuts wrote:
i have another html question for all of you people. how do you protect images on a webpage so that people can't copy them or save them. i've seen it places but i've never thought about looking at the source to see what was keeping me from saving the image.


Here to Protect images
Quote:
Here is what you will need:
1) The image that you want to protect
2) A blank GIF overlay (I will provide it for you)
3) A few lines of HTML to display them together

This technique works by displaying a transparent GIF overlay on top of your real image. When a user right-clicks to save it they will save the blank GIF file instead of your real image. Below is the HTML code used to display these images together.

<!-- ------------------------------------------------------------------------- -->
<!-- TABLE TO DISPLAY IMAGE WITH THE BLANK GIF OVERLAY -->
<!-- ------------------------------------------------------------------------- -->
<TABLE border=0 cellpadding=0 cellspacing=0><TR>
<TD background="RealImage.jpg" width="470" height="270">
</td>
</TR></TABLE>

Use the HTML above in place of your normal IMG tag. You need to change the RealImage.jpg reference to that of your own image and change the width and height tags (in both places) to the dimensions of your image. The table only contains 1 cell. Your real image is displayed as the table background and the blank overlay is displayed as the cell content. Since the GIF overlay is considered to be on top, a right click on it will cause you to save the blank overlay instead of the real image.
 
Back to top
ODiaz86
Omar Diaz
PostPosted: Wed Jun 09, 2004 4:01 pm Reply with quote

PRO PLATINUM
 
 


Joined: 26 Jun 2002
Posts: 6018
Location: Millville, New Jersey - USA
I Got that from here.
 
Back to top
imnuts
PostPosted: Wed Jun 09, 2004 4:24 pm Reply with quote

Support Team
 
 


Joined: 24 Mar 2004
Posts: 14585
Location: Boothwyn, Pennsylvania
ok, thanks omar, now if i could get an answer to my first question it would be great
 
Back to top
ODiaz86
Omar Diaz
PostPosted: Wed Jun 09, 2004 4:40 pm Reply with quote

PRO PLATINUM
 
 


Joined: 26 Jun 2002
Posts: 6018
Location: Millville, New Jersey - USA
I gotta look on your first question. I've Be Back with some of the anwser.
 
Back to top
shougan
Sid Upadhyay
PostPosted: Wed Jun 09, 2004 5:59 pm Reply with quote

PRO GOLD
 
 


Joined: 26 Apr 2004
Posts: 5290
Location: Western Hemisphere
Code:
<a href=""
target="_blank"> </a>
 
Back to top
shougan
Sid Upadhyay
PostPosted: Wed Jun 09, 2004 6:00 pm Reply with quote

PRO GOLD
 
 


Joined: 26 Apr 2004
Posts: 5290
Location: Western Hemisphere
That should make it open in another window....
 
Back to top
imnuts
PostPosted: Thu Jun 10, 2004 12:23 am Reply with quote

Support Team
 
 


Joined: 24 Mar 2004
Posts: 14585
Location: Boothwyn, Pennsylvania
thumbsup thumbsup notworthy thank you, i'll work on putting that into my site tomorrow
 
Back to top
~Spider~
PostPosted: Thu Jun 10, 2004 12:29 am Reply with quote

PRO Level 16
 
 


Joined: 26 Feb 2004
Posts: 1751
Location: USA
I made two files
1. index.htm
2. 2.htm

I opened 2.htm in a new window. Here is the html

Code:
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>1</title>
</head>

<body>

<p><a target="_blank" href="2.htm">2</a></p>

</body>

</html>
 
Back to top
Back to top

Goto page 1, 2  Next

Page 1 of 2

 


Tired of the Ads? Registered users have 80% less adverts.