Jump to content

Weird Glitch in my table code?


Skadi
 Share

Recommended Posts

Issue: I have a table for our site claims that sorts based on assigned selectors and for some reason whenever it loads it won't actually load the active tab, you have to click the far right one first and then it works? I'm not sure what I am doing wrong here...

 

https://nevercrymercy.jcink.net/index.php?showtopic=2436Link to the table

 

I can post the codes here too.

 

HTML

[dohtml]
<link href="https://files.jcink.net/uploads/nevercrymercy/claimstable.css" rel="stylesheet"><script type="text/javascript" src="https://files.jcink.net/uploads/nevercrymercy/claimstbstff.js"></script>
<center>
    <div id="spookytime">
        <div class="sp-main">
            <div class="spoopy">
                <f class="th th-sun"></f>
            </div>
            <num>claims</num>
            <title>All Claims</title>

            <note>Listed below is the current characters and their claims on the site. <b>This includes</b>: Face, Name, Faction, Job, Rank, Discipline, and Species. 
<br><br>
Any names or Face claims <i>(and some ranks)</i> are only allowed to be used by the characters they are listed for. Applications for each character are marked with a "ship" icon and should be viewable to everyone. 
<br><br>
<i>Is the face claim you want to use not on this list?</i> Then it is available for use and you should reserve it <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=1&t=2439">in our reserves list!</a> Any reserves not listed there or here do not count. Enjoy!

</note>
          <listcolor>Testing Claims</listcolor>
          
          <flex><sp-title>

<div id="myBtnContainer">
    <button class="btn active" onclick="filterSelection('all')"> Show all</button>
    <button class="btn" onclick="filterSelection('boy')"> <span class="sf sf-mustache-o"></span> </button>
    <button class="btn" onclick="filterSelection('girl')"> <span class="th th-diamond-o"></span> </button>
    <button class="btn" onclick="filterSelection('clan')"> <span class="th th-bat-o"></span> </button>
    <button class="btn" onclick="filterSelection('pack')"> <span class="th th-paw"></span> </button>
    <button class="btn" onclick="filterSelection('shadowhunter')"> <span class="sf sf-angelic-rune"></span> 
    </button>
    <button class="btn" onclick="filterSelection('brakebills')"> <span class="th th-bee-o"></span> </button>
    <button class="btn" onclick="filterSelection('umbral')"> <span class="th th-butterfly-o"></span> </button>
    <button class="btn" onclick="filterSelection('hedge')"> <span class="sf sf-stars-o"></span> </button>
    <button class="btn" onclick="filterSelection('mundane')"> <span class="th th-aloe-vera-o"> </span> </button>
    <button class="btn" onclick="filterSelection('praetor')"> <span class="sf sf-leaf-1-o"></span> </button>
    <button class="btn" onclick="filterSelection('unalign')"> <span class="th th-sun-o"></span> </button>
    <button class="btn" onclick="filterSelection('warlock')"> <span class="sf sf-constellation-o"> </span> </button>
    <button class="btn" onclick="filterSelection('seelie')"> <span class="sf sf-ladybug-o"></span> </button>
</div>
</sp-title>
</flex><flex>
            <sp-list><div id="myTable"> 
          <div class="filterDiv girl unalign"><dt><unalign>FC: Adalaide Kane > Katya Zadachin > 120 > Jan. 1</unalign></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=257"><f class="sf sf-ship-o"></f></a><dd>Vampire > Unaligned > The Void > Defense Lawyer</dd></div>

      <div class="filterDiv girl umbral"><dt><umbral>FC: Angelina Jolie > Maleficent Oswald > 36(40) > Sep. 24</umbral></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2142"><f class="sf sf-ship-o"></f></a><dd>Magician > Umbral Society > Graduated Psychic Traveler > NYC Professor > 1/2 Fae</dd></div>
      
           <div class="filterDiv girl shadowhunter"><dt><nyi>FC: Anna Popplewell > Camille Cendrefleur > 30 > May 20</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2524"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Intelligence Specialist</dd></div>
      
          <div class="filterDiv boy unalign"><dt><unalign>FC: Baekhyun Byun > Li Jun Shang > AGE > Aug. 2</unalign></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=269"><f class="sf sf-ship-o"></f></a><dd>Vampire > Unaligned > Employee @ Faclan Glic</dd></div>
      
      <div class="filterDiv girl shadowhunter"><dt><nyi>FC: Bailee Madison > Seraphina Blackthorn > 19 > June 24</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=1651"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Medic</dd></div>
      
      <div class="filterDiv boy shadowhunter"><dt><nyi>FC: Ben Barnes > Baptiste Cendrefleur > 32 > Mar 21st</nyi></dt><a href="https://nevercrymercy.jcink.net/index.php?showtopic=2360"><f class="sf sf-ship-o"></f></a>
  <dd>Shadowhunter > NY Institute > Recon Specialist </dd></div>

                  	<div class="filterDiv boy shadowhunter"><dt><nyi>FC: Benedict Cumberbatch > JEDREK LIGHTWOOD > 45 > Mar 10th </nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=1383"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter> NY Institute > Head of Intelligence</dd></div>

                  	<div class="filterDiv boy pack"><dt><pack>FC: BENJAMIN WADSWORTH > LANCE ORTIZ > 20 > Nov 24th</pack></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=1909&st=0&#entry8907"><f class="sf sf-ship-o"></f></a><dd>Werewolf> Brooklyn Pack > Member > Chef </dd></div>
                  
                  	<div class="filterDiv girl praetor"><dt><praetor>FC: Billie Lourd > Roison O'Flahrity > 26 > Feb. 18</praetor></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=1560&st=0&#entry7239"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Praetor Lupus > Praetorian > Bio-medical Engineer</dd></div>
                  
                  	<div class="filterDiv girl pack"><dt><pack>FC: Billie Piper > Marigold Fletcher > 35 > feb. 23</pack></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=1948"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Brooklyn Pack > Pack Doctor > Bouncer @ Pandemonium</dd></div>
                  
                  	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Birdy > Clarissa Knorr > 20 > feb. 23</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=992"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Trainee > Waitress @ Pandemonium</dd></div>
      
      <div class="filterDiv girl shadowhunter"><dt><nyi>FC: BLETA "BEBE" REXHA > Orwell Atwood > 26 > Feb. 2</nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=1040"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Combat Instructor</dd></div>

                  	<div class="filterDiv boy clan"><dt><clan>FC: BOB MORLEY > ZEPHYRUS AMBROSE > 594 > April 1st </clan></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=156"><f class="sf sf-ship-o"></f></a><dd>vampire > NY Clan > Hunter > Fangs for Hire </dd></div>

                  	<div class="filterDiv boy seelie"><dt><seelie>FC: Bradley James > Arden (Minos) De Luca > 600 > Oct. 1st</seelie></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=2479"><f class="sf sf-ship-o"></f></a><dd>Seelie Knight > Enforcer > Queen's Knight</dd></div>

                  	<div class="filterDiv boy umbral"><dt><umbral>FC: BRENTON THWAITES > ROBIN VAN DER GROEN > 27 > April 25th </umbral></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=2175"><f class="sf sf-ship-o"></f></a><dd>Magician > Umbral Society > Member > Owner of Tailorbirds Nest > 1/4 Fae</dd></div>
                    
      <div class="filterDiv girl brakebills"><dt><brakebills>FC: Bridget Satterlee > Skylar Gallagher > 26 > Mar. 3</brakebills></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showuser=274"><f class="sf sf-ship-o"></f></a><dd>Magician > Brakebills > Cryptozoology Professor > Psychic Queromancy/Sensor > 1/2 Fae</dd></div>
      
          <div class="filterDiv girl seelie"><dt><seelie>FC: Caitlin Stasey > Chiara "Lamia" O'Connell > 580 > Dec. 21</seelie></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=258"><f class="sf sf-ship-o"></f></a><dd>Seelie > Seelie Knight > Queen's Guard > Artist's Muse</dd></div>

<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Candice King > Gabrielle Cendrefleur > 28 > Aug. 31</nyi></dt>
                    <a href="/index.php?showtopic=1112"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Medic > Therapist</dd></div>

                    <div class="filterDiv girl pack"><dt><pack>FC: Cara Delvinge > Evangeline Herondale > 21 > Feb. 23</pack></dt>
                    <a href="/index.php?showtopic=162"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Brooklyn Pack > Warrior > NYPD Rookie </dd></div>
      
