Jump to content

RollOver not working on certain pages


kesaven

Recommended Posts

Hello

 

I am having an issue on my site and am not finding the solution

 

http://www.vente2site.fr/

 and

 

http://www.vente2site.fr/e-commerces-sites-marchands-en-vente-a-ceder/365-e-commerce-de-meubles-et-luminaires.html

 

call the same template for the header.

 

However the rollover does not work for one the images (voir les annonces) when i am on the main page.

Any idea oh how to correct?

 

HTML:

<a href="#" id="annvoir" class="voir_annonces" onmouseover="this.style.color = '#777D89';afficherGrisAnnonces()" onmouseout="this.style.color = '#00B196';affichervertAnnonces()" >
{l s='Voir les annonces' mod='blockuserinfo'}
</a>

 

JS:

 

function afficherGrisDeposerAnnonces() {
$('#depannonce').css('background-image','url(http://www.vente2site.fr/themes/vente2site/img/icone_1_grey.png)');
}

function affichervertDeposerAnnonces() {
$('#depannonce').css('background-image','url(http://www.vente2site.fr/themes/vente2site/img/icone_2.png)');
}

function afficherGrisLogin() {
$('#logannonce').css('background-image','url(http://www.vente2site.fr/themes/vente2site/img/icone_3_grey.png)');
}

function affichervertLogin() {
$('#logannonce').css('background-image','url(http://www.vente2site.fr/themes/vente2site/img/icone_3.png)');
}

function affichergrisMandat() {
$('#annmandat').css('background-image','url(http://www.vente2site.fr/themes/vente2site/img/icone_2_grey.png)');
}

function affichervertMandat() {
$('#annmandat').css('background-image','url(http://www.vente2site.fr/img/Picto-Mandat.png)');
}

function afficherGrisAnnonces() {
$('#annvoir').css('background-image','url(http://www.vente2site.fr/themes/vente2site/img/icone_4_grey.png)');
}

function affichervertAnnonces() {
$('#annvoir').css('background-image','url(http://www.vente2site.fr/themes/vente2site/img/icone_1.png)');
}

 

Link to comment
Share on other sites

can you add alert("!"); to these functions:

 

function afficherGrisAnnonces() {
$('#annvoir').css('background-image','url(http://www.vente2sit...cone_4_grey.png)');
}

function affichervertAnnonces() {
$('#annvoir').css('background-image','url(http://www.vente2sit...img/icone_1.png)');
}

 

we will see then if these functions work

it looks like they arent working well

Link to comment
Share on other sites

  • 2 weeks later...

I have a simular problem.

 

When i place the mouse over the product while it is listed in the "products by page"

 

the product rollover image shows a question mark. In the BO if i change the cover image to the alternate image it will show but now the other images shows a question mark. 

 

in the product view all works perfect.. 

 

this only happens in the "products by page" view.

 

Ive regenerated the thumbs,, no help

 

 

link: http://cynashealth.com/index.php?id_category=7&controller=category&orderby=name&orderway=desc

Edited by jewelcam (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...