Search found 8 matches

by alexs
Fri Jun 23, 2006 12:30 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Menu item with target="_self" enhancement or bug i
Replies: 8
Views: 5182

Example using Google Translate

Not proprietary, others are welcome to use - glad to be able to contribute something back. To see it in action, goto http://www.ecoscentric.com/

To add this feature, all that is needed is this piece of code below - added before you declare any menus.
// Extract the google translate backend ...
by alexs
Fri Jun 23, 2006 12:49 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Menu item with target="_self" enhancement or bug i
Replies: 8
Views: 5182

Just to close this topic, my workaround worked. I am able to avoid the frame within frame issue and no longer crash firefox.

Simple really. I wrote JS to detect when pages were being translated and then which backend server of google was being used. From there I could adjust the menu urls to go ...
by alexs
Thu Jun 22, 2006 9:57 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Menu item with target="_self" enhancement or bug i
Replies: 8
Views: 5182

Hi

Yes, I know about the babelfish example. You can still see it implemented on our live website http://www.ecoscentric.com/ now.

Unfortunately Babelfish does not do reasonable translations which is why we are switching to Google. We had a couple of native chinese, french and italian speaking ...
by alexs
Wed Jun 21, 2006 4:48 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Menu item with target="_self" enhancement or bug i
Replies: 8
Views: 5182

Hi

Yes, it would just open in that window. However, as I mentioned in my post, if you then selected another translate option, the google translate will occur in that frame, opening another title frame (so you now have two), followed by the page. Repeating this will continue the process.

To see ...
by alexs
Wed Jun 21, 2006 3:16 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Menu item with target="_self" enhancement or bug i
Replies: 8
Views: 5182

Menu item with target="_self" enhancement or bug i

We recently added some google translate support to our website (see http://snape.ecoscentric.com/ , the flags on the right of the main menu), but are having problems fitting in google's requirements and frames.

The problem is google's use of frames. They have a primary frame with the translated ...
by alexs
Fri Jan 21, 2005 11:31 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: subimage placement after menu text
Replies: 5
Views: 3876

Thanks.

The behaviour of noSubImageSpacing=true; is not quite as expected - it could be a bug: If align="center" then items without subimages are centered, but items with are always left aligned :-(

Removing the fixed width aspect obviously "fixes" this, but then the menu items are all bunched ...
by alexs
Thu Jan 20, 2005 10:39 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: subimage placement after menu text
Replies: 5
Views: 3876

Thanks

Unsurprisingly, after a bit a messing around following my post I came to a similar solution. :) Since most of my items have subimages, I set the default in the style definition and set the RHS padding of items with no subimages to be the pixel width (+ padding) of the subimage. I also ...
by alexs
Thu Jan 20, 2005 1:15 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: subimage placement after menu text
Replies: 5
Views: 3876

subimage placement after menu text

I have a horizontal menu with items of fixed width, left aligned text, subimages and no seperators.

I would like to place the subimage directly after the menu text but appear unable to do this. subimageposition aligns the subimage realtive to the width of the menu item, which is undesirable ...