{"id":14952,"date":"2025-03-30T08:04:29","date_gmt":"2025-03-30T08:04:29","guid":{"rendered":"https:\/\/www.mechstream.com\/?p=14952"},"modified":"2025-03-31T05:59:51","modified_gmt":"2025-03-31T05:59:51","slug":"h-beam-calculator","status":"publish","type":"post","link":"https:\/\/www.mechstream.com\/ar\/h-beam-calculator\/","title":{"rendered":"\u062d\u0627\u0633\u0628\u0629 \u0627\u0644\u0634\u0639\u0627\u0639 H"},"content":{"rendered":"\n<p>Professional H-beam calculator providing comprehensive specifications for structural steel sections. Features detailed parameters for HW, HM, HN, and HP series, including dimensions, section properties, and weights. Essential tool for structural engineers and construction professionals, offering accurate data for steel structure design and foundation engineering applications. All specifications comply with current industry standards.<\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <meta name=\"description\" content=\"H-Beam Calculator - Quick reference for HW, HM, HN, and HP series H-beam specifications, including complete parameter information such as section height, flange width, web thickness\">\n    <meta name=\"keywords\" content=\"H-Beam,HW Series,HM Series,HN Series,HP Series,Steel Parameters,Steel Structure,Building Materials\">\n    <meta name=\"author\" content=\"Your Company Name\">\n    <title>H-Beam Specifications<\/title>\n    <style>\n        body {\n            font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Helvetica Neue\", Arial, sans-serif;\n            margin: 0 auto;\n            padding: 0;\n            background-color: #f5f5f5;\n            line-height: 1.6;\n        }\n        .container {\n            background-color: white;\n            padding: 20px;\n            border-radius: 8px;\n            box-shadow: 0 2px 12px rgba(0,0,0,0.1);\n            width: 100%;\n            box-sizing: border-box;\n            margin: 0 auto;\n        }\n        .form-group {\n            margin-bottom: 20px;\n        }\n        label {\n            display: block;\n            margin-bottom: 8px;\n            font-weight: 600;\n            color: #333;\n        }\n        select {\n            width: 100%;\n            padding: 12px;\n            border: 1px solid #ddd;\n            border-radius: 4px;\n            background-color: white;\n            margin-bottom: 10px;\n            font-size: 16px;\n            -webkit-appearance: none;\n            -moz-appearance: none;\n            appearance: none;\n            background-image: url(\"data:image\/svg+xml;charset=UTF-8,%3csvg xmlns='http:\/\/www.w3.org\/2000\/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c\/polyline%3e%3c\/svg%3e\");\n            background-repeat: no-repeat;\n            background-position: right 1rem center;\n            background-size: 1em;\n            padding-right: 2.5em;\n            position: relative;\n            z-index: 10;\n        }\n        select:disabled {\n            background-color: #f5f5f5;\n            cursor: not-allowed;\n        }\n        #result {\n            margin-top: 30px;\n            padding: 0;\n            border: 1px solid #ddd;\n            border-radius: 4px;\n            background-color: white;\n            overflow-x: auto;\n            position: relative;\n            display: none;\n            box-shadow: 0 1px 6px rgba(0,0,0,0.08);\n            width: 100%;\n            box-sizing: border-box;\n        }\n        \n        #result.active {\n            display: block;\n        }\n        \n        #result h2 {\n            padding-left: 20px;\n            padding-top: 15px;\n            margin-top: 0;\n            margin-bottom: 10px;\n        }\n        \n        table {\n            width: 100%;\n            border-collapse: collapse;\n            margin-top: 0;\n            min-width: 600px;\n            position: relative;\n            table-layout: fixed;\n            \/* \u9632\u6b62WordPress\u6837\u5f0f\u51b2\u7a81 *\/\n            border: none !important;\n            margin-bottom: 0 !important;\n        }\n        \n        th, td {\n            border: 1px solid #ddd !important; \/* \u5f3a\u5236\u8fb9\u6846\u6837\u5f0f *\/\n            padding: 12px 15px !important; \/* \u5f3a\u5236\u5185\u8fb9\u8ddd *\/\n            text-align: left;\n            vertical-align: middle;\n            background-clip: padding-box; \/* \u9632\u6b62\u80cc\u666f\u6ea2\u51fa *\/\n        }\n        \n        th:first-child, td:first-child {\n            width: 60%;\n        }\n        \n        th:last-child, td:last-child {\n            width: 40%;\n            text-align: right;\n        }\n        \n        th {\n            background-color: #f8f9fa;\n            font-weight: 600;\n            position: -webkit-sticky;\n            position: sticky;\n            top: var(--wp-admin-bar-height, 32px);\n            z-index: 100;\n            box-shadow: 0 1px 0 #ddd;\n        }\n        tr:nth-child(even) {\n            background-color: #f8f9fa;\n        }\n        tr:hover {\n            background-color: #f0f0f0;\n        }\n        .parameter-name {\n            color: #444;\n            font-weight: 500;\n            white-space: nowrap;\n            padding-right: 15px;\n            overflow: hidden;\n            text-overflow: ellipsis;\n        }\n        .parameter-value {\n            font-weight: 500;\n            color: #1a73e8;\n            text-align: right;\n            white-space: nowrap;\n        }\n        h1 {\n            color: #2c3e50;\n            margin-bottom: 30px;\n            text-align: center;\n            font-size: clamp(1.5em, 4vw, 2em);\n        }\n        h2 {\n            color: #34495e;\n            margin-bottom: 20px;\n            font-size: clamp(1.2em, 3vw, 1.5em);\n        }\n        .description {\n            color: #666;\n            margin: 20px 0;\n            text-align: left;\n            font-size: clamp(0.9em, 2.5vw, 1.1em);\n            line-height: 1.6;\n            width: 100%;\n            box-sizing: border-box;\n            padding: 0;\n        }\n        .series-info {\n            margin: 20px 0;\n            padding: 15px;\n            background-color: #f8f9fa;\n            border-radius: 4px;\n            border-left: 4px solid #1a73e8;\n            font-size: clamp(0.85em, 2vw, 1em);\n        }\n        .series-info ul {\n            padding-left: 20px;\n            margin: 10px 0;\n        }\n        .series-info li {\n            margin-bottom: 8px;\n        }\n        footer {\n            margin-top: 40px;\n            text-align: center;\n            color: #666;\n            font-size: clamp(0.8em, 2vw, 0.9em);\n            padding: 0 20px;\n        }\n        .parameter-diagram {\n            margin-top: 30px;\n            text-align: center;\n            padding: 20px;\n            background-color: #f8f9fa;\n            border-radius: 4px;\n            overflow-x: auto;\n            order: 2;\n        }\n        .diagram-title {\n            font-weight: 600;\n            margin-bottom: 15px;\n            color: #2c3e50;\n            font-size: clamp(1em, 2.5vw, 1.2em);\n        }\n        .diagram-container {\n            display: inline-block;\n            position: relative;\n            margin: 20px auto;\n            width: 100%;\n            max-width: 500px;\n            min-width: 300px;\n        }\n        .diagram-svg {\n            width: 100%;\n            height: auto;\n            min-height: 300px;\n            border: none;\n            background-color: transparent;\n            padding: 10px;\n            box-sizing: border-box;\n        }\n        .parameter-table-container {\n            overflow-x: auto;\n            margin: 0;\n            padding: 15px 20px 20px;\n            position: relative;\n            order: 1;\n            -webkit-overflow-scrolling: touch;\n            width: 100%;\n            box-sizing: border-box;\n        }\n        @media screen and (max-width: 782px) {\n            th {\n                top: var(--wp-admin-bar-height, 46px);\n            }\n        }\n        @media (max-width: 768px) {\n            body {\n                padding: 10px;\n            }\n            .container {\n                padding: 15px;\n            }\n            th, td {\n                padding: 8px;\n                font-size: 0.9em;\n            }\n            th:first-child, td:first-child {\n                width: 65%;\n            }\n            th:last-child, td:last-child {\n                width: 35%;\n            }\n            .series-info {\n                padding: 10px;\n            }\n            select {\n                padding: 10px;\n            }\n            #result {\n                padding: 0;\n                border-left: none;\n                border-right: none;\n                border-radius: 0;\n                margin-left: -15px;\n                margin-right: -15px;\n                width: calc(100% + 30px);\n                max-width: none;\n            }\n            .parameter-table-container {\n                padding: 10px;\n                width: 100%;\n            }\n            table {\n                min-width: 350px;\n                width: 100%;\n            }\n            #result h2 {\n                padding-left: 10px;\n                padding-top: 10px;\n            }\n            .parameter-name {\n                padding-right: 10px;\n            }\n        }\n\n        @media (max-width: 480px) {\n            body {\n                padding: 5px;\n            }\n            .container {\n                padding: 10px;\n            }\n            th, td {\n                padding: 6px;\n                font-size: 0.85em;\n            }\n            th:first-child, td:first-child {\n                width: 60%;\n                padding-right: 5px !important;\n            }\n            th:last-child, td:last-child {\n                width: 40%;\n                padding-left: 5px !important;\n            }\n            .series-info ul {\n                padding-left: 15px;\n            }\n            .diagram-container {\n                min-width: 250px;\n            }\n            .diagram-svg {\n                min-height: 250px;\n            }\n            #result {\n                margin-left: -10px;\n                margin-right: -10px;\n                width: calc(100% + 20px);\n                max-width: none;\n                left: 0;\n                right: 0;\n            }\n            .parameter-table-container {\n                padding: 5px;\n                padding-bottom: 15px;\n                width: 100%;\n            }\n            table {\n                min-width: 280px;\n                width: 100%;\n                margin: 0 auto;\n            }\n            h2 {\n                font-size: 1.1em;\n                margin-left: 5px;\n            }\n            .parameter-name {\n                max-width: 140px;\n                font-size: 0.8em;\n                padding-right: 2px !important;\n                white-space: normal;\n                word-break: break-word;\n                line-height: 1.3;\n            }\n            .parameter-value {\n                text-align: right;\n                font-size: 0.8em;\n                padding-left: 2px !important;\n                line-height: 1.3;\n            }\n            th {\n                padding: 5px !important;\n                font-size: 0.8em;\n            }\n        }\n\n        @media (min-width: 769px) and (max-width: 1024px) {\n            .container {\n                max-width: 90%;\n            }\n            .diagram-container {\n                max-width: 400px;\n            }\n        }\n\n        @media (min-width: 1025px) {\n            .container {\n                max-width: 1000px;\n            }\n            .diagram-container {\n                max-width: 500px;\n            }\n        }\n\n        .parameter-diagram.standalone {\n            margin: 30px 0;\n            text-align: center;\n            padding: 20px;\n            background-color: transparent;\n            overflow-x: auto;\n            box-shadow: none;\n        }\n        .parameter-diagram.standalone .diagram-container {\n            max-width: 400px;\n        }\n        .parameter-diagram.standalone .diagram-title {\n            color: #2c3e50;\n            margin-bottom: 20px;\n        }\n\n        @media (max-width: 320px) {\n            .parameter-name {\n                max-width: 120px;\n                font-size: 0.75em;\n                padding: 4px !important;\n                word-break: break-word;\n                white-space: normal;\n                line-height: 1.2;\n            }\n            .parameter-value {\n                font-size: 0.75em;\n                padding: 4px !important;\n                line-height: 1.2;\n            }\n            th {\n                padding: 4px !important;\n                font-size: 0.75em;\n            }\n            #result h2 {\n                font-size: 1em;\n                padding-left: 5px;\n            }\n            tr > td:first-child {\n                width: 70%;\n            }\n            tr > td:last-child {\n                width: 30%;\n            }\n        }\n\n        \/* WordPress\u7279\u5b9a\u4f18\u5316 *\/\n        .wp-block-code, .wp-block-preformatted, .entry-content {\n            max-width: 100% !important;\n            overflow-x: visible !important;\n        }\n        \n        \/* \u4fee\u590dWordPress\u4e2d\u7684select\u83dc\u5355\u95ee\u9898 *\/\n        .entry-content select,\n        .wp-block-html select,\n        .wp-block-custom-html select,\n        div[class*=\"wp-\"] select {\n            position: relative !important;\n            z-index: 100 !important;\n            width: 100% !important;\n            max-width: 100% !important;\n            -webkit-appearance: menulist !important;\n            -moz-appearance: menulist !important;\n            appearance: menulist !important;\n            background-image: none !important;\n            padding-right: 12px !important;\n        }\n        \n        \/* \u4fee\u590dWordPress\u53ef\u80fd\u5bfc\u81f4\u7684select\u6837\u5f0f\u51b2\u7a81 *\/\n        .in-wordpress select {\n            pointer-events: auto !important;\n            opacity: 1 !important;\n            height: auto !important;\n            min-height: 35px !important;\n        }\n        \n        \/* \u9488\u5bf9\u67d0\u4e9b\u4e3b\u9898\u7684\u7279\u6b8a\u4fee\u590d *\/\n        .theme-twentytwenty select,\n        .theme-twentytwentyone select,\n        .theme-twentytwentytwo select {\n            opacity: 1 !important;\n            visibility: visible !important;\n            display: block !important;\n        }\n        \n        \/* \u4fee\u590dWordPress\u4e3b\u9898\u8fb9\u8ddd\u548c\u5bbd\u5ea6\u95ee\u9898 *\/\n        .wp-embed-responsive #result,\n        .entry-content #result {\n            width: 100% !important;\n            max-width: 100% !important;\n            box-sizing: border-box !important;\n            margin-left: 0 !important;\n            margin-right: 0 !important;\n        }\n        \n        \/* \u5f3a\u5236WordPress\u73af\u5883\u4e2d\u7684\u8868\u683c\u6837\u5f0f *\/\n        .entry-content table,\n        .wp-block-html table,\n        .wp-block-custom-html table,\n        div[class*=\"wp-\"] table {\n            margin: 0 !important;\n            border: none !important;\n            border-collapse: collapse !important;\n        }\n        \n        .entry-content th, \n        .entry-content td,\n        .wp-block-html th,\n        .wp-block-html td,\n        .wp-block-custom-html th,\n        .wp-block-custom-html td,\n        div[class*=\"wp-\"] th,\n        div[class*=\"wp-\"] td {\n            border: 1px solid #ddd !important;\n            padding: 8px !important;\n        }\n\n        \/* \u786e\u4fdd\u5728WordPress\u73af\u5883\u4e2d\u8868\u683c\u586b\u5145\u6240\u6709\u53ef\u7528\u7a7a\u95f4 *\/\n        @media (max-width: 768px) {\n            \/* \u4fee\u590d\u79fb\u52a8\u7aefWordPress\u8868\u683c\u663e\u793a\u95ee\u9898 *\/\n            body.wp-embed-responsive #result,\n            body.wp-embed-responsive .parameter-table-container,\n            .entry-content #result,\n            .entry-content .parameter-table-container {\n                width: 100% !important;\n                left: 0 !important;\n                right: 0 !important;\n                margin-left: 0 !important;\n                margin-right: 0 !important;\n                padding: 0 !important;\n                overflow-x: hidden !important;\n            }\n            \n            body.wp-embed-responsive .parameter-table-container,\n            .entry-content .parameter-table-container {\n                padding: 5px !important;\n            }\n            \n            \/* \u5904\u7406\u4e00\u4e9bWordPress\u4e3b\u9898\u7279\u5b9a\u6837\u5f0f *\/\n            .theme-twentytwenty #result,\n            .theme-twentytwentyone #result,\n            .theme-twentytwentytwo #result {\n                width: 100% !important;\n                max-width: 100% !important;\n                margin: 30px 0 0 0 !important;\n            }\n            \n            \/* \u5904\u7406\u53ef\u80fd\u7684\u7236\u5bb9\u5668\u5bbd\u5ea6\u9650\u5236 *\/\n            body.wp-embed-responsive .container,\n            .entry-content .container,\n            div[class*=\"wp-\"] .container,\n            article .container,\n            main .container {\n                width: 100% !important;\n                max-width: 100% !important;\n                padding: 10px !important;\n            }\n        }\n\n        \/* \u5907\u7528\u4e0b\u62c9\u6837\u5f0f\uff08\u5f53select\u5728WordPress\u4e2d\u5b8c\u5168\u4e0d\u53ef\u7528\u65f6\uff09 *\/\n        .custom-dropdown {\n            position: relative;\n            display: none; \/* \u9ed8\u8ba4\u9690\u85cf\uff0c\u4ec5\u5728WordPress\u7279\u5b9a\u60c5\u51b5\u4e0b\u663e\u793a *\/\n            width: 100%;\n            margin-bottom: 10px;\n        }\n        .custom-dropdown-button {\n            width: 100%;\n            padding: 12px;\n            border: 1px solid #ddd;\n            border-radius: 4px;\n            background-color: white;\n            text-align: left;\n            cursor: pointer;\n            position: relative;\n            font-size: 16px;\n            color: #333;\n        }\n        .custom-dropdown-button:after {\n            content: '\u25bc';\n            position: absolute;\n            right: 12px;\n            top: 50%;\n            transform: translateY(-50%);\n            font-size: 12px;\n        }\n        .custom-dropdown-options {\n            display: none;\n            position: absolute;\n            width: 100%;\n            max-height: 300px;\n            overflow-y: auto;\n            background-color: white;\n            border: 1px solid #ddd;\n            border-top: none;\n            border-radius: 0 0 4px 4px;\n            z-index: 1000;\n            box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n        }\n        .custom-dropdown-options.show {\n            display: block;\n        }\n        .custom-dropdown-option {\n            padding: 10px 12px;\n            cursor: pointer;\n        }\n        .custom-dropdown-option:hover {\n            background-color: #f5f5f5;\n        }\n        .wp-embed-responsive .custom-dropdown {\n            display: none; \/* \u5728WordPress\u4e2d\u5148\u9690\u85cf\uff0c\u5982\u679c\u68c0\u6d4b\u5230select\u4e0d\u53ef\u7528\u518d\u663e\u793a *\/\n        }\n    <\/style>\n<\/head>\n<body>\n    <div class=\"container\">\n        <div class=\"series-info\">\n            <strong>Series Description:<\/strong>\n            <ul>\n                <li>HW Series: Light H-beams, suitable for light steel structures (9 specifications)<\/li>\n                <li>HM Series: Medium H-beams, suitable for medium steel structures (9 specifications)<\/li>\n                <li>HN Series: Heavy H-beams, suitable for heavy steel structures (13 specifications)<\/li>\n                <li>HP Series: Pile H-beams, suitable for foundation engineering (5 specifications)<\/li>\n            <\/ul>\n        <\/div>\n\n        <div class=\"parameter-diagram standalone\">\n            <div class=\"diagram-title\">H-Beam Section Diagram<\/div>\n            <div class=\"diagram-container\">\n                <svg class=\"diagram-svg\" viewBox=\"0 0 400 300\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <style>\n                        .param-text { font-size: 14px; fill: #2c3e50; }\n                        .param-line { stroke: #666; stroke-width: 1; }\n                        .beam-outline { stroke: #1a73e8; stroke-width: 2; fill: none; }\n                        .dimension-line { stroke: #666; stroke-width: 1; }\n                        .leader-line { \n                            stroke: #666; \n                            stroke-width: 1; \n                            stroke-dasharray: 4,4; \n                            fill: none; \n                        }\n                        .radius-arc { \n                            stroke: #666; \n                            stroke-width: 1; \n                            fill: none; \n                        }\n                        .arrow-head { fill: none; stroke: #666; stroke-width: 1; }\n                    <\/style>\n                    \n                    <defs>\n                        <marker id=\"arrow-start\" markerWidth=\"10\" markerHeight=\"7\" refX=\"0\" refY=\"3.5\" orient=\"auto\">\n                            <polygon points=\"10 0, 0 3.5, 10 7\" fill=\"#666\"\/>\n                        <\/marker>\n                        <marker id=\"arrow-end\" markerWidth=\"10\" markerHeight=\"7\" refX=\"10\" refY=\"3.5\" orient=\"auto\">\n                            <polygon points=\"0 0, 10 3.5, 0 7\" fill=\"#666\"\/>\n                        <\/marker>\n                    <\/defs>\n                    \n                    <rect x=\"0\" y=\"0\" width=\"400\" height=\"300\" fill=\"#f8f9fa\"\/>\n                    \n                    <path class=\"beam-outline\" d=\"\n                        M100,50 L300,50 \n                        L300,80 \n                        L220,80 \n                        A8,8 0 0 0 212,88\n                        L212,212\n                        A8,8 0 0 0 220,220\n                        L300,220 \n                        L300,250 \n                        L100,250 \n                        L100,220 \n                        L180,220\n                        A8,8 0 0 0 188,212\n                        L188,88\n                        A8,8 0 0 0 180,80\n                        L100,80 \n                        Z\"\/>\n                    \n                    <g class=\"dimension\">\n                        <line class=\"dimension-line\" x1=\"60\" y1=\"50\" x2=\"60\" y2=\"250\" marker-end=\"url(#arrow-end)\" marker-start=\"url(#arrow-start)\"\/>\n                        <line class=\"leader-line\" x1=\"60\" y1=\"50\" x2=\"100\" y2=\"50\"\/>\n                        <line class=\"leader-line\" x1=\"60\" y1=\"250\" x2=\"100\" y2=\"250\"\/>\n                        <text class=\"param-text\" x=\"45\" y=\"150\" text-anchor=\"middle\">h<\/text>\n                    <\/g>\n                    \n                    <g class=\"dimension\">\n                        <line class=\"dimension-line\" x1=\"100\" y1=\"280\" x2=\"300\" y2=\"280\" marker-end=\"url(#arrow-end)\" marker-start=\"url(#arrow-start)\"\/>\n                        <line class=\"leader-line\" x1=\"100\" y1=\"250\" x2=\"100\" y2=\"280\"\/>\n                        <line class=\"leader-line\" x1=\"300\" y1=\"250\" x2=\"300\" y2=\"280\"\/>\n                        <text class=\"param-text\" x=\"200\" y=\"295\" text-anchor=\"middle\">b<\/text>\n                    <\/g>\n                    \n                    <g class=\"dimension\">\n                        <line class=\"dimension-line\" x1=\"188\" y1=\"150\" x2=\"212\" y2=\"150\" marker-end=\"url(#arrow-end)\" marker-start=\"url(#arrow-start)\"\/>\n                        <text class=\"param-text\" x=\"200\" y=\"145\" text-anchor=\"middle\">tw<\/text>\n                    <\/g>\n                    \n                    <g class=\"dimension\">\n                        <line class=\"dimension-line\" x1=\"320\" y1=\"50\" x2=\"320\" y2=\"80\" marker-end=\"url(#arrow-end)\" marker-start=\"url(#arrow-start)\"\/>\n                        <line class=\"leader-line\" x1=\"300\" y1=\"50\" x2=\"320\" y2=\"50\"\/>\n                        <line class=\"leader-line\" x1=\"300\" y1=\"80\" x2=\"320\" y2=\"80\"\/>\n                        <text class=\"param-text\" x=\"335\" y=\"65\" text-anchor=\"middle\">tf<\/text>\n                    <\/g>\n                    \n                    <g class=\"dimension\">\n                        <path class=\"radius-arc\" d=\"M180,80 A8,8 0 0 0 188,88\"\/>\n                        <line class=\"leader-line\" x1=\"184\" y1=\"84\" x2=\"164\" y2=\"104\"\/>\n                        <text class=\"param-text\" x=\"160\" y=\"110\" text-anchor=\"end\">r<\/text>\n                    <\/g>\n                    \n                    <text class=\"param-text\" x=\"200\" y=\"30\" text-anchor=\"middle\" font-weight=\"bold\">H-Beam Cross Section<\/text>\n                <\/svg>\n            <\/div>\n        <\/div>\n\n        <div class=\"form-group\">\n            <label for=\"type\">Select H-Beam Series:<\/label>\n            <select id=\"type\" onchange=\"updateModels()\">\n                <option value=\"\">Please select series<\/option>\n                <option value=\"HW\">HW Series (Light)<\/option>\n                <option value=\"HM\">HM Series (Medium)<\/option>\n                <option value=\"HN\">HN Series (Heavy)<\/option>\n                <option value=\"HP\">HP Series (Pile)<\/option>\n            <\/select>\n        <\/div>\n\n        <div class=\"form-group\">\n            <label for=\"model\">Select Specification:<\/label>\n            <select id=\"model\" onchange=\"showParameters()\" disabled>\n                <option value=\"\">Please select specification<\/option>\n            <\/select>\n        <\/div>\n\n        <div id=\"result\">\n            <h2>Parameter Information<\/h2>\n            <div class=\"parameter-table-container\">\n                <table>\n                    <thead>\n                        <tr>\n                            <th>Parameter Name (Symbol)<\/th>\n                            <th>Value<\/th>\n                        <\/tr>\n                    <\/thead>\n                    <tbody id=\"parameterTable\">\n                    <\/tbody>\n                <\/table>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    <footer>\n        <p>Note: All parameter data is provided according to national standards for reference only. Please refer to national specifications for actual applications.<\/p>\n    <\/footer>\n\n    <script>\n        const hBeamData = {\n            \"HW\": {\n                \"100\u00d7100\": {\n                    \"h (mm)\": 100,\n                    \"b (mm)\": 100,\n                    \"tw (mm)\": 6,\n                    \"tf (mm)\": 8,\n                    \"r (mm)\": 8,\n                    \"A (cm\u00b2)\": 20.09,\n                    \"W (kg\/m)\": 15.77,\n                    \"Ix (cm\u2074)\": 383.8,\n                    \"Iy (cm\u2074)\": 133.8,\n                    \"ix (cm)\": 4.37,\n                    \"iy (cm)\": 2.58,\n                    \"Wx (cm\u00b3)\": 76.8,\n                    \"Wy (cm\u00b3)\": 26.8\n                },\n                \"125\u00d7125\": {\n                    \"h (mm)\": 125,\n                    \"b (mm)\": 125,\n                    \"tw (mm)\": 6.5,\n                    \"tf (mm)\": 9,\n                    \"r (mm)\": 10,\n                    \"A (cm\u00b2)\": 27.34,\n                    \"W (kg\/m)\": 21.46,\n                    \"Ix (cm\u2074)\": 837.2,\n                    \"Iy (cm\u2074)\": 293.2,\n                    \"ix (cm)\": 5.53,\n                    \"iy (cm)\": 3.28,\n                    \"Wx (cm\u00b3)\": 134.0,\n                    \"Wy (cm\u00b3)\": 46.9\n                },\n                \"150\u00d7150\": {\n                    \"h (mm)\": 150,\n                    \"b (mm)\": 150,\n                    \"tw (mm)\": 7,\n                    \"tf (mm)\": 10,\n                    \"r (mm)\": 12,\n                    \"A (cm\u00b2)\": 36.24,\n                    \"W (kg\/m)\": 28.45,\n                    \"Ix (cm\u2074)\": 1640.0,\n                    \"Iy (cm\u2074)\": 563.0,\n                    \"ix (cm)\": 6.73,\n                    \"iy (cm)\": 3.94,\n                    \"Wx (cm\u00b3)\": 218.7,\n                    \"Wy (cm\u00b3)\": 75.1\n                },\n                \"175\u00d7175\": {\n                    \"h (mm)\": 175,\n                    \"b (mm)\": 175,\n                    \"tw (mm)\": 7.5,\n                    \"tf (mm)\": 11,\n                    \"r (mm)\": 13,\n                    \"A (cm\u00b2)\": 45.74,\n                    \"W (kg\/m)\": 35.91,\n                    \"Ix (cm\u2074)\": 2880.0,\n                    \"Iy (cm\u2074)\": 984.0,\n                    \"ix (cm)\": 7.93,\n                    \"iy (cm)\": 4.64,\n                    \"Wx (cm\u00b3)\": 329.1,\n                    \"Wy (cm\u00b3)\": 112.5\n                },\n                \"200\u00d7200\": {\n                    \"h (mm)\": 200,\n                    \"b (mm)\": 200,\n                    \"tw (mm)\": 8,\n                    \"tf (mm)\": 12,\n                    \"r (mm)\": 13,\n                    \"A (cm\u00b2)\": 56.24,\n                    \"W (kg\/m)\": 44.15,\n                    \"Ix (cm\u2074)\": 4720.0,\n                    \"Iy (cm\u2074)\": 1600.0,\n                    \"ix (cm)\": 9.16,\n                    \"iy (cm)\": 5.33,\n                    \"Wx (cm\u00b3)\": 472.0,\n                    \"Wy (cm\u00b3)\": 160.0\n                },\n                \"250\u00d7250\": {\n                    \"h (mm)\": 250,\n                    \"b (mm)\": 250,\n                    \"tw (mm)\": 9,\n                    \"tf (mm)\": 14,\n                    \"r (mm)\": 16,\n                    \"A (cm\u00b2)\": 80.24,\n                    \"W (kg\/m)\": 62.99,\n                    \"Ix (cm\u2074)\": 10700.0,\n                    \"Iy (cm\u2074)\": 3650.0,\n                    \"ix (cm)\": 11.55,\n                    \"iy (cm)\": 6.74,\n                    \"Wx (cm\u00b3)\": 856.0,\n                    \"Wy (cm\u00b3)\": 292.0\n                },\n                \"300\u00d7300\": {\n                    \"h (mm)\": 300,\n                    \"b (mm)\": 300,\n                    \"tw (mm)\": 10,\n                    \"tf (mm)\": 15,\n                    \"r (mm)\": 18,\n                    \"A (cm\u00b2)\": 107.24,\n                    \"W (kg\/m)\": 84.18,\n                    \"Ix (cm\u2074)\": 20400.0,\n                    \"Iy (cm\u2074)\": 6750.0,\n                    \"ix (cm)\": 13.79,\n                    \"iy (cm)\": 7.93,\n                    \"Wx (cm\u00b3)\": 1360.0,\n                    \"Wy (cm\u00b3)\": 450.0\n                },\n                \"350\u00d7350\": {\n                    \"h (mm)\": 350,\n                    \"b (mm)\": 350,\n                    \"tw (mm)\": 12,\n                    \"tf (mm)\": 19,\n                    \"r (mm)\": 20,\n                    \"A (cm\u00b2)\": 137.24,\n                    \"W (kg\/m)\": 107.73,\n                    \"Ix (cm\u2074)\": 36800.0,\n                    \"Iy (cm\u2074)\": 12300.0,\n                    \"ix (cm)\": 16.38,\n                    \"iy (cm)\": 9.47,\n                    \"Wx (cm\u00b3)\": 2102.9,\n                    \"Wy (cm\u00b3)\": 702.9\n                },\n                \"400\u00d7400\": {\n                    \"h (mm)\": 400,\n                    \"b (mm)\": 400,\n                    \"tw (mm)\": 13,\n                    \"tf (mm)\": 21,\n                    \"r (mm)\": 22,\n                    \"A (cm\u00b2)\": 172.24,\n                    \"W (kg\/m)\": 135.21,\n                    \"Ix (cm\u2074)\": 66600.0,\n                    \"Iy (cm\u2074)\": 22200.0,\n                    \"ix (cm)\": 19.65,\n                    \"iy (cm)\": 11.35,\n                    \"Wx (cm\u00b3)\": 3330.0,\n                    \"Wy (cm\u00b3)\": 1110.0\n                }\n            },\n            \"HM\": {\n                \"200\u00d7200\": {\n                    \"h (mm)\": 200,\n                    \"b (mm)\": 200,\n                    \"tw (mm)\": 9,\n                    \"tf (mm)\": 15,\n                    \"r (mm)\": 16,\n                    \"A (cm\u00b2)\": 66.48,\n                    \"W (kg\/m)\": 52.19,\n                    \"Ix (cm\u2074)\": 4720.0,\n                    \"Iy (cm\u2074)\": 1600.0,\n                    \"ix (cm)\": 8.43,\n                    \"iy (cm)\": 4.91,\n                    \"Wx (cm\u00b3)\": 472.0,\n                    \"Wy (cm\u00b3)\": 160.0\n                },\n                \"250\u00d7250\": {\n                    \"h (mm)\": 250,\n                    \"b (mm)\": 250,\n                    \"tw (mm)\": 10,\n                    \"tf (mm)\": 16,\n                    \"r (mm)\": 16,\n                    \"A (cm\u00b2)\": 91.48,\n                    \"W (kg\/m)\": 71.81,\n                    \"Ix (cm\u2074)\": 11800.0,\n                    \"Iy (cm\u2074)\": 4050.0,\n                    \"ix (cm)\": 11.35,\n                    \"iy (cm)\": 6.65,\n                    \"Wx (cm\u00b3)\": 944.0,\n                    \"Wy (cm\u00b3)\": 324.0\n                },\n                \"300\u00d7300\": {\n                    \"h (mm)\": 300,\n                    \"b (mm)\": 300,\n                    \"tw (mm)\": 11,\n                    \"tf (mm)\": 18,\n                    \"r (mm)\": 18,\n                    \"A (cm\u00b2)\": 120.48,\n                    \"W (kg\/m)\": 94.58,\n                    \"Ix (cm\u2074)\": 22400.0,\n                    \"Iy (cm\u2074)\": 7460.0,\n                    \"ix (cm)\": 13.63,\n                    \"iy (cm)\": 7.86,\n                    \"Wx (cm\u00b3)\": 1493.3,\n                    \"Wy (cm\u00b3)\": 497.3\n                },\n                \"350\u00d7350\": {\n                    \"h (mm)\": 350,\n                    \"b (mm)\": 350,\n                    \"tw (mm)\": 12,\n                    \"tf (mm)\": 19,\n                    \"r (mm)\": 20,\n                    \"A (cm\u00b2)\": 151.48,\n                    \"W (kg\/m)\": 118.91,\n                    \"Ix (cm\u2074)\": 40900.0,\n                    \"Iy (cm\u2074)\": 13800.0,\n                    \"ix (cm)\": 16.42,\n                    \"iy (cm)\": 9.54,\n                    \"Wx (cm\u00b3)\": 2337.1,\n                    \"Wy (cm\u00b3)\": 788.6\n                },\n                \"400\u00d7400\": {\n                    \"h (mm)\": 400,\n                    \"b (mm)\": 400,\n                    \"tw (mm)\": 13,\n                    \"tf (mm)\": 21,\n                    \"r (mm)\": 22,\n                    \"A (cm\u00b2)\": 188.48,\n                    \"W (kg\/m)\": 147.96,\n                    \"Ix (cm\u2074)\": 72800.0,\n                    \"Iy (cm\u2074)\": 24400.0,\n                    \"ix (cm)\": 19.66,\n                    \"iy (cm)\": 11.38,\n                    \"Wx (cm\u00b3)\": 3640.0,\n                    \"Wy (cm\u00b3)\": 1220.0\n                },\n                \"450\u00d7450\": {\n                    \"h (mm)\": 450,\n                    \"b (mm)\": 450,\n                    \"tw (mm)\": 14,\n                    \"tf (mm)\": 23,\n                    \"r (mm)\": 24,\n                    \"A (cm\u00b2)\": 229.48,\n                    \"W (kg\/m)\": 180.14,\n                    \"Ix (cm\u2074)\": 115000.0,\n                    \"Iy (cm\u2074)\": 38600.0,\n                    \"ix (cm)\": 22.41,\n                    \"iy (cm)\": 12.97,\n                    \"Wx (cm\u00b3)\": 5111.1,\n                    \"Wy (cm\u00b3)\": 1715.6\n                },\n                \"500\u00d7500\": {\n                    \"h (mm)\": 500,\n                    \"b (mm)\": 500,\n                    \"tw (mm)\": 15,\n                    \"tf (mm)\": 25,\n                    \"r (mm)\": 26,\n                    \"A (cm\u00b2)\": 274.48,\n                    \"W (kg\/m)\": 215.47,\n                    \"Ix (cm\u2074)\": 174000.0,\n                    \"Iy (cm\u2074)\": 58300.0,\n                    \"ix (cm)\": 25.21,\n                    \"iy (cm)\": 14.58,\n                    \"Wx (cm\u00b3)\": 6960.0,\n                    \"Wy (cm\u00b3)\": 2332.0\n                },\n                \"600\u00d7600\": {\n                    \"h (mm)\": 600,\n                    \"b (mm)\": 600,\n                    \"tw (mm)\": 17,\n                    \"tf (mm)\": 29,\n                    \"r (mm)\": 30,\n                    \"A (cm\u00b2)\": 380.48,\n                    \"W (kg\/m)\": 298.68,\n                    \"Ix (cm\u2074)\": 349000.0,\n                    \"Iy (cm\u2074)\": 116000.0,\n                    \"ix (cm)\": 30.28,\n                    \"iy (cm)\": 17.47,\n                    \"Wx (cm\u00b3)\": 11633.3,\n                    \"Wy (cm\u00b3)\": 3866.7\n                },\n                \"700\u00d7700\": {\n                    \"h (mm)\": 700,\n                    \"b (mm)\": 700,\n                    \"tw (mm)\": 19,\n                    \"tf (mm)\": 33,\n                    \"r (mm)\": 34,\n                    \"A (cm\u00b2)\": 502.48,\n                    \"W (kg\/m)\": 394.45,\n                    \"Ix (cm\u2074)\": 614000.0,\n                    \"Iy (cm\u2074)\": 204000.0,\n                    \"ix (cm)\": 34.95,\n                    \"iy (cm)\": 20.15,\n                    \"Wx (cm\u00b3)\": 17542.9,\n                    \"Wy (cm\u00b3)\": 5828.6\n                }\n            },\n            \"HN\": {\n                \"200\u00d7200\": {\n                    \"h (mm)\": 200,\n                    \"b (mm)\": 200,\n                    \"tw (mm)\": 10,\n                    \"tf (mm)\": 16,\n                    \"r (mm)\": 16,\n                    \"A (cm\u00b2)\": 75.08,\n                    \"W (kg\/m)\": 58.94,\n                    \"Ix (cm\u2074)\": 5320.0,\n                    \"Iy (cm\u2074)\": 1800.0,\n                    \"ix (cm)\": 8.41,\n                    \"iy (cm)\": 4.89,\n                    \"Wx (cm\u00b3)\": 532.0,\n                    \"Wy (cm\u00b3)\": 180.0\n                },\n                \"250\u00d7250\": {\n                    \"h (mm)\": 250,\n                    \"b (mm)\": 250,\n                    \"tw (mm)\": 11,\n                    \"tf (mm)\": 18,\n                    \"r (mm)\": 18,\n                    \"A (cm\u00b2)\": 101.84,\n                    \"W (kg\/m)\": 79.94,\n                    \"Ix (cm\u2074)\": 12900.0,\n                    \"Iy (cm\u2074)\": 4450.0,\n                    \"ix (cm)\": 11.25,\n                    \"iy (cm)\": 6.61,\n                    \"Wx (cm\u00b3)\": 1032.0,\n                    \"Wy (cm\u00b3)\": 356.0\n                },\n                \"300\u00d7300\": {\n                    \"h (mm)\": 300,\n                    \"b (mm)\": 300,\n                    \"tw (mm)\": 12,\n                    \"tf (mm)\": 20,\n                    \"r (mm)\": 20,\n                    \"A (cm\u00b2)\": 133.48,\n                    \"W (kg\/m)\": 104.78,\n                    \"Ix (cm\u2074)\": 24400.0,\n                    \"Iy (cm\u2074)\": 8150.0,\n                    \"ix (cm)\": 13.52,\n                    \"iy (cm)\": 7.81,\n                    \"Wx (cm\u00b3)\": 1626.7,\n                    \"Wy (cm\u00b3)\": 543.3\n                },\n                \"350\u00d7350\": {\n                    \"h (mm)\": 350,\n                    \"b (mm)\": 350,\n                    \"tw (mm)\": 13,\n                    \"tf (mm)\": 22,\n                    \"r (mm)\": 22,\n                    \"A (cm\u00b2)\": 169.48,\n                    \"W (kg\/m)\": 133.04,\n                    \"Ix (cm\u2074)\": 40300.0,\n                    \"Iy (cm\u2074)\": 13600.0,\n                    \"ix (cm)\": 15.41,\n                    \"iy (cm)\": 8.95,\n                    \"Wx (cm\u00b3)\": 2302.9,\n                    \"Wy (cm\u00b3)\": 777.1\n                },\n                \"400\u00d7400\": {\n                    \"h (mm)\": 400,\n                    \"b (mm)\": 400,\n                    \"tw (mm)\": 14,\n                    \"tf (mm)\": 24,\n                    \"r (mm)\": 24,\n                    \"A (cm\u00b2)\": 210.48,\n                    \"W (kg\/m)\": 165.23,\n                    \"Ix (cm\u2074)\": 79100.0,\n                    \"Iy (cm\u2074)\": 26500.0,\n                    \"ix (cm)\": 19.39,\n                    \"iy (cm)\": 11.22,\n                    \"Wx (cm\u00b3)\": 3955.0,\n                    \"Wy (cm\u00b3)\": 1325.0\n                },\n                \"450\u00d7450\": {\n                    \"h (mm)\": 450,\n                    \"b (mm)\": 450,\n                    \"tw (mm)\": 15,\n                    \"tf (mm)\": 26,\n                    \"r (mm)\": 26,\n                    \"A (cm\u00b2)\": 256.48,\n                    \"W (kg\/m)\": 201.34,\n                    \"Ix (cm\u2074)\": 124000.0,\n                    \"Iy (cm\u2074)\": 41800.0,\n                    \"ix (cm)\": 21.97,\n                    \"iy (cm)\": 12.76,\n                    \"Wx (cm\u00b3)\": 5511.1,\n                    \"Wy (cm\u00b3)\": 1715.6\n                },\n                \"500\u00d7500\": {\n                    \"h (mm)\": 500,\n                    \"b (mm)\": 500,\n                    \"tw (mm)\": 16,\n                    \"tf (mm)\": 28,\n                    \"r (mm)\": 28,\n                    \"A (cm\u00b2)\": 307.84,\n                    \"W (kg\/m)\": 241.65,\n                    \"Ix (cm\u2074)\": 187000.0,\n                    \"Iy (cm\u2074)\": 62900.0,\n                    \"ix (cm)\": 24.64,\n                    \"iy (cm)\": 14.30,\n                    \"Wx (cm\u00b3)\": 7480.0,\n                    \"Wy (cm\u00b3)\": 2332.0\n                },\n                \"600\u00d7600\": {\n                    \"h (mm)\": 600,\n                    \"b (mm)\": 600,\n                    \"tw (mm)\": 18,\n                    \"tf (mm)\": 32,\n                    \"r (mm)\": 32,\n                    \"A (cm\u00b2)\": 448.84,\n                    \"W (kg\/m)\": 352.34,\n                    \"Ix (cm\u2074)\": 373000.0,\n                    \"Iy (cm\u2074)\": 125000.0,\n                    \"ix (cm)\": 28.82,\n                    \"iy (cm)\": 16.68,\n                    \"Wx (cm\u00b3)\": 12433.3,\n                    \"Wy (cm\u00b3)\": 4166.7\n                },\n                \"700\u00d7700\": {\n                    \"h (mm)\": 700,\n                    \"b (mm)\": 700,\n                    \"tw (mm)\": 19,\n                    \"tf (mm)\": 33,\n                    \"r (mm)\": 34,\n                    \"A (cm\u00b2)\": 502.48,\n                    \"W (kg\/m)\": 394.45,\n                    \"Ix (cm\u2074)\": 614000.0,\n                    \"Iy (cm\u2074)\": 204000.0,\n                    \"ix (cm)\": 34.95,\n                    \"iy (cm)\": 20.15,\n                    \"Wx (cm\u00b3)\": 17542.9,\n                    \"Wy (cm\u00b3)\": 5828.6\n                }\n            },\n            \"HP\": {\n                \"200\u00d7200\": {\n                    \"h (mm)\": 200,\n                    \"b (mm)\": 200,\n                    \"tw (mm)\": 11,\n                    \"tf (mm)\": 17,\n                    \"r (mm)\": 16,\n                    \"A (cm\u00b2)\": 83.68,\n                    \"W (kg\/m)\": 65.69,\n                    \"Ix (cm\u2074)\": 5920.0,\n                    \"Iy (cm\u2074)\": 2000.0,\n                    \"ix (cm)\": 8.41,\n                    \"iy (cm)\": 4.89,\n                    \"Wx (cm\u00b3)\": 592.0,\n                    \"Wy (cm\u00b3)\": 200.0\n                },\n                \"250\u00d7250\": {\n                    \"h (mm)\": 250,\n                    \"b (mm)\": 250,\n                    \"tw (mm)\": 12,\n                    \"tf (mm)\": 19,\n                    \"r (mm)\": 18,\n                    \"A (cm\u00b2)\": 112.20,\n                    \"W (kg\/m)\": 88.08,\n                    \"Ix (cm\u2074)\": 14000.0,\n                    \"Iy (cm\u2074)\": 4850.0,\n                    \"ix (cm)\": 11.17,\n                    \"iy (cm)\": 6.57,\n                    \"Wx (cm\u00b3)\": 1120.0,\n                    \"Wy (cm\u00b3)\": 388.0\n                },\n                \"300\u00d7300\": {\n                    \"h (mm)\": 300,\n                    \"b (mm)\": 300,\n                    \"tw (mm)\": 13,\n                    \"tf (mm)\": 21,\n                    \"r (mm)\": 20,\n                    \"A (cm\u00b2)\": 146.48,\n                    \"W (kg\/m)\": 114.99,\n                    \"Ix (cm\u2074)\": 26400.0,\n                    \"Iy (cm\u2074)\": 8890.0,\n                    \"ix (cm)\": 13.42,\n                    \"iy (cm)\": 7.79,\n                    \"Wx (cm\u00b3)\": 1760.0,\n                    \"Wy (cm\u00b3)\": 592.7\n                },\n                \"350\u00d7350\": {\n                    \"h (mm)\": 350,\n                    \"b (mm)\": 350,\n                    \"tw (mm)\": 14,\n                    \"tf (mm)\": 23,\n                    \"r (mm)\": 22,\n                    \"A (cm\u00b2)\": 187.48,\n                    \"W (kg\/m)\": 147.17,\n                    \"Ix (cm\u2074)\": 43700.0,\n                    \"Iy (cm\u2074)\": 14800.0,\n                    \"ix (cm)\": 15.27,\n                    \"iy (cm)\": 8.88,\n                    \"Wx (cm\u00b3)\": 2497.1,\n                    \"Wy (cm\u00b3)\": 845.7\n                },\n                \"400\u00d7400\": {\n                    \"h (mm)\": 400,\n                    \"b (mm)\": 400,\n                    \"tw (mm)\": 15,\n                    \"tf (mm)\": 25,\n                    \"r (mm)\": 24,\n                    \"A (cm\u00b2)\": 232.48,\n                    \"W (kg\/m)\": 182.50,\n                    \"Ix (cm\u2074)\": 85400.0,\n                    \"Iy (cm\u2074)\": 28600.0,\n                    \"ix (cm)\": 19.17,\n                    \"iy (cm)\": 11.09,\n                    \"Wx (cm\u00b3)\": 4270.0,\n                    \"Wy (cm\u00b3)\": 1430.0\n                }\n            }\n        };\n\n        const parameterNames = {\n            \"h (mm)\": \"Section Height (h)\",\n            \"b (mm)\": \"Flange Width (b)\",\n            \"tw (mm)\": \"Web Thickness (tw)\",\n            \"tf (mm)\": \"Flange Thickness (tf)\",\n            \"r (mm)\": \"Corner Radius (r)\",\n            \"A (cm\u00b2)\": \"Section Area (A)\",\n            \"W (kg\/m)\": \"Weight per Meter (W)\",\n            \"Ix (cm\u2074)\": \"Moment of Inertia X-axis (Ix)\",\n            \"Iy (cm\u2074)\": \"Moment of Inertia Y-axis (Iy)\",\n            \"ix (cm)\": \"Radius of Gyration X-axis (ix)\",\n            \"iy (cm)\": \"Radius of Gyration Y-axis (iy)\",\n            \"Wx (cm\u00b3)\": \"Section Modulus X-axis (Wx)\",\n            \"Wy (cm\u00b3)\": \"Section Modulus Y-axis (Wy)\"\n        };\n\n        function updateModels() {\n            const typeSelect = document.getElementById('type');\n            const modelSelect = document.getElementById('model');\n            const resultDiv = document.getElementById('result');\n            const selectedType = typeSelect.value;\n\n            modelSelect.innerHTML = '<option value=\"\">Please select specification<\/option>';\n            modelSelect.disabled = !selectedType;\n\n            if (selectedType) {\n                const models = Object.keys(hBeamData[selectedType]).sort((a, b) => {\n                    const [heightA] = a.split('\u00d7').map(Number);\n                    const [heightB] = b.split('\u00d7').map(Number);\n                    return heightA - heightB;\n                });\n                \n                models.forEach(model => {\n                    const option = document.createElement('option');\n                    option.value = model;\n                    option.textContent = model;\n                    modelSelect.appendChild(option);\n                });\n            }\n\n            resultDiv.classList.remove('active');\n            \n            \/\/ WordPress\u517c\u5bb9\u6027\u5904\u7406\n            if (document.documentElement.classList.contains('in-wordpress')) {\n                setTimeout(() => {\n                    if (modelSelect) {\n                        modelSelect.style.display = selectedType ? 'block' : 'none';\n                    }\n                }, 100);\n            }\n        }\n\n        function showParameters() {\n            const typeSelect = document.getElementById('type');\n            const modelSelect = document.getElementById('model');\n            const resultDiv = document.getElementById('result');\n            const parameterTable = document.getElementById('parameterTable');\n\n            const selectedType = typeSelect.value;\n            const selectedModel = modelSelect.value;\n\n            if (selectedType && selectedModel) {\n                const parameters = hBeamData[selectedType][selectedModel];\n                parameterTable.innerHTML = '';\n\n                const basicParams = [\"h (mm)\", \"b (mm)\", \"tw (mm)\", \"tf (mm)\", \"r (mm)\"];\n                const areaParams = [\"A (cm\u00b2)\", \"W (kg\/m)\"];\n                const sectionParams = [\"Ix (cm\u2074)\", \"Iy (cm\u2074)\", \"ix (cm)\", \"iy (cm)\", \"Wx (cm\u00b3)\", \"Wy (cm\u00b3)\"];\n\n                addParameterGroup(\"Basic Dimensions\", basicParams, parameters);\n                addParameterGroup(\"Area and Weight\", areaParams, parameters);\n                addParameterGroup(\"Section Properties\", sectionParams, parameters);\n\n                resultDiv.classList.add('active');\n            } else {\n                resultDiv.classList.remove('active');\n            }\n\n            function addParameterGroup(groupTitle, params, data) {\n                const titleRow = document.createElement('tr');\n                titleRow.innerHTML = `\n                    <td colspan=\"2\" style=\"background-color: #f0f4f8; font-weight: bold; color: #2c5282; padding: 12px 15px;\">\n                        ${groupTitle}\n                    <\/td>\n                `;\n                parameterTable.appendChild(titleRow);\n\n                params.forEach(param => {\n                    const row = document.createElement('tr');\n                    let displayValue = data[param] || \"N\/A\";\n                    \n                    if (param.includes('mm')) {\n                        displayValue = `${displayValue} mm`;\n                    } else if (param.includes('cm\u00b2')) {\n                        displayValue = `${displayValue} cm\u00b2`;\n                    } else if (param.includes('kg\/m')) {\n                        displayValue = `${displayValue} kg\/m`;\n                    } else if (param.includes('cm\u2074')) {\n                        displayValue = `${displayValue} cm\u2074`;\n                    } else if (param.includes('cm\u00b3')) {\n                        displayValue = `${displayValue} cm\u00b3`;\n                    } else if (param.includes('cm)')) {\n                        displayValue = `${displayValue} cm`;\n                    }\n\n                    let paramName = parameterNames[param] || param;\n                    const isMobile = window.innerWidth <= 480;\n                    const isUltraSmall = window.innerWidth <= 320;\n                    \n                    if (isUltraSmall) {\n                        paramName = paramName.replace(\/ \\(.+\\)$\/, '');\n                        paramName = paramName\n                            .replace('Section Height', 'Height')\n                            .replace('Flange Width', 'Width')\n                            .replace('Section Area', 'Area')\n                            .replace('Weight per Meter', 'Weight')\n                            .replace('Moment of Inertia', 'Inertia');\n                    } \n                    else if (isMobile) {\n                        paramName = paramName.replace(\/ \\(.+\\)$\/, '');\n                    }\n\n                    row.innerHTML = `\n                        <td class=\"parameter-name\">${paramName}<\/td>\n                        <td class=\"parameter-value\">${displayValue}<\/td>\n                    `;\n                    parameterTable.appendChild(row);\n                });\n            }\n        }\n\n        \/\/ WordPress\u73af\u5883\u4f18\u5316\n        function optimizeForWordPress() {\n            \/\/ \u68c0\u6d4b\u662f\u5426\u5728WordPress\u73af\u5883\u4e2d - \u6269\u5c55\u68c0\u6d4b\u65b9\u6cd5\n            const isInWordPress = \n                window.location.href.includes('wp-content') || \n                document.body.classList.contains('wp-embed-responsive') ||\n                document.body.classList.contains('wp-admin') ||\n                document.body.className.match(\/theme-twenty\/) ||\n                document.querySelector('.entry-content') !== null ||\n                document.querySelector('.site-content') !== null ||\n                document.querySelector('.wp-block') !== null;\n            \n            if (isInWordPress) {\n                console.log('WordPress\u73af\u5883\u68c0\u6d4b\uff1a\u5df2\u68c0\u6d4b\u5230WordPress\u73af\u5883');\n                \n                \/\/ \u6dfb\u52a0\u6807\u8bb0\u7c7b\uff0c\u4fbf\u4e8eCSS\u9009\u62e9\u5668\u5339\u914d\n                document.documentElement.classList.add('in-wordpress');\n                \n                \/\/ \u627e\u5230\u6211\u4eec\u7684\u5bb9\u5668\n                const container = document.querySelector('.container');\n                if (container) {\n                    container.style.width = '100%';\n                    container.style.maxWidth = '100%';\n                    container.style.boxSizing = 'border-box';\n                }\n                \n                \/\/ \u4fee\u590d\u4e0b\u62c9\u83dc\u5355\n                const selects = document.querySelectorAll('select');\n                selects.forEach(select => {\n                    \/\/ \u4f7f\u7528\u539f\u751f\u4e0b\u62c9\u6837\u5f0f\n                    select.style.webkitAppearance = 'menulist';\n                    select.style.mozAppearance = 'menulist';\n                    select.style.appearance = 'menulist';\n                    select.style.backgroundImage = 'none';\n                    select.style.zIndex = '100';\n                    select.style.position = 'relative';\n                    select.style.pointerEvents = 'auto';\n                    select.style.opacity = '1';\n                    select.style.visibility = 'visible';\n                    select.style.display = 'block';\n                    select.style.minHeight = '35px';\n                    \n                    \/\/ \u79fb\u9664\u53ef\u80fd\u5e72\u6270\u7684\u4e8b\u4ef6\u76d1\u542c\u5668\n                    select.outerHTML = select.outerHTML;\n                });\n                \n                \/\/ \u5c1d\u8bd5\u68c0\u6d4bselect\u5143\u7d20\u662f\u5426\u53ef\u7528\n                setTimeout(function() {\n                    const typeSelect = document.getElementById('type');\n                    \n                    \/\/ \u68c0\u67e5select\u5143\u7d20\u7684\u53ef\u7528\u6027 - \u521b\u5efa\u4e00\u4e2a\u6d4b\u8bd5\u5143\u7d20\u5e76\u5c1d\u8bd5\u66f4\u6539\u5176\u503c\n                    const testSelect = document.createElement('select');\n                    testSelect.style.position = 'absolute';\n                    testSelect.style.opacity = '0';\n                    testSelect.innerHTML = '<option value=\"1\">1<\/option><option value=\"2\">2<\/option>';\n                    document.body.appendChild(testSelect);\n                    \n                    let selectFunctional = true;\n                    try {\n                        testSelect.value = \"2\";\n                        selectFunctional = (testSelect.value === \"2\");\n                    } catch(e) {\n                        selectFunctional = false;\n                    }\n                    document.body.removeChild(testSelect);\n                    \n                    \/\/ \u5982\u679cselect\u4e0d\u53ef\u7528\uff0c\u521b\u5efa\u81ea\u5b9a\u4e49\u4e0b\u62c9\u66ff\u4ee3\u65b9\u6848\n                    if (!selectFunctional || !typeSelect || typeof typeSelect.value === 'undefined') {\n                        console.log('WordPress\u73af\u5883\u68c0\u6d4b\uff1aselect\u5143\u7d20\u4e0d\u53ef\u7528\uff0c\u4f7f\u7528\u81ea\u5b9a\u4e49\u4e0b\u62c9\u66ff\u4ee3');\n                        createCustomDropdowns();\n                    } else {\n                        \/\/ \u91cd\u65b0\u7ed1\u5b9a\u4e8b\u4ef6\u5904\u7406\u5668\n                        if (typeSelect) {\n                            typeSelect.addEventListener('change', updateModels);\n                        }\n                        \n                        const modelSelect = document.getElementById('model');\n                        if (modelSelect) {\n                            modelSelect.addEventListener('change', showParameters);\n                        }\n                    }\n                }, 500);\n                \n                \/\/ \u786e\u4fdd\u7ed3\u679c\u533a\u57df\u9002\u5e94\u5c4f\u5e55\u5bbd\u5ea6\n                const resultDiv = document.getElementById('result');\n                if (resultDiv) {\n                    resultDiv.style.width = '100%';\n                    resultDiv.style.maxWidth = '100%';\n                    resultDiv.style.margin = '30px 0 0 0';\n                    resultDiv.style.boxSizing = 'border-box';\n                    resultDiv.style.left = '0';\n                    resultDiv.style.right = '0';\n                }\n                \n                \/\/ \u5904\u7406\u8868\u683c\u5bb9\u5668\n                const tableContainer = document.querySelector('.parameter-table-container');\n                if (tableContainer) {\n                    tableContainer.style.width = '100%';\n                    tableContainer.style.padding = '10px';\n                    tableContainer.style.boxSizing = 'border-box';\n                    tableContainer.style.overflowX = 'auto';\n                }\n                \n                \/\/ \u5904\u7406\u8868\u683c\n                const table = document.querySelector('table');\n                if (table) {\n                    if (window.innerWidth <= 480) {\n                        table.style.minWidth = '100%';\n                    } else {\n                        table.style.minWidth = '350px';\n                    }\n                    table.style.width = '100%';\n                    table.style.tableLayout = 'fixed';\n                }\n            }\n        }\n        \n        \/\/ \u521b\u5efa\u81ea\u5b9a\u4e49\u4e0b\u62c9\u66ff\u4ee3\u65b9\u6848\n        function createCustomDropdowns() {\n            \/\/ \u521b\u5efa\u7cfb\u5217\u9009\u62e9\u5668\u66ff\u4ee3\n            createCustomDropdown('type', 'Select H-Beam Series', {\n                '': 'Please select series',\n                'HW': 'HW Series (Light)',\n                'HM': 'HM Series (Medium)',\n                'HN': 'HN Series (Heavy)',\n                'HP': 'HP Series (Pile)'\n            }, function(value) {\n                \/\/ \u5f53\u7cfb\u5217\u53d8\u5316\u65f6\u66f4\u65b0\u89c4\u683c\u9009\u9879\n                const customModelDropdown = document.querySelector('#model-custom-dropdown');\n                if (customModelDropdown) {\n                    customModelDropdown.style.display = value ? 'block' : 'none';\n                    \n                    \/\/ \u66f4\u65b0\u89c4\u683c\u9009\u9879\n                    const optionsContainer = customModelDropdown.querySelector('.custom-dropdown-options');\n                    const button = customModelDropdown.querySelector('.custom-dropdown-button');\n                    \n                    \/\/ \u91cd\u8bbe\u6309\u94ae\u6587\u672c\n                    button.textContent = 'Please select specification';\n                    button.dataset.value = '';\n                    \n                    \/\/ \u6e05\u7a7a\u5e76\u6dfb\u52a0\u65b0\u9009\u9879\n                    optionsContainer.innerHTML = '<div class=\"custom-dropdown-option\" data-value=\"\">Please select specification<\/div>';\n                    \n                    if (value) {\n                        const models = Object.keys(hBeamData[value]).sort((a, b) => {\n                            const [heightA] = a.split('\u00d7').map(Number);\n                            const [heightB] = b.split('\u00d7').map(Number);\n                            return heightA - heightB;\n                        });\n                        \n                        models.forEach(model => {\n                            const option = document.createElement('div');\n                            option.className = 'custom-dropdown-option';\n                            option.dataset.value = model;\n                            option.textContent = model;\n                            optionsContainer.appendChild(option);\n                        });\n                    }\n                }\n                \n                \/\/ \u9690\u85cf\u7ed3\u679c\u533a\u57df\n                const resultDiv = document.getElementById('result');\n                resultDiv.classList.remove('active');\n            });\n            \n            \/\/ \u521b\u5efa\u89c4\u683c\u9009\u62e9\u5668\u66ff\u4ee3\n            createCustomDropdown('model', 'Select Specification', {\n                '': 'Please select specification'\n            }, function(value) {\n                \/\/ \u5f53\u89c4\u683c\u53d8\u5316\u65f6\u663e\u793a\u53c2\u6570\n                if (value) {\n                    const typeDropdown = document.querySelector('#type-custom-dropdown .custom-dropdown-button');\n                    const selectedType = typeDropdown ? typeDropdown.dataset.value : '';\n                    \n                    if (selectedType && value) {\n                        const parameters = hBeamData[selectedType][value];\n                        const parameterTable = document.getElementById('parameterTable');\n                        parameterTable.innerHTML = '';\n                        \n                        const basicParams = [\"h (mm)\", \"b (mm)\", \"tw (mm)\", \"tf (mm)\", \"r (mm)\"];\n                        const areaParams = [\"A (cm\u00b2)\", \"W (kg\/m)\"];\n                        const sectionParams = [\"Ix (cm\u2074)\", \"Iy (cm\u2074)\", \"ix (cm)\", \"iy (cm)\", \"Wx (cm\u00b3)\", \"Wy (cm\u00b3)\"];\n                        \n                        \/\/ \u4f7f\u7528\u5df2\u6709\u7684\u51fd\u6570\u6dfb\u52a0\u53c2\u6570\u7ec4\n                        addParameterGroup(\"Basic Dimensions\", basicParams, parameters);\n                        addParameterGroup(\"Area and Weight\", areaParams, parameters);\n                        addParameterGroup(\"Section Properties\", sectionParams, parameters);\n                        \n                        \/\/ \u663e\u793a\u7ed3\u679c\u533a\u57df\n                        const resultDiv = document.getElementById('result');\n                        resultDiv.classList.add('active');\n                    }\n                } else {\n                    \/\/ \u9690\u85cf\u7ed3\u679c\u533a\u57df\n                    const resultDiv = document.getElementById('result');\n                    resultDiv.classList.remove('active');\n                }\n            });\n            \n            \/\/ \u9690\u85cf\u539f\u59cbselect\u5143\u7d20\n            const typeSelect = document.getElementById('type');\n            const modelSelect = document.getElementById('model');\n            \n            if (typeSelect) typeSelect.style.display = 'none';\n            if (modelSelect) modelSelect.style.display = 'none';\n        }\n        \n        \/\/ \u521b\u5efa\u5355\u4e2a\u81ea\u5b9a\u4e49\u4e0b\u62c9\u66ff\u4ee3\n        function createCustomDropdown(id, label, options, onChangeCallback) {\n            const originalSelect = document.getElementById(id);\n            if (!originalSelect) return;\n            \n            const formGroup = originalSelect.parentElement;\n            \n            \/\/ \u521b\u5efa\u81ea\u5b9a\u4e49\u4e0b\u62c9\n            const customDropdown = document.createElement('div');\n            customDropdown.className = 'custom-dropdown';\n            customDropdown.id = id + '-custom-dropdown';\n            \n            \/\/ \u521b\u5efa\u6309\u94ae\n            const button = document.createElement('button');\n            button.className = 'custom-dropdown-button';\n            button.type = 'button';\n            button.textContent = Object.values(options)[0]; \/\/ \u7b2c\u4e00\u4e2a\u9009\u9879\u4f5c\u4e3a\u9ed8\u8ba4\u503c\n            button.dataset.value = Object.keys(options)[0];\n            \n            \/\/ \u521b\u5efa\u9009\u9879\u5bb9\u5668\n            const optionsContainer = document.createElement('div');\n            optionsContainer.className = 'custom-dropdown-options';\n            \n            \/\/ \u6dfb\u52a0\u9009\u9879\n            Object.entries(options).forEach(([value, text]) => {\n                const option = document.createElement('div');\n                option.className = 'custom-dropdown-option';\n                option.dataset.value = value;\n                option.textContent = text;\n                option.addEventListener('click', function() {\n                    button.textContent = this.textContent;\n                    button.dataset.value = this.dataset.value;\n                    optionsContainer.classList.remove('show');\n                    \n                    \/\/ \u8c03\u7528\u56de\u8c03\u51fd\u6570\n                    if (onChangeCallback) {\n                        onChangeCallback(this.dataset.value);\n                    }\n                });\n                optionsContainer.appendChild(option);\n            });\n            \n            \/\/ \u5207\u6362\u9009\u9879\u663e\u793a\n            button.addEventListener('click', function() {\n                optionsContainer.classList.toggle('show');\n            });\n            \n            \/\/ \u70b9\u51fb\u5176\u4ed6\u5730\u65b9\u5173\u95ed\u4e0b\u62c9\n            document.addEventListener('click', function(e) {\n                if (!customDropdown.contains(e.target)) {\n                    optionsContainer.classList.remove('show');\n                }\n            });\n            \n            \/\/ \u6dfb\u52a0\u5230DOM\n            customDropdown.appendChild(button);\n            customDropdown.appendChild(optionsContainer);\n            formGroup.appendChild(customDropdown);\n            \n            \/\/ \u9ed8\u8ba4\u72b6\u6001\u8bbe\u7f6e\n            if (id === 'model') {\n                customDropdown.style.display = 'none';\n            }\n            \n            return customDropdown;\n        }\n        \n        \/\/ \u9875\u9762\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n        window.addEventListener('DOMContentLoaded', function() {\n            \/\/ \u521d\u59cb\u5316\u9009\u62e9\u6846\n            updateModels();\n            \n            \/\/ \u4f18\u5316WordPress\u73af\u5883\n            optimizeForWordPress();\n        });\n        \n        \/\/ \u76d1\u542c\u7a97\u53e3\u5927\u5c0f\u53d8\u5316\uff0c\u91cd\u65b0\u52a0\u8f7d\u53c2\u6570\u8868\u683c\u548c\u4f18\u5316\u5e03\u5c40\n        window.addEventListener('resize', function() {\n            const typeSelect = document.getElementById('type');\n            const modelSelect = document.getElementById('model');\n            \n            if (typeSelect.value && modelSelect.value) {\n                showParameters(); \/\/ \u91cd\u65b0\u52a0\u8f7d\u53c2\u6570\u8868\u683c\n            }\n            \n            \/\/ \u91cd\u65b0\u4f18\u5316WordPress\u73af\u5883\n            optimizeForWordPress();\n        });\n        \n        \/\/ \u9875\u9762\u52a0\u8f7d\u540e\u5ef6\u8fdf\u6267\u884cWordPress\u4f18\u5316\n        window.addEventListener('load', function() {\n            \/\/ \u7b49\u5f85\u9875\u9762\u5b8c\u5168\u52a0\u8f7d\u540e\u518d\u6b21\u6267\u884c\u4f18\u5316\n            setTimeout(optimizeForWordPress, 500);\n        });\n    <\/script>\n<\/body>\n<\/html> \n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Professional H-beam calculator providing comprehensive specifications for structural steel sections. Features detailed parameters for HW, HM, HN, and HP series, including dimensions, section properties, and&#8230;<\/p>","protected":false},"author":2,"featured_media":14994,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"pmpro_default_level":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3414],"tags":[3413,3412,3411],"class_list":["post-14952","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-profile-steel-calculator","tag-section-properties-calculator","tag-steel-h-beam-design","tag-structural-beam-calculator","pmpro-has-access"],"acf":[],"jetpack_featured_media_url":"https:\/\/www.mechstream.com\/wp-content\/uploads\/2025\/03\/H-Beam-Calculator-01.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/posts\/14952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/comments?post=14952"}],"version-history":[{"count":0,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/posts\/14952\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/media\/14994"}],"wp:attachment":[{"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/media?parent=14952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/categories?post=14952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mechstream.com\/ar\/wp-json\/wp\/v2\/tags?post=14952"}],"curies":[{"name":"\u0648\u0648\u0631\u062f\u0628\u0631\u064a\u0633","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}