View Full Version : OnClick Action Where?

12-02-2010, 04:07 PM
I can't see how an action is being triggered in this code:

<div style="float: left; margin-top: 2px;">
<div style="width: 20px; height: 20px; opacity: 1;" class=" nicEdit-buttonContain nicEdit-buttonEnabled">
<div style="background-color: rgb(239, 239, 239); border: 1px solid rgb(239, 239, 239);" class=" nicEdit-button-undefined nicEdit-button-hover">
<div style="width: 18px; height: 18px; overflow: hidden; cursor: pointer; background-image: url(&quot;nicEditorIcons.gif&quot;); background-position: -450px 0px;" class=" nicEdit-button" unselectable="on">

I'm trying to pull the image uploading feature out of nicedit and bring it into ckeditor. I think if I can figure out how they are doing it here or at least where to look I might be able to do it in there. Here's a link

12-02-2010, 04:40 PM
It's probably dynamically generated. Try looking at the active source code, for example by selecting it in firefox and choosing "view selection source". That shows the current (even JS-modified) source, rather than the original.

12-02-2010, 04:58 PM

the image upload feature is a plugin, available on the downloads page

[ aside ]

I *really* like nicedit, especially the inline editing (contenteditable) features, the only thing holding me back from using it in production is the cross-browser stuff (http://wiki.nicedit.com/w/page/527/XHTML-Compliant-Output)

[ / aside ]