Toon posts:

Selectiekaders weghalen (HTML)-site

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hoi,

Ik werk met Dreamweaver, als ik b.v. een button indruk in browser zie ik een selectiekader om de button heen! Best wel lelijk:P

Hoe krijg ik deze weg?

B.V.D.

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:41

crisp

Devver

Pixelated

code:
1
onFocus="this.blur()"

next!

Intentionally left blank


Verwijderd

Topicstarter
tnx... m8 Zal ut ff proberen hoor!

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:41

crisp

Devver

Pixelated

hou wel in je achterhoofd dat je daardoor je button niet meer met tab kan selecteren!
onClick is misschien ook een optie; het gaat er in elk geval om dat je button geen focus meer heeft.

Intentionally left blank


  • RM-rf
  • Registratie: September 2000
  • Laatst online: 01:26

RM-rf

1 2 3 4 5 7 6 8 9

msie kent het hidefocus attribuut:
http://msdn.microsoft.com.../properties/hidefocus.asp

Intelligente mensen zoeken in tijden van crisis naar oplossingen, Idioten zoeken dan schuldigen


  • DeFeCt
  • Registratie: Juli 2000
  • Laatst online: 27-08 10:43

DeFeCt

je wéét toch

Ik gooi dit altijd in mijn head, werkt voorzover ik weet :)

code:
1
2
3
4
5
6
// Function that removes the dashed lines in IE when a link is clicked 
function ExplorerFix() 
{ for (a in document.links) document.links[a].onfocus = document.links[a].blur; 
} 
if(document.all) document.onmousedown = ExplorerFix;
// End of this function

Flickr


  • Willem2
  • Registratie: Oktober 2000
  • Laatst online: 24-08 14:05

Willem2

Ω is futile

document.links[a].blur

werkt dus NIET voor buttons!

hth

en nee, ik houd niet van voetbal... :)


  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:41

crisp

Devver

Pixelated

he, die kon ik nog niet! :)
Toch weerhoud iets mij ervan om niet-standaard properties in mijn html te gaan gebruiken ;)

Intentionally left blank


Verwijderd

Topicstarter
Nee ik wou het net zeggen, zie ik alweer 6 post die me voor waren...

  • Bosmonster
  • Registratie: Juni 2001
  • Laatst online: 29-08 19:47

Bosmonster

*zucht*

DeFeCt schreef op 29 oktober 2002 @ 10:43:
Ik gooi dit altijd in mijn head, werkt voorzover ik weet :)

code:
1
2
3
4
5
6
// Function that removes the dashed lines in IE when a link is clicked 
function ExplorerFix() 
{ for (a in document.links) document.links[a].onfocus = document.links[a].blur; 
} 
if(document.all) document.onmousedown = ExplorerFix;
// End of this function


Jammer dat Mozilla de kaders nu ook heeft ;)
Pagina: 1