> Tech > Listing 3

Listing 3

Tech - Par Renaud ROSSET - Publié le 24 juin 2010

Procédures ShowActions et InvokeURLAction côté client

<script language=vbscript>

  Sub ShowActions(strTableName)
    ‘ Toggle the display of the Action list.
    If document.all(strTableName).style.display = “block” Then
      document.all(strTableName).style.display = “none”
    Else
      document.all(strTableName).style.display = “block”
    End If
  End Sub
  
  Sub InvokeURLAction(strURL, strTableName)
  ‘ Open the URL in a new window and hide the Action table.

window.open(strURL)
document.all(strTableName).style.display = “none”
End Sub

</script>

Téléchargez cette ressource

Plan de sécurité Microsoft 365

Plan de sécurité Microsoft 365

Les attaquants savent comment prendre le contrôle de votre tenant Microsoft 365, et vous, savez-vous comment le reprendre en main ?

Les plus consultés sur iTPro.fr

A lire aussi sur le site

À la une de la chaîne Tech