CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Other Programming Languages: Javascript:
Homepage help!

 



Anonymous
Anonymous
jancel11@worldnet.att.net

May 15, 2002, 11:01 PM

Post #1 of 2 (25684 views)
Homepage help! Can't Post

How do you make a link to automatically set users home page..... Like google

but I have built search321.com
AND
I NEED TO KNOW HOW THEY DID THIS


fashimpaur
User

May 16, 2002, 7:04 AM

Post #2 of 2 (25683 views)
Re: [Anonymous] Homepage help! [In reply to] Can't Post

place the following lines in your web page:


Code
  

<span id=homepage style="behavior:url(#default#homepage)"></span>
<script>
if (!homepage.isHomePage('URL_OF_HOME_PAGE')) {document.write("<p><a href='URL_TO_GO_TO' onClick=\"style.behavior='url(#default#homepage)';setHomePage('URL_OF_HOME_PAGE');\">Make This Web Page Your Homepage!</a>");}
</script>


Replace URL_OF_HOME_PAGE with something like http://www.search321.com
Replace URL_TO_GO_TO with the same or possibly a personalized page for those
who use your site as their homepage.

Note: I think this only works in IE5.0. Cannot say for sure. Anyone else know?

Good Luck,
Dennis

$a="c323745335d3221214b364d545".
"a362532582521254c3640504c3729".
"2f493759214b3635554c3040606a0",
print unpack"u*",pack "h*",$a,"\n\n";

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives