strange image flicking

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

strange image flicking

Post by mcog_esteban »

hi all.

i have this piece of code:

Code: Select all

<img src="/images/moldura.gif" width="63" height="74" alt="Mais informação sobre <?= $prod&#1111;name] ?>" style="background: url('/catalogo/images/noimage.jpg)" border="0">
but the client asked if was possible to keep the images on the DB,
but now when i show the pictures on IE using just a litle modification:

Code: Select all

<img src="/images/moldura.gif" width="63" height="74" alt="Mais informação sobre <?= $prod&#1111;name] ?>" style="background: url('/image.php?id=<?= $prod&#1111;id] ?>')" border="0">
i see a strange flickering when the mouse is over and out the image.
on Firefox this does not happen.

does anyone have an idea of what could be wrong here?
thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

your (mis)use of quotes? :?: :?
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

Post by mcog_esteban »

sorry, didn't understood... (mis)use of quotes?

could the problem be the quotes?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I seem to remember quoted strings not being apart of url() calls in CSS.

may want to try background-image too.. just incase there may be a mixup in that.
mcog_esteban
Forum Contributor
Posts: 127
Joined: Tue Dec 30, 2003 3:28 pm

Post by mcog_esteban »

i can't get no results.
with double quotes there's no picture, with a single quote i get the flick

i tried the background-image with no sucess too.
do you have any more advices?
thanks
Post Reply