Stránka: 1 z 1
| [ Príspevkov: 9 ] | |
Autor | Správa |
---|
Registrovaný: 03.05.08 Prihlásený: 17.01.15 Príspevky: 49 Témy: 18 | 18 Bydlisko: Kežmarok |
asi pre niekoho primitivne ale chcem sa spytat ako upravim tento html kod tak aby sa mi menili udaje len v okne iframe ked budem preklikovat v menu
Kód: <html> <head>
<link rel="shortcut icon" href="http://chvostiky.wbl.sk/dili.gif"> <meta http-equiv="content-type" content="text/html; charset=windows-1250" /> <!-- START
- SCRIPT --> <SCRIPT language=JavaScript> // Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/ var message = new Array(); message[0] = "Chlpaté potvorky" var reps = 2; var speed = 100; var p = message.length; var T = ""; var C = 0; var mC = 0; var s = 0; var sT = null; if (reps < 1) reps = 1; function doIt() { T = message[mC]; A(); } function A() { s++; if (s > 8) { s = 1;} if (s == 1) { document.title = '.·´*`·.¸.·´*`·.¸ '+T+' ¸.·´*`·.¸.·´*`·.'; } if (s == 2) { document.title = '¸.·´*`·.¸.·´*`·. '+T+' .·´*`·.¸.·´*`·.¸'; } if (s == 3) { document.title = '.¸.·´*`·.¸.·´*`· '+T+' ·´*`·.¸.·´*`·.¸.'; } if (s == 4) { document.title = '·.¸.·´*`·.¸.·´*` '+T+' ´*`·.¸.·´*`·.¸.·'; } if (s == 5) { document.title = '`·.¸.·´*`·.¸.·´* '+T+' *`·.¸.·´*`·.¸.·´'; } if (s == 6) { document.title = '`·.¸.·´*`·.¸.·´* '+T+' *`·.¸.·´*`·.¸.·´'; } if (s == 7) { document.title = '´*`·.¸.·´*`·.¸.· '+T+' ·.¸.·´*`·.¸.·´*`'; } if (s == 8) { document.title = '·´*`·.¸.·´*`·.¸. '+T+' .¸.·´*`·.¸.·´*`·'; }if (C < (8 * reps)) { sT = setTimeout("A()", speed); C++; } else { C = 0; s = 0; mC++; if(mC > p - 1) mC = 0; sT = null; doIt(); } } doIt(); </SCRIPT> <!-- END - SCRIPT--> </head> <body bgcolor="black"> <br /> <br /> <br /> <table cellspacing="5" cellpadding="0" border="2" bgcolor="FF0000" align="center"
width="800"> <tbody> <tr> <td align="left" background="http://chvostiky.wbl.sk/border17.jpg"> <br /> <a href="http://www.chvostiky.wbl.sk/uvod-original"><img
src="http://www.chvostiky.wbl.sk/chvostiky.gif" width="500" border="0"></a>
<table width="800"> <tr> <td background="http://chvostiky.wbl.sk/p040.gif" >
<table border="0" align="right" > <tbody>
<tr> <td rowspan="6" width="500">
<p align="center"> <img src="http://www.chvostiky.wbl.sk/chlpaciky.gif" > </p>
</td>
<td rowspan="6"> <style type="text/css"> .menutitle{ cursor:pointer; margin-bottom: 5px; background-color:#0000B3; color:#FFFFFF; width:150px; padding:3px; text-align:center; font-weight:bold; /*/*/border:1px solid #FFFFFF;/* */ } .submenu{ margin-bottom: 0.5em; } </style> <script type="text/javascript">
var persistmenu="yes" //"yes" or "no". Make sure each SPAN content contains an incrementing ID
starting at 1 (id="sub1", id="sub2", etc) var persisttype="sitewide" //enter "sitewide" for menu to persist across site, "local" for this
page only
if (document.getElementById){ //DynamicDrive.com change document.write('<style type="text/css">\n') document.write('.submenu{display: none;}\n') document.write('</style>\n') }
function SwitchMenu(obj){ if(document.getElementById){ var el = document.getElementById(obj); var ar = document.getElementById("masterdiv").getElementsByTagName("span");
//DynamicDrive.com change if(el.style.display != "block"){ //DynamicDrive.com change for (var i=0; i<ar.length; i++){ if (ar[i].className=="submenu") //DynamicDrive.com change ar[i].style.display = "none"; } el.style.display = "block"; }else{ el.style.display = "none"; } } } 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 onloadfunction(){ if (persistmenu=="yes"){ var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname var cookievalue=get_cookie(cookiename) if (cookievalue!="") document.getElementById(cookievalue).style.display="block" } } function savemenustate(){ var inc=1, blockid="" while (document.getElementById("sub"+inc)){ if (document.getElementById("sub"+inc).style.display=="block"){ blockid="sub"+inc break } inc++ } var cookiename=(persisttype=="sitewide")? "switchmenu" : window.location.pathname var cookievalue=(persisttype=="sitewide")? blockid+";path=/" : blockid document.cookie=cookiename+"="+cookievalue } if (window.addEventListener) window.addEventListener("load", onloadfunction, false) else if (window.attachEvent) window.attachEvent("onload", onloadfunction) else if (document.getElementById) window.onload=onloadfunction
if (persistmenu=="yes" && document.getElementById) window.onunload=savemenustate
</script> <a href="http://chvostiky.wbl.sk/omne-original.html"> <img
border="0"onmouseout="this.src ='http://chvostiky.wbl.sk/o_mne1.jpg'" onmouseover="this.src
='http://chvostiky.wbl.sk/o_mne2.jpg'" src="http://chvostiky.wbl.sk/o_mne1.jpg" alt="" /></a> <div id="masterdiv"> <div onclick="SwitchMenu('sub1')"> <img border="0" onmouseout="this.src =
'http://chvostiky.wbl.sk/psisikovia1.jpg'"onmouseover="this.src =
'http://chvostiky.wbl.sk/psisikovia2.jpg'" src="http://chvostiky.wbl.sk/psisikovia1.jpg" alt=""
/> </div> <span id="sub1" class="submenu"> <a
href="http://chvostiky.wbl.sk/beny-original.html" target="_blank"> <img border="0"
src="http://chvostiky.wbl.sk/benyy.jpg" alt="" /> </a> <br />
<a href="http://chvostiky.wbl.sk/timy-original.html"
target="_blank"> <img border="0" src="http://chvostiky.wbl.sk/timyy.jpg" alt="" /> </a> <br /> <a
href="http://chvostiky.wbl.sk/zorka-original.html" target="_blank"> <img border="0"
src="http://chvostiky.wbl.sk/zorkaa.jpg" alt="" /> </a> </span> <div onclick="SwitchMenu('sub2')"> <img border="0" onmouseout="this.src =
'http://chvostiky.wbl.sk/maciciky1.jpg'" onmouseover="this.src =
'http://chvostiky.wbl.sk/macicky2.jpg'" src="http://chvostiky.wbl.sk/maciciky1.jpg" alt="" />
</div>
<span id="sub2" class="submenu"> <a
href="http://chvostiky.wbl.sk/micka-original.html" target="_blank"> <img border="0"
src="http://chvostiky.wbl.sk/mickaa.jpg" alt="" /> </a> <br /> <a href="http://chvostiky.wbl.sk/saskia-original.html"
target="_blank"> <img border="0" src="http://chvostiky.wbl.sk/saskiaa.jpg" alt="" /> </a> <br />
<a href="http://chvostiky.wbl.sk/mishel-original.html"
target="_blank"> <img border="0" src="http://chvostiky.wbl.sk/mishell.jpg" alt="" /> </a> <br /> <a href="http://chvostiky.wbl.sk/matt-original.html"
target="_blank"> <img border="0" src="http://chvostiky.wbl.sk/mattt.jpg" alt="" /> </a>
</span> </div>
<a href="http://chvostiky.wbl.sk/kralik-original.html"> <img border="0"
onmouseout="this.src = 'http://chvostiky.wbl.sk/kralicek1.jpg'"onmouseover="this.src =
'http://chvostiky.wbl.sk/kralicek2.jpg'" src="http://chvostiky.wbl.sk/kralicek1.jpg" alt=""
/></a> </td> <td width="200"> <p align="center"> <font size="2" color="2E2EB2"> <!-- weblight.cz online počítadlo začátek --> Online:<script
src="http://www.weblight.cz/online/?id=13747" language="JavaScript"
type="text/javascript"></script> </p>
</td> <td rowspan="6"> <a href="http://chvostiky.wbl.sk/macky.html"> <img
border="0" onmouseout="this.src = 'http://chvostiky.wbl.sk/kontakt1.jpg'" onmouseover="this.src
= 'http://chvostiky.wbl.sk/kontakt2.jpg'" src="http://chvostiky.wbl.sk/kontakt1.jpg" alt=""
/></a> <br /> <a href="http://chvostiky.wbl.sk/omne.html"> <img border="0"
onmouseout="this.src ='http://chvostiky.wbl.sk/nk1.jpg'" onmouseover="this.src
='http://chvostiky.wbl.sk/nk2.jpg'" src="http://chvostiky.wbl.sk/nk1.jpg" alt="" /></a> <br />
<a href="http://chvostiky.wbl.sk/zajko.html"> <img border="0"
onmouseout="this.src = 'http://chvostiky.wbl.sk/linky1.jpg'" onmouseover="this.src =
'http://chvostiky.wbl.sk/linky2.jpg'" src="http://chvostiky.wbl.sk/linky1.jpg" alt="" /></a>
<br /> <a href="http://chvostiky.wbl.sk/macky.html"> <img border="0"
onmouseout="this.src = 'http://chvostiky.wbl.sk/diplomky1.jpg'" onmouseover="this.src =
'http://chvostiky.wbl.sk/diplomky2.jpg'" src="http://chvostiky.wbl.sk/diplomky1.jpg" alt=""
/></a> </td> </tr> <tr> <td width="220"> <p align="center"> <!-- weblight.cz online počítadlo konec--></font> <font size="2" color="2E2EB2"> Od vzniku
webu nás navštívilo <!-- weblight.cz počítadlo začátek --> <br><script
src="http://www.weblight.cz/counter/?id=19767" language="JavaScript"
type="text/javascript"></script> <!-- weblight.cz počítadlo konec--> ľudí <br> Ďakujeme
</font> </p> </td>
</tr> <tr> <td width="500"> <p align="center"> <a href="http://chvostiky.wbl.sk/foto-original.html"> <img border="0" onmouseout="this.src =
'http://chvostiky.wbl.sk/foto1.jpg'" onmouseover="this.src =
'http://chvostiky.wbl.sk/foto2.jpg'" src="http://chvostiky.wbl.sk/foto1.jpg" alt="" /></a><a
href="http://chvostiky.wbl.sk/vide-original.html"><img border="0" onmouseout="this.src =
'http://chvostiky.wbl.sk/video1.jpg'" onmouseover="this.src =
'http://chvostiky.wbl.sk/video2.jpg'" src="http://chvostiky.wbl.sk/video1.jpg" alt="" /></a>
</p> </td> </tr> </tbody> </table>
</td> </tr> </table> </td> </tr> </table> <table width="820" align="center"> <tr bgcolor="black" > <td > <div align="center"> <marquee><font color="#eee8aa"> <strong> <font face="Comic Sans MS"><< chvostiky.wbl.sk >> Timy * Beny * Zorka *
Micka * Saskia * Mishel * Matthieu * Usko << chvostiky.wbl.sk >>
</font></strong></font></marquee>
</div> </td> </tr> </table>
<table cellspacing="5" cellpadding="0" border="2" bgcolor="FF0000" align="center" width="818"> <tbody> <tr> <td height="500" >
<p align="center"> <iframe align="center" style="WIDTH: 839px; HEIGHT: 6249px"
src="http://chvostiky.wbl.sk/links.html"></iframe> </p>
</td> </tr> </table>
<table border="0" bgcolor="gray" width="818" align="center"> <tr> <td height="" > <p align="center"><tt><b><font color="white" size="2"> Copyright © Matulqa 05.2008 <a href="http://chvostiky.wbl.sk/home.html">chvostiky.wbl.sk</a> <tt><font color="white"> </b></font></p> </td> </tr> </tbody> </table>
|
|
Registrovaný: 09.07.08 Prihlásený: 17.01.15 Príspevky: 1585 Témy: 96 | 96 |
iframu daj nejaky name a v odkazoch daj target="sem daj name toho iframu"
_________________ neříkejte, že něco nejde udělat, protože se vždycky najde nějaký blbec, co neví, že to nejde – a udělá to! |
|
Registrovaný: 03.05.08 Prihlásený: 17.01.15 Príspevky: 49 Témy: 18 | 18 Bydlisko: Kežmarok |
rooobertek píše: iframu daj nejaky name a v odkazoch daj target="sem daj name toho iframu"
diky pomohlo mi to .. ale teraz neviem to mam do toho okna dat nirkolko iframov alebo ako to mam urobit lebo ked tam mam jeden tak je to ok ale ked ich tam chcem mat viac? napriklad kliknem na foto a potom na video? dost zlozito som to naapísala ale inak neviem dufam ze mi niekto pomoze...
|
|
Registrovaný: 09.07.08 Prihlásený: 17.01.15 Príspevky: 1585 Témy: 96 | 96 |
jojojoj, skús to spraviť nejako inak. Moje programátorské srdce pri tom plače.
_________________ neříkejte, že něco nejde udělat, protože se vždycky najde nějaký blbec, co neví, že to nejde – a udělá to! |
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 | 3 |
Hej, iframy tam vobec nemusis pouzivat. A tabulky toboz. 
_________________ Empty your memory, with a free()… like a pointer! If you cast a pointer to an integer, it becomes the integer, if you cast a pointer to a struct, it becomes the struct… The pointer can crash…, and can overflow… Be a pointer my friend… |
|
Registrovaný: 03.05.08 Prihlásený: 17.01.15 Príspevky: 49 Témy: 18 | 18 Bydlisko: Kežmarok |
iste ale moje programatorske srdce ze len v plienkach neviem robit este nejake velke zazraky ucim sa to len
|
|
Registrovaný: 24.01.08 Prihlásený: 13.09.17 Príspevky: 14572 Témy: 66 | 66 Bydlisko: Žilina |
tak sa to uč odzačiatku poriadne, na iframy, framy a podobnú háveď zabudni...
_________________ C#, PHP, ... |
|
Registrovaný: 03.05.08 Prihlásený: 17.01.15 Príspevky: 49 Témy: 18 | 18 Bydlisko: Kežmarok |
el mariachi píše: tak sa to uč odzačiatku poriadne, na iframy, framy a podobnú háveď zabudni...
a kde mam zacat ked mi to netreba?
|
|
Registrovaný: 30.04.08 Prihlásený: 15.05.15 Príspevky: 884 Témy: 3 | 3 |
Zacni s CSS, pouzivas dost stare HTML atributy a tagy... 
_________________ Empty your memory, with a free()… like a pointer! If you cast a pointer to an integer, it becomes the integer, if you cast a pointer to a struct, it becomes the struct… The pointer can crash…, and can overflow… Be a pointer my friend… |
|
Stránka: 1 z 1
| [ Príspevkov: 9 ] | |
Podobné témy | Témy | Odpovede | Zobrazenia | Posledný príspevok |
---|
 | v HTML, XHTML, XML, CSS | 25 | 1439 | 26.07.2007 18:30 imnotwhafo |  | v HTML, XHTML, XML, CSS | 4 | 803 | 25.04.2010 21:24 Iron-Tiger |  | v HTML, XHTML, XML, CSS | 2 | 674 | 28.07.2008 15:34 deno16 |  | v HTML, XHTML, XML, CSS | 13 | 1010 | 27.01.2010 22:59 camo |  | v HTML, XHTML, XML, CSS | 5 | 705 | 05.06.2008 22:16 p360t |  | v HTML, XHTML, XML, CSS | 7 | 770 | 02.05.2009 11:07 tofina0 |  | v JavaScript, VBScript, Ajax | 1 | 491 | 18.06.2010 16:19 Ďuri |  | v HTML, XHTML, XML, CSS | 3 | 518 | 28.02.2009 17:58 stenley |  | v JavaScript, VBScript, Ajax | 3 | 623 | 18.02.2010 17:29 sejo |  | v PHP, ASP | 2 | 288 | 17.11.2013 11:11 shaggy |  | v HTML, XHTML, XML, CSS | 7 | 782 | 03.07.2011 20:35 coldak |  | v HTML, XHTML, XML, CSS | 3 | 555 | 12.03.2009 15:40 max-m |  | v HTML, XHTML, XML, CSS | 12 | 1441 | 09.01.2009 23:33 shaggy |  | v HTML, XHTML, XML, CSS | 10 | 728 | 22.05.2008 18:29 Svolo |  | v HTML, XHTML, XML, CSS | 3 | 423 | 21.10.2012 11:23 walther |  | v HTML, XHTML, XML, CSS | 13 | 761 | 05.02.2008 14:41 jablko05 |
|