Beamr 中幻灯片之间的引用

reference between slides in Beamr

我有如下代码。我想在第二张和第三张幻灯片的 item 1 之间创建 \ref{}。因此,每当有人在第二张幻灯片中单击 item1 时,就会跳转到第三张幻灯片,反之亦然。

\documentclass[]{beamer}
\usetheme{Madrid}

\usenavigationsymbolstemplate{}

\title{Main Title} 
\author{Jane Doe}
\institute{University A}
\date{\today}

\begin{document}
    
    \begin{frame}
        \titlepage % Print the title page as the first slide
    \end{frame}
    
    \begin{frame}
        \frametitle{First Page}
        \begin{exampleblock}{Example}
            This is an example which will be used later.
        \end{exampleblock}
    \end{frame}
    
    \begin{frame}[label={important}]
        \frametitle{Second Page}
        \begin{itemize}
            \item Item 1
            \item Item 2 
        \end{itemize}
    \end{frame}
    
    \begin{frame}
        \frametitle{Third Page}
        \begin{itemize}
        \item Item 1
        \item Item 2
        \end{itemize}
    \end{frame}
    
\end{document} 
   \documentclass[]{beamer}
\usetheme{Madrid}

\usenavigationsymbolstemplate{}

\title{Main Title} 
\author{Jane Doe}
\institute{University A}
\date{\today}

\begin{document}
    
    \begin{frame}
        \titlepage % Print the title page as the first slide
    \end{frame}
    
    \begin{frame}
        \frametitle{First Page}
        \begin{exampleblock}{Example}
            This is an example which will be used later.
        \end{exampleblock}
    \end{frame}
    
    \begin{frame}[label={important}]
        \frametitle{Second Page}
        \begin{itemize}
            \item \hyperlink{foo}{Item 1}
            \item Item 2 
        \end{itemize}
    \end{frame}
    
    \begin{frame}[label={foo}]
        \frametitle{Third Page}
        \begin{itemize}
        \item \hyperlink{important}{Item 1}
        \item Item 2
        \end{itemize}
    \end{frame}
    
\end{document}