Announcement

  •  » Extensions
  •  » problem with Advenced Menu Manager plugin

#1 2009-11-13 08:58:27

11alex11
Member
2009-11-07
55

problem with Advenced Menu Manager plugin

I created new block and added their "Google translate bar".there are spaces in the border of the block, how can I eliminate them?

http://i246.photobucket.com/albums/gg96/alexkapu/google_translate_piwigo_block.png

the blue circles mark the spaces.

Offline

 

#2 2009-11-13 10:49:09

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: problem with Advenced Menu Manager plugin

Can you give us the code that you put ;-)


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2009-11-13 11:04:32

11alex11
Member
2009-11-07
55

Re: problem with Advenced Menu Manager plugin

<div id="google_translate_element" align="center"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en'
  }, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

this code was taken from Google translate site

Offline

 

#4 2009-11-13 11:40:37

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: problem with Advenced Menu Manager plugin

In the meantime you can make better

<ul><li><div id="google_translate_element" align="center"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en'
  }, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</li></ul>


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2009-11-14 01:17:09

grum
Former Piwigo Team
Pantin
2007-09-10
1371

Re: problem with Advenced Menu Manager plugin

11alex11 wrote:

I created new block and added their "Google translate bar".there are spaces in the border of the block, how can I eliminate them?

http://i246.photobucket.com/albums/gg96 … _block.png

just add the class="illustration" property to the <div>

Code:

<div id="google_translate_element" align="center" class="illustration"></div>

to ddtddt : I'm not sure adding <ul><li> tags is better...   whait is the benefit ?


My pictures with Piwigo, of course !
[ www.grum.fr ]

Offline

 

#6 2009-11-14 08:26:59

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: problem with Advenced Menu Manager plugin

grum wrote:

to ddtddt : I'm not sure adding <ul><li> tags is better...   whait is the benefit ?

neither, but it solves the problem


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 
  •  » Extensions
  •  » problem with Advenced Menu Manager plugin

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact