Can anybody give me a hint, how to remove that "Text Mode" button of TinyMCE?
I found a soltion here - just disabling the button in css:
.toggle-editor {
display: none;
}
http://www.tinymce.com/tryit/3_x/toggle_editor.php
The code used is:
toggleEditor('content')
If you want the editor mode to be toggled based on the option chose by the user from another page, you can execute (or not to) the above function on page load.
There are links to other examples on that page which you might find useful too.
Related
I need to display popup on disabled link click in ADF. As soon as I click on disabled link or button. Popup should be displayed. I tried with Action and ActionListner. But it will work, if button or link is enabled.
I can give shortDesc property to hover the text. But I am searching a way for getting a popup on click.
I surfed so many places. But I could not find it. Please suggest me some input on it.
Try to add another link and add a css to make it like a disabled link.
Or on the show popupbehaviour make the triger type = hover
I am building a small service based on CodeMirror where I would like to have the search box appear as a div rather than a popup as in the CodeMirror example. Further I would like to initiate the "search next" and "search previous" functions through clicks as well as via keyboard.
I am not sure how to do this, could somebody help me please?
You can define your own CodeMirror.prototype.openDialog method that shows the dialog the way you want (just conform to the interface). And you can run editor.execCommand("findNext") (or "findPrev") from a button's click handler to search next/previous.
I want to hide the comment popup that comes up when a facebook like is done. I've tried with giving css
.-cx-PRIVATE-pluginCommentFlyout__fullButton {
display: none !important;
}
but that doesn't seems to work as the css is added dynamically through jquery I assume.
How can I hide this comment box?
The comment box do not appear anymore after clicking like button.
Go to Facebook Like Plugin
Enter details for your implementation of the Like button
Click on "Get Code" button
There are 4 sections you can choose from (HTML5, XFBML, IFRAME, URL),
choose IFRAME and copy the plugin code from IFRAME section.
Summary: Instead of copying the plugin code from HTML5 section copy
the one from IFRAME section.
This has already been answered in some other threads:
Facebook Like Button - how to disable Comment pop up box?
Facebook Like Button - how to disable Comment pop up?
Some answers might already be deprecated, but it´s worth a try. One solution that worked for me some months ago was to use the iframe-version and a width of less than 400px.
It seems that none of the older versions is working anylonger. That comment box always appears on my fb like buttons.
I want a simple Like button. How can I obtain that. I don't want any viewcount nor people displayed besides my like button.
Your best bet may be to use the Facebook like button code generator and:
Set the Layout Style to button_count
Uncheck the Send Button option
Uncheck the Show Faces option
Hope this helps!
Just change the attribute show-faces to false like this:
<fb:login-button show-faces="false"></fb:login-button>
Shorter answer: Use:
data-layout="button_count"
in your element. This will display '0' rather than the longer prompt. There is unfortunately no way to display nothing at beside the button, however you can use CSS/JS tricks to hide the count.
This could be as simple as:
$('div.fb-like').width(48).css({'overflow':'hidden'})
but see the question linked above for more detailed information.
I added a like button in a facebook application (not iframe in order to capture the liked evenment...),
and when a user click on like, then he has the possibility to add a comment to the like.
I want to hide/remove this possibility to adda comment when he click on like.
Do you know if it's possible and how to do that?
Thanks
Set a fixed height and overflow hidden on the div that contains your like button so that it is hidden after the user clicks 'like'.
I added these CSS classes to my css file and it got rid of the comment box for me.
.fb_edge_widget_with_comment .fb_edge_comment_widget .fb_ltr {
display: none !important;
}