There are typically a few common gotchas in SmartEdit mode to watch for: - If you are referencing a content class as an external JS file you will want to append "&script=1" to the end of the URL or actually have the script itself feed back into the page when inside of RedDot. The reason for this is RedDot likes to go into your documents and inject code like head tags and JS events it uses. This will stop that. (Nothing like an HTML block at the top of your script to stop it from running)
- I've seen broken anchors or references left in a page which then draws in a 404 error page into the external script reference. This can help JS to not run properly. - Depending on what your script is doing, the internal RedDot paths can cause issues. Take for example a JS that gets passed a URL to XML data to power a Flash slideshow. Part of the data may be something like 'dataUrl=whatever'. When published this is mostly likely something like '/location/file.xml' .. but when in RedDot it's a giant query ... passed into the middle of your query. So the first & breaks the data and takes out the script or flash. I would check those first. Most likely it's the first thing in which RedDot is basically changing your script while in RedDot, when you aren't looking. On Apr 30, 3:22 am, santhosh santhosh <[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 > Santhosh > > -- > 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.
