Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts

    Arrow Is CSS code reversible?

    Currently the dropdown block on my test site is done in css by the orginal coder. but since the guy is being a dink and wont help me im looking for the guidance in you guys. im willing to donate for assistance.

    At first i thought it was in the javascript but i was wrong its in the CSS file. When u click More Information a block appears with information about that person. I would like to have it so when you click it again the css code does it in reverse. heres the code that this effect applies to.

    .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
    .clearfix { display: inline-table; }

    /* Hides from IE-mac \*/
    * html .clearfix {height: 1%;}
    .clearfix {display: block;}
    /* End hide from IE-mac */
    /* ------------------------------ */
    Any assistance that solves this issue will be appreciated and rewarded(if applicable) heck i might even put a ad banner on my site for this site, or the persons name will be put in my full credits page.

  • #2
    Regular Coder
    Join Date
    Dec 2002
    Location
    Minneapolis, MN
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post
    Unfortunately for you that is not the CSS that shows or hides the block with the info about the person.

    Post or link to full page and I will decipher it for you , then fix it.

    What kind of donation are you willing to give?
    anthony

  • #3
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    http://diamond-grafix.com/soldiers/members.html

    as far as donation goes all depends on how quick it gets done. im thinking 5-10 should suffice for a non profit site.

  • #4
    Regular Coder
    Join Date
    Dec 2002
    Location
    Minneapolis, MN
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post
    Well, I'll have it done in just a few minutes then... brb
    anthony

  • #5
    Regular Coder
    Join Date
    Dec 2002
    Location
    Minneapolis, MN
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post
    look at your members_files/triggers.js file and find this section:
    Code:
    function toggleNext(event) {
      var nextDiv = getNextByName(this.parentNode.parentNode, 'DIV');
      if (nextDiv != null) {
          nextDiv.style.display = 'block';
    //    this.onclick = function() {return false;}
    //    this.style.cursor = 'default';
          this.parentNode.innerHTML = this.innerHTML;
      }
      return false;
    }
    Make the following TWO edits
    Code:
    function toggleNext(event) {
      var nextDiv = getNextByName(this.parentNode.parentNode, 'DIV');
      if (nextDiv != null) {
          nextDiv.style.display = (nextDiv.style.display == 'block') ? 'none' : 'block';
    //    this.onclick = function() {return false;}
    //    this.style.cursor = 'default';
    //    this.parentNode.innerHTML = this.innerHTML; 
      }
      return false;
    }
    anthony

  • Users who have thanked ez4me2c3d for this post:

    PitbullMean (10-24-2007)

  • #6
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    Thanks buddy give me ur paypal email and ill send ya 5 bucks right now. also could I add u to my msn messenger if u have it?

  • #7
    Regular Coder
    Join Date
    Dec 2002
    Location
    Minneapolis, MN
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post
    I sent you a pm with my info
    anthony


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •