21-11-22, 09:20 AM
السلام عليكم ورحمة الله وبركاته
لدى ملف تكست به هذه الأكواد
book = new Array
book[0] = "ferst.html"
book[1] = "11.html"
book[2] = "22.html"
book[3] = "33.html"
book[4] = "44.html"
book[5] = "5.html"
book[6] = "9.html"
book[7] = "3.html"
book[8] = "88.html"
book[9] = "666.html"
book[9] = "666.html"
book[9] = "666.html"
book[9] = "666.html"
book[9] = "666.html"
book[10] = "a.html"
book[11] = "s.html"
book[12] = "d.html"
function sami(link) {
getfram = document.getElementById("frm")
getfram.setAttribute("src", book [link])
}
واريد اضافة هذا السطر
book[13] = "f.html"
بعد السطر الأخير هذا
book[12] = "d.html"
وكل ما أضيف سطر جديد يتم اضافته بعد اخر سطر ضفته
فهل هناك طريقة لذلك الله يكرمكم ؟.

