Help - Search - Members - Calendar
Full Version: Add to favorites link
MonsterSmallBusiness Forums > MonsterCommerce > How do I?
mgriffin
I have seen some sites that provide a link that adds the page to the user's favorites.

Does anyone have or know how to create the code that will do this?
Birdman
Edit this to fit your needs.

<!-- TWO STEPS TO INSTALL BOOKMARK PAGE:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<script LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original: Prakash -->
<!-- Web Site: http://www20.brinkster.com/mahathmaonline/...e/bookmark.html -->
<!-- Begin
function addbookmark()
{
bookmarkurl="http://wwwJavascriptsource.com"
bookmarktitle="Welcome To The Java Script Source"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
// End -->
</script>

</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<a href="javascript:addbookmark()"><b>Bookmark This Page</a>

<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 1.02 KB -->
mgriffin
Thanks a lot for the html.

I'll give it a shot this evening. biggrin.gif
robert
In general, if you wish to use these javascripts you need to make sure that there is no link that is going to produce the "This page includes secure and nonsecure items" message that scares people during the checkout process. Usually the script can be rewritten to prevent this, but if there is a link beyond your site that's a risk.
mgriffin
Robert,

Have you ever had the "This page inlcudes secure and non secure items" message when clicking on the monstersmile.gif order tracking or product list links? On some machines, I get this message, others I don't.

I'm sure it would scare people away. Any idea why this message is being presented at these pages?


In responce to your post - how can I determine if I have a link that will produce this message?
dzielski
This happens to me all the time. BEWARE - if you are adding code that has images in it and go into the WYSIWYG mode, when you leave the WYSIWYG mode, the links to all images will be inserted as hard links, ie src=http://.... instead of the the way you are supposed to do it src=/images/... This will produce the secure/non-secure warning if these images will show up when the user switches to secure mode during the checkout procedure.

Monstercommerce is awear of the situation and cannot change it due to a third party WYSIWYG program they use.
mgriffin
Point taken.

If I understand you correctly, you are saying that this message would occurn when pages I create are accessed. However, I have not manipulated the order tracking or product list page.

I have removed the "product list" link to eliminate this problem. I am considering doing the same with the order tracking.

Any thought with respect to this problem and monstersmile.gif's order tracking page?
dzielski
For example, if you look at my page, I have our logo in the navigation bar. If I go into edit the nav bar using WYSIWYG, when I exit, it will change the link of the logo from the correct way to the incorrect way (even if I did not touch the logo). Since the nav bar is always shown, when the customer tries to enter a secure section of my site, they will get the secure/non-secure warning. Order tracking is considered a secure location.
mgriffin
Dave,

What you are saying makes sense.

In my situation, I use the default monstersmile.gif Order-Tracking page.

Are we talking about the same nav-bar? I am refering to the horizontal navigation bar built into the monstersmile.gif software.

In my situation, I am using the default nav-bar. I think this problem is a feature if MS internet explorer. I get the message on some machines and not on others. Probably a browser setting.
mgriffin
I just visited your site.

You are refering to the left side navigation bar. Correct?

I just checked my own. Haven't used the WYSIWYG editor - all my paths to images are okay.....images/etc.

Thanks for your input. Good lesson to learn. I have gone through other areas of my site and checked the image paths. Sure enough, many of them had to be changed.

dzielski
No problem. Hope all goes well.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.