Вернуться   Дизайнерский форум » ВЕБ-ПРОГРАММИРОВАНИЕ » HTML, CSS, JavaScript

фреймы и www.borda.ru (вопрос не для ламеров!!!!)

Обсуждение темы фреймы и www.borda.ru (вопрос не для ламеров!!!!) в разделе HTML, CSS, JavaScript, часть категории ВЕБ-ПРОГРАММИРОВАНИЕ; Вопрос, по скриптам.... наверное.... Так вот... такая ситуация... есть сайт с фреймами и форум, находящийся на бесплатном сервисе borda.ru ( http://www.borda.ru/?nwc )!!! Так ...


Закрытая тема
 
Опции темы
Старый 07.08.2003, 21:03   #1
Вопрос, по скриптам.... наверное....

Так вот... такая ситуация... есть сайт с фреймами и форум, находящийся на бесплатном сервисе borda.ru ( http://www.borda.ru/?nwc )!!! Так вот, форум почему-то не хочется грузитсья в фрейме, начиная грузиться в полный размер окна...

Может, там стоит скрипт, может еще что... я так и не понял....
Посмотрите пожалйста, если бут возможность - помогите!!!!
Silver, ты мне всегда помогал!!!! Не откажи и вэтот раз!
 
Старый 07.08.2003, 21:03
Ссылки
Старый 07.08.2003, 23:05   #2
Spy

Относительно темы, а именно этой части
Цитата:
(вопрос не для ламеров!!!!)
Это не имеет значения, главное-то, чтобы помогли.

Относительно твоей проблемы:
Покажи код, не всей страницы, а именно с ифреймом. Возможно в коде ошибка.
 
Старый 08.08.2003, 00:49   #3
что такое ифрейм???

есть страница

<html>
<head>
<title>forum</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<frameset rows="*" frameborder="NO" border="0" framespacing="0">
<frame name="main" src="http://www.borda.ru/?nwc">
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">у вас не поддерживаются фреймы... =(

</body></noframes>
</html>

она создана для того чтобы прятать реальный адрес форума.... но при открытии форума, он открывается без фрейма и в строке адреса пишется не www.мой_сайт.ru/forum.htm, а http://www.borda.ru/?nwc

если хочешь посмотреть ето в реале. то зайди на сайт http://nw-central.tk и щедкни по ссылке "форум"....

Master K добавил [date]1060294589[/date]:
Во!!! Там етот сервис какой-то скрипт ставит автоматически....

<SCRIPT>
function stopError() {return true;}
window.onerror = stopError;
if (parent.frames.length>=1) {window.top.location.href=window.self.location.hre f}
</SCRIPT>

вроде это то что нужно........
если да, то что делать, шоб он не выполнялся!!!!
 
Старый 08.08.2003, 12:26   #4
Spy

попробуй у себя написать:
<script>
function StopError() {return false;}
</script>

Хотя скрипт легкий. Он проверяет,
Если на странице ошибка - он возвращяет значение true.
и потом редирект делает :Р.
 
Старый 08.08.2003, 16:13   #5
значит ето не то.....посмотри пожалуйста внимательно эти теги... етот скрипт должен быть здесь.... посмотри в каком месте идет указание на открытие документа в полном окне.......





<table border="0" cellspacing="0" cellpadding="0">
<tr> <td>

<SCRIPT>
function stopError() {return true;}
window.onerror = stopError;
if (parent.frames.length>=1) {window.top.location.href=window.self.location.hre f}
</SCRIPT>



<BASE HREF="http://www.microsoft.com/images/">

<xml:namespace ns='http://www.microsoft.com/ie' prefix='IE'>
<STYLE>@media all{IE\:clientCaps {behavior:url(#default#clientcaps);}}</STYLE>
<IE:CLIENTCAPS ID="oClientCaps">

<script Language="JavaScript">
var IeData = "";
var dd = new Date();
region = Math.round(dd.getTime() / 1000) - 1060344479;
AllData = region+"/"+window.screen.width+"/"+window.screen.height+"/"+window.screen.colorDepth;
var bOneChecked;
function CheckInput(formelem) {bOneChecked = 0;if (formelem.type == "checkbox") {if (formelem.checked) { bOneChecked = 1;}}}
var CompT="";
var CompO=new Array("{7790769C-0471-11D2-AF11-00C04FA35D02}","{5A8D6EE0-3E18-11D0-821E-444553540000}","{630B1DA0-B465-11D1-9948-00C04F98BBC9}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{76C19B50-F0C8-11CF-87CC-0020AFEECF20}","{283807B5-2C60-11D0-A31D-00AA00B92C03}","{10072CEC-8CC1-11D1-986E-00A0C955B42F}","{D27CDB6E-AE6D-11CF-96B8-444553540000}","{2A202491-F00D-11CF-87CC-0020AFEECF20}","{22D6F312-B0F6-11D0-94AB-0080C74C7E95}","{5945C046-LE7D-LLDL-BC44-00C04FD912BE}","{08B0E5C0-4FCB-11CF-AAA5-00401C608500}","{4F645220-306D-11D2-995D-00C04F98BBC9}","{73FA19D0-2D75-11D2-995D-00C04F98BBC9}");
for (var O=0;O<CompO.length;O++) {var Ver=oClientCaps.getComponentVersion (CompO[O],"ComponentID");Ver=Ver.replace(/,/gi,".");CompT+=Ver+"-";}
var IeData = "/"+oClientCaps.connectionType+"/"+navigator.systemLanguage+"/"+navigator.browserLanguage+"/"+navigator.userLanguage+"/"+CompT;
function Test(theForm){
if (theForm.title.value == "" && theForm.message.value == "") { alert("Вы ничего не написали!"); theForm.title.focus(); return false; }
if (theForm.nick.value == "") { alert("Вы не ввели свое имя."); theForm.nick.focus(); return false; }
if (theForm.message.value.length > 5000) {alert("Cообщение должно содержать не более 5000 знаков. А в Вашем сообщении " +theForm.message.value.length); theForm.message.focus(); return false;}
if ((theForm.email.value == "") && (bOneChecked == 1)) {alert("Ошибка! Вы заказали извещение на e-mail и не ввели его. "); theForm.email.focus(); return false;}
if ((theForm.email.value.indexOf("@mail.ru") > 0) && (bOneChecked == 1)) {alert("Почтовый ящик на mail.ru принимает почту не стабильно. Отмените подписку или введите другой e-mail."); return false;}
if (theForm.title.value == "") {return confirm("Вы не заполнили поле Заголовок. Сохранить как есть?");}
return true;
}



var text_enter_image = "Введите полный адрес картинки";
var error_no_url = "Вы должны ввести правильный URL.";
var error_no_http = "Вы ввели адрес картинки без http:// ";
var error_probel_url = "Адрес картинки не должен содержать пробелы.";
var help_bold = "Жирный текст";
var help_italic = "Наклонный текст";
var help_under = "Подчёркнутый текст";
var help_font = "Выбор типа шрифта";
var help_size = "Выбор размера шрифта";
var help_color = "Выбор цвета шрифта";
var help_close = "Закрыть все открытые тэги";
var help_img = "Вставка картинки";
var help_c = "Ввод цитаты";
var help_pre = "Ввод кода без преобразования ссылок";
var help_sup = "Верхний индекс";
var help_sub = "Нижний индекс";
var help_ps = "Постскриптум";
var help_click_close = "Нажмите на кнопку для закрытия";


var B_open = 0;
var I_open = 0;
var U_open = 0;
var C_open = 0;
var PRE_open = 0;
var SUP_open = 0;
var SUB_open = 0;
var PS_open = 0;
var bbtags = new Array();
var myAgent = navigator.userAgent.toLowerCase();
var myVersion = parseInt(navigator.appVersion);
var is_ie = ((myAgent.indexOf("msie") != -1) && (myAgent.indexOf("opera") == -1));
var is_win = ((myAgent.indexOf("win")!=-1) || (myAgent.indexOf("16bit")!=-1));

function hstat(msg){document.countform.helpbox.value = eval( "help_" + msg );}

function cstat(){
var c = stacksize(bbtags);
if ( (c < 1) || (c == null) ) {c = 0;}
if ( ! bbtags[0] ) {c = 0; }
document.countform.tagcount.value = c;
}

function stacksize(thearray){
for (i = 0 ; i < thearray.length; i++ ) {
if ( (thearray[i] == "") || (thearray[i] == null) || (thearray == 'undefined') ) {return i;}
} return thearray.length;
}


function pushstack(thearray, newval){
arraysize = stacksize(thearray);
thearray[arraysize] = newval;
}

function popstack(thearray){
arraysize = stacksize(thearray);
theval = thearray[arraysize - 1];
delete thearray[arraysize - 1];
return theval;
}


function closeall(){
if (bbtags[0]) {
while (bbtags[0]) {
tagRemove = popstack(bbtags);
if ((tagRemove == 'SIZE') || (tagRemove == 'COLOR') || (tagRemove == 'FACE')) {document.countform.message.value += "[/FONT]";}
else {document.countform.message.value += "[/" + tagRemove + "]";}
if ( (tagRemove != 'FACE') && (tagRemove != 'SIZE') && (tagRemove != 'COLOR') ) {
eval("document.countform." + tagRemove + ".value = ' " + tagRemove + " '");
eval(tagRemove + "_open = 0");
}}}
document.countform.tagcount.value = 0;
bbtags = new Array();
document.countform.message.focus();
}

function p3(theSmilie){
doInsert(theSmilie, "", false);
}

function alterfont(theval, thetag){ //FONT
if (theval == 0) {return;}
if(doInsert("[" + thetag + "=" + theval + "]", "[/" + thetag + "]", true))
pushstack(bbtags, thetag);
document.countform.ffont.selectedIndex = 0;
document.countform.fsize.selectedIndex = 0;
document.countform.fcolor.selectedIndex = 0;
cstat();
}


function simpletag(thetag){
var tagOpen = eval(thetag + "_open");
if (tagOpen == 0) {if(doInsert("[" + thetag + "]", "[/" + thetag + "]", true)){eval(thetag + "_open = 1"); eval("document.countform." + thetag + ".value += '*'"); pushstack(bbtags, thetag); cstat(); hstat('click_close'); }}
else {lastindex = 0; for (i = 0 ; i < bbtags.length; i++ ) { if ( bbtags[i] == thetag ) {lastindex = i;}}
while (bbtags[lastindex]) {tagRemove = popstack(bbtags); doInsert("[/" + tagRemove + "]", "", false);eval("document.countform." + tagRemove + ".value = ' " + tagRemove + " '");eval(tagRemove + "_open = 0");}
cstat(); }}



function tag_image(){
var FoundErrors = '';
var enterURL = prompt(text_enter_image, "");
if (!enterURL) {FoundErrors += " " + error_no_url;}
if (enterURL.indexOf("http://") == -1) {FoundErrors += " " + error_no_http;}
if (enterURL.indexOf(" ") != -1) {FoundErrors += " " + error_probel_url;}
if (FoundErrors) {alert("Ошибочка!"+FoundErrors); return;}
doInsert("[IMG]"+enterURL+"[/IMG]", "", false);
}

Master K добавил [date]1060344913[/date]:
function doInsert(ibTag, ibClsTag, isSingle){
var isClose = false;
var obj_ta = document.countform.message;
if ( (myVersion >= 4) && is_ie && is_win) {
if(obj_ta.isTextEdit){obj_ta.focus(); var sel = document.selection;var rng = sel.createRange();rng.colapse;
if((sel.type == "Text" || sel.type == "None") && rng != null){
if(ibClsTag != "" && rng.text.length > 0){ibTag += rng.text + ibClsTag;}
else {if(isSingle){isClose = true;} rng.text = ibTag;}}}
else{ if(isSingle){isClose = true;} obj_ta.value += ibTag; }}
else { if(isSingle){isClose = true;} obj_ta.value += ibTag;}
obj_ta.focus(); return isClose;
}

</script><TABLE align=center border=0 cellPadding=5 cellSpacing=0 width=100%><TR><TD class=font2>Здравствуйте, админ M_Key.

</TD><TD class=font4 align=right width=40%><u>Новая тема</u></TD></TR><TR><TD class=font2>
Страницы: 1

</TD><TD class=font2 align=right>
Skin - 0 1 2 3 4 5

</TD></TR></TABLE><TABLE bgColor="whitesmoke" align=center border=0 cellPadding=0 cellSpacing=2 width=100%><TR><TD><TABLE bgColor="77 88 99 " align=center border=0 cellPadding=6 cellSpacing=1 width=100%><TR bgColor="darkgray" class=font5><TD width=1%></TD><TD width=60%>Тема</TD><TD width=5%>Ответов</TD><TD width=5%>Просм.</TD><TD width=5% align=middle>Рейтинг</TD><TD width=10% align=middle> Автор темы </TD><TD width=14%> Последний ответ </TD></TR><TR valign=top><TD bgcolor="whitesmoke">http://www.borda.ru/img/f1.gif</TD><TD bgcolor="whitesmoke"><font class=font3>Что мы слушаем?</font></TD><TD class=font2 align=center bgcolor="gainsboro"> 9 </TD><TD class=font2 align=center bgcolor="whitesmoke">29</TD><TD align=center bgcolor="gainsboro"> </TD><TD class=font2 align=center bgcolor="whitesmoke">M_Key</TD><TD class=font2 align=center bgcolor="gainsboro"> 08.08.2003 00:44
k03r</TD></TR><TR valign=top><TD bgcolor="whitesmoke">http://www.borda.ru/img/f1.gif</TD><TD bgcolor="whitesmoke"><font class=font3>для North-West Central’a</font></TD><TD class=font2 align=center bgcolor="gainsboro"> 0 </TD><TD class=font2 align=center bgcolor="whitesmoke">2</TD><TD align=center bgcolor="gainsboro"> </TD><TD class=font2 align=center bgcolor="whitesmoke">M_Key</TD><TD class=font2 align=center bgcolor="gainsboro"> 07.08.2003 19:58
M_Key</TD></TR><TR valign=top><TD bgcolor="whitesmoke">http://www.borda.ru/img/f1.gif</TD><TD bgcolor="whitesmoke"><font class=font3>Нужен ли этот форум?</font></TD><TD class=font2 align=center bgcolor="gainsboro"> 2 </TD><TD class=font2 align=center bgcolor="whitesmoke">13</TD><TD align=center bgcolor="gainsboro"> </TD><TD class=font2 align=center bgcolor="whitesmoke">M_Key</TD><TD class=font2 align=center bgcolor="gainsboro"> 07.08.2003 19:46
CharnaD</TD></TR><TR valign=top><TD bgcolor="whitesmoke">http://www.borda.ru/img/f1.gif</TD><TD bgcolor="whitesmoke"><font class=font3>Как мы делаем Муззон</font></TD><TD class=font2 align=center bgcolor="gainsboro"> 3 </TD><TD class=font2 align=center bgcolor="whitesmoke">16</TD><TD align=center bgcolor="gainsboro"> </TD><TD class=font2 align=center bgcolor="whitesmoke">Dmitry 29 rus</TD><TD class=font2 align=center bgcolor="gainsboro"> 02.08.2003 02:30
Норман</TD></TR></TABLE></TD></TR></TABLE><TABLE align=center border=0 cellPadding=5 cellSpacing=0 width=100%><TR><TD class=font2>
Страницы: 1 </TD></TR></TABLE><FORM name=countform action=http://www.borda.ru/new.pl method=POST onsubmit="return Test(this)"><INPUT type=Hidden name=user value="nwc"><INPUT type=Hidden name=truename value="M_Key">
<SCRIPT Language="JavaScript">
document.write("<input type=\"Hidden\" name=\"Statistic\" value=\""+AllData+IeData+"\">");
</SCRIPT>


<TABLE bgColor="whitesmoke" border=0 cellPadding=0 cellSpacing=1 width=100%><TR><TD>

<TABLE bgColor="77 88 99 " border=0 cellPadding=6 cellSpacing=1 width=100%>
<tr bgColor="gainsboro">
<td class=font1>Имя:</td>
<td><input type="Text" name="nick" size="20" maxlength="20" value="M_Key"></td>
<td class=font2>
<input type=Text style="width:80%" name=title size=36 maxlength="100"> заголовок</td>
</tr>

<tr bgColor="gainsboro">
<td class=font1>Пароль:</td>
<td class=font2><input type="Password" name="password" size="20" maxlength="10" value="CarregaR">
</td>

<td rowspan=5 valign=top class=font2>

<table border=0 width=100%>
<tr><td noWrap width=10%>
<INPUT style=width:26px; onmouseover="hstat('bold')" onclick='simpletag("B")' type=button value=B name=B><INPUT style=width:27px; onmouseover="hstat('italic')" onclick='simpletag("I")' type=button value=I name=I><INPUT style=width:27px; onmouseover="hstat('under')" onclick='simpletag("U")' type=button value=U name=U><INPUT style=width:43px; onmouseover="hstat('sub')" onclick='simpletag("SUB")' type=button value=SUB name=SUB><INPUT style=width:43px; onmouseover="hstat('sup')" onclick='simpletag("SUP")' type=button value=SUP name=SUP>
<INPUT style=width:35px; onmouseover="hstat('img')" onclick=tag_image() type=button value=IMG name=img><INPUT style=width:27px; onmouseover="hstat('c')" onclick='simpletag("C")' type=button value=C name=C><INPUT style=width:43px; onmouseover="hstat('pre')" onclick='simpletag("PRE")' type=button value=PRE name=PRE><INPUT style=width:35px; onmouseover="hstat('ps')" onclick='simpletag("PS")' type=button value=PS name=PS>
<INPUT style=width:30px; onmouseover="hstat('close')" onclick='closeall()' type=button value="&lt;/&gt;">
</td></tr>
<TR><TD align=left class=font2 valign=center>
<SELECT onmouseover="hstat('font')" onchange="alterfont(this.options[this.selectedIndex].value, 'FACE')" name=ffont>
<OPTION value=0 selected>шрифт</OPTION>
<OPTION style="FONT-FAMILY: Arial" value=Arial>Arial</OPTION>
<OPTION style="FONT-FAMILY: Times" value=Times>Times</OPTION>
<OPTION style="FONT-FAMILY: Courier" value=Courier>Courier</OPTION>
<OPTION style="FONT-FAMILY: Impact" value=Impact>Impact</OPTION>
<OPTION style="FONT-FAMILY: Geneva" value=Geneva>Geneva</OPTION>
<OPTION style="FONT-FAMILY: Optima" value=Optima>Optima</OPTION>
</SELECT>
<SELECT onmouseover="hstat('size')" onchange="alterfont(this.options[this.selectedIndex].value, 'SIZE')" name=fsize>
<OPTION value=0 selected>размер</OPTION>
<OPTION value=1>1</OPTION>
<OPTION value=2>2</OPTION>
<OPTION value=3>3</OPTION>
<OPTION value=4>4</OPTION>
<OPTION value=5>5</OPTION>
<OPTION value=6>6</OPTION>
<OPTION value=7>7</OPTION>
<OPTION value=8>8</OPTION>
</SELECT>
<SELECT onmouseover="hstat('color')" onchange="alterfont(this.options[this.selectedIndex].value, 'COLOR')" name=fcolor>
<OPTION value=0 selected>цвет</OPTION>
<OPTION style="COLOR: blue" value=blue>Синий</OPTION>
<OPTION style="COLOR: red" value=red>Красный</OPTION>
<OPTION style="COLOR: purple" value=purple>Фиолетовый</OPTION>
<OPTION style="COLOR: orange" value=orange>Оранжевый</OPTION>
<OPTION style="COLOR: yellow" value=yellow>Жёлтый</OPTION>
<OPTION style="COLOR: gray" value=gray>Серый</OPTION>
<OPTION style="COLOR: green" value=green>Зелёный</OPTION>
</SELECT>
Открытых тегов: <INPUT class=font2 style="BORDER:0px;font-weight: bold;BACKGROUND:gainsboro" size=3 value=0 name=tagcount readOnly>
</TD></TR>
<TR><TD nowrap><INPUT class=font2 style="BORDER:0px;WIDTH:300;BACKGROUND:gainsboro" size=50 value="" name=helpbox readOnly>
</TD></TR></TABLE><textarea name=message cols=56 rows=8 wrap=VIRTUAL tabindex=1 onkeydown="if (event.keyCode == 27) event.returnValue = false"></textarea>

Master K добавил [date]1060345143[/date]:
<tr bgColor="gainsboro">
<td class=font1>E-mail:</td>
<td><input type="Text" name="email" size="20" maxlength="40" value="[email protected]"></td>
</tr>

<tr bgColor="gainsboro">
<td class=font1>Url:</td>
<td><input type="Text" name="url" size="20" maxlength="100" value="http://nw-central.tk"></td>
</tr>

<tr bgColor="gainsboro">
<td class=font1>ICQ:</td>
<td><input type="Text" name="icq" size="20" maxlength="12" value="740602"></td>
</tr>

<tr bgColor="gainsboro">
<td class=font1>Город:</td>
<td><input type="Text" name="town" size="20" maxlength="40" value="North Side"></td>
</tr>

<tr bgColor="gainsboro">
<td class=font1>Подпись:</td>
<td><input type="Text" name="other" size="20" maxlength="300" value="Напрягись, приготовься к атаке; мы - нация! Рэп - нация Российской Федерации..."></td>
<td class=font2>

Переводчик транслита ·
Русская клавиатура ·
Анимированные смайлики ·
Помощь





<input type="checkbox" style="border:0" name="mempass" checked> - помнить мой пароль на этом компьютере

<input type="checkbox" style="border:0" name="izvall" onblur="CheckInput(this)"> - отправлять на e-mail все ответы по этой теме

</td></tr>

<tr bgColor="gainsboro">
<td class=font1>Пол:</td>
<td class=font2>

<input type="radio" style="border:0" name="gender" value="m" checked> - мужской

<input type="radio" style="border:0" name="gender" value="f" > - женский

</td>

<td align=right><INPUT class="sender" type="Submit" value="Отправить"></td>
</tr></table></TD></TR></TABLE></FORM>
<TABLE align=center border=0 cellPadding=6 cellSpacing=1 width=100%><TR class=font2 valign=top><TD>http://www.borda.ru/img/f1.gif - нет новых сообщений
http://www.borda.ru/img/f2.gif - в теме есть новые сообщения
http://www.borda.ru/img/f3.gif - обсуждение темы закончено
</TD><TD align=right>Вы можете вставлять картинки, если Ваш ранг от 100
Смайлики от 100, еще смайлики от 100, шрифты от 100
Все даты в формате GMT + 4 час.
<form name=formsearch action=http://www.borda.ru/search.pl method=post><input type=hidden name=user value=nwc><input type=text name=str size=10 maxlength=120>*<input class=search type=submit value="поиск">
<input type=hidden name=kak value=fraza></form></TD></TR></TABLE>
<table align=center border=0 width=468 height=60><tr><td>
<script language='JavaScript'>var loc = '';</script><script language='JavaScript1.4'>try{ var loc = escape(top.location.href); }catch(e){;}</script>
<script language='JavaScript'>document.write("<sc"+"ript language='JavaScript' src='http://ad.ir.ru/bb.cgi?cmd=ad&hreftarget=_blank&pubid=46818626&pg= 1&r=js&ssi=nofillers&vbn=1&num=1&w=468&h=60&&ref=" +escape(document.referrer)+"&loc="+loc+"&nocache=" +Math.round(Math.random()*999111)+"'>\n</sc"+"ript>");</script>
</td></tr></table>
<DIV class=font2 align=center>Открой свой форум бесплатно на &copy; 2002-2003
http://top.list.ru/counter?id=496153;t=105 (<U>Master</U>)</DIV>



<div align="right">
<table border="0" cellspacing="0" cellpadding="0" height="0">
<tr>
<td>http://nw-central.nm.ru/main/table/arch_left.gif</td>
<td background="http://nw-central.nm.ru/main/table/arch.gif">what do ya think about it?</td>
<td width="3">http://nw-central.nm.ru/main/table/arch_right.gif</td>
<td width=2></td>
</tr>
</table></tr>
</table>
&nbsp

<tr>
<td height="14" colspan="4" align="center" background="../../main/top/table2.gif" bgcolor="#E1E1E0" style="border:1px solid #000;">
Copyright © 2001-2003 North-West Central, Inc. Все права защищены.

Любое перепубликование материалов без письменного разрешения правообладателя
запрещено!</td>
</tr></table></div></body></html>





<script>
var oldrang=new Array('свинтус','новичок','уже был','был не раз','частый гость','постоянный','продвинутый','основной','авто ритетный','ветеран форума','администратор');
var newrang=new Array('петух','дух','бивень','чертила','сынок','ур ка','верховный урка','мега урка','батя','дед','пахан');
var oldinfo=new Array('Пол: m','Пол: f','Pанг:','Интернет: modem','Интернет: lan','Интернет: offline','Город:');
var newinfo=new Array('чувак','чувиха','Pанг:','Интернет: modem','Интернет: lan','Интернет: offline','лачуга: ');
e=document.getElementsByTagName("DIV");
for(i=0;i<e.length;i++) {
s=e[i].innerHTML;
for(k=0;k<11;k++){if(s==oldrang[k]){e[i].innerHTML=s.replace(oldrang[k],newrang[k])}}
if(e[i].className=="font2"){for(k=0;k<7;k++){e[i].innerHTML=e[i].innerHTML.replace(oldinfo[k],newinfo[k])}}}
e=document.getElementsByTagName("A");
for(i=0;i<e.length;i++){
if(e[i].innerHTML=='Правка'){e[i].outerHTML+=' | <a href=http://nw-central.nm.ru/html/themes/guestbook.htm>гостевая</a>'}
}
e=document.getElementsByTagName("FONT");
for(i=0;i<e.length;i++) {
s=e[i].innerHTML;if(s==" - новое! "){e[i].innerHTML=" типа новое! ";}
}
</script>
 
Старый 08.08.2003, 20:11   #6
Spy

ты чего, издеваешься?
У тебя же вроде даже если адрес не меняеться, то дизайн остаеться тотже..
или тебя так волнует url?
 
Старый 08.08.2003, 20:18   #7
сегодня нет, а что?
именно url меня и волнует... из-за него начинаются проблемы с отображением страниц после просмотра форума... =(
Вот.... ПОЭТОМУ МНЕ НУЖНО, ЧТОБЫ КТО-ТО ПОМОГ!!!!
ВС НАДЕЖДА НА ТЕБЯ!!!!!!!!!1 =)))))))
 
