Open specific link in new tab or window on link clicking - hyperlink

I have a wallpaper website. This website include a lot of wallpapers with variety of resolution links.
I would like to do that if someone click on a wallpaper and he chose his best resolution (clicked on the resolution link) open a new tab with a specified url link. Can some help me with a script code please?

I think you're looking for the link's target attribute.
Link text

Related

iOS: Disallow "Open in..." menu and immediately open attached email file in specific application

I would like to ask you, if there is possible to open email attachment file immediately in my own application, not to pop up "Open in...".
Now I have created "Document types" for example .xxx and always when some email has an attachment with extension .xxx then the attachment has small icon of my application, but when I click on it, then pop up "Open in..." menu and I must select again my application to open in... This is working like a charm but...
Is there some way to open it with just one click immediately and not show "Open in..." menu? The menu should be visible only if I stay clicked for some time on icon...
I have been searching for a while, but without any answers, thanks for feedback! Currently doing this on Xamarin for iOS, but I guess same it will be for a swift...
Not Possible in iOS. You can't force user to open supported document with your app only.

How can I reset iOS 9 Universal Linking settings?

While testing universal links on my iOS 9 app, I accidentally tapped "mywebsite.com >" (top right corner). This made the app navigate to the website again. Now I can't seem to make universal linking work again. Seems like iOS has remembered my preference that I would like to see links opened in Safari as opposed to my app.
Has anyone run into this? Is there a way to reset this?
You can long-press on a universal link and it will give you an action sheet with an "Open in 'AppName'" option. Once you select that option it will default to opening the links in your app again.
You need pull down in opened page in safari from email, etc to see button "Open" (this button is system in safari). If tap "open" after
I accidentally tapped "mywebsite.com >"
universal link will work again under the old scheme.The result of this action preserves.
example
#dan is right, long-pressing the hyperlink will give you the option to open with your app again through universal link.
If you have an Apple Smart Banner in place, you can also click on its 'Open' hyperlink to active universal links on your app again.
For a Branch.io deep link the long tap (at least in GMail) does not work and also you can't pull down from safari, it brings you to the App Store immediately.
Instead, copy the link to Notes and then do the long press.
More info here: https://blog.branch.io/3-steps-to-troubleshoot-ios-9-and-ios-10-universal-links/

How do you add an annotated thumbnail link over a youtube video?

Check out 0:31 in the link below and you will see a thumbnail link in the lower right corner that clicks through to another video. How did they do this? I know how to add annotations but I'm curious how they were able to use what appears to be a dynamic thumbnail.
https://www.youtube.com/watch?v=OJIzSKpKZh0&list=PL41F53F1EF7A5E42A&index=4
Any help or leads appreciated!
So this was much easier than I thought. YouTube calls this InVideo Programming. To do this log into your youtube account and click the arrow next you your profile icon to reveal "YouTube Settings" and click it. Then on the left hand side under "Channel Settings" click "InVideo Programming". You can then feature your channel or feature a specific video on all of videos. Hopefully this helps someone!

Save Image touch menu gone with iOS6 web apps.

With the iOS6 update, the "Save Image" touch popup menu is now gone when users are in a website that has apple-mobile-web-app-capable enabled. This is really important for my website http://2048px.com.
We want users to be able to add the site to their home screen. The way that users obtain new wallpaper is to click on the download button and then use the Save Image touch menu to save it to their camera roll. But like I said, in iOS6 the "Save Image" option seems to be gone when the webapp is being used.
Does anyone know of some magic meta tag to turn this back on? Or maybe a fancy way to save an image to the camera roll directly.
While I never found a solution to get the save image button back, I did find a solution. I noticed that if I opened a link in a new tab and the url to the link was an external domain, the link would open in Safari instead of the webapp. On my site, all my image for download are now being hosted on an external domain on S3. I then make the download links open in a new tab only when the website is in webapp mode. I accomplish this with the following code.
if (window.navigator.standalone) {
$('a.download').attr({target:'_blank',href:orig_download});
}

How do I hyperlink to a specific slide of a .ppt file?

I want to link to a specific slide in an online PowerPoint file, (e.g. http://www.example.com/hello.ppt) but what I want is that when people click on my link, it goes straight to the nth slide.
Is this possible?
Link to
http://www.whatever.com/hello.ppt#4
for slide 4 to be opened initially.
Take a look at this site:
http://www.tinyempire.com/shortnotes/files/specific_slide_in_ppt.htm
Also, if you want a link to the nth slide within the same file (to automate the 'Edit Hyperlink' > 'Place in This Document' action) then omit the filename and only set it to "#n".
I found the answer. all you have to do is add #n after .ppt.
For example, http://www.whatever.com/hello.ppt#4 will take you straight to the 4th slide.
The following method applies to any online version of PowerPoint (e.g. Office 365).
Open the powerpoint file in your browser (the link could look like this: http://YourCompany.sharepoint.com/:p:/r/sites/SiteName/...)
In the thumbnails list (on the left), right-click on the slide you want to refer to and choose "link to this slide" (free translation, my version is in Dutch "Koppeling naar deze dia")
In the pop-up screen, you can choose to share a read-only or an editable version

Resources