GreGorGy
BULLSFAN
So, here's my problem: I have inherited a Joomla site (I'd rather it wasn't but that's another issue not worth discussing). Where product pictures occur, the site uses jcepopup to create a modal zoom of the image:
When this occurs in the natural body (from the Article Editor) it obviously works fine. Now, I want to put several images in a single-pane slide show and have the popup work. But it does not:
Ignoring style and all other variables, the above code works to replace the inner html in the span with everything as expected EXCEPT that jcepopup class. I can recode the whole damn thing for a different modal image but that would defeat the purpose of this piece of crap being in joomla.
Any ideas?
Code:
<A HREF="zoom.jpg" CLASS="jcepopup"><IMG SRC="thumb.jpg"></A>
When this occurs in the natural body (from the Article Editor) it obviously works fine. Now, I want to put several images in a single-pane slide show and have the popup work. But it does not:
Code:
<SCRIPT TYPE="text/javascript" LANGUAGE=JAVASCRIPT CHARSET=UTF-8>
function linkchange()
{
document.getElementById("fxshow").innerHTML = '<A HREF="zoom2.jpg" CLASS="jcepopup"><IMG SRC="thumb2.jpg"></A>'
}
</SCRIPT>
...
<SPAN ID="fxshow"><A HREF="zoom.jpg" CLASS="jcepopup"><IMG SRC="thumb.jpg"></A></SPAN><BR>
<A onClick="linkchange()">Next</A>
Ignoring style and all other variables, the above code works to replace the inner html in the span with everything as expected EXCEPT that jcepopup class. I can recode the whole damn thing for a different modal image but that would defeat the purpose of this piece of crap being in joomla.
Any ideas?