How to set rel="nofollow" links with summernote - nofollow

I have a problem. I would like set rel="nofollow" Links in my summernote editor.
I tried to rng.insertNode($('' + sLinkText + '')[0]); on line 1757 but it doesn't work.
Can someone help me please?
THX

Related

Importxml data-href to GSheet

Good day everyone;
I am trying to import the data-href attribute from this url. I tried using importxml in gsheet but nothing works. Please helpp
https://www.softwareadvice.com/manufacturing/exact-jobboss-profile/
<a id="visit-website" class="button primary md visit-website ppc " rel="nofollow noopener" data-href="https://jobboss.com/job-shop-manufacturing-software/jobboss" data-text="Visit Website" target="_blank">Visit Website
Thanks in advance
I tried using this formula but can't seem to figure out.
=IMPORTXML(https://www.softwareadvice.com/manufacturing/exact-jobboss-profile/,"//section[#class='button-cta']")

I have some problems installing ckeditor, anyone who might be able to assist me?

Here's my code: http://pastebin.com/bL9pacC7
I have been trying to replace the textarea normal textbox to a CKEditor, is there anyone who can assist me with that? i'm pretty new at this so i will in advance say i'm sorry about my noobness.
If you want to use the "replace by class" method, you should assign the ckeditor class directly to the <textarea> element that you want to replace with CKEditor, so try:
<textarea class="ckeditor" name="pagecontent" id="pagecontent" cols="50" rows="5">
<?php echo($pagecontent) ?>
</textarea>
See an example (albeit without PHP) here: http://ckeditor.com/latest/samples/replacebyclass.html

How open link in new tab in Joomla?

I am using the RokSprocket module in a Joomla Template and I would need to open one photo by link in a different windows, for it, Could anybody help me?
Thanks in advance
Best Regards
Alejandro Castan
PS: Sorry for my little english
<!DOCTYPE html><html><head><script>var w;function openwindow(){w=window.open('http://www.w3schools.com/','', 'width=100,height=100');w.focus();}function myFunction(){w.resizeTo(500,500);w.focus();}</script></head><body><button onclick="openwindow()">Create window</button><button onclick="myFunction()">Resize window</button></body></html>
I have uses the following to solve my problem:
<a href="/extensions/roksprocket/13-roksprocket-features/25-sample-content-1" target="_blank">
<img src="/extensions/media/rokgallery/f/faa025be-fad2-4f7b-f7bc-2e3e9ad367a1/69f8dbe1-9a16-42d1-8ee7-ca0aa2be7992.jpg" alt="" style="max-width: 100%; height: auto;">
</a>

HtmlUnit - getTextContent()

I´m working whith HTMLUnit, I need get text content of a HtmlAnchor but only text no more tags html have.
<a class="subjectPrice" href="http://www.terra.es/?ca=28_s&st=a&c=4" title="Opel Zafira Tourer 2.0 Cdti 165 Cv Excellence 5p. -12">
<span class="old_price">32.679€</span>
24.395€
If I execute htmlAnchor.getTextContent() it´s return 32.679€ 24.395€, but I only need 24.395€
Anybody can help me? thanks.
Just use XPath to get the appropriate DomText node. It seems that ./text() taking as a reference the HtmlAnchor should be enough.

Is it possible to make a marquee using picture?

Im trying to make a layout with a picture which appears to be moving like a marquee? Is it possible? Please help.. thanks...
Yes, you can:
<marquee scrolldelay="100" bgcolor="grey">
<img src="img.png"/>
</marquee>
jsFiddle here
Edit: it works in all modern browers, and even in ie6,7,8
if you just want a moving image....this should suffice :
<marquee behavior="scroll" direction="left"><img src="/pix/smile.gif" width="100" height="100" alt="smile" /></marquee>
Useful link

Resources