Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<a href="#" onclick="document.getElementById('baner').style.display='inline;'" title="Добави банерът в твоя сайт!"><img src="http://web-tourist.net/project/human/banner.gif" border=0></a>
<br>
Копирай следния html код:<br>
<textarea name="textarea" id="baner" readonly="true" style="width: 430px;display:none" cols="52" rows="4"><a href="http://bukhum6.freehostia.com/sait><img src="http://web-tourist.net/project/human/banner.gif"></a>
</textarea>
<textarea>тук слагаш кода</textarea>
burkoff каза:и кое му е толкова сложното ползвай следния таг
Код:<textarea>тук слагаш кода</textarea>
над текстареа можеш да сложиш картинката която ще се показва след като ти грабат сорса погледни в сайта ми как е направено ето
http://burkoff.org/?action=baneri
<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<style type="text/css">
textarea.inviz {
width: 0;
height: 0;
border:0px;
}
textarea.viz {
width: 400;
height: 100;
}
</style>
<script language="javascript">
function showTextArea()
{
txtaEnterDetails.className = "viz"
}
function hideTextArea()
{
txtaEnterDetails.className = "inviz"
}
</script>
</head>
<body>
<textarea rows="0" cols="0" class="inviz" name="txtaEnterDetails" id="txtaEnterDetails">бла бла бла rlz 0_o</textarea><br />
<input type="button" name="cmdShowTextArea" id="cmdShowTextArea" value="Покажи кода" onclick="showTextArea();" />
<input type="button" name="cmdHideTextArea" id="cmdHideTextArea" value="Скрий кода" onclick="hideTextArea();" />
</body>
</html>
human каза:Е при мене(в линка) защо не става
Твоя си работи, просто аз като го променя не става..
SharkpenT каза:human каза:Е при мене(в линка) защо не става
Твоя си работи, просто аз като го променя не става..
И двата си бачкат при мене :?:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Банер</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<style type="text/css">
.showstate{
cursor:hand;
cursor:pointer;
float: left;
}
.headers{
width: 470px;
font-size: 100%;
font-weight: bold;
border: 0px;
}
.switchcontent{
border-left:0px
solid black;
border-right:0px
solid black;
border-top:0px
solid black;
border-bottom:0px
solid black;
width: 470px;
}
</style>
<script type="text/javascript">
var enablepersist="on" //Enable saving state of content structure using session cookies? (on/off)
var memoryduration="7" //persistence in # of days
var contractsymbol='http://web-tourist.net/project/human/banner.gif' //Path to image to represent contract state.
var expandsymbol='http://web-tourist.net/project/human/banner.gif' //Path to image to represent expand state.
/////No need to edit beyond here //////////////////////////
function getElementbyClass(rootobj, classname){
var temparray=new Array()
var inc=0
var rootlength=rootobj.length
for (i=0; i<rootlength; i++){
if (rootobj[i].className==classname)
temparray[inc++]=rootobj[i]
}
return temparray
}
function sweeptoggle(ec){
var inc=0
while (ccollect[inc]){
ccollect[inc].style.display=(ec=="contract")? "none" : ""
inc++
}
revivestatus()
}
function expandcontent(curobj, cid){
if (ccollect.length>0){
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="none")? "none" : ""
curobj.src=(document.getElementById(cid).style.display=="none")? expandsymbol : contractsymbol
}
}
function revivecontent(){
selectedItem=getselectedItem()
selectedComponents=selectedItem.split("|")
for (i=0; i<selectedComponents.length-1; i++)
document.getElementById(selectedComponents[i]).style.display="none"
}
function revivestatus(){
var inc=0
while (statecollect[inc]){
if (ccollect[inc].style.display=="none")
statecollect[inc].src=expandsymbol
else
statecollect[inc].src=contractsymbol
inc++
}
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function getselectedItem(){
if (get_cookie(window.location.pathname) != ""){
selectedItem=get_cookie(window.location.pathname)
return selectedItem
}
else
return ""
}
function saveswitchstate(){
var inc=0, selectedItem=""
while (ccollect[inc]){
if (ccollect[inc].style.display=="none")
selectedItem+=ccollect[inc].id+"|"
inc++
}
if (get_cookie(window.location.pathname)!=selectedItem){ //only update cookie if current states differ from cookie's
var expireDate = new Date()
expireDate.setDate(expireDate.getDate()+parseInt(memoryduration))
document.cookie = window.location.pathname+"="+selectedItem+";path=/;expires=" + expireDate.toGMTString()
}
}
function do_onload(){
uniqueidn=window.location.pathname+"firsttimeload"
var alltags=document.all? document.all : document.getElementsByTagName("*")
ccollect=getElementbyClass(alltags, "switchcontent")
statecollect=getElementbyClass(alltags, "showstate")
if (enablepersist=="on" && get_cookie(window.location.pathname)!="" && ccollect.length>0)
revivecontent()
if (ccollect.length>0 && statecollect.length>0)
revivestatus()
}
if (window.addEventListener)
window.addEventListener("load", do_onload, false)
else if (window.attachEvent)
window.attachEvent("onload", do_onload)
else if (document.getElementById)
window.onload=do_onload
if (enablepersist=="on" && document.getElementById)
window.onunload=saveswitchstate
</script>
</head>
<body>
<div class="headers">
<img src="banner.gif" class="showstate" onClick="expandcontent(this, 'sc1')" width="88" height="31"></div>
<div id="sc1" class="switchcontent">
Копирай следния html код:<br><br>
<a href="http://bukhum6.freehostia.com/sait"><img border="0" src="http://web-tourist.net/project/human/banner.gif"></a>
</div>
</body>
</html>