[opencms-dev] Problems with links within javascript
mwichelmann at push-interactive.de
mwichelmann at push-interactive.de
Wed Apr 2 18:15:02 CEST 2003
Hello,
I've problems with javascript and the link-management from OpenCms. I want
to insert the following code in one of my static pages:
<script type="text/javascript" language="JavaScript">
document.write("\<a
href=\"javascript:gallery('gallery/standort_1.html')\"\>\<img
src=\"]]><link>/media/images/a_picture.gif</link><![CDATA[\" border=\"0\"
alt=\"Galerie\" align=\"absmiddle\"\>\<\/a\>");
</script>
But when I want to save this Page I get the following Error:
com.opencms.core.CmsException: 21 XML parsing error. Detailed error: PARSING
ERROR!.
When I write it directly to the body in "/system/bodys/..." it works fine
but it is not very comfortable that way!
Is that a bug from OpenCms or am I doing somthing wrong? Is there a
workaround?
regards,
Markus
Markus Wichelmann
----------------------------------------------------------------------------
push!interactive GmbH | In der VillaMedia
Viehhofstrasse 125 | D 42117 Wuppertal| phone +49 (0)202 2427-300 | fax -310
Klenzestrasse 38 | D 80469 Munich | phone +49 (0)89 2602465-0 | fax -2
mailto:mwichelmann at push-interactive.de | http://www.push-interactive.de
----------------------------------------------------------------------------
More information about the opencms-dev
mailing list