When users use their back button (back to the page with the editor) the text area of the fckeditor does not show (just the outline) and javascript: reads an error about uncaught exception: Component returned failure code.....locatiopn js frame fck_startup.js TOP LEVEL line 20 data:no
IE (imagine that) does not return the same issue.
can someone help please?
IE (imagine that) does not return the same issue.
can someone help please?
RE: back button used inside txt area goes awa
I think this is a know issue and relates to the history being "gone", but not really, as well (back button doesn't do nada but "go {selected history url}" does.
Not 100% sure but it seems to be one of those tough ones to get rid of.
Workarounds:open editor in it's own window that then closes or some such. I've been liking the "fade" js effects you can easily add to div's, iframes, etc. Scriptilicous I think is one i've used with neat effects easily addable.
Well I guess I should have said "workaround". I haven't tried like splitting stuff off into temp vars and such, that may be a way... hrm.... Not to much of a guru but I'll look at what's happening if I can...
RE: back button used inside txt area goes awa
um.. you have an interesting idea.. (open the editor in a pop up window)... any ideas how to do that ?
THanks for replying Xenden... btw.. do u game ? LOL
RE: back button used inside txt area goes awa
Heh. Always good to "see" ya stripe-man! We've recently set up a "buggers" arena, where we settle things with lasers and rockets. So feel free! And if you here "game on", prepare thy self! Hehehe...
Fer the window popping... well, you've got options. You could have it be in a seperate page, with a target="_blank" on the href, passing whatever vars you need to put it where you want it in the end. All logic and such in that page.
Or you could have it in a popup window and have a hidden text field on your main page which gets populated when the user pushes a button on the popped-up-page.
Or you could try sticking it in an hidden iframe, and fade it in and out, using either the first or second method of getting the data back.
I like the fading in and out; a poor man's Flash.
Don't remember if I ever made a example of this or not, probably not, but if I did I'll post it. Maybe I'll throw one up using the scriptalicious effects, so it's posh. Probably won't happen unless a vioce, as if from heaven, booms: "Finish Him"...
RE: back button used inside txt area goes awa
"FINISH IT>> and they will use it! " ahahhahahaha
not sure though what this scriptalicious thing u are talkinga bout lol .. but i will Google it.
I can not use iframes unfourtunatly. But the pop up might work.. just trhying to think what you have in mind how it will look....
RE: back button used inside txt area goes awa
I did make a popup .. buts its another page with the editor embeded into it. Is working well..
I guess i was thinking that you were talking about (maybe you are) clicking on a button making ONLYthe text area popup...
but in anycase.. all is good.. but im still interested in this fading thing youare talking about...
RE: back button used inside txt area goes awa
Here is an example using the script.aculo.us effects I was talking about.
A couple of examples, actually.
And the rough draft of the ContentLength w/ max-value plugin...
http://www.unm.edu/~valliant/FCKeditor/examples/
Kinda shoddy and kludged, but basically demonstrates the nifty things available with JS and effects... check out the script.aculo.us scripts, they got some freaking nifty effects...
There's a demo of opening an editor in a popup window and having it populate(set a field of) the opening page with the editor's value.
Seems to work. Could definately be tweaked for speed and whatnot... and browser refreshes...
RE: back button used inside txt area goes away
This is what im using to call it..
<input onmouseover=\"ac_AutoHide()\" type=\"hidden\" id=\"MyEditor\" name=\"sum\" value=\"\">
<input onmouseover=\"ac_AutoHide()\" type=\"hidden\" id=\"MyEditor___Config\" value=\"Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded)\">";
$oFCKeditor = new FCKeditor('MyEditor') ;
$oFCKeditor->BasePath = 'editor/editor/fckeditor.html?InstanceName=MyEditor&Skin=Office2003&Toolbar=Default';
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '200' ;
//$oFCKeditor->Value = 'Default test in editor';
$oFCKeditor->Create() ;