|
| |
|
|
myPH
Posts: 14 Joined: 4/29/2004 Status: offline
|
"Make this my home page"? - 6/27/2004 9:39:58
I'd like to add a link button or similar to our web magazine home page, inviting visitors to make us their home page (i.e. start page) automatically when they open the Internet. Can some kind expert advise me if this easy to do, where I can find the appropriate program, or script kit or whatever we need. Our site is a beginner - www.myph.com.ph - being done in basic FP2000 using a modified theme. I've been through the Outfront forums but the couple of links suggested in previous threads seem to be out of date. Many thanks in advance for any help you can offer. Simon
|
|
|
|
markhawker
Posts: 511 Joined: 5/31/2004 From: UK Status: offline
|
RE: "Make this my home page"? - 6/27/2004 12:04:10
Hi, you can add the following to your document which, when clicked will set the page as the user's Home Page. <script type="text/javascript" language="JavaScript">
<!--
if (window.external)
{
document.write(
'<p style="color: blue;cursor: hand;behavior: url(#default#homepage);"'+
' onclick="this.setHomePage(location.href);">'+
'Make this Page your Homepage...</p>'
);
}
//-->
</script> I'd strongly advise against making the script run automatically when the user connects to your site! Up to you though, Mark
_____________________________
Mark Hawker personal - http://www.meeid.com/markhawker
|
|
|
|
myPH
Posts: 14 Joined: 4/29/2004 Status: offline
|
RE: "Make this my home page"? - 6/28/2004 7:17:05
Many thanks Mark. I'll try it when I get back to the website tonight. No, I certainly wouldn't make it load automatically without the visitor's request/agreement. That's bad manners I think - and I'm so old fashioned I don't even like most pop-ups. Sorry for delay getting back to you; very different time zones. tnx Simon
|
|
|
|
markhawker
Posts: 511 Joined: 5/31/2004 From: UK Status: offline
|
RE: "Make this my home page"? - 6/28/2004 7:28:02
Hi Simon, quote:
ORIGINAL: myPH No, I certainly wouldn't make it load automatically without the visitor's request/agreement. That's bad manners I think - and I'm so old fashioned I don't even like most pop-ups. I totally agree! No worries about the delay, where're you from? Good luck, we're all always here for you if you have any more problems! Mark
_____________________________
Mark Hawker personal - http://www.meeid.com/markhawker
|
|
|
|
myPH
Posts: 14 Joined: 4/29/2004 Status: offline
|
RE: "Make this my home page"? - 6/28/2004 7:47:25
Oops, thanks for the script but I have a problem in that I haven't yet started to learn actually writing HTML - that's next month's project. So I don't know where to patch in your script. Can you help when you have time, by looking at the HTML for our home page, index.html, in www.myph.com.ph and telling me how to put it where in all that mass of code? I could try but I'd hate to blunder (as I've done several times over the past few months). I envisage it going on the home page only, as a text link at the bottom of the page, just under the Base One banner advert, to the right of the [Top of Page] bookmark link. There's a cell reserved for it there (I hope). If this is troublesome, sorry. I promise to learn HTML soonest. tnx Simon
|
|
|
|
markhawker
Posts: 511 Joined: 5/31/2004 From: UK Status: offline
|
RE: "Make this my home page"? - 6/28/2004 7:55:06
Hi! Oh it's ok, no worries. I think: <tr> <td width="150"><!--mstheme--><font face="Times New Roman, Times"><!--mstheme--></font></td> <td align="center" width="340"><!--mstheme--><font face="Times New Roman, Times">[<font size="2"><a href="#bkmk Community top">Top of page</a>]</font><!--mstheme--></font></td> <td width="340" align="center"><!--mstheme--><font face="Times New Roman, Times">WANTS TO GO HERE<!--mstheme--></font></td> <td width="140"><!--mstheme--><font face="Times New Roman, Times"><!--mstheme--></font></td> </tr> As far as I'm aware, just copy that code I gave you, paste it into the place marked above and it should work! Good luck with the HTML learning, honestly it's not too difficult once you get over the basics! Mark
_____________________________
Mark Hawker personal - http://www.meeid.com/markhawker
|
|
|
|
myPH
Posts: 14 Joined: 4/29/2004 Status: offline
|
RE: "Make this my home page"? - 6/28/2004 8:02:31
Okay, I'll try that. Our previous notes crossed with your query - I'm in the Philippines (originally New Zealand, long time ago tho). tnx
|
|
|
|
myPH
Posts: 14 Joined: 4/29/2004 Status: offline
|
RE: "Make this my home page"? - 6/28/2004 11:23:07
Hi Mark I juggled with your paste-in and the "Make this your Homepage" seems to work fine in IE 6 - but it doesn't show up at all on my Netscape (7.1). Have I done it wrong or is this one of those browser compatibility things. Is there any way I can fix it? Another thing: The code which you gave me as a positioning guide for the paste-in shows all the <mstheme> and <font face Times New Roman> etc tags but these don't show up on my FP HTML view editor. I assume this is because my FP view assumes the theme I'm using. How can I switch to the more detailed view you use? In the absence of these tags, for this exercise I used the Insert > Advanced >HTML option with the curser at the point I wanted. Seemed to work with IE, but not with Netscape - I haven't tried yet with the other browsers. Many tnx for all your help Simon
|
|
|
|
markhawker
Posts: 511 Joined: 5/31/2004 From: UK Status: offline
|
RE: "Make this my home page"? - 6/28/2004 11:30:59
Hi, try adding this code instead: <script type="text/javascript" language="JavaScript">
<!--
document.write(
'<p style="color: blue;cursor: hand;behavior: url(#default#homepage);"'+
' onclick="this.setHomePage(location.href);">'+
'Make this Page your Homepage...</p>'
);
//-->
</script> I'm not too familiar with FP, not sure why it doesn't show you all the tags in HTML view. There's probably some setting somewhere but not sure where! If you're adding code to a specific place you can just open up the file in Notepad or similar and use that to add. Make any sense? Mark
_____________________________
Mark Hawker personal - http://www.meeid.com/markhawker
|
|
|
|
myPH
Posts: 14 Joined: 4/29/2004 Status: offline
|
RE: "Make this my home page"? - 6/28/2004 11:48:36
Of course, Notepad. Simple, tnx. But anyway, I'll try later to find the FP view settings toggle or whatever it is. I'm about to shut down for the night, so I'll try your new patch tomorrow. Simon
|
|
|
|
Larry M.
Posts: 2834 Joined: 2/20/2003 From: Greenville, South Carolina, USA Status: offline
|
RE: "Make this my home page"? - 6/28/2004 11:58:44
<<There's probably some setting somewhere but not sure where! If you're adding code to a specific place you can just open up the file in Notepad or similar and use that to add>> Mark and Simon, In FrontPage >>Insert >>Web Component >>Additional Controls >>HTML. You can "table" this so as to locate the code easier if you need to alter at some future point. Then >>double click area in table (script won't show in design view after insert/save/publish) and >>switch to code view.
_____________________________
Larry M. Reality is the leading cause of stress among those few in touch with it
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|