Quote:
|
Originally Posted by Bugs
Question - as part of the learning process I sometimes right click "View Source" to see how another site is organized but my church site:
""http://w w w.holytrinityptc.org/" (see for self)
does not allow 'rightclick' at all and a box pops instead saying:
"Thou Shall Not Steal"!!!
|
They're using javascript to prevent you from right clicking on the page.
Here's an excerpt of the site:
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Holy Trinity Catholic Church </title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
As you can see, it's Frontpage, so be careful what you learn from it.
Turn off javascript in your browser, view the source, and search for "steal" (no quotes). You'll see how they did it. You'll also see how they did everything else. Being Frontpage, they're probably using some of the built-in parlor tricks that they include to make web design "easy".
Have fun.
John
EDIT: David, you are too quick! <Note to self: Must learn to type faster!!>

__________________
servers: dedi - petra1.petrahosting.net, petra2.petrahosting.net
Homepage: fernau.us (on petra1)
Failure is not an option. It comes standard with all Microsoft products.
Quote:
|
Originally Posted by Kayla
His explanation of what I just said is far better.
|