Need help with a couple basics.

They have: 3 posts

Joined: Sep 2001

Can someone tell me how to create a link that will make my web site the users homepage automatically, and then also the bookmark feature that is so commonly used throughout the internet.

I recently uploaded my newest website Getbridged.com, and I am having a problem with monitor resolution. I remember from my studies way back when that there is a way to over right the users font and resolution setting temporarily while they use the particular site at hand, but I am not having any luck in my quest to find this information again. If anyone can help I would be grateful.

Kre

Busy's picture

He has: 6,151 posts

Joined: May 2001

Its a javascript I believe but isnt multi browser proof (if that makes sense) - doesnt work on all browsers, your best bet is to just add a note "bookmark me" if any, i wouldnt worry about it, cause if they like it they will bookmark and return, if they dont, they wont ... example - have you got the TWF forumns bookmarked? (the site your on now) if you have, why? there is no add to favorites button or message asking to be added ... (at least I dont think there is, i havent seen one) its a great site, we bookmark it because we want to come back.

The best way to make your site view the same (or at least similar) in an option of different browsers is to make a main table and set the width to 100%,

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

You're probably not going to want to override the user's settings, as they are set that way for a reason and will just garner yourself a lot of animosity for your efforts.

However, you can control the presentation to some extent by opening a new window set to the size you want (being aware that it may be unviewable for lower resolutions, or put the browser window off the screen for them), and use px font sizes in your CSS to control the size of the text.

You cannot change their computer's resolution, as this would be a massive security breach.

As far as automatically setting your site as the home page, I'm not sure but I believe that falls into the security breach area, but you could possibly do it using ActiveX or VBScript and cookies to request the changes without the user really being aware of what they are approving (not a nice thing to do, btw). It may only work in IE, as well. I don't know how to do this, however.

Bookmarking (ctrl+d) works in IE only I think.. A request to bookmark is one thing, but setting a bookmark automatically (if it can be done, I don't think it can) is invasive and betrays the user's trust in your site.

What I'm saying is that you may be able to do it in a limited way, but it is SURELY going to backfire on you, so do take some time to consider the user.

Smiling Suzanne

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

The following bookmarking script is cut & modified from the "Add to Favorites" script/tutorial at my site

if (document.all)
window.external.AddFavorite(window.location, document.title);
else
alert("Sorry. Netscape users must bookmark the pages manually by hitting .");

While it is highly possible (and unfortunately easy) to override someone's home page, I agree wholeheartedly with Suzanne and unequivocally state -- it is a bad idea.

btw: Hi Suzanne Laughing out loud

Vinny

Where the world once stood
the blades of grass cut me still

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Wow, good to hear from you!

And thanks for the followup -- I'm too much of a gist gal to have those at my fingertips of late.

Smiling Suzanne

They have: 3 posts

Joined: Sep 2001

I think that I should have put it differently. What I want to do is create a button that will automatically make my web site the users home page—when it is clicked, as I would also like to provide the option for book-marking my page. Sorry for the miss understanding.

Kre

Busy's picture

He has: 6,151 posts

Joined: May 2001

Kre, I at first looked at it the same way Suzanna has, then noticed while replying about the second part that you meant via a button.

Your best bet is to just make a mention as you cant get what you want to do work on all browsers

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.