AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters > Web Development
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Web Development Java/PHP/Perl/ASP and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old May 27, 2003, 04:46   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 6
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
JavaScript - Frames problem

Code:
<frameset  rows="50%,*" border="1" frameborder="1">
    <frame name="" src="aaa.html" marginwidth="10" marginheight="10" scrolling="yes" frameborder="1">
	
   <script language="JavaScript">       
       document.write("<frame name= src=bbb.html marginwidth=10 marginheight=10 scrolling=yes frameborder=1>");
    </script> 
    <!--<frame name="" src="bbb.html" marginwidth="10" marginheight="10" scrolling="yes" frameborder="1">-->
</frameset>

why document.write is not working?
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old May 27, 2003, 08:01   #2
Волк, просто волк...
 
_ WOLF _'s Avatar
 
Join Date: Jul 2002
Location: /dev/null
Posts: 250
Rep Power: 6
Reputation: 10
Ar jan chgitem xi, bayc erb vor frameset-n el es write anum, ed janak ashxatum a.....

Code:
<script language="JavaScript">     
document.write("<frameset  rows=\"50%,*\" border=\"1\" frameborder=\"1\">");
document.write("<frame name=\"\" src=bbb.html marginwidth=10 marginheight=10 scrolling=yes frameborder=1>");
</script> 
<frame name="" src="aaa.html" marginwidth="10" marginheight="10" scrolling="yes" frameborder="1">  
</frameset>
xosqi senc...
__________________
00000000h: 41 72 61 6D 20 4D 6B 68 69 74 61 72 79 61 6E;
_ WOLF _ is offline   Reply With Quote Quote selected
Old May 29, 2003, 17:30   #3
Студент
 
Join Date: Jun 2002
Location: California
Posts: 294
Rep Power: 7
Reputation: 10
Re: JavaScript - Frames problem

Quote:
Originally posted by Aram Ghazanchyan

why document.write is not working?
im kartsiqov, vorovhetev, "frameset" es ogtagortsum yev chunes "body" vor karoghanas "document" "object"@ ogtagortses.
kam, asenq, mekits aveli "document"ner kan, dra hamar.
_Harut_ is offline   Reply With Quote Quote selected
Old May 30, 2003, 04:35   #4
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 6
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
Thanks to all, arden eghav
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old May 30, 2003, 05:02   #5
Кандидат
 
Join Date: Feb 2002
Location: Am
Posts: 1,035
Rep Power: 7
Reputation: 30
Send a message via Skype™ to Arik
Quote:
Originally posted by Aram Ghazanchyan
Thanks to all, arden eghav
Aram vonc arecir ver4e..!?
__________________
talent agency casting.am
Center of Internet Projects Support http://www.online.am
Armenian newspapers digest http://www.armpress.com
_ _ _ _ _ _ _
Bud'te proshe i narod k vam potyanetca
Arik is offline   Reply With Quote Quote selected
Old May 30, 2003, 05:07   #6
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 6
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
2 Arik...

Na kompliment naprashivaesh'sya?
Qo dzevov!!! chnayac es bolor commentner@ hashvi ara, te ichi karogh er chashxater. Kstati ne xochesh' tozhe postnut'?
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old May 30, 2003, 05:24   #7
Кандидат
 
Join Date: Feb 2002
Location: Am
Posts: 1,035
Rep Power: 7
Reputation: 30
Send a message via Skype™ to Arik
Quote:
Originally posted by Aram Ghazanchyan
2 Arik...

Na kompliment naprashivaesh'sya?
Qo dzevov!!! chnayac es bolor commentner@ hashvi ara, te ichi karogh er chashxater. Kstati ne xochesh' tozhe postnut'?
2 Aram jan.)
ne na kompliment..)
prosto aseci karoxa ajl hetaqrqir tarberak liner lucmane..

esli ti pro postnut' code.. de ena du qci..
ete eta lucume..
martiqel kimanan et mi tarberaknel..

P.S.
lrif Frameseterov write anelneler kstati lav mitk..
pomoemu iskapes Framum documenti harcna.. vore inqe korekt 4i stanum...
__________________
talent agency casting.am
Center of Internet Projects Support http://www.online.am
Armenian newspapers digest http://www.armpress.com
_ _ _ _ _ _ _
Bud'te proshe i narod k vam potyanetca
Arik is offline   Reply With Quote Quote selected
Old May 30, 2003, 05:37   #8
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 6
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
Code by Arik

Code:
index.html -----

<frameset  rows="50%,*,0" border="1" frameborder="1">
    <frame ID=1 name="topfrm" src="aaa.html" marginwidth="10" marginheight="10" scrolling="yes" frameborder="1">
        <frame ID=2 name="valod" frameborder=0>
        <frame ID=3 name="func" src="func.html" frameborder=0>
</frameset><noframes></noframes>

func.html ---

<HTML>
<BODY>
<script language="JavaScript">
<!--
{
       var myStr;
       myStr = parent.window.location.search;
       myStr = myStr.substr(1);
       
       var myFrame;
       if (myStr > 0){
               myFrame = myStr;
       } else {
              myFrame = "bbb.html";
       }
       

          parent.document.frames['valod'].location=myFrame;     
          
}
//-->      
    </script> 
        </BODY>
</HTML>
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old May 31, 2003, 00:29   #9
Студент
 
Join Date: Jun 2002
Location: California
Posts: 294
Rep Power: 7
Reputation: 10
Quote:
Originally posted by Aram Ghazanchyan
2 Arik...

Na kompliment naprashivaesh'sya?
che, magharich.
_Harut_ is offline   Reply With Quote Quote selected
Old Jun 2, 2003, 05:43   #10
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 6
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
@h@
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 21:05.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link