Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

Conversation

@ochan1
Copy link
Contributor

@ochan1 ochan1 commented Apr 27, 2021

Among the "options" input when calling "newProjectDiv" or "newCollectionDiv" from cloud.js, add this line to enable:
linkTarget: '_blank'

Tested in collection.tmp so far

Will use a secure version of a New Tab as written here: https://www.freecodecamp.org/news/how-to-use-html-to-open-link-in-new-tab/

Example:
image

@ochan1 ochan1 changed the title New tab for Project Clicking in Collection Screen Ability for New tab for Project Clicking Apr 27, 2021
@ochan1 ochan1 changed the title Ability for New tab for Project Clicking Ability for New tab when clicking a Snap! project Apr 27, 2021
@cycomachead
Copy link
Member

This looks good to me. I'll test it out soon. 👍

@ochan1 ochan1 force-pushed the new_tab_collection branch from 8c562ee to 1fdd0e3 Compare April 28, 2021 07:45
@ochan1 ochan1 closed this Apr 28, 2021
@ochan1 ochan1 deleted the new_tab_collection branch April 28, 2021 07:47
@ochan1
Copy link
Contributor Author

ochan1 commented Apr 28, 2021

Renamed branches for clarity, which made me having to remove this Pull Request

New (but same one) here: #103

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants