1
Templates & Styles (Releases & Support) / Re: [Style] With "mouseover" Pictureframe Desaturate
« on: October 19, 2010, 11:41:41 AM »
На сколько хватило моего английского речь идет о изменении фона под картинкой?
Тогда.........
В файле header.html вставьте следующий кусок кода перед </head>: (in header.html before </head> insert)
В файле details.html найдите <hr size="1" /> и после вставьте: (in file details.html find <hr size="1" /> insert before)
так же найдите в файле details.html: (find in details.html)
и замените на: (replace on)
Тогда.........
В файле header.html вставьте следующий кусок кода перед </head>: (in header.html before </head> insert)
Code: [Select]
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function bg(color){
document.getElementById("imagebg").style.backgroundColor = color;
}
</script>
В файле details.html найдите <hr size="1" /> и после вставьте: (in file details.html find <hr size="1" /> insert before)
Code: [Select]
<table align="left" cellspacing='1' cellpadding="0" border='0'>
<tr>
<td width='12' height='12' bgcolor='#000' style="border: 1px solid #828282;" onmouseover=bg('#000')></td>
<td width='12' height='12' bgcolor='#171717' style="border: 1px solid #828282;" onmouseover=bg('#171717')> </td>
<td width='12' height='12' bgcolor='#2E2E2E' style="border: 1px solid #828282;" onmouseover=bg('#2E2E2E')> </td>
<td width='12' height='12' bgcolor='#464646' style="border: 1px solid #828282;" onmouseover=bg('#464646')> </td>
<td width='12' height='12' bgcolor='#5D5D5D' style="border: 1px solid #828282;" onmouseover=bg('#5D5D5D')> </td>
<td width='12' height='12' bgcolor='#747474' style="border: 1px solid #828282;" onmouseover=bg('#747474')> </td>
<td width='12' height='12' bgcolor='#8B8B8B' style="border: 1px solid #828282;" onmouseover=bg('#8B8B8B')> </td>
<td width='12' height='12' bgcolor='#A2A2A2' style="border: 1px solid #828282;" onmouseover=bg('#A2A2A2')> </td>
<td width='12' height='12' bgcolor='#B9B9B9' style="border: 1px solid #828282;" onmouseover=bg('#B9B9B9')> </td>
<td width='12' height='12' bgcolor='#D1D1D1' style="border: 1px solid #828282;" onmouseover=bg('#D1D1D1')> </td>
<td width='12' height='12' bgcolor='#E8E8E8' style="border: 1px solid #828282;" onmouseover=bg('#E8E8E8')> </td>
<td width='12' height='12' bgcolor='#FFFFFF' style="border: 1px solid #828282;" onmouseover=bg('#FFFFFF')> </td>
</tr>
</table>
так же найдите в файле details.html: (find in details.html)
Code: [Select]
<div align="center">
{image}
и замените на: (replace on)
Code: [Select]
<div align="center" id="imagebg">
{image}