DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 831082 - Last Review: June 20, 2007 - Revision: 2.2

INTRODUCTION

This article discusses how to change the behavior of hyperlinks that were created with the Go To URL feature in Web pages that were created in Microsoft Office FrontPage 2003 or in Microsoft Office SharePoint Designer 2007. This behavior changes the problem where some screen reading software could not read the hyperlinks that were created with the Go To URL feature if the Web browser has the Scripting option turned off (disabled).

If the Scripting option is turned off, you must use the <noscript> tag so that the screen readers can follow the hyperlink.

MORE INFORMATION

The Go To URL feature in FrontPage 2003 is implemented through a JScript function. This requires that the Scripting option is turned on (enabled) in the Web browser. The JScript function is typically used for buttons and for other objects.

When you create a hyperlink with the Go To URL feature, FrontPage 2003 creates the following Jscript code segment to handle the URL address:
<p><input type="button" value="Link Button" name="B1" 
onclick="FP_goToURL(http://services.support.microsoft.com/*href*/'http://URL_Address')"></p>
If the Scripting option has been turned off, the onclick event is not processed, and a readable URL address is not created for screen reader software. You can use the <noscript> tag to work around the problem. The <noscript> tag would take the following form:
<noscript><a href=http://URL_Address>Link Text</a></noscript>
You would then change the HTML code segment to the following code:
<p><input type="button" value="Link Text" name="B1" 
onclick="FP_goToURL(http://services.support.microsoft.com/*href*/'http://URL_Address')"> 
<noscript><a href=http://URL_Address>Link Text</a></noscript></p>
To change the HTML code segment, follow these steps:
  1. Open the Web page that you want to change in FrontPage 2003 or in SharePoint Designer 2007.
  2. Click the button or the object that you want to change on the Web page.
  3. Click the Code tab on the bottom of the page to switch to HTML code view. The HTML code for the button will be selected.
  4. Add the <noscript> HTML code before the </p> tag.
  5. In FrontPage 2003, click the Preview tab on the bottom of the page to preview the Web page. In SharePoint Designer 2007, select the File menu and then click Preview In Browser.

APPLIES TO
  • Microsoft Office FrontPage 2003
  • Microsoft Office SharePoint Designer 2007
Keywords: 
kbprogramming kbwebbrowser kbhowto KB831082
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support