السلام عليكم
اقوم بتصميم موقعي الشخصي وقد وضعت به قائمه جانبيه وبسب احتوائها على العديد من الاشياء
ربما لا يرغب البعض بوجودها وايضا لشكل اجمل واحدث
قمت بعمل طريقه الاخفاء والاضهار بهذا الكود
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Menu</title>
</head>
<body>
<script type="text/javascript">
<!--
thnc = function(){
if(document.getElementById("thnc_id").style.display == "none"){
document.getElementById("thnc_id").style.display = "block";
document.getElementById("imageMenu").src="b.gif";
}else{
document.getElementById("thnc_id").style.display = "none";
document.getElementById("imageMenu").src="a.gif";
}
}
//-->
</script>
<table border="0" width="98%" cellspacing="0" cellpadding="0" bgcolor="#808080" bordercolor="#333333">
<tr style="font-family: verdana, arial, sans-serif; color: #000; font-size: 11; font-weight: normal">
<td width="100%" style="border-top: 1 solid #333333; border-bottom: 1 solid #333333;; border-left-color:#333333; border-right-color:#333333; font-family:verdana, arial, sans-serif; color:#000; font-size:11; font-weight:normal" bgcolor="#333333" height="18">
<p align="center">
<img id="imageMenu" border="0" src="b.gif" align="left" onclick="thnc()"><font color="#FFFFFF"> Menu</font></a></tr>
<tr style="font-family: verdana, arial, sans-serif; color: #000; font-size: 11; font-weight: normal">
<td width="100%" bgcolor="#FF9900" bordercolor="#333333" style="font-family: verdana, arial, sans-serif; color: #000; font-size: 11; font-weight: normal">
</td>
</tr>
<tr style="font-family: Tahoma; color: #000; font-size: 11; font-weight: normal">
<td width="100%" bgcolor="#666666" align="center" style="font-family: verdana, arial, sans-serif; color: #000; font-size: 11; font-weight: normal" bordercolor="#333333">
<div id="thnc_id" style="display: block;">
<b><font size="7">MiNi</font></b></div></td></body>
</html>مع الشكر للاخ العيافـي
الذي اريد اعمله الان هوه اني اي شخص يدخل الموقع ويوم بأخفاء اي قائمه بمجرد تحديث الصفحه (رفرش) او الانتقال لصفحه اخرى
تعود القوائم جميعا للظهور كما كانت عليه !!
كيف اقوم بحفظ شكل القائمه لكل شخص
مثلا انشاء مل menu.txt
يقوم بحفظ الشكل مثلا
Ip|1:0|2:1|3:1|
وهكذا ارقم الاول القائمه واذا كان 1 تضهر واذا 0 تختفي
؟؟؟؟؟
او اي طريقه اخرى لكن ارجو المساعده فقد تأخرت في اخراج الموقع بسبب هذا الشيء
وشكرا