Create A FCKEditor Plugin ?
Sep 23, 2010
I am running FCKEditor 2.6.4 and am looking for a solution to insert onClick and onMouseOver external javascript into the anchor tags of my editor instances. This insertion would be handled via a toolbar button.
What I already know and have tried:
1. Know how to manually do this task in source view.
2. Already created the 2 javascripts I want to use, and proven they work when I insert the script in the editors source mode.
3. Already started making the plugin, but I'm lost on making the actual processing file as I do not want a dialogue window, just have the user click the button in the toolbar.
4. Already have created my fckplugin.js file and toolbar button.
As an example, here is what I have accomplished:
The standard image with its link is:
I already have a style class for the link, the styleclass sets 50% opacity until hovered at 100% opactiy, that was easily accomplished by applying the style to the Insert/Edit Link > advanced tab (after setting it in the editor stylesheet).
Here is what I'm trying to accomplish:
We start out with the same linked and styled image...
The user clicks the plugin toolbar button and the link source code is modified to the following:
View 5 Replies
ADVERTISEMENT
Oct 29, 2008
Have a problem with correctly unload (destroy) FCKeditor object fromDOM, created through $.fck() plugin?I wana edit HTML content on fly. Double click to content block iscalled FCKeditor through you plugin. Button "Save" is post data toaction.php script. I want use Ajax for avoid reload page. Can I makebutton "Cancel" that make unload FCKeditor from DOM on fly.I tryed use $.remove() method, but any next call .fck() is failed.
View 1 Replies
View Related
Jul 4, 2005
I am trying to get FCKeditor to work on my website using php.
//basic editor:
$oFCKeditor = new FCKeditor('tech') ;
$sBasePath = $base.'admin/fckeditor/'
//$sBasePath = $_SERVER['PHP_SELF'] ;
//$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "admin" ) ) ;
$oFCKeditor->Config['CustomConfigurationsPath'] = $sBasePath.'myConfig2.js'
$oFCKeditor->Config['EditorAreaCSS'] = $base.'styles/default.css'
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->ToolbarSet = 'Macarbi' ;
$oFCKeditor->Config['SkinPath'] = $sBasePath.'editor/skins/office2003/'
$oFCKeditor->Value = $tech;
where $base is: $base = '/home/public_html/'
this works fine on my development machine (Windows).
I upload to my prod server (Linux) and get a 404 error. (I changed the path and it is definately right. i have check about a million times!).
I try change the base to a relative url (./) and it seems to find it, but gives me a blank area. looking at the source it is doing loading and creating the correct code (the same as the code from my dev machine, but just with the relitive paths).
View 1 Replies
View Related
Jul 11, 2006
I know this isn't related to generic javascript but I didn't found a
group dedicated to the FCKEditor. I'm sorry for the inconvenience.
I'm desperately trying to set the focus into a FCKEditor component
(client side). I know that the FCK object exposes a "Focus()" method
(the capital F isn't a spelling mistake). The problem is I don't know
how to bind to this object from my container page (aspx). How can you
reference this object?
View 1 Replies
View Related
Nov 22, 2006
I've been playing with some javascript code and have produced a very
rough proof of concept source code editor written in javascript (a bit
like FCKeditor). Its not ready for release ((L)GPL>2 when it is) but I
thought I'd ask for any guidance and tips.
The intention is to provide a language nuetral source code editor
writen purely in html and javascript so that it can provide code
highlighting/completion etc, eventually as part of an ajax(ish) IDE so
with fckeditor you can manage web sites completely remotely.
There is a temptation to try and use mozilla/venkman but I'd like it to
run on small handhelds too so I will stick to writing it in pure
Javascript/Html.
The intial plan is to produce a javascript editor and then a stylesheet
editor (using the CSS editor on Firefox may make this a low priority)
but I'd like it to be configurable for any language so almost any
coding can be done over the web.
Anybody know any examples of similar that I could plagiarise to get the
basic architecture right?
View 10 Replies
View Related
Mar 10, 2010
I am having problem with displaying data in fckeditor. I am opening clone dialogs that display forms from another page. Everything comes up fine but fckeditor is not displaying any data in it. This only happens on IE8, no issues on FF. If I view this page outside the jquery dialog everything works fine. So there is conflict between jquery dialog and fckeditor.
View 1 Replies
View Related
Sep 24, 2009
I'm trying to create a plugin that I want to be able to call like$.pluginname(...) where currently I have to call the plugin like this $(...).pluginname.
View 2 Replies
View Related
Sep 21, 2010
I am using a jquery plugin to create a splash page but can't get it to work.
Here is the plugin page: [url]
And here is my code:
Code HTML4Strict:
So when I test the page nothing happens, I am expecting the image to appear then fade out using the jquery script and plugin which is attached
View 1 Replies
View Related
Jul 23, 2010
I want to create a twitter like user registration form for my asp.net(C#) web application. I have configured asp.net membership module for my site. I have searched alot but couldn't find any all in one JQuery Plugin which provide the following functionalities to my webform-
1. Form Feild highlight when onFocus and on error
2. Tooltip when form field is in focus
3. Proper client-side form validation
4. Check user name availability
[Code]...
View 2 Replies
View Related
May 13, 2011
some tools or plugin (free) that let me create easily menus for web environments with jquery? Something like thisOpenCube
View 1 Replies
View Related
Aug 18, 2011
I have a slideshow plugin and there is a function in it called stopAutoplay(). This is called when I click on the pre-defined pause button in the slideshow, so it stops.
If I switch between the slideshows(Slideshow 1 2 3) the slideshow is getting messier and messier because it starts many slideshows at the same time and the plugin gets confused what to show.
I figured if I click on the pause button before I switch to another slideshow it works fine. Therefore what I would like to achieve now is to call stopAutoplay() somehow before I switch to the new slides.
How can I call stopAutoplay() from the html file when I click on one of the slideshow 1 2 3 buttons?
I've tried the codes in green below but they don't work.
fadeSlideShow(); plugin pause function part:
stopAutoplay = function(){
clearInterval(intval);
intval = false;
[Code]....
If there is a better solution let's say to kill everything before the new slideshow appears it's even better. Although I've tried die(), empty(), detach(), remove(). I hoped remove() would help cause as I read it's suppsed to remove everything but for some reasons it doesn't...
View 3 Replies
View Related
Jul 12, 2011
I am creating an extension plugin to the jQuery UI Date Picker plugin mostly to just standardize the options used, as well as to add an icon to open the calendar. I am aware of the plugin's use of an icon trigger, but this will not work, as I am using an icon in my sprite image and not wanting an additional request for a mere icon.
My plugin code:
(
function
(
$
)
[Code]....
This is where it really perplexes me as this code does work to produce the calendar icon. while I could get it to work this way, it is obviously not the better choice as it should be part of the extension plugin and not get repeated in all of my various implementations of the plugin.
View 4 Replies
View Related
Aug 31, 2009
I'm trying to take the hex value chosen from a jQuery colorpicker plugin, and store it as a cookie using the jQuery cookie plugin. I just don't know the appropriate way to tie the two together.
[Code]...
View 1 Replies
View Related
May 26, 2009
I need to localize my validation plugin in general. Hence I thought I have to override the default code with this one:
But it's not working. Another problem is, that I can't access input names like this > name="xyz[1]" Is there a way to do so?
View 1 Replies
View Related
May 5, 2009
Having looked at the ajax examples offered for the form plugin i was intruiged to find out how i could go about validating the form using the formvalidate plugin during the beforeSubmit callback. Ive seen that you can validate the ajaxform as shown in the following example. [URL] However i'd like to use the formvalidate as it offers alot more..
View 1 Replies
View Related
Jun 1, 2009
I cant get the easing plugin to work with cycle plugin
1. does cycle 2.65 work with easing 1.3
2. does easing work on the scrollHorz
3. if both of these are true then what am i doing wrong
$('#slideshow').cycle({
View 1 Replies
View Related
Jan 20, 2010
im using the validate plugin with the meta data plugin
jQuery(document).ready(
function(){
jQuery("#com-createForm").validate({ meta: "rules" } );
});
and then in the html i have for example
[Code]...
View 2 Replies
View Related
Dec 16, 2011
I have files on the server: .txt, .xml, .config, and "no extension" - all editable with notepad.
User will write some input, it will be added to file in specific place.
I need an ability to change element value in file (in one of them - depends what user choose) (or it even can be some trigger word it-self like CHANGE_ME for not to use attributes)
Create a temporary copy of edited file and create a unique temporary link to it.
I don't know what to start from.... For now I know how to make XHR, but what to do with other extensions?
Have no idea how to save the NEW file (a copy of original file) on server , and create a UNIQUE link ,and delete the file right after it was downloaded.
I can find a specific word in xml file, but how to change it?[code]...
View 3 Replies
View Related
Jan 28, 2011
To jquery and am wanting to incorporate 'Cloud Carousel' plugin in another jquery plugin (jquery popup with grayed out background). However, I am struggling to make it work. whereas normally the 'Cloud Carousel' displays as you seen on their website, in my implementation, all the images are sitting on top of each other, as if, they are sitting in a stack and one by one they appear on top.
View 4 Replies
View Related
May 6, 2009
m relatively new to Jquery and have come accross these two plugins.Having looked at the ajax examples offered for the form plugin i wasintruiged to find out how i could go about validating the form usingthe formvalidate plugin during the beforeSubmit callback.Ive seen that you can validate the ajaxform as shown in the followingxample.malsup.com/jquery/form/#code-samplesHowever i'd like to use the formvalidate as it offers alot more....
View 1 Replies
View Related
Apr 13, 2011
I have a page where im using the Star Rating Widget. I need it to change more than one set of radio buttons into stars, but under the same div.jQuery(document).ready(function(){ jQuery("#stars-disabled").stars({ disabled: true});});#stars-disabled being the div, which is used more than once as i have a random amount of users commenting on and rating the same product.So far it only converts the first set it comes across, then the rest are left as normal.Anybody know how i can get jQuery to continue changing all radio buttons within the stars-disabled div.
View 2 Replies
View Related
Apr 23, 2001
How do you find out if a certain Plugin has been installed in IE 5.5 using Javascript?
I know that in netscape you can use navigator.plugins so I was hoping there was something as easy as this.
View 2 Replies
View Related
Nov 19, 2010
Have had a look around at some galleries/menus etc and if anyone was able to tell me the plugin TBWA might have used on their website?
View 4 Replies
View Related
Aug 2, 2010
I originally tried this but found it to be quite problematic: [URL]I don't think it's jQuery 1.4 compatible either.I then went on to try a JavaScript script that I found elsewhere, but that also brings up new problems!All I need is a simple bug-free jQuery plugin that will fix the opacity bug in IE6.
View 2 Replies
View Related
Jul 12, 2011
I am trying to make a jquery plug in work for me. I am using the horizontal scroller jquery easing plug in but I cannot get in to work right? The way the tutorial I used has you set it up is you use divs for each link so it scrolls to the next div. My problem is that I have 3 different pages that my navigation needs to scroll to so I have no idea how to make those into divs?
The way the tutorial has it the links are actually divs but I have changed it to attempt to make it work but it doesnt........
has the html like this:
<div class="section black" id="section1">
<ul class="nav">
<li>1</li>
<li><a href="#section2">2</a></li>
[Code].....
View 1 Replies
View Related
Sep 28, 2010
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/"></script>
<script type="text/javascript" src="js/jquery-1.2.6.js"></script>
<script type="text/javascript" src="js/startstop-slider.js"></script>
and they work fine in the slides in All other browsers but IE, If I remove the "interface.js" the slide works but I want both to work
View 1 Replies
View Related