Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

stef chui

@stef chui
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Convert Horizontal <table> to vertical using CSS
    S stef chui

    Hi Jassim Rahma, You click the do it will send the result.

    <head>
    <title></title>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    </head>
    <body>
    <script>
    $(document).ready(function(){
    $("a").click(function(){
    $("table").each(function() {
    var $this = $(this);
    var newrows = [];
    var i = 0;
    $this.find("tr").each(function(){
    $(this).find("td").each(function(){
    i++;
    if(newrows[i] === undefined) { newrows[i] = $(""); }
    newrows[i].append($(this));
    });
    });
    $this.find("tr").remove();
    $.each(newrows, function(){
    $this.append(this);
    });
    });

    return false;
    

    });
    });
    </script>

    Name

    Mike Watson

    Title

    Accountant

    Department

    Finance

    Do it.

    </body>
    </html>

    Web Development question css com announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups