Skip navigation
 
Share Your Story.
 
Click to return to Diana Jewelers Home page

Necklaces & Pendants

Items 2260-80 of 80
Price sort by:     Items per page: 18 9 18 36 54 72
12345
//MAYBETHISSHOULDNOTBEINASINGLEFUNCTIONMAYBETHEOPENDROPDOWNFUNCTIONWILLSETTHEVARIABLESANDTHENTHEOTHERFUNCTIONSAREOUTSIDE?? functionkilldropdownmenuname,containername{ varkillOuter=documentgetElementByIdcontainername; varkillMenu=documentgetElementByIdmenuname; killMenuclassListremove'dolon'; killOuterclassListremove'doborder'; } functionopendropdownmenuname,containername{ varkillOuter=documentgetElementsByClassName'doborder'[0]; varkillMenu=documentgetElementsByClassName'dolon'[0]; ifkillMenu{ killMenuclassListremove'dolon'; } ifkillOuter{ killOuterclassListremove'doborder'; } vardropOuter=documentgetElementByIdcontainername; vardropMenu=documentgetElementByIdmenuname; dropMenuclassListadd'dolon'; dropOuterclassListadd'doborder'; dropMenuaddEventListener'mouseleave',function{ dropMenuclassListremove'dolon'; dropOuterclassListremove'doborder'; },false; } windowaddEventListener'keydown',functionevent{ varx=eventwhich||eventkeyCode; ifx==27{ documentgetElementById'sortbymenu'classListremove'dolon'; documentgetElementById'sortbydisplayoptions'classListremove'doborder'; } },false;