Name or id of Iframe in CKEditor - ckeditor

I am trying to create a plugin for CKEditor. As ckeditor creates Iframe for each textarea we want to convert as rich text editor, I want to know the name or id of that iframe.
How would I get it.
Help will be appreciated.
Regards
Parminder

If you use Firebug you'll see that the iframe doesn't have an id or name. Instead you should get the editor.document.$ and move from that point, for example editor.document.$.defaultView.frameElement

Related

Implementacja summernote

I need help implementing summernote. I can't use summernote to save the content in an HTML file Can someone send an example page in Bootstrap with summernote implemented so that the edited text is saved permanently on the Bootstrap page.
I tried to use this:
http://omnibus24.online/test/index2.html

Monitor click events on bookmarks (Google Apps Script)

Is there a way to monitor click events on bookmarks in google documents with google apps script? I want to get bookmark id when someone selects a bookmark and than run some more code which needs that bookmark id to get processed.
With Brian Bennett's help I managed to solve this issue with Web Apps. There is a little bit more code to write but it works.
Write a doGet function:
doGet function is called when a user visits your Web App. With doGet function I opened a document with ID given through get parameters and displayed it as html. To get a html of the document I used this function.
Find and display bookmarks:
You can find bookmarks in the html of the document as html tag with id of the bookmark. I changed the css of all this tags so I could see them (change background, height, width or something like that).
listen to click events on bookmarks with jquery or just javascript:
Listen to click events on those tags (bookmakrs) with jquery or javascript. If you use jquery, you need to import a jquery library. When click event happens get the id of the bookmark from the id attribute of the tag.
Use that bookmark id as you wish...

how to remove ajax loader from the contact form

I had one contact form wordpress plugin which loads with ajax so i want to remove that loader type ajax what should be done?
Inspect the element which you want to remove by going to browser.
If chrome you can directly press ctrl+shift+i and windows will open.
Locate that particular loader you want to remove and you will find it wrapped in div or id.
Find that and put it in css code with this command as shown in example.
.ajaxloader {display:none;}
#ajaxloader {display:none;}
Hope this will works.
In my particular case, the AJAX loader was enclosed with a span tag, so the code looked like this:
.ajaxloader span {display:none;}

Magnific Popup: Is Ajax content indexed by Google? (SEO)

I'm planning to modernize the photo gallery on my website. Currently I use the Colorbox plugin to open the large image and legend in a lightbox after clicking on a thumbnail. Google indexes the pictures and legends yet optimal.
My new photo gallery should be responsive and I want to show not only the photo and legend inside of the lightbox, but also further information like date, location, camera, tags, etc. That's why I will use the Ajax option rather than the standard gallery option of the lightbox plugin.
The thumbnails are compiled dynamically based on filtering and sorting settings and the information about the photos is stored in a database. So I will use a PHP script to get the necessary information and to set up the HTML code for the Ajax call dynamically. That should be no problem.
My question is: Will the contents that is loaded via Ajax in the Magnific Popup be indexed by Google?
Unfortunately I do not think so, because if I make a Google search for a part of the text which is displayed in the Ajax Lightbox on http://dimsemenov.com/plugins/magnific-popup/, this page does not appear in the Google results...
Is there a solution? Or can you recommend another responsive Lightbox wherein the Ajax content will be indexed?
Thank you for any suggestion!
Michelle

Chronoforms plugin display twice the form tag

I have a form generated by phplist. I succed to implement it in joomla with chronoforms component and I insert it in an article with choroforms plugin. The problem is that in source code the form tab appear twice and javascript show me an error.
Did you met this problem, what I did wrong?
Thank you
If I am understanding you correctly, it sounds like you copied the code from phplist and pasted it in the Chronoforms form HTML box. If so, you need to remove the form tags from that box. The form tags are generated by the extension when it displays a form. You will also need to put the URL in the "Submit URL" in the general tab of the form.

Resources