homepage Welcome to WebmasterWorld Guest from 54.237.98.229
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Automatic Homepage Maker
Can anyone figure this one out???
Bradley

10+ Year Member



 
Msg#: 46 posted 7:04 pm on Aug 24, 2000 (gmt 0)


I went to the following site:
[ruffendz.com...]

I tooled around the site and then went back to the flash home page. When I had enough of the flash, I hit the "home" button on my Internet Explorer 5.5 program. When I hit the button, a pop-up appeared wanting to know if wanted to make ruffendz.com my home page. I knew what this would do, so I hit "yes" and lo-and-behold, ruffendz.com became my home page.

HOW WAS THIS SCRIPT ACCOMPLISHED?? It was awesome! Unfortunately, for the life of me, I can't duplicate what I did! I can't figure out how the site created the popup and automatically made the site my home page. It definitely is powerful!

Can anyone duplicate what I did in the first place - and then tell me how they did it?? TO sum things up, when I left the site, a popup window appeared asking me if I wanted to make the site my home page. I clicked "yes" and that site became my home page.

Can anyone help me out here?

 

rcjordan

WebmasterWorld Senior Member rcjordan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 46 posted 11:59 pm on Aug 24, 2000 (gmt 0)

See 'Set Home Page' info here [msdn.microsoft.com]. IE only, I believe.

Bradley

10+ Year Member



 
Msg#: 46 posted 4:27 am on Aug 25, 2000 (gmt 0)

RC: YES!!!

So, in taking that code, how does the website call this function? I didn't click on a link or anything! I just left the site! There has to be a way that the server called this function to generate the popup box. Anyone?

rcjordan

WebmasterWorld Senior Member rcjordan us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 46 posted 2:39 pm on Aug 25, 2000 (gmt 0)

There are several ways to launch a function from the body tag
<HTML>
<HEAD>
<TITLE>JavaScript Page Load and Unload Example</TITLE>

<SCRIPT LANGUAGE="JavaScript">
<!-- Hide from other browsers

function hello()
{alert("Welcome to my page");}

function goodbye()
{alert("Thank You, Surf by again.");}

// Stop hiding from browsers -->
</SCRIPT>

</HEAD>
<BODY onload="hello()" onUnload="goodbye()">
<h1>Loading and unloading Test Page</H1>
</BODY>
</HTML>

Try replacing "onUnload" with "onBlur" then it will work if you switch between multiple browser windows (I think).

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved