FCKeditor Not Showing

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


ADVERTISEMENT

Setting Focus Into FCKEditor

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

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 View Related

In-browser Javascript Editor Ala FCKeditor

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

JQuery :: Dialog Clone & Fckeditor On IE8?

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

JQuery :: FCKeditor Create And Destroy On Fly?

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

Pop-Up Not Showing

Jul 23, 2005

I know this is a silly question! I have written some code that requires
a pop-up window to come up for the user to confirm that he/she does
want to purchase the goods they've ordered. The problem i have is that
if they have blocked pop-ups then that window won't show up and the
order will get confirmed without approval. Is there a command or a
work-around for this pop-up to be dispayed no matter the settings?

View 9 Replies View Related

Hidding Div - Showing Div

Jul 23, 2005

I have something like this in a function:

....
var box = document.getElementById("box");
box.style.visibility = 'hidden'
....

This hides a div setup like the following:

<div id="box">
<table>
<tr><td>Content1</td></tr>
</table>
</div>

But, what if I want to have a another table
replace the table in the div above.

Say I want something like this to replace it:

<table>
<tr><td>Content2</td></tr>
</table>

For this example I have used simple content in my divs. But, in th real case, the div has a large group of nested tables of data.

I want the two to occupy the same space, so when one becomes hidden and the other becomes
visible, it is like they are replacing one another.

Since I have such large amounts of data in one of the tables, I do not want to user innerHTML to do the replacement. Is there any other way I can do it?

View 5 Replies View Related

IE Not Showing XBM Images

Jul 23, 2005

My Internet Explorer (version 6, on Wind. Mill.) suddenly stopped displaying XBM images, for no apparent reason. I now get the dreaded missing-image icon, where previously there would be a nice black-n-picture, whether created locally with Javascript or called in as an .xbm file. (See
http://www.tau.ac.il/images/large/Images.html or http://4umi.com/image/xbm/ for examples.)
Where do I even begin to look for the cause of this, and how do I remedy it?

View 5 Replies View Related

Banner Not Showing Up With No Www

Aug 7, 2009

I have a javascript banner on my site which is working perfectly. however if the user goes to my domain without www. infront of the address the banner is non existent. I'm pretty sure there should be some kind of option for this on my hosts control panel but I can't find anything on it however. (bluehost)

or is there something else that must be done?

View 2 Replies View Related

Showing And Hiding Some Div?

Sep 29, 2010

i am having some problem showing and hiding some divi want to show the div with the id="universitiesDiv" on one point and the div id="highSchoolsDiv" on another depending on the user choice of selected option.

function Show (titleImg){
// the id of the content element from the id of the title element
var contentID = titleImg.id.replace (/title/, "content");

[code]....

View 11 Replies View Related

Showing Div Tag On Browser

May 10, 2009

I need help badly on the div tags. I dont have much knowledge on div tags.I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug.When I scroll my browser to the end, the div is still shown at the upper part of the browser. Unless i scroll up (as a programmer, I know that div will be showing up but ofcourse user will not know) I dont know whether the div is shown.Whether the user scrolls up or down, he should be viewing the alert which I show him.

View 3 Replies View Related

Showing Output Of A Php Url?

Oct 7, 2009

Ok Im am so very lost on what to do now, I have written the php code and would like to display the contents of what is being echoed through the url.Example is by enteringmywebsite.com/index.php?dog=dogs it returns "a dog"mywebsite.com/index.php?dog=littledog returns "a little dog"What I would like to do is display the output of the urls to my webpage using javascript in popups. I have the pops written already I just need to be able to display the output.Please note that some of the pages are html so I would like to do this in javascript.

View 1 Replies View Related

Showing Errors All At Once?

Jul 31, 2011

I'm using javascript for my client validation and I would like this to work the way I wanted to. I have three textboxes for last name, middle name and firstname. All the fields are mandatory and if the form is submitted there would be an error to display below the textbox. The problem now is I couldn't show three errors at once. I could only show one error at a time. The error msgs are specific that is "Last name required", "First name requiredHere's my JS structure

function validate()
{
if (textbox1 == empty)

[code]....

View 8 Replies View Related

Tab Navigation Is Not Showing In IE6?

Feb 8, 2010

I used JavaScript based tab navigation in this page which is working properly in every browser including IE8, except IE6 which is giving error "object expected on line1". Could you please point out the problem what causing this error. The URL is given below

[url]....

I am using this JavaScript file on that page ResidentialTabNavi.js

View 16 Replies View Related

Showing Layers

Aug 27, 2005

I made this script, always works but for some weird resion it just doesn`t work any more,
Does any one know why.

<script>

function layers( divID )
{
if (document.getElementById) { obj = document.getElementById(divID); }
else if (document.all) { obj = document.all[divID]; }
else if (document.layers) { obj = document.layers[divID]; }

return obj;
}

function show_layer ( divID )
{
var obj = layers ( divID );

obj.style.display == ''
}

show_layer ( 'test' );

</script>

<div id='test' style='display:none;'> this is a test layer </div>

View 1 Replies View Related

Address Showing Up In A Pop Up?

Mar 7, 2003

I have a javascript pop up on some of my links. when you click on the link and the pop up window opens, you see the address to that page for a few seconds on the top of popup window....

View 3 Replies View Related

Showing And Hiding Some Div

Sep 28, 2010

i am having some problem showing and hiding some div.i want to show the div with the id="universitiesDiv" on one point and the div id="highSchoolsDiv" on another depending on the user choice of selected option.

View 10 Replies View Related

Fun With Showing And Hiding Div's

Oct 30, 2010

I was wondering if anyone wanted to take a shot at re-factoring my code. I am not a javascript guru, and I would like some feedback on what I could do to make it better.The code shows/hides the top div, and when the top div is hidden, the bottom div takes up the space of the top div.

View 3 Replies View Related

Showing Illegal Characters

Jul 23, 2005

I am building a web page to show a TCP/IP raw packet.

I need to show "special characters" on the web page I am working on.
When I say "special characters" i am talking about tabs, whitespace,
crazy unicode characters, etc etc.

What is the best way to present this to the user?

I am thinking that a large textarea is the only way to display it so it
retains all the special characters.

View 3 Replies View Related

JQuery :: Always Showing DIV Even On Scroll

Jan 6, 2011

I am interested in creating a footer that always shows on the page even when the user has to scroll down to see the rest of the page. It should be sort like an iframe, but I am interested in a achieving this using a DIV element instead. I am not sure how this kind of effect is called and created.

View 1 Replies View Related

JQuery :: Two Menus Showing Up?

Aug 10, 2009

I installed the Superfish Module and all appears to be workingproperly, My question is The Original Horizontal Nav is still showingup? How do I Disable?Also, The links with drop down's are gray and the links with nodropdown are red?

View 2 Replies View Related

JQuery :: Loading Gif Not Showing?

Aug 28, 2010

This is a strange problem, because I have done this about 50 times, but this time it is not working. I want to show a loading gif when a user submits a form.

<form id="uploadForm" enctype="multipart/form-data" action="" method="POST">
<!-- DOM omitted. The form submits just fine.
<div id="loadgif"></div>

[code]....

View 4 Replies View Related

JQuery :: Data Is Not Showing Up In The URL

Nov 2, 2011

If i remember correctly, even with an ajax call where the method = "get" it should show up in the url but, it doesnt seem to.....what's the issue with the code?

The following makes the arrow disapear when clicked

The following is the ajax call to change the vote

View 2 Replies View Related

Popup Menus Not Showing On IE6?

Mar 4, 2009

popup menus not showing on IE6?

View 6 Replies View Related

Preloading Then Showing Pictures?

Mar 14, 2009

I just spent 3 hours analyzing tons of lightboxes, image galleries, jQuery plugins. Now I'm a bit frustrated.I don't want a snazzy animation effect.I don't want a pre-made layout.This is what I want:On page load, 12-15 bigger images are preloaded into browser cache.Div#container contains a default image.When user clicks a thumbnail link, the corresponding (bigger) preloaded image shows inside #container.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved