Hallo,
ich suche eine Navigation für HTML, welche wie dieses Script funktioniert!
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 532, 409, 192, 124)
$Button1 = GUICtrlCreateButton("Link1", 32, 48, 211, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Link2", 32, 104, 211, 25, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Link3", 32, 160, 211, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
Link2()
EndSwitch
WEnd
Func Link2()
$Form1 = GUICreate("Form1", 532, 409, 185, 111)
$Button1 = GUICtrlCreateButton("Link1", 32, 48, 211, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Link2", 48, 104, 227, 33, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Link3", 32, 280, 211, 25, $WS_GROUP)
$Button4 = GUICtrlCreateButton("Link2.1", 88, 160, 211, 25, $WS_GROUP)
$Button5 = GUICtrlCreateButton("Link2.2", 88, 200, 211, 25, $WS_GROUP)
$Button6 = GUICtrlCreateButton("Link2.3", 88, 240, 211, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button5
Link2_2()
EndSwitch
WEnd
EndFunc ;==>Link2
Func Link2_2()
$Form1 = GUICreate("Form1", 532, 409, 185, 111)
$Button1 = GUICtrlCreateButton("Link1", 32, 48, 211, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Link2", 48, 104, 227, 33, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Link3", 32, 312, 211, 25, $WS_GROUP)
$Button4 = GUICtrlCreateButton("Link2.1", 88, 160, 211, 25, $WS_GROUP)
$Button5 = GUICtrlCreateButton("Link2.2", 104, 208, 219, 33, $WS_GROUP)
$Button6 = GUICtrlCreateButton("Link2.3", 88, 264, 211, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
EndFunc ;==>Link2_2
[/autoit]
Zuerst auf Link 2 dann auf Link2.2 Klicken
Also Es soll zuerst eine normale Navigation erstellt werden, wenn man nun auf z.b. Link2 klickt soll dieser Text GRrößer und Bunt werden und eine neue Navigation öffnen!
Wird nun wieder ein Link geklickt z.b. 2.2 wird dieser auch Groß und Bunt.
Grüße PU
PS: Bitte nur JavaScript und HTML jedoch kein jQuery oder andere externe Funktionen!