Commit 9927bd0e authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #75544 improve slider navigation loading

parent b89971cf
- ticket #75544 : Boite article : amélioration du chargement du diaporama avec navigation.
\ No newline at end of file
...@@ -408,7 +408,9 @@ class ZendAfi_View_Helper_Accueil_Base extends ZendAfi_View_Helper_ModuleAbstrac ...@@ -408,7 +408,9 @@ class ZendAfi_View_Helper_Accueil_Base extends ZendAfi_View_Helper_ModuleAbstrac
Class_ScriptLoader::getInstance() Class_ScriptLoader::getInstance()
->addScript(URL_JAVA . 'slider_navigation/slider_navigation.js') ->addScript(URL_JAVA . 'slider_navigation/slider_navigation.js')
->addJQueryReady('$("#boite_'.$this->getIdModule().'").slider_navigation('. json_encode($options) .');'); ->addInlineStyle(sprintf('#boite_%s article, .preview_button img {height: 0; width: 0;}',
$this->getIdModule()))
->addJQueryReady('$("#boite_' . $this->getIdModule() . '").slider_navigation('. json_encode($options) .');');
} }
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
background: url('../../images/buttons/2rightarrow.png') no-repeat 0px 0px; background: url('../../images/buttons/2rightarrow.png') no-repeat 0px 0px;
} }
.preview_button { .preview_button {
border: 1px solid black; border: 1px solid black;
cursor: pointer; cursor: pointer;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment