I'm having what is (I think) a similar problem. On my page is some javascript for a slideshow (i'll post it at the bottom) and when it goes through ultimateeditor, the quotes get messed up and it doesn't work. Actually I don't really want the user to be able to edit the script anyway, so what would be good would be some sort of custom tags which would tell ultimateeditor to ignore (and not change!) what is within it? Is this possible? Or some way to stop the quotes being screwed up?
Here is the javascript I have, which works:
<!-- Begin XML Flash Slideshow v3 -->
<div style="float:left; margin-right:10px;">
<script type="text/javascript"> XMLFlashSlideshow_v3({swf:'v3flashslideshow/slideshow.swf',w:'300',h:'225',redirect:'',usePreloader:'true',xml:'v3flashslideshow/slideshow_data0.xml',preventCache:'true',disableMultipleXML:'false',initXML:'%3C?xml%20version=%221.0%22%20encoding=%22utf-8%22?%3E%3Cslideshow%20version=%223%22%3E%3Cstyles%3E%3CPreloader%20label=%22Loading%20%7BN%7D%2525%22%20iconColor=%22#666666%22%20iconAlpha=%2270%22%20iconWidth=%2250%22%3E%3C/Preloader%3E%3CPreloaderLabel%20font=%22Verdana%22%20size=%2210%22%20color=%22#666666%22%20bold=%22false%22%3E%3C/PreloaderLabel%3E%3CBackground%20backgroundColor=%22#FFFFFF%22%20backgroundAlpha=%22100%22%20bevelColor=%22#FFFFFF%22%20bevelStrength=%2270%22%20borderWidth=%220%22%20borderColor=%22#FF6600%22%3E%3C/Background%3E%3CLoaderAnimation%20type=%22circle%22%20color=%22#FFFFFF%22%20alphaBackground=%2220%22%20alphaInner=%2240%22%20frameWidth=%222%22%20width=%2250%22%20height=%2250%22%3E%3C/LoaderAnimation%3E%3CDataLoader%20useAnimation=%22true%22%20useLabel=%22true%22%20labelPlacement=%22bottom%22%20fadeOutDuration=%22400%22%20textFormat=%22loader_text%22%3E%3C/DataLoader%3E%3C/styles%3E%3Clocalization%3E%3Ctext%20orig=%22Loading%20Data...%22%20local=%22Loading%20Data...%22%3E%3C/text%3E%3C/localization%3E%3Cfonts%3E%3Cfont%20id=%22loader_text%22%20name=%22Pixelade%22%20embed=%22true%22%20size=%2213%22%20color=%22#666666%22%20bold=%22false%22%20selectable=%22false%22%20align=%22left%22%3E%3C/font%3E%3C/fonts%3E%3C/slideshow%3E'});
</script>
</div>
<!-- End XML Flash Slideshow v3 -->
After ultimateeditor it looks like this, and it doesn't work:
<!-- Begin XML Flash Slideshow v3 -->
<DIV style='FLOAT: left; MARGIN-RIGHT: 10px'>
<SCRIPT type=text/javascript>XMLFlashSlideshow_v3({swf:’v3flashslideshow/slideshow.swf’,w:’300’,h:’225’,redirect:’’,usePreloader:’true’,xml:’v3flashslideshow/slideshow_data0.xml’,preventCache:’true’,disableMultipleXML:’false’,initXML:’%3C?xml%20version=%221.0%22%20encoding=%22utf-8%22?%3E%3Cslideshow%20version=%223%22%3E%3Cstyles%3E%3CPreloader%20label=%22Loading%20%7BN%7D%2525%22%20iconColor=%22#666666%22%20iconAlpha=%2270%22%20iconWidth=%2250%22%3E%3C/Preloader%3E%3CPreloaderLabel%20font=%22Verdana%22%20size=%2210%22%20color=%22#666666%22%20bold=%22false%22%3E%3C/PreloaderLabel%3E%3CBackground%20backgroundColor=%22#FFFFFF%22%20backgroundAlpha=%22100%22%20bevelColor=%22#FFFFFF%22%20bevelStrength=%2270%22%20borderWidth=%220%22%20borderColor=%22#FF6600%22%3E%3C/Background%3E%3CLoaderAnimation%20type=%22circle%22%20color=%22#FFFFFF%22%20alphaBackground=%2220%22%20alphaInner=%2240%22%20frameWidth=%222%22%20width=%2250%22%20height=%2250%22%3E%3C/LoaderAnimation%3E%3CDataLoader%20useAnimation=%22true%22%20useLabel=%22true%22%20labelPlacement=%22bottom%22%20fadeOutDuration=%22400%22%20textFormat=%22loader_text%22%3E%3C/DataLoader%3E%3C/styles%3E%3Clocalization%3E%3Ctext%20orig=%22Loading%20Data...%22%20local=%22Loading%20Data...%22%3E%3C/text%3E%3C/localization%3E%3Cfonts%3E%3Cfont%20id=%22loader_text%22%20name=%22Pixelade%22%20embed=%22true%22%20size=%2213%22%20color=%22#666666%22%20bold=%22false%22%20selectable=%22false%22%20align=%22left%22%3E%3C/font%3E%3C/fonts%3E%3C/slideshow%3E’});</SCRIPT>
</DIV><!-- End XML Flash Slideshow v3 -->
Any assistance appreciated - thank you
Why does UltimateEditor replace the ' character with ’ ?? Can I stop it doing this?
I can send a sample app if you like - please let me know where it should be sent? However I'll wait to see if this patch mentioned above solved the problem - is it working now? Thanks