I've read your online documentation, but am still baffled about how to turn the following javascript into a Milonic menu item:
<!--[if IE]>
<A HREF="#"
onClick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://www.aact.org');">
Make This Your Home Page
</A>
<![endif]-->
Any help would be appreciated.
Javascript as a menu item
- stephen702
- Super Advanced
- Posts: 77
- Joined: Wed Jul 16, 2003 4:53 am
- Location: Davis, CA
- Contact:
Code: Select all
aI("text=Make This Your Home Page;clickfunction=this.style.behavior='url(#default#homepage)';
this.setHomePage('http://www.aact.org');");
- stephen702
- Super Advanced
- Posts: 77
- Joined: Wed Jul 16, 2003 4:53 am
- Location: Davis, CA
- Contact:
Thanks for the suggetion. Unfortunately, the coding suggested above caused my entire menu to disappear from the screen. This is the same problem I had when I was experimenting with putting a javascript into a menu item.
It's a bit frustrating, because I don't know which of the pieces is causing the problem. I've tried changing different elements in the item code, but nothing works.
It's a bit frustrating, because I don't know which of the pieces is causing the problem. I've tried changing different elements in the item code, but nothing works.
- stephen702
- Super Advanced
- Posts: 77
- Joined: Wed Jul 16, 2003 4:53 am
- Location: Davis, CA
- Contact:
There are two more, sort of related to this.
Add To Favorites - works in IE only
Add To SideBar - works in Netscape and FireFox, it's more involved than the add to favorites but it gives you the ability to allow people to add a tab in their sidebar which would contain the link for your site.
Add To Favorites - works in IE only
Add To SideBar - works in Netscape and FireFox, it's more involved than the add to favorites but it gives you the ability to allow people to add a tab in their sidebar which would contain the link for your site.