|
|
|
Проблема с Frame
|
|||
|---|---|---|---|
|
#18+
function openPathExamples(url) { parent.frames.mainFrame.location = url; //urlMain + url ; } function ShowFrameLocation() { alert(parent.mainFrame.location.href); } ------------------------------------------- <frameset rows="69*,248*" cols="*" framespacing="0" frameborder="no" border="0"> <frame src="trf2.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frame src="trf.html" name="mainFrame" id="mainFrame" title="mainFrame" /> </frameset> <table> <tr> <td><a href="javascript:void(0)" onclick="openPathExamples('http://www.abercrombie.com/')">Abercrombie & Fitch</a></td> <td><a href="javascript:ShowFrameLocation()">Order</a></td> </tr> </table> Суть в том, чтобы получить с помощью функции ShowFrameLocation() (table, который я выложил последним) URL второго фрейма (mainFrame). Только вот не получается. Помогите разобраться. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.06.2009, 17:01 |
|
||
|
Проблема с Frame
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. 6. "Helo, word!" - 17 errors 56 warnings ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.06.2009, 07:57 |
|
||
|
|

start [/forum/topic.php?fid=22&fpage=289&tid=1454648]: |
0ms |
get settings: |
7ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
56ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
41ms |
get tp. blocked users: |
2ms |
| others: | 243ms |
| total: | 385ms |

| 0 / 0 |