<div class="filterDiv boy brakebills"><dt><brakebills>FC: CHEYENNE JACKSON > ULYSSES MORNINGSTAR > 47 > Mar. 14</brakebills></dt><a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=1008"><f class="sf sf-ship-o"></f></a><dd>Magician > Brakebills > Potions Professor > Psychic Memory Manipulation > 1/4 Fae</dd></div>
      
      <div class="filterDiv boy shadowhunter"><dt><nyi>FC: CHACE CRAWFORD > DEVON HERONDALE > 26 > Nov 6th </nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=211"><f class="sf sf-ship-o"></f></a><dd> Shadowhunter > NY Institute > Head Medic </dd></div>

<div class="filterDiv girl unalign"><dt><unalign>FC: charlotte spencer > Rebecca Reddic > 28 > june 23rd</unalign></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=2561"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Unaligned > Unemployed</dd></div>

                  	<div class="filterDiv girl hedge"><dt><hedge>FC: China Anne McClain > Persephone Theriot > 20 > Nov. 13</hedge></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=1563&st=0"><f class="sf sf-ship-o"></f></a><dd>Hedge > Safehouse > Star level 1 > Student/Waitress @ La Belle Sauvage</dd></div>

<div class="filterDiv boy brakebills"><dt><brakebills>FC: Chris Evans > Alistair Ryker >  26 > Feb 4th</brakebills></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=200"><f class="sf sf-ship-o"></f></a><dd>Magician > Brakebills > Physical Applications Professor > Physical Pyrokenetic > 1/4 Fae </dd></div>

<div class="filterDiv boy hedge"><dt><hedge>FC: Chris Pratt > Peter Mulligan > 31 > August 28th</hedge></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2395&hl="><f class="sf sf-ship-o"></f></a><dd>hedge > Safehouse > 15 > Private Detective</dd></div>

                  	<div class="filterDiv boy shadowhunter"><dt><nyi>FC: CHRIS WOOD > SACHA MARKAROV > AGE > BIRTHDAY</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=122&t=1026&st=0#entry4215"><f class="sf sf-ship-o"></f></a><dd> Shadowhunter > NY Institute > Intelligence Operative </dd></div>
                  
                  	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Christian Serratos > Esperanza Cardozo > 26 > Dec. 25</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=810"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Field Medic</dd></div>
                                  
                  	<div class="filterDiv boy brakebills"><dt><brakebills>FC: Cody Christian > Sirius Danvers >  18 > Jan 13th </brakebills></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=1693"><f class="sf sf-ship-o"></f></a><dd>Magician > Brakebills Student 1st Year > Psychic Traveller > 1/2 Fae</dd></div>

                     <div class="filterDiv boy praetor"><dt><praetor>FC: Cole Sprouse > Grayson Donovan > 24 > June 6</praetor></dt>
                    <a href="/index.php?showtopic=2034"><f class="sf sf-ship-o"></f></a><dd>werewolf > praetor lupus > praetorian > JUNIOR PHOTOGRAPHER/Writer @ NY TIMES</dd></div>

                  	<div class="filterDiv boy hedge"><dt><hedge>FC: CURREN WALTERS > MAEL BUCHANAN > 21 > Mar 27th </hedge></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=1652"><f class="sf sf-ship-o"></f></a><dd>Hedge Witch > Safehouse > Scrapper > 1/4 Fae </dd></div>

                        	<div class="filterDiv girl pack"><dt><pack>FC: Crystal Reed > Alice Snow > 20 > Aug. 22</pack></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2166"><f class="sf sf-ship-o"></f></a><dd>werewolf > Brooklyn Pack > Training Healer > Musician/Student/Waitress @ La Belle Sauvage</dd></div>

<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Danielle Campbell > Kalypso Carstairs > 21 > July 31</nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showuser=185"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Intelligence Ops</dd> </div>     
      
<div class="filterDiv boy brakebills"><dt><brakebills>FC: DAVID TENNANT > CLYDE PINES > 37 > Nov 23rd </brakebills></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=2108"><f class="sf sf-ship-o"></f></a><dd>Magician > Brakebills > Physical Telekinetic > Astronomy Professor > 1/4 Fae</dd></div>

<div class="filterDiv boy clan"><dt><clan>FC: Devon Bostick > Samuel Cavendish > 124 > January 2nd</clan></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=2485"><f class="sf sf-ship-o"></f></a><dd>Vampire > NY Clan> Owner of the Vault</dd></div>

<div class="filterDiv boy pack"><dt><pack>FC: DOMINIC SHERWOOD > AIDEN CREED > 25 > Sep 17th </pack></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=53"><f class="sf sf-ship-o"></f></a><dd>Werewolf> Brooklyn Pack > Alpha > Owner of the Jade Wolf </dd></div>      
      
