We had the same problem with SmartEdit mode and JavaScript and solved it as follows:
<script type="text/javascript" language="javascript" src="<%anc_nav_js %><!IoRangeRedDotMode>&script=1<!/IoRangeRedDotMode>"></script> In any Foundation Content class that uses the JavaScript file, we added the &script=1 after the element that references our JavaScript file and surrounded it with the SmartEdit Mode block marks. When the page is published or previewed, the &script=1 is ignored. When you're in SmartEdit Mode, it adds that parameter to the script tag and then the JavaScript will work. At least it does for us. Dave K On Apr 30, 10:07 am, manikandan rajuiyer <[email protected]> wrote: > Hi all, > > I have a top menu in my application which expands from top to down on > mouse hover through javascript code.In smart edit mode this is not > working and also any of the javascript functions are not working in > smart edit mode.Javascript external file has been reffered in the > application and all javascripts are present only in this file. > > So can anyone provide me some solution for this. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "RedDot CMS Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/reddot-cms-users?hl=en. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
