Strict Standards: Resource ID#37 used as offset, casting to integer (37) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401

Strict Standards: Resource ID#39 used as offset, casting to integer (39) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401

Strict Standards: Resource ID#40 used as offset, casting to integer (40) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401
ТвойWeb :: Версия для печати :: Вопрос по фрейму
ТвойWeb » WebMaster класс » HTML » Вопрос по фрейму

Страниц (2): [1] 2 »
 

1. Aeron - 07 Апреля, 2006 - 03:32:29 - перейти к сообщению
Как убрать верхний бордер?

2. chiv - 07 Апреля, 2006 - 03:48:02 - перейти к сообщению
Покажи код.
3. Aeron - 07 Апреля, 2006 - 03:51:22 - перейти к сообщению
CODE:
<html>
<head>
<title>Kalbasafilms</title>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
</head>

<frameset rows="*" cols="150,*" framespacing="0" border="0" frameborder="no">
<frame src="l_frame.htm" name="leftFrame" frameborder="yes" scrolling="NO" noresize>
<frame src="video.php" name="r_frame">
</frameset>
<noframes><body>

</body></noframes>
</html>
4. chiv - 07 Апреля, 2006 - 04:36:27 - перейти к сообщению
Нужно смотреть код video.php
5. Aeron - 07 Апреля, 2006 - 04:41:51 - перейти к сообщению
CODE:

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>

<frameset rows="0,*" frameborder="0">
<?php
$link = $_GET['id'];
$src = NULL;
if ( $link )
{
$src = $link;
$len = strlen ($link);
for ( $i = 0 ; $i < $len - 1 ; $i++ )
if ( $link[$i].$link[$i+1] == "..")
{
$src = NULL;
break;
}

}
if ( $src )
{
$src = 'video/video/'.$src.'/index.php';
if ( !is_file($src) )
$src = NULL;
}
print('<frame name="_top" src="video/top1.html" scrolling="no" noresize>');
if ( $src )
print('<frame name="_data" src="'.$src.'?uid='.(rand()%1024).'" scrolling="auto" noresize>');
else
print('<frame name="_data" src="video/video.php?ganres=67&categories=67&order=time" scrolling="auto" noresize>');
php?>

</frameset>


<noframes>
<p>Извините, ваш браузер не поддерживает фреймы</p>
</noframes>


</html>
6. chiv - 07 Апреля, 2006 - 04:59:44 - перейти к сообщению
Теперь нужно смотреть "video/top1.html".
7. TvoyWeb - 07 Апреля, 2006 - 05:02:06 - перейти к сообщению
CODE:
print('<frame name="_top" src="video/top1.html" scrolling="no" noresize>');
if ( $src )
print('<frame name="_data" src="'.$src.'?uid='.(rand()%1024).'" scrolling="auto" noresize>');
else
print('<frame name="_data" src="video/video.php?ganres=67&categories=67&order=time" scrolling="auto" noresize>');
php?>

В этом коде добавь frameborder="no"
8. Валерий - 07 Апреля, 2006 - 05:02:09 - перейти к сообщению
Aeron
но ты же указал бордер - смотри сам в своем коде.

CODE:
<frame src="l_frame.htm" name="leftFrame" frameborder="yes" scrolling="NO" noresize>


frameborder="yes" - это что?
9. Aeron - 07 Апреля, 2006 - 05:24:45 - перейти к сообщению
Валерий пишет:
Aeron
но ты же указал бордер - смотри сам в своем коде.

CODE:
<frame src="l_frame.htm" name="leftFrame" frameborder="yes" scrolling="NO" noresize>


frameborder="yes" - это что?


Уберается только вертикальный
10. Aeron - 07 Апреля, 2006 - 05:27:04 - перейти к сообщению
TvoyWeb пишет:
CODE:
print('<frame name="_top" src="video/top1.html" scrolling="no" noresize>');
if ( $src )
print('<frame name="_data" src="'.$src.'?uid='.(rand()%1024).'" scrolling="auto" noresize>');
else
print('<frame name="_data" src="video/video.php?ganres=67&categories=67&order=time" scrolling="auto" noresize>');
php?>

В этом коде добавь frameborder="no"


Попробовал, результата нет.

Форум на AlfaSpace.NET


Powered by ExBB
ExBB FM 1.0 RC1 by TvoyWeb.ru
InvisionExBB Style converted by Markus®

[Script Execution time: 2.2307]     [ Gzipped ]