<div class="filterDiv boy shadowhunter"><dt><nyi>FC: Dylan Sprayberry > Atticus Herondale >18 > October 27th</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2422"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Field Operative</dd></div>

<div class="filterDiv boy praetor"><dt><praetor>FC: Dylan Sprouse > Kaden Donovan >  24 > June 6th</praetor></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=1436"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Praetor Lupus > Praetorian > Brewer </dd></div>

      <div class="filterDiv girl umbral"><dt><umbral>FC: Elizabeth Olsen > Pandora Penbroke > 25 > Sep. 2</umbral></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=325"><f class="sf sf-ship-o"></f></a><dd>Magician > Umbral Society > Graduate Physical Mixologist > Bartender @ Pandemonium > 1/4 Fae</dd></div>
                  
                  	<div class="filterDiv girl pack"><dt><pack>FC: Emeraude Toubia > Ksenija Volkova > 22 > May 1</pack></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=712"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Brooklyn Pack > Beta Female > Bartender @ Pandemonium</dd></div>

<div class="filterDiv girl shadowhunter"><dt><NYI>FC: Emily Rudd > Kairi Markarov-Carstairs > 21 > sep. 22</NYI></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=1404"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Recon Specialist</dd></div>
                           	       
                  	<div class="filterDiv boy shadowhunter"><dt><nyi>FC: GRANT GUSTIN > JULIAN KAISERFUCHS > 23 > Oct 5th</nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=74"><f class="sf sf-ship-o"></f></a><dd> Shadowhunter > NY Institute > Ops Specialist </dd></div>

                  	<div class="filterDiv boy warlock"><dt><warlock>FC: GREG FINLEY > ZERO ORCUS > 195 > Aug 6th </warlock></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=1703"><f class="sf sf-ship-o"></f></a><dd>Warlock > Safehouse > Scrapper > Bouncer @ Pandemonium </dd></div>

<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Hailee Steinfeld > Dinah Nightshade > 28 > January 1st</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2500"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Recon Specialist, model/musician</dd></div>

                  <div class="filterDiv boy shadowhunter"><dt><nyi>FC: HALE APPLEMAN > BASIL CENDREFLEUR > 36 > Oct 20th </nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=613"><f class="sf sf-ship-o"></f></a><dd> Shadowhunter > NY Institute > Councilmember </dd></div>

                  	<div class="filterDiv boy mundane"><dt><mundane>FC: HARRY SHUM JR > YUHIRO KOGITSUNE > 27 > April 6th </mundane></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=1021"><f class="sf sf-ship-o"></f></a><dd>Mundane > Mundane > CSI Morgue Doctor </dd></div>

                  	<div class="filterDiv boy shadowhunter"><dt><nyi>FC: HARRY STYLES > DAMIAN KNORR > 25 > Sep 25th </nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=730"><f class="sf sf-ship-o"></f></a><dd> Shadowhunter > NY Institute > Trainee </dd></div>

<div class="filterDiv girl clan"><dt><clan>FC: Hayden Panettiere > Namine Caito > 574 > Apr. 3</clan></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=1291"><f class="sf sf-ship-o"></f></a><dd>Vampire > NY Clan > Clan Leader > UNDERCOVER NYPD OFFICER</dd></div>

                  	<div class="filterDiv boy hedge"><dt><hedge>FC: HENRY CAVILL > EAMES HALLET > 28 > Feb 3rd</hedge></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=416"><f class="sf sf-ship-o"></f></a><dd>Hedge Witch > Safehouse > KIng</dd></div>

                  	<div class="filterDiv boy clan"><dt><clan>FC: HUNTER PARRISH > NATHAN ARMSTEAD > 84 > Oct 5th</clan></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=1516"><f class="sf sf-ship-o"></f></a><dd>vampire> NY Clan > Member > Blood Truck Driver</dd></div>

                    <div class="filterDiv boy shadowhunter"><dt><nyi>FC: Ian Somerhalder > Sebastian Blackthorn >  28 > Aug 8th</nyi></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=1399"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Head of Recon </dd></div>

