Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:05
Babel Fish
Poster: Simcfc73
Dated: Wednesday May 17 2006 - 11:34:13 BST
Hi,
Sorry if this is a dumb question.
I've added a search button to a submenu which is fine but I would liek to add the Babel Fich utility to a submenu too.
Is this possible?
the code they want to put in the page is
<script language="JavaScript1.2" src="http://www.altavista.com/static/scripts/translate_engl.js"></script>
Thanks.
Poster: Andy
Dated: Thursday May 18 2006 - 17:17:33 BST
Hi,
The only way I can see you getting BabelFish into a menu is by creating a .html page, paste the code that Alta Vista gave you into that file and then call that file in an IFRAME inside a menu item, like this:
Quote:
aI("text=`<iframe src='yourbabelfishfile.htm'></iframe>`;type=html")
Hope this helps,
Andy
Thanks
Poster: Simcfc73
Dated: Thursday May 18 2006 - 19:40:32 BST
Thanks for the reply.
Works a treat except it translates the page that the babelfish is on and not the original page. Can't see a way for it to be done this way.
Think I need to look at a way for the menu button to make the babelfish icon appear, switching a layer to visible when you click it.
This should work shouldn't it.?
Poster: Andy
Dated: Saturday May 20 2006 - 12:24:46 BST
I have posted a page to http://www.milonic.com/babelfish_milonic.php
It does work and works quite well
Hope this helps,
Andy
Many Thanks
Poster: Simcfc73
Dated: Monday May 22 2006 - 8:36:54 BST
Thanks for doing that.
A really useful item to have on our website.