Manjinda
Technical User
- Jul 17, 2009
- 9
Hey,
I am having trouble trying to get a pop up working within a flash site driven by xml & css files coding used is xhtml...
I have tried using this as a test but having no luck
<htmlContent><en><![CDATA[
<p class="mainTitle">TITLE HERE</p>
<p>CONTENT HERE</p>
<a href=" id="popup"><img src="images/media/logo.jpg" alt="Google"></a>
<script type="text/javascript">
document.getElementById('popup').onclick= function() {
return !window.open(this.href, '_blank', 'width=250,height=250');
};
</script>
]]></en></htmlContent>
it comes up like this...(SEE ATTACHMENT)
i have been told javascript has been disabled within the site hence why it does not work... what is the work around for this i am a noob to xhtml coding so would appreciate pre-written code which makes it easier for me.
Thanks in advance
I am having trouble trying to get a pop up working within a flash site driven by xml & css files coding used is xhtml...
I have tried using this as a test but having no luck
<htmlContent><en><![CDATA[
<p class="mainTitle">TITLE HERE</p>
<p>CONTENT HERE</p>
<a href=" id="popup"><img src="images/media/logo.jpg" alt="Google"></a>
<script type="text/javascript">
document.getElementById('popup').onclick= function() {
return !window.open(this.href, '_blank', 'width=250,height=250');
};
</script>
]]></en></htmlContent>
it comes up like this...(SEE ATTACHMENT)
i have been told javascript has been disabled within the site hence why it does not work... what is the work around for this i am a noob to xhtml coding so would appreciate pre-written code which makes it easier for me.
Thanks in advance