<div class="filterDiv girl unalign"><dt><unalign>FC: India Eisley > Rhys Thorne > 19 > Aug 23</unalign></dt>
                  <a href="/index.php?act=ST&f=25&t=2318"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Unaligned > Emotional Support Dog</dd></div>   

        <div class="filterDiv boy unalign"><dt><unalign>FC: Jack Falahee > Ares Durante > 24 > Mar. 3</unalign></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=273"><f class="sf sf-ship-o"></f></a><dd>werewolf > unaligned > the void > trainer @ Joe's Gym</dd></div>
    
        <div class="filterDiv boy praetor"><dt><praetor>FC: Jai Courtney > Noah Landry > 30 > Aug. 3</praetor></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=270"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Praetor > Scout > NYPD Officer</dd></div>
    
                <div class="filterDiv boy praetor"><dt><praetor>FC: Jeffrey Dean Morgan > Jacob Moriarty > 51 > Jul. 22</praetor></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=261"><f class="sf sf-ship-o"></f></a><dd>werewolf > praetor > 2nd in command > Architect/Owner @ Joe's Gym</dd></div>

                    <div class="filterDiv boy warlock"><dt><warlock>FC: Jensen Ackles > Leonidas Avery > 188 > Aug 21st </warlock></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=729"><f class="sf sf-ship-o"></f></a><dd>Warlock > Spiral Labyrinth/NYC Clan > Advisor> Surgeon </dd></div>

                  	<div class="filterDiv boy hedge"><dt><hedge>FC: JOEY BATEY > KIERAN OSWALD > 22 > Mar 15th </hedge></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?act=ST&f=8&t=1240"><f class="sf sf-ship-o"></f></a><dd>Hedge Witch > Safehouse > Scrapper > 1/2 Fae</dd></div>

                    <div class="filterDiv boy shadowhunter"><dt><nyi>FC: Joel Kinnaman > Wren Herondale >  42 > June 1st</nyi></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=204"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute> Inquisitor </dd></div>

                    <div class="filterDiv boy warlock"><dt><warlock>FC: JOHN BOYEGA > LISANDRE DUROSINMI > 193 > July 16th </warlock></dt>
<a href="https://nevercrymercy.jcink.net/?act=ST&f=62&t=1184&st=0"><f class="sf sf-ship-o"></f></a><dd>Warlock > Spiral Labyrinth > Librarian </dd></div>

                    <div class="filterDiv boy unalign"><dt><unalign>FC: Joseph Morgen > Niall Erickson >  219 > May 16th</unalign></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=174"><f class="sf sf-ship-o"></f></a><dd>Vampire > Unaligned > Fixer </dd></div>

                    <div class="filterDiv boy shadowhunter"><dt><nyi>FC: JOSH WHITEHOUSE > ARTHUR BLACKWATER >  28 > June 14th</nyi></dt>
<a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=864"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute> Squad Leader </dd></div>        	
    
                  	<div class="filterDiv girl pack"><dt><pack>FC: Kat McNamara > Mercy Creed (Penhallow) > 23 > May 23</pack></dt>
                    <a href="/index.php?showtopic=79"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Brooklyn Pack > Alpha Female > WAITRESS @ JADE WOLF</dd></div>

                    <div class="filterDiv boy warlock"><dt><warlock>FC: KRIS WU (LI JIAHENG) > CHAO KANG > 415 > Nov 4th </warlock></dt>
