spirit posteets tagged anchor,javascript  [ Profile ]

Sort by: Date / Title /

  1. 4 months ago
    1. anchor = window.location.hash;
    2. anchor = anchor.substring(1,anchor.length); // enleve le #
    3.  
    4. //-- Juste pour l'archivage, voici le code que j'utilisais avant de savoir qu'une fonction js existait
    5. var url = document.location.toString();
    6. if (myFile.match('#')) {
    7.     var anchor = myFile.split('#')[1];
    8. }

First / Previous / Next / Last / Page 1 of 1 (1 posteets)