由于导航栏影视中心,使用了太多的专题连接,一起挤在二级导航区域, 有碍美观, 早发现这个问题,
* V5 j6 ]8 m5 k( Y; E* v& @4 X; Q, E; C$ N# O5 I7 P6 [
可是我不会细节的编程, 就是在一个网页中利用一个iframe框架里的连接,去打开另一个框架iframe中的相应连接。2 Q: G) _3 F5 f
( ~- W3 O! G5 m/ N
不得已, 一边啃一边学, 好在放假,今天木有爬梯~, 终于解决了:$ I, T. R$ Y& g; x/ y% W9 X8 [ b
5 w! l9 \9 U) g4 D' Y
借鉴这个:http://www.trans4mind.com/personal_development/HTMLGuide/iframes3.htm( ~9 M. j- X- ]/ l9 h3 R: N
: b# N9 Q! s, S ^8 d! }( Q
3 j y+ `6 S8 \4 b0 L( A- <!--The code on this page is simply the code for iframes which is shown below-->% b' l! p& q- K) n
$ L6 H( Z4 f6 C, b9 r$ S1 U6 b- <!-- Code for the first iframe-->4 N' P6 j' v4 O ]
- ( D* |1 ~( l$ r" H* x x* Y
- <iframe name="iframe1" src="iframeExample.htm" align="top" height="150" width="95%" hspace="10" vspace="10" align="middle">
. l4 G8 Z4 D: o1 Z) X) e7 f
/ ~, A" t3 a3 |) }/ d8 Q2 h) |( |$ \8 L- <p>3 L4 r- Y6 k8 |' Z
- 7 b, q) q% O9 n: t* j4 u9 U
- If you can see this, your browser does not support iframes!
7 Y6 W: _ z' l4 E$ S7 d8 {1 M5 M a- \
2 a; h, R& f9 u/ c1 z& d6 `- </iframe>5 Y3 z! A% `" t& x, I" J: T. y* d
- # P9 W- p$ S& `! u- _
- <!--Code for the second iframe-->
6 K* ]' c1 y' ~$ v8 y9 M
( e& J. I0 N' k P+ y- <iframe name="iframe2" src="index.html" align="top" height="200" width="95%" hspace="10" vspace="10" align="middle">
9 t5 v( ~, n) k- a+ ]5 s
( q7 j- f) d) z6 t. H) F, s4 m- If you can see) a5 p6 M3 M2 W4 X7 S
9 [& W; j0 e8 }0 N3 \. X- m- this, your browser does not support iframes!
, J! Z. X1 i, F7 @+ s
+ ]! j& A/ g0 g4 }- O; }- </iframe>
3 @# J6 ~, _9 _) g
' ?+ J4 g+ g G9 e- <!--The first iframe loads the page in the link in the second iframe because it has the following code in its links--> k6 D+ W- g9 @) o' O
; p# h7 H, r" N% S( @- @. w- <a href="anchors.htm" target="iframe2">
4 U7 f- `% |, r$ X# l - 8 _* s8 h: j/ S5 M. t
- What's in a name - Anchors
; K# y- o. {7 ]( S( s$ X! ^
! Y* n. L5 I r' a9 b- </a># f! z% [" ?. q: _. T
- * [# o1 d B; O% m0 F7 u0 T! ]
- <br /># M- h8 p1 d6 R7 U, q6 w. j8 k
- / J/ B/ c- z: u; G+ g
- <a href="FormSelect.htm" target="iframe2">: c% a6 Y3 Z0 o7 q
- 4 `- {1 @2 q$ A5 P$ L& M' A g8 z2 g
- Menus in Forms2 U, [0 F8 T- a
' Q, A2 B! y7 ^1 U2 d0 ^: z- </a>' t, |- @4 n' A9 J; o- w
) A3 q, K( X" Q% ?9 U& E9 Z- <br />! }9 j$ ], | |& |) K: N3 [
$ S/ c$ f, Y- l8 [/ T- <a href="../JavaScript/freeEditor.htm" target="iframe2">, U1 S3 D, ]2 a: V" k6 r
5 Q6 V5 T! R8 |6 i; r8 p% l; S- free java script editor to help create code.
2 N4 H5 M( h% F8 Y) K - & ?8 d' g- y; y/ t# V# A4 [/ L
- </a>
9 @4 T- O: m( h, f7 t. l, U - 8 W/ F4 {" [! ~+ G3 o' X9 f
- <br />/ \) p1 U R7 @; T% b
复制代码 9 D+ g" ~4 J9 M$ r1 h' u" F
3 N" a' P# Y" [% O. f, { \
现在影视频道有了一定的organized~~: https://www.beimeilife.com/topics/you_tvs1.html+ b w2 L, J8 m( G0 o0 M \5 C
9 K" s, |! Q1 f, y为扩展考虑: 添加了视频专题:https://www.beimeilife.com/plugin.php?id=xlwsq_zt( 该插件主要可以将未来的专题分类,网站还在初步完善中, 近期不会考虑特殊的专题如新闻咨询等)
# q9 e: Z$ g8 f/ q) ~; V, B) @9 N* O6 E' N3 I( u( a
2 N+ e; }8 N/ T+ R
|