<a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=1961"><f class="sf sf-ship-o"></f></a><dd>Warlock > Spiral Labyrinth > Undecided > Bookstore Owner </dd></div>
    
        <div class="filterDiv girl praetor"><dt><praetor>FC: Kristine froseth > elowen donovan > 24 > June 21</praetor></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=250"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Praetor > Member > Allwise's Meadery Promoter</dd></div>
                                     	
                  <div class="filterDiv boy shadowhunter"><dt><nyi>FC: Liam Hemsworth > Ronin Markarov > 24 > Dec 24th </nyi></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=1042"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Recon Specialist </dd></div>

                  	<div class="filterDiv girl mundane"><dt><mundane>FC: Lindsey Morgan > Issabella Cerraccini > 25 > Apr. 19</mundane></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=2246&st=0&#entry11129"><f class="sf sf-ship-o"></f></a><dd>Mundane > None > JOURNALIST/ RADIO VOICE / HACKTIVIST</dd></div>
    
    <div class="filterDiv boy brakebills"><dt><brakebills>FC: Luhan > Huan Aquila > AGE > Sep. 5</brakebills></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=267"><f class="sf sf-ship-o"></f></a><dd>Magician > Brakebills > 1st year ??? > Animal Shelter</dd></div>
                  
                  	<div class="filterDiv girl brakebills"><dt><brakebills>FC: Madelaine Petsch > Elisa Taylor > 17 > Nov. 20</brakebills></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=690"><f class="sf sf-ship-o"></f></a><dd>Magician > Brakebills > 1st year Psychic Traveler > Student > 1/4 Fae</dd></div>
                  
                  	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Maia Mitchell > Eleanor Blackthorn > 21 > Jul 23</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2170"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Field Operator</dd></div>
                  
                  	<div class="filterDiv girl hedge"><dt><hedge>FC: Maisie Richardson > Hecate Theriot > 24 > Aug. 20</hedge></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=1880"><f class="sf sf-ship-o"></f></a><dd>Hedge > Safehouse > Star level 25 > Makeup Artist</dd></div>
                  
                  	<div class="filterDiv girl unalign"><dt><unalign>FC: Malese Jow > Aurora Nightshade > 23 > Oct. 31</unalign></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=907&st=0&#entry3587"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Unaligned > None > Dancer @ Deja Vu</dd></div>

        <div class="filterDiv boy praetor"><dt><praetor>FC: Matt Lanter > Lukas Landry > 26 > Mar. 17</praetor></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=256"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Praetor/Void > Praetorian/Scout > Owner/Bartender @ Hunter's Moon</dd></div>
    
                  	<div class="filterDiv girl warlock"><dt><warlock>FC: Marie A. > Vitali Hale > 600 > Dec. 13</warlock></dt>
                  <a href="/index.php?showtopic=66"><f class="sf sf-ship-o"></f></a><dd>Warlock > Spiral Labyrinth > High Warlock > Deja Vu Bartender/Owner & La Belle Sauvage Owner</dd></div>

                    <div class="filterDiv boy pack"><dt><pack>FC: Matthew Daddario > Kazimir Volkov > 22 > May 1st</pack></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=65"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Brooklyn Pack > Beta > Club Owner </dd></div>

                  	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Natalie Dormer > Helena Herondale > 42 > May 31</nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=893&st=0&#entry3572"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Weapons Master</dd></div>
                  
                  	<div class="filterDiv girl warlock"><dt><warlock>FC: Nina Dobrev > Belle Melany > 28 > July 1</warlock></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=1107&st=0&#entry4645"><f class="sf sf-ship-o"></f></a><dd>Warlock > Spiral Labyrinth > Member > Assistant Manager @ Pandemonium</dd></div>

<div class="filterDiv boy praetor"><dt><praetor>FC: OSCAR ISAAC > ADELIO MENDOZA > 44 > Mar 9th </praetor></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=965"><f class="sf sf-ship-o"></f></a><dd>Werewofl > Praetor > Praetorian > Mechanic </dd></div>

                  	<div class="filterDiv girl clan"><dt><clan>FC: Phoebe Tonkin > Dominique Markarov > 24 > Dec. 24</clan></dt>
                  	<a href="/index.php?showtopic=617&hl="><f class="sf sf-ship-o"></f></a><dd>Vampire > NYC Clan > Member > Dancer @ Deja Vu</dd></div>

