Skype for Business - Sharepoint href="sip:..." - html

I'm new at this, so have no idea really what to do. I'm trying to add a link to a sharepoint page which allows a Skype for Business conversation window to open (like the contact button that works for Skype). Every example I saw says that the easiest way to do this is by using the following code:
Text
When I do this and save the sharepoint page the hyperlink dissapears and the code ends up being
<a unselectable="on"> Text </a>
I don't know if I'm missing a .js or something like that, which allows the href="sip..." to be a valid hyperlink.
How can I fix this?

Related

How to link a menu item to a PDF

I am working on a website, assyrians.com using WordPress and I am trying to link a menu to a PDF. The problem is, when I click on "Trial Election," it downloads the PDF file immediately. What I want is to be able to click "Trial Election" and for it to lead to the PDF document as a ready-to-read display instead of an immediate download.
I apologize if that sounds confusing. I would be happy to clarify. I appreciate any help.
Use e.g. the Download Manager plugin, it is not the optimal solution to upload stuff like PDFs or DOCX directly into the media section.
You can use the download link as a menu item, like /?wpdmdl=1234, where "1234" is the id of the Download Manager item.
The main reason is, that all users can decide what todo with "downloads", you can not force what they have to do with it. If I decide to open PDFs in browser, so it opens, if not, I get the download box.
You cannot assume any users have viewers so always offer as a simple choice. Place download above frame not hidden at bottom, you can pretty that up but most users understand hyper underlined addresses.
<div class="et_pb_text_inner">
<p><span style="text-decoration: underline; color: #0000ff;">Click here to download your copy of the Assyrian electoral system pamphlet</span></p>
</div>
<div class="et_pb_text_inner">
<p><iframe width="98%" height="90%Vh" title="AEIPamphlet3Jan2020-converted.pdf" src="http://assyrians.com/wp-content/uploads/2020/01/AEIPamphlet3Jan2020-converted.pdf">A PDF frame</iframe></p>
</div>
Adjust height="90%Vh" as desired and you can optionally add sandbox attribute if desired.

Displaying LinkedIn content with `iframe`

I am making my website, and I want to put my LinkedIn profile in the Bio section. However, when I use iframe, I get that LinkedIn refused to connect. Is there a way to embed my LinkedIn profile in my website using HTML? Thanks!
<iframe src="https://www.linkedin.com/in/your-name"></iframe> yields:
LinkedIn allows you to create a badge, and put that badge in your portfolio/website. So, in order to make a LinkedIn badge, follow these steps:
From your LinkedIn profile, click on Contact Info which is next to the number of your connections.
Then click on the pen at the top right corner to edit the Contact Info.
The first thing you'll notice is your LinkedIn profile link. Click on it.
A new page will be opened, you'll see a column at the right of the page, and at its end, you'll find a box entitled with Public Profile badge and a Create a badge button at the bottom. Click on that button.
Copy the script tag and paste it at the bottom of your HTML sheet.
Scroll down, you'll find 4 designs for your badge. Select the proper one and copy its code from the bottom of it and paste it where you want the badge to be shared.
I know it's a long journey, but it's worth it.
NOTE: The link to your LinkedIn profile will always open in the current tab, even if you add to the a tag the attributes target="_blank" rel="noopener noreferrer". If you want the link to be opened in a new tab, put this line of code inside the head tag at the beginning of your HTML sheet <base target="_blank" />.
Another IMPORTANT Note: After putting the base tag inside your head tag, every single a tag inside that sheet will be opened in a new tab by default.
HAPPY CODING AND GOOD LUCK
Browsers these days prevent this from occurring by expecting iframes to only frame pages from the same site. It's to prevent clickjacking. and it's controlled via the X-Frame-Options header. You should see a similar error on dev tools, if you press F12 you should see this error
*Clickjacking, also known as a “UI redress attack”, is when an attacker uses multiple transparent or opaque layers to trick a user into clicking on a button or link on another page when they were intending to click on the top level page.*
Your hosting provider may have a policy in place to prevent this from occuring, or if that's you, you will be able to amend this default value on your server.
You can disable this via Chrome for your development.

How do I get the entire html code from a Weebly website?

I was thinking about getting started creating my own website with weebly.com. If I eventually want to move my website to a different host is there a way to do that? When I edit the html code it seems like weebly doesn't show you the whole code that's being used.
For example I just see:
<div id="main"><div class="container">{content}</div></div>
Instead of the <img src> or <p> that are actually on my page?
Is there any way I can see the full code or should I choose a different editor?
In your site editor, make sure you're on the SETTINGS tab, select GENERAL, scroll down, select ARCHIVE. Enter your email address and click EMAIL ARCHIVE. A link to download your zipped archive file will be mailed to you.

How to open an iframe from clicking an image

I'm wondering if anyone can help me. I'm hoping I can open an iFrame in the centre of my webpage from clicking a picture. So in effect the iframe would be hidden until the picture is clicked. I have a very small and simple upload form on another page that I would like to appear when the user needs to upload and click the picture. I've had a good look round on this site and google in general but not found what I'm looking for, or the basics weren't included because it's common knowledge for most people here. Would there also be a way of closing this when it's finished uploading too? The form currently diverts to the homepage when finished so It would be handy to have a close option as in the end (post successful upload) the iframe contents will be the same as the page it's displayed on.
The best/easiest I have come across has been on w3schools but I have read using html for iFrames is not widely accepted or it isn't the best option cross-browser.
I have been viewing and trying different code but without even the basic knowledge I can't get my head around it.
If anyone is able to help, please assume I'm 5 years old. I'm not daft but in terms of code I'm literally just starting.
Thanks in advance
You would need to add a javascript onclick function to your img tag which would open a new window upon a click. You would pass the window.open function the name of the html file you want to display. Something like this:
<img src="image.jpg" onclick="window.open('welcome.html')">

Google Chrome Extension: Webpage in Popup

I'm new to creating extensions and I also don't know much about html but I have an idea for a chrome extension that should be pretty simple so if you give me a little help I may be able to do it.
I want a popup to open when the user clicks the extension-icon (like most extensions) and the popup is supposed to contain a webpage like "http://google.com". That's actually about it. I created the manifest file with the required data and thats fine, now I need to know how to make the html file contain the external webpage.
Another problem: when I tried different things in the html file the popup was tiny and just white.
I hope someone can give me hint. Thanks!
I have made an extension wich displays links to several websites.
My popup.html looks like this:
<!DOCTYPE html>
<html>
<body>
<p>
<a href="http://www.google.com" target="_blank>Google</a> <br/>
<a href="http://stackoverflow.com" target="_blank>StackOverflow</a> <br/>
</p>
</body>
</html>
The target="blank means it opens the site in a new tab
More information about html is found here:
http://www.w3schools.com/html/html_links.asp
Be sure to make the icon 19x19 pixels,and be sure to name it in the manifest.json file
with the filename extension for example
"browser_action":{
"default_icon":"iconname.png",
"default_popup":"popup.html"
}
You should be able to use an iframe tag within your popup. I do that many times to point the user a FAQ page hosted outside.