First:
When you look at the page,
After clicking "neighbor Management,
The prompt displayed on the page is equivalent to text navigation.
Implementation Method:
JS:
1 var A, B; 2 function admin_op (a, B) {3 if (B = 0) {4 history. go (0) 5 return true; 6} else {7 $ ("# Left "). children ("Div "). removeattr ('style'); // remove all Div styles under the DIV with ID = left (left in the following HTML page is not given because I placed it on another page, the truth is the same.) 8 $ ("# Editor "). hide (); 9 $ ("# Center "). load (B, function () {// here, B is a parameter passed through HTML, which is equivalent to the following html "'admin _ article_op.php 'and so on
"10 $ (" # Center "). fadein ('low'); 11 $ ("# Left "). children ("Div" ).eq(a).css ({"background": "# 09f"}); // obtain the CSS with the parameter A under the DIV with ID = left and set the style
12 })
13 }
14
15 }
HTML:
1 <! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <HTML xmlns = "http://www.w3.org/1999/xhtml"> 3
JQ makes a good-looking navigation display