<div class="filterDiv boy clan"><dt><clan>FC: RICHARD HARMON > ANTHONY TOUSSAINT > 96 > Jan 6th </clan></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=2319"><f class="sf sf-ship-o"></f></a><dd>vampire> NY Clan > Observer > Works for Ed </dd></div>
    
                      	<div class="filterDiv girl pack"><dt><pack>FC: Sabrina Carpenter > Liliana Constance > 21 > Feb. 3</pack></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=265"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Brooklyn Pack > Member > Waitress @ The Vault</dd></div>
    
 <div class="filterDiv boy mundane"><dt><mundane>FC: SAN CHOI > ATREUS DAXXON > 25 > April 12th </mundane></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=985&hl="><f class="sf sf-ship-o"></f></a><dd>Mundane > Mundane > Alternative Medicine > 1/4 Fae </dd></div>
                  
                    <div class="filterDiv boy hedge"><dt><hedge>FC: Sebastian Stan > Ilja Sokolov > 28 > April 22nd </hedge></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=290"><f class="sf sf-ship-o"></f></a><dd>Hedge Witch > Safehouse > Enforcer</dd></div>

                  	<div class="filterDiv girl umbral"><dt><umbral>FC: Selena Gomez > Beatrix MORNINGSTAR > 22 > Oct. 10</umbral></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=972&st=0#entry3901"><f class="sf sf-ship-o"></f></a><dd>Magician > Umbral Society > Graduated physical pyromancy > 1/4 Fae</dd></div>
                 
                  	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Sophie Turner > Alyssa Lowescreed > 21 > Dec. 8</nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=1306&hl="><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Intelligence Operator</dd></div>
    
        <div class="filterDiv boy umbral"><dt><umbral>FC: Steven R. McQueen > Tristan Dragomir > 24 > Apr. 13</umbral></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=268"><f class="sf sf-ship-o"></f></a><dd>Magician > Umbral Society > Graduated Physical Phosoromancy > Firemen (training)</dd></div>

	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Tati Gabrielle > Imogen Mayfair > 22 > September 23rd</nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=2446&st=0&#entry11932"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Field Operative</dd></div>
                  
                  	<div class="filterDiv girl umbral"><dt><umbral>FC: Taylor Momsen > Ringo Callaway > 21 > Sep. 3 </umbral></dt>
                    <a href="/index.php?showtopic=201"><f class="sf sf-ship-o"></f></a><dd>Magician > Umbral Society > Graduated Physical Mixologist > Ascending Shadowhunter > 1/2 Fae </dd></div>

                  	<div class="filterDiv girl hedge"><dt><hedge>FC: Tessa Thompson > Imelda Mayfair > 34 > Jan. 15</hedge></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=248&hl="><f class="sf sf-ship-o"></f></a><dd>Hedge > Safehouse > star level 15 > Mob runner</dd></div>
      
      <div class="filterDiv boy umbral"><dt><umbral>FC: THOMAS DOHERTY > KAYNE MORNINGSTAR > 24 > June 12th </umbral></dt>
                    <a href="APPLINK"><f class="sf sf-ship-o"></f></a><dd>Magician > Umbral Society > Psychic Dream Manipulation > 1/2 Fae </dd></div>

                    <div class="filterDiv boy clan"><dt><clan> FC: Thomas McDonell > Nikolai Zadachin > 125 > Mar 12th </clan></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=2131"><f class="sf sf-ship-o"></f></a><dd>Vampire > NY Clan > Observer </dd></div>

                  	<div class="filterDiv boy mundane"><dt><mundane>FC: THOMAS MIDDLEDITCH > DIOGENES ANTONIUS > 33 > Nov 14th </mundane></dt><a href="https://nevercrymercy.jcink.net/index.php?showtopic=1455&st=0&#entry6710"><f class="sf sf-ship-o"></f></a><dd>Mundane > Mundane > Computer Hacker </dd></div>

                  	<div class="filterDiv boy umbral"><dt><umbral>FC: TOBY HEMINGWAY > AXL CALLAWAY > 27 > Jan 6th </umbral></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=1221&st=0&#entry5286"><f class="sf sf-ship-o"></f></a><dd>Magician > Umbral Society > Healing Potion Healing > Artist/Painter > 1/4 Fae</dd></div>

                  	<div class="filterDiv boy shadowhunter"><dt><nyi>FC: TOM HIDDLESTON > LACHLAN MORNINGSTAR > 46 > March 17th </nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=746"><f class="sf sf-ship-o"></f></a><dd> Shadowhunter > NY Institute > Head </dd></div>

                  	<div class="filterDiv boy shadowhunter"><dt><nyi>FC: TOM HOLLAND > SILAS TRUEWELL > 17 > April  7th </nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=76"><f class="sf sf-ship-o"></f></a><dd> Shadowhunter > NY Institute > Trainee</dd></div>

                    <div class="filterDiv boy pack"><dt><pack> FC: TOM WELLING > ALEJANDRO CONSTANCE > 26 > Aug 5th</pack></dt>
<a href="http://nevercrymercy.jcink.net/index.php?showtopic=1034"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Brooklyn Pack > Member > Fireman </dd></div>
    
       <div class="filterDiv boy seelie"><dt><seelie>FC: Torrance Coombs > Killian O'Keefe > 560 > May 11</seelie></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=260"><f class="sf sf-ship-o"></f></a><dd>Seelie Knight > Enforcer > Queen's Knight</dd></div>

                    <div class="filterDiv boy pack"><dt><pack> FC: Tyler Hoechlin > Theo Nightshade > 25 > Feb 5th</pack></dt>
<a href="https://nevercrymercy.jcink.net/index.php?showtopic=2317"><f class="sf sf-ship-o"></f></a><dd>Werewolf > Brooklyn Pack > Warrior > Chef @ Deja Vu </dd></div>

<div class="filterDiv boy shadowhunter"><dt><nyi>FC: Tyler Posey > Fortis Silvermoon > 25 > December 1st</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?act=ST&f=62&t=2435"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute >  Field Operative</dd></div>
      
                   	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Vanessa Morgan > Sonia Whitelaw > 18 > Jan. 1</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showuser=51"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Trainee</dd></div>
                  
                  	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Willa Holland > Anastasia Fireheart > 23 > Apr. 8</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2046&st=0&#entry9908"><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Field operative</dd></div>

<div class="filterDiv boy shadowhunter"><dt><nyi>FC: WILLIAM MOSELEY > CASSIUS TRUEWELL > 23 > Feb 1st</nyi></dt>
                    <a href="http://nevercrymercy.jcink.net/index.php?showtopic=71"><f class="sf sf-ship-o"></f></a><dd> Shadowhunter > NY Institute > Field Operative </dd></div>
                  
                  	 	<div class="filterDiv girl shadowhunter"><dt><nyi>FC: Yerim Kim > Victoria Blackwater > 21 > July 13</nyi></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=2244&hl="><f class="sf sf-ship-o"></f></a><dd>Shadowhunter > NY Institute > Field Operator</dd></div>
      
      <div class="filterDiv boy warlock"><dt><warlock>FC: Zack Villa > EDÚIN CHAUMONT > 574 > Oct 16 </warlock></dt>
                    <a href="https://nevercrymercy.jcink.net/index.php?showtopic=1559"><f class="sf sf-ship-o"></f></a><dd>warlock> Spiral Library > Travelling Naturopath </dd></div>
            
    <div class="filterDiv boy group"><dt><groupname>FC: FCNAME > NAME > AGE > BIRTHDAY</groupname></dt>
                    <a href="APPLINK"><f class="sf sf-ship-o"></f></a><dd>SPECIES > FACTION > RANK > JOB</dd></div>
      
</div></sp-list>
</flex>
          
          </div>
    </div>
</center>

[/dohtml]

Javascript 

filterSelection("all") // Execute the function and show all columns
function filterSelection(c) {
  var x, i;
  x = document.getElementsByClassName("filterDiv");
  if (c == "all") c = "";
  // Add the "show" class (display:block) to the filtered elements, and remove the "show" class from the elements that are not selected
  for (i = 0; i < x.length; i++) {
    w3RemoveClass(x[i], "show");
    if (x[i].className.indexOf(c) > -1) w3AddClass(x[i], "show");
  }
}

// Show filtered elements
function w3AddClass(element, name) {
  var i, arr1, arr2;
  arr1 = element.className.split(" ");
  arr2 = name.split(" ");
  for (i = 0; i < arr2.length; i++) {
    if (arr1.indexOf(arr2[i]) == -1) {
      element.className += " " + arr2[i];
    }
  }
}

// Hide elements that are not selected
function w3RemoveClass(element, name) {
  var i, arr1, arr2;
  arr1 = element.className.split(" ");
  arr2 = name.split(" ");
  for (i = 0; i < arr2.length; i++) {
    while (arr1.indexOf(arr2[i]) > -1) {
      arr1.splice(arr1.indexOf(arr2[i]), 1);
    }
  }
  element.className = arr1.join(" ");
}

// Add active class to the current button (highlight it)
var btnContainer = document.getElementById("myBtnContainer");
var btns = btnContainer.getElementsByClassName("btn");
for (var i = 0; i < btns.length; i++) {
  btns[i].addEventListener("click", function(){
    var current = document.getElementsByClassName("active");
    current[0].className = current[0].className.replace(" active", "");
    this.className += " active";
  });
}

 

It works just find in my codepen, but not on the site which makes me think the javascript is glitching with one of my other sets, but it's hosted so will it still do that?

addds.gif.2e6b2697e05de6bbe39af8e65a3e5840.gif

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Hi.

 

Move the javascript for the button/claim code to below the html rendering. The easiest way to do that is to move it to the very bottom of your board wrapper right above the </html>

Link to comment
Share on other sites

I will give that a try! Thank you!

addds.gif.2e6b2697e05de6bbe39af8e65a3e5840.gif

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.