John wrote:
You can invite the user to set your site as their home page, but you cannot
know what their homepage is.
<font face="arial" size="1">
Wake up, CSS 2 is there since more than 9 years.
<a href="#" onClick="this.style.behavior='url(#default#homepag e)';
this.setHomePage('http://www.xyz.com');">Set xyz.com as Homepage
</a>
This will result almost always in a runtime error. Either because
`this.style' (implemented as a CSSStyleDeclaration object) has no `behavior'
property (as that is MSHTML-proprietary), or because HTMLAnchorElement
objects have no setHomePage() method, or because this method is not allowed
to be called due to security restrictions. Or it would not work at all
because client-side scripting is disabled or not even supported.
</font>
This must be one of the worst examples I have seen to date.
PointedEars
--
"Use any version of Microsoft Frontpage to create your site. (This won't
prevent people from viewing your source, but no one will want to steal it.)"
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>