Adding Internal link to webpage, document, Image
内部链接 are links to your content that you create from within Cascade. You can link to documents, files 和 webpages internally. 锚 links are also considered internal links.
可访问性技巧
Make sure that the link text is descriptive. use descriptive link text. 阅读更多 和 点击这里 link text isn’t very helpful to users with assistive technology. 而不是像 阅读更多 about Cascade 2017大会, create a link like 阅读更多 about Cascade 2017大会.
创建一个内部链接
- Select the text that you want to link to 和 find the link icon in WYSIWYG toolbar 和 click on it. This opens another window.
![](http://www.northwestern.edu/cascade-help/images/cascade-images/wysiwyg-link-option.png)
- 点击“Choose File, Page, or Link” option to navigate to the appropriate asset. Once you have located the asset to which you wish to link, click Ok button. This will place the link inside your webpage. If you’re linking to a document, we recommend adding document title in “Title”字段.
![](http://www.northwestern.edu/cascade-help/images/cascade-images/browse-asset-link-option.png)
- After you've made your changes, you should save your changes to Cascade 和 publish to the live site.
创建锚链接
锚 link is an invisible bookmark on your page. When pages have a large amount of text, 比如FAQ页面, it is easier to break up the page using anchors.
注意: 在一般情况下, you can create anchor links within the same WYSIWYG ( the anchor 和 the link has to live within the same WYSIWYG).
To create an anchor link:
- Place your cursor where you want the anchor marker to be located.
![](http://www.northwestern.edu/cascade-help/images/cascade-images/wysiwyg-anchor-icon.png)
- 接下来,单击 锚 icon. This will open a new window.
![](http://www.northwestern.edu/cascade-help/images/cascade-images/wysiwyg-anchor.png)
- Next to the Id field, type a short name for your anchor. Use dashes instead of spaces for longer ids.
- After you have chosen a name, click Ok. You will now see a small anchor image where you have placed your anchor. This anchor image is only visible within Cascade – this image will not appear on the published page.
![](http://www.northwestern.edu/cascade-help/images/cascade-images/anchor-icon-inwysiwyg.png)
- Select the text that you want to link to the anchor 和 go to the link icon.
- Type the anchor name into the 锚 field. You may use this for the page you are currently editing, or a page elsewhere on your site. If you wish to add an anchor to another page on your site, first choose the page you will link to (as described above). Then, type the appropriate name into the 锚 field.
![](http://www.northwestern.edu/cascade-help/images/cascade-images/link-to-anchor.png)
- 点击 Ok to place the link in your webpage.
- After you've made your changes, you should save your changes to Cascade 和 publish to the live site.
Adding 外部 link to a website or email address
外部 links are links to pages that are not part of your website in Cascade. If you cannot link to a page via Cascade using the folder tree, it’s considered external. 链接到电子邮件地址 is also considered an external link.
可访问性技巧
All external links should open in the same tab/window. Users with screen reading devices feel disoriented when external links open in a new tab. There’re a few exceptions when you can do that, for example – if users need to reference instructions on another webpage while filling out an online form, you could open the instructions in a new tab.
Link to an external webpage
- Select the text that you want to link to 和 find the link icon in WYSIWYG toolbar 和 click on it. This opens another window.
- To create an external link, uncheck Internal 和 check 外部 复选框.
![](http://www.northwestern.edu/cascade-help/images/cascade-images/insert-edit-link.png)
- 在“Link”字段, add the external URL. Make sure that the URL starts with http:// or http://. Make sure to delete the prefilled http if you’re copying URL from the browser address bar 和 pasting it here. You can add additional information about the external link in the “Title”字段. Then, type or paste the link to the external website into the Link field.
- Once you have added the link, click Ok button. This will place the link inside your webpage.
- After you've made your changes, you should save your changes to Cascade 和 publish to the live site.
链接到电子邮件地址
- Select the email address that you want to link to 和 find the link icon in WYSIWYG toolbar 和 click on it. This opens another window.
- To create an external link, uncheck Internal 和 check 外部 复选框.
- 在“Link字段,擦除 http:// 和类型 mailto:, then type the email address. For example, a mailto link should look like this - mailto: helpdesk@thestudioentrance.com
![](http://www.northwestern.edu/cascade-help/images/cascade-images/email-link.png)
- Once you have added the link, click Ok button. This will place the link inside your webpage.