السلام عليكم!
يسرني ان اشرح لكم في هذه التدوينيه كيفية اضافة شريط اعلى المدونه
كما في الصوره اعلاه الموضوع مترجم من الانجليزيه للعربيه من المصدر
الان اترككم مع كيفية التركيب:
- اذهب للوحة تحكم مدونتك .
- القالب.
- تحرير HTML'
- متابعه و اشر على توسيع القوالب.
- اضغط Ctrl+F من لوحة المفاتيح.
- ابحث عن الوسم التالي:
]]></b:skin>
7. قم بلصق الكود التالي فوقه مباشره:
/* icons Css3 menu www.bloggertrix.com*/
ul#navbt {
display:block;
float:left;
font-family:Trebuchet MS,sans-serif;
font-size:0;
padding:5px 5px 5px 0;
background: -moz-linear-gradient(#f5f5f5, #c4c4c4); /* FF 3.6+ */
background: -ms-linear-gradient(#f5f5f5, #c4c4c4); /* IE10 */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f5f5f5), color-stop(100%, #c4c4c4)); /* Safari 4+, Chrome 2+ */
background: -webkit-linear-gradient(#f5f5f5, #c4c4c4); /* Safari 5.1+, Chrome 10+ */
background: -o-linear-gradient(#f5f5f5, #c4c4c4); /* Opera 11.10 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#c4c4c4'); /* IE6 & IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#c4c4c4')"; /* IE8+ */
background: linear-gradient(#f5f5f5, #c4c4c4); /* the standard */
}
ul#navbt,ul#navbt ul {
list-style:none;
margin:0;
}
ul#navbt,ul#navbt .subs {
background-color:#444;
border:1px solid #454545;
border-radius:9px;
-moz-border-radius:9px;
-webkit-border-radius:9px;
}
ul#navbt .subs {
background-color:#fff;
border:2px solid #222;
display:none;
float:left;
left:0;
padding:0 6px 6px;
position:absolute;
top:100%;
width:300px;
border-radius:7px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
}
ul#navbt li:hover>* {
display:block;
}
ul#navbt li:hover {
position:relative;
}
ul#navbt ul .subs {
left:100%;
position:absolute;
top:0;
}
ul#navbt ul {
padding:0 5px 5px;
}
ul#navbt .col {
float:left;
width:50%;
}
ul#navbt li {
display:block;
float:left;
font-size:0;
white-space:nowrap;
}
ul#navbt>li,ul#navbt li {
margin:0 0 0 5px;
}
ul#navbt ul>li {
margin:5px 0 0;
}
ul#navbt a:active,ul#navbt a:focus {
outline-style:none;
}
ul#navbt a {
border-style:none;
border-width:0;
color:#181818;
cursor:pointer;
display:block;
font-size:13px;
font-weight:bold;
padding:8px 18px;
text-align:left;
text-decoration:none;
text-shadow:#fff 0 1px 1px;
vertical-align:middle;
}
ul#navbt ul li {
float:none;
margin:6px 0 0;
}
ul#navbt ul a {
background-color:#fff;
border-color:#efefef;
border-style:solid;
border-width:0 0 1px;
color:#000;
font-size:11px;
padding:4px;
text-align:left;
text-decoration:none;
text-shadow:#fff 0 0 0;
border-radius:0;
-moz-border-radius:0;
-webkit-border-radius:0;
}
ul#navbt li:hover>a {
border-style:none;
color:#fff;
font-size:13px;
font-weight:bold;
text-decoration:none;
text-shadow:#181818 0 1px 1px;
}
ul#navbt img {
border:none;
margin-right:8px;
vertical-align:middle;
}
ul#navbt span {
background-position:right center;
background-repeat:no-repeat;
display:block;
overflow:visible;
padding-right:0;
}
ul#navbt ul span {
background-image:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiORsBsOnYmMpRqefzMBA72VHFUuIU8pS5Y_o8fy0fOY7p1eJVUnriQfYysKu9GN0M6gz-rBQV-qTyv9UTg_oTSFHiBrze-UJETeUZCV2MHjybT1z3gxn6iKlV3oGT0uBG6p-54c_Zv6xY/s1600/bloggetrix-arrow.png");
padding-right:20px;
}
ul#navbt ul li:hover>a {
border-color:#444;
border-style:solid;
color:#444;
font-size:11px;
text-decoration:none;
text-shadow:#fff 0 0 0;
}
ul#navbt > li >a {
background-color:transpa;
height:25px;
line-height:25px;
border-radius:11px;
-moz-border-radius:11px;
-webkit-border-radius:11px;
}
ul#navbt > li:hover > a {
background-color:#313638;
line-height:25px;
}
7.الان اضغط حفظ.
8.الان اضغط على تخطيط و اضف اداة "HTML/Javascript"
9.الصق الكود التالي:
الشريط ذا الكتابه البيضاء:
طبعا في الكود تم استبدال الكتابه الانجليزيه إلى العربيه
فيجب عليك تعديل الروابط.
<ul id="navbt">
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPl7paDlspjKraxOtoCaBF4CY8FtpKqywXUg2_IaE_1ZZIFjCmRKn6XuBkCvOv-jkeq7iAi3KYQyt3FnHhYwhQlQEzoFw1SLeeTNkUhKu5XpWFV2t5TXCPaVWUq75RcHT_gdN7YVJRLGw/s1600/bloggetrix-home.png" /> Home</a></li>
<li><a href="#"><span><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw-7BFwfgMLFKaAu4Qw4CZgPEaf8h5EoLZKuuHD3CWhAqpIJO-hVAtLQzClOKHgM7E3yzX7sKDUZxKn4M9VCxCXlFP03OWhF4YP-armFzK8WCzVuPUn3zgOj8PUqIyD320QM13KsIn8kU/s1600/bloggetrix-top1.png" /> HTML/CSS</span></a>
<div class="subs">
<div class="col">
<ul>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 1</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 2</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 3</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 4</a></li>
<li><a href="#"><span><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Sublinks</span></a>
<div class="subs">
<div class="col">
<ul>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 41</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 42</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 43</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 44</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 45</a></li>
</ul>
</div>
<div class="col">
<ul>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 46</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 47</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 48</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 49</a></li>
</ul>
</div>
</div>
</li>
</ul>
</div>
<div class="col">
<ul>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 6</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 7</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 8</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 9</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 10</a></li>
</ul>
</div>
</div>
</li>
<li><a href="#"><span><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxJYOyFuN4eLldfjFbFehHOHbWpBXWSGN3hoyTLLNL0-XQZ9Iahd29hhKOvWKwHxGzPpd6pz9enwNqeGqvnrRnohDF6YpklouWV8XG1v4uA_VT8VPog9ZOXsy_DlXxN4uw-FOAtdZ3CG4/s1600/bloggetrix-top2.png" /> jQuery/JS</span></a>
<div class="subs">
<div class="col">
<ul>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 1</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 2</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 3</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 4</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 5</a></li>
</ul>
</div>
<div class="col">
<ul>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 6</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 7</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 8</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 9</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3LVUJaceeGR4AqGMqDH4ThVDwJPfi2HkjRoiNa0DTm9gYn3xo93To09c1KZePdUswDDI-vyUcBu8n1YD6qzRXmrb5FZpzg4c0gc_sUvU6ivkz8D9qCGNL89RdHS0M_kZtsSXcGTvAtm0/s1600/bloggetrix-bub.png" /> Link 10</a></li>
</ul>
</div>
</div>
</li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCi5uM1nmrJwWeLFY7NO-W6ED4tY_FUlhqjaxHzDU1rhyphenhyphentXr4_1AHB9ygFjIYZXAx4aO45oOtVORaqMgCO6xWZg9ko4i1dQ2NHYp968MjkliCdAoRhY-tK4ze7eDlpRt8YnwWiu6jaDtI/s1600/bloggetrix-top3.png" /> PHP</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUSV3vuax9N8J1AqCm9a-Q1isZRoBLQgYdVVg8bNZ6KiSZt3m4KnhxyrBwEuISkmkugmMAc-QdYd05UuVb4Il1pu222OJlbU1LzksS-wHcVgUQy7sF9HIhjHXcHzD01wzv_FLEil3lQ6U/s1600/bloggetrix-top4.png" /> MySQL</a></li>
<li><a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMLPRh9Riy7fM0SnCTGTPQiRs_YFhgWUmzPhfJlUDY8YJnT3RlffIb0Ej7kTaoR6ZHkT6yUxKy6FCSmiFrk6p7d9ytSDxLGOFm3rIsESRTbN_hUXebZ-1Vc61Um6IDNgE4ETV4uaqADnc/s1600/bloggetrix-top5.png" /> XSLT</a></li>
</ul>
الان عدل الكتابه في الازرار و اضف رابط الزر بدل "#"
واضغط حفظ.
و اي استفسار يمكنك وضعه في تعليق و ايضا ارجو منك متابعتي على تويتر
و الاستراك في المدونه
تحياتي..
ليست هناك تعليقات:
إرسال تعليق