is there a way to know if my site is in the favorites(for ie) and bookmarks(for mozilla)
and if it is set to homepage?
Guy
knowing if in in favorites
Moderator: General Moderators
I didn't know that, nice to know.
So i search for some qlue's how they did it.
If found this:
So i search for some qlue's how they did it.
If found this:
Code: Select all
<span id=hp style="behavior:url(#default#homepage)"></span>
<script>
//<!--
if (!hp.isHomePage('http://www.google.com/')) {document.write("<p><a href="/mgyhp.html" onClick="style.behavior='url(#default#homepage)';setHomePage('http://www.google.com/');">Make Google Your Homepage!</a>");}
//-->
</script>Maybe the rest of the script is needed. (It's in the <HEAD> part.)
I didn't test it yet.
I didn't test it yet.
Code: Select all
<style><!--
body,td,a,p,.h{font-family:arial,sans-serif;}
.h{font-size: 20px;}
.q{text-decoration:none; color:#0000cc;}
//-->
</style>
<script>
<!--
function sf(){document.f.q.focus();}
function c(p,l,e){var f=document.f;if (f.action && document.getElementById) {var hf=document.getElementById("hf");if (hf) {var t = "<input type=hidden name=tab value="+l+">";hf.innerHTML=t;}f.action = 'http://'+p;e.cancelBubble=true;f.submit();return false;}return true;}
// -->
</script>I got it from http://www.google.com