🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.java
1 messages
1 total messages Started by bandit Wed, 10 Sep 1997 08:26
javascript w MSIE i ramki - help
#975
Author: bandit
Date: Wed, 10 Sep 1997 08:26
48 lines
2122 bytes
Mam problem z MSIE i javascript. Na 1 stronie mam 2 ramki :

<frameset framespacing="0" frameborder="0" cols="18%,82%">
  <frame src="linki.htm" name="linki" marginwidth="1" marginheight="1"
noresize>
  <frame src="right.htm" name="right" marginwidth="1" marginheight="1"
scrolling="auto">

Z menu w ramce "linki" uruchamiam link do strony, ktora laduje sie do
ramki "right"
Strona ta zawiera 3 ramki :

<frameset framespacing="0" border="false" frameborder="0" cols="417,*">
  <frameset rows="39%,*">
    <frame name="clubu" src="ligam/1ligam.htm" scrolling="no">
    <frame name="clubd" scrolling="auto" noresize
src="linki_kluby.htm">
  </frameset>
  <frame name="clubr" src="kluby/slask-right.htm" scrolling="auto">

W pliku "linki_kluby.htm" mam skrypt ktory ma powodowac ze jesli kliknie
sie na link w ramce "clubd"  to jednoczesnie w 2 ramkach ("clubd" i
"clubr") laduja sie pliki; skrypt jest nastepujacy :

function load (url1, url2)
{
  top.frames[1].frames[1].location.href=url1;
  top.frames[1].frames[2].location.href=url2;
  }
lub
function load (url1, url2)
{
  top.right.frames[1].location.href=url1;
  top.right.frames[2].location.href=url2;
  }

W MSIE 3.0 laduje sie tylko do tej ramki z ktorej jest klik ("clubd")

<a href="#sdf" target="_self"

onclick="load('./kluby/mazowsz.htm','./kluby/maz_r.htm');">trratatatatat</a>

W 2 ramce czyli "clubr" "wyskakuje" komunikat : HTTP/1.0 404 Object Not
Found
Oczywiscie w Netscape dziala , ale musze "zlamac" MSIE
Please HELP me

rbret@arrakis.cs.put.poznan.pl
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads