[html/js] dubbel klikgeluid bij openen 2 frames met linkje

Pagina: 1
Acties:

  • ro__
  • Registratie: Maart 2000
  • Laatst online: 12-01-2008

ro__

WalkDont'Walk.......

Topicstarter
Ik heb een site met frames, en nu gebruik ik dit script om met 1 klik op een linkje 2 verschillende frames te laden:
code:
1
2
3
4
5
6
7
8
<script language="JavaScript" type="text/javascript">
<!--
function LoadTwoFrames(File1,File2) {
  parent.contentFrame.location = File1;
  parent.rightFrame.location = File2;
}
//-->
</SCRIPT>
Echter, ik hoor nu een irritant 'klikklikklik' wanneer ik op zo'n link klik [ja zelfs 3x i.p.v. 2x :?] en ik zou graag een normale enkele 'klik' horen. Dus het geluidje van 1 van die 2 linkjes onderdrukken.
Is dit mogelijk, en zo ja, hoe? Tia!

  • RSP
  • Registratie: Juni 2001
  • Laatst online: 24-06 10:36

RSP

3x een klikje lijkt me 1x van IE en 2x van het javascriptje... maar ik denk niet dat zoiets door middel van javascript uit te schakelen valt

  • ro__
  • Registratie: Maart 2000
  • Laatst online: 12-01-2008

ro__

WalkDont'Walk.......

Topicstarter
Ik kom het inderdaad op professionele sites ook nog tegen - maar ik dacht, daar zitten wel vaker slordigheidjes in...
Aan de ene kant wel veilig dat je die klikjes niet kunt veranderen of onderdrukken, maar het staat wel minder mooi nu.

  • Hangloozz
  • Registratie: Juli 1999
  • Laatst online: 13-07 17:24

Hangloozz

{ @$%&# }

kun je niet scriptmatig uitzetten, het is juist een akoestisch signaal om te bevestigen dat er een verbinding geopend wordt, dus er zullen ook wel mensen zijn die er waade aan hechten.

Als het er puur om gaat om het bij je eigen PC uit te zetten dan heb je hier de handleidig:
Stop the sound from playing when clicking a link
In some cases Internet Explorer will play a sound, when you click on a link.
This can get quite annoying.
Here is how to stop this:

Go to Control Panel (Start > Settings > Control Panel) and select Sounds
Go to Windows Explorer/Start Navigation and Windows Explorer/Complete Navigation and select None from the drop-down menu
If this still doesn't work, try this:

Start the Registry Editor
Go to HKEY_CURRENT_USER/AppEvents/Schemes/Apps/ Explorer/ActivatingDocument
Click on the + sign left of the ....ActivatingDocument
Delete .Current
Also HKEY_CURRENT_USER/AppEvents/Schemes/Apps/ Explorer/Navigating
Click on the + sign left of the ....Navigating
Delete .Current

www.jurgroessen.nl