cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
957
Views
0
Helpful
2
Replies

ISE 3.0 Guest Portal HTML Jump Marks

MUllrich
Level 1
Level 1

Hi community,

i have the requirement for several AUP Disclaimers in the same Portal. In order to do so, i can put them all in the AUP Box sequentially. The top of the box i have the links to each version referenced by jump marks as such:

<a href="#abschnitt1">zum Anfang des Abschnitt 1</a>

<a href="#abschnitt2">zum Anfang des Abschnitt 2</a>

<a href="#abschnitt3">zum Anfang des Abschnitt 3</a>

 

<h1 id="abschnitt1">Überschrift 1 blabla</h1>

<p> ne Menge Text</p>

 

<h1 id="abschnitt2">Überschrift 2 blabla</h1>

<p> ne Menge Text</p>

 

<h1 id="abschnitt3">Überschrift 3 blabla</h1>

<p> ne Menge Text</p>

 

It is not jumping when i click on the links. If i rightclick them and open in new tab, it opens the tab with correct aup box scroll position.

 

What can i do here do make it work in my current tab.

 

P.S. i tried several browsers with the same result

2 Replies 2

thomas
Cisco Employee
Cisco Employee

There are two ways to do this: id attributes and named anchors. Both allow you to jump to that section of your document using a fragment in your URL as you showed:

 

scheme://host[:port][/path][?query][#fragment]

 

id attributes are often used with headers for auto-generated table of contents. Keep in mind that an id name must be globally unique within the page or it will not work.

 

<a href="#my_id_name">Jump to <code>my_id_name</code></a>
<h2 id="my_id_name">My ID Name</h2>

 

 The other option is the named anchor which works similarly  :

 

<a href="#my_named_anchor">Jump to <code>my_named_anchor</code></a>
<h2><a name="my_named_anchor"></a>My Named Anchor</h2>

 

 

 

hslai
Cisco Employee
Cisco Employee

Or, it might be something to do with iFrames or the like. See Using Anchors with IFrames