GraffitiAnchor

Preview #

No preview available as this class does not have a visual representation.

About #

GraffitiAnchor creates anchor points on the page, allowing for quick and easy scrolling to draw the user’s attention to a UI element.

Enumerations #

This class exposes no enumerations.

Constants #

This class exposes no constants.

Events #

This class exposes no events.

Methods #

This class exposes no methods.

Properties #

This class exposes no properties.

Examples #

Scrolling from a WebLink #

  • Set the GraffitiAnchor instance’s Name property to something unique, such as “myAnchorOnMainPageInSectionTwo”.
  • Set a WebLink’s URL property to match with a preceding hashtag, IE: “#myAnchorOnMainPageInSectionTwo”.

Scrolling from a WebButton or other control #

  • Set the GraffitiAnchor instance’s Name property to something unique, such as “myAnchorOnMainPageInSectionTwo”.
  • To initiate the scroll, pass the name with a preceding hashtag to Session.GotoURL, IE: “”#myAnchorOnMainPageInSectionTwo”.”
Session.GotoURL( "#" + anchorPageTopLeft.Name )