Старый 09.08.2003, 10:36   #8
все-таки етот скрипт...... : каак сделать так чтобы условие
if (parent.frames.length>=1) {window.top.location.href=window.self.location.hre f}
не выполнялось????

<SCRIPT>
function stopError() {return true;}
window.onerror = stopError;
if (parent.frames.length>=1) {window.top.location.href=window.self.location.hre f}
</SCRIPT>
 
Старый 09.08.2003, 12:46   #9
Spy

а ты его и не как не перекроешь.. это ведь у borda.ru
 
Старый 09.08.2003, 12:46
Закрытая тема


Опции темы


Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Фреймы estarriole HTML, CSS, JavaScript 2 15.04.2008 11:11
Фреймы NoX-XoN HTML, CSS, JavaScript 8 28.01.2006 17:14
работа для профи и ламеров Elisabeth Растровая графика 70 10.11.2004 21:31
Вопрос про фреймы и ссылки Aki_lexx HTML, CSS, JavaScript 9 18.10.2004 00:10
Ламерский вопрос про фреймы.... Dis HTML, CSS, JavaScript 2 04.07.2003 12:13


Текущее время: 11:17. Часовой пояс GMT +4.

Реклама на форуме Условия размещения рекламы
Биржа ссылок Заработай на сайте!
Дизайнерский форум