InTrance Posted August 20, 2011 Report Share Posted August 20, 2011 lieta tāda, kad ir man lapā daļa, kur obligāti jābut freimiem, bet par nelaimi man nerāda nevienu, bet view page sourcā rāda, kad it kā viņa ir. Nevarētu pateikt kas par problēmu? <?php print( '<frameset rows="62%, *, 30, 0" FRAMEBORDER="0" BORDER="0" FRAMESPACING="1">' ); print( '<frame name="main" src="char.phtml?UID='.$aNickName.'">' ); print( '<frameset cols="*,180">' ); print( '<frame name="chat" src="chat.html" target="_top" scrolling=YES FRAMEBORDER="0" BORDER="0" FRAMESPACING="0" MARGINWIDTH="3" MARGINHEIGHT="3">' ); print( '<frame name="online" src="ch-online.html" target="_blank" scrolling=YES FRAMEBORDER=0 BORDER=0 FRAMESPACING=0 MARGINWIDTH=3 MARGINHEIGHT=0>' ); print( '</frameset>' ); print( '<frame name="bottom" scrolling="no" noresize src="buttons.html">' ); print( '<frame name="refreshed" target="_top" scrolling="no" noresize src="refreshed.html">' ); print( '</frameset>' ); ?> Quote Link to comment Share on other sites More sharing options...
briedis Posted August 20, 2011 Report Share Posted August 20, 2011 (edited) Tev neapnīk tos print() rakstīt? Varēji visu vienkārši šādi: <frameset rows="62%, *, 30, 0" FRAMEBORDER="0" BORDER="0" FRAMESPACING="1"> <frame name="main" src="char.phtml?UID=<?php echo $aNickName;?>"> <frameset cols="*,180"> <frame name="chat" src="chat.html" target="_top" scrolling=YES FRAMEBORDER="0" BORDER="0" FRAMESPACING="0" MARGINWIDTH="3" MARGINHEIGHT="3"> <frame name="online" src="ch-online.html" target="_blank" scrolling=YES FRAMEBORDER=0 BORDER=0 FRAMESPACING=0 MARGINWIDTH=3 MARGINHEIGHT=0> </frameset> <frame name="bottom" scrolling="no" noresize src="buttons.html"> <frame name="refreshed" target="_top" scrolling="no" noresize src="refreshed.html"> </frameset> Edited August 20, 2011 by briedis Quote Link to comment Share on other sites More sharing options...
InTrance Posted August 20, 2011 Author Report Share Posted August 20, 2011 briedi, joprojām view sourcā rāda kodu, bet tā neko nerāda... nesaprotu, mistika. Quote Link to comment Share on other sites More sharing options...
briedis Posted August 21, 2011 Report Share Posted August 21, 2011 (edited) Nu tad kaut kas nav. Ieliec pareizo doctype un mēgīni izlaist cauri validatoram to html kodu - http://validator.w3....lidate_by_input lai redzētu, vai nav kāda kļūda pašā kodā. Vēlētos pieminēt, ka vairs nav deviņdesmitie, un atribūtu nosaukumus raksta ar mazajiem burtiem, kā arī to vērtības liek pēdiņās :) Nevar jau īsti saprast, cik tālu tev tur parādās kaut kas. Ja pārlūks ir attēlojis freimu, tad, vismaz Firefoxā ieklikšķinot ar labo peli vajadzētu redzēt konteksta izvēlnē attiecīgo "Šis ietvars" apakšizvēlni. Edited August 21, 2011 by briedis Quote Link to comment Share on other sites More sharing options...
codez Posted August 21, 2011 Report Share Posted August 21, 2011 tu paskaties view source nevis pamatlapai, bet freimam. Protams pliks freimu rāmis neko nerādīs, ja freimos nebūs satura. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.