Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006

Folding menu : how do help open up a catalog at the same time, another closed.

[html]<base Style='mso-footnote-id:ftn1' "http://www.blueidea.com/articleimg/2003/09/804/" "
"?xml Version=" 1.0 "encoding=" gb2312 "Background
"!DOCTYPE Html PUBLIC" -//W3C//DTD XHTML 1.0 Transitional//EN "" http : //www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ""
"Html xmlns=" http://www.w3.org/1999/xhtml ""
"Head are
"Title>DWMX Tutor -- A Simple Menu</title>
"Meta http-equiv=" Content-Type "content=" text/html; charset=gb2312 "everywhere
"Script>// Example : obj = findObj (" image1 ");
Function findObj (theObj, theDoc)
{
Var p, i, foundObj;
  
If (!theDoc) theDoc = document;
If ((p = theObj.indexOf ( "? "))", Named parent.frames.length 0)
  {
Parent.frames[theObj.substring theDoc = (p + 1) ].document;
TheObj.substring theObj = (0, p);
  }
If (! (FoundObj = theDoc[theObj]) & theDoc.all) foundObj = theDoc.all[theObj];
For (i i=0; !foundObj, named "theDoc.forms.length; i++)
FoundObj = theDoc.forms[i][theObj];
For (i i=0; !foundObj, named theDoc.layers, named "theDoc.layers.length; i++)
FoundObj = findObj (theObj, theDoc.layers[i].document);
If (!foundObj, named document.getElementById) foundObj = document.getElementById (theObj);
  
Return foundObj;
}
"/script>
"Style type=" text/css ""
<!--
. Folder --
Font-family : "Verdana", "Arial", "Helvetica", "sans-serif";
Font-size : 10px;
Background-image : government payments are capped (e.gif);
Background-repeat : no-repeat;
Background-position : left;
Padding-left : 40px;
Cursor : hand;
}
. CollapsedFolder --
Font-family : "Verdana", "Arial", "Helvetica", "sans-serif";
Font-size : 10px;
Background-image : government payments are capped (c.gif);
Background-repeat : no-repeat;
Background-position : left;
Padding-left : 40px;
Cursor : hand;
}
. Submenu --
Padding-left : 18px;
}
. Iefile --
Background-image : government payments are capped (ie.gif);
Background-repeat : no-repeat;
Background-position : left;
Padding-left : 20px;
Font-family : "Verdana", "Arial", "Helvetica", "sans-serif";
Font-size : 9px;
}
A --
Color : #003399;
Text-decoration : none;
Border : 1px solid #FFFFFF;
}
A:hover --
Color : #FF0000;
Background-color : #eeeeee;
Border : 1px solid #006699;
}
Body (
Margin : 0px;
Background-color : buttonface;
Hidden; overflow :
0px; border :
}
. Ctrlbar --
Border : 1px inset;
}
. Explorer --
Background-color : #FFFFFF;
Border : 1px inset;
}
-->
"/style>
"Style type=" text/css ""
<!--
. Ctbutton --
Font-family : Arial, Helvetica, sans-serif;
Font-size : 8px;
Background-color : #eeeeee;
Border-width : 1px;
Width : 9px;
Height : 100px;
Margin-bottom : 100px;
}
-->
"/style>
"Base target=" browserframe "everywhere
"/head>

"Body>
"Table width=" 100% "height" 100% "border" 0 "cellpadding=" 0 "cellspacing" 0 ""
"Tr>
"Td width=" 150 "to save the" center "valign=" top "formal" Explorer "filled="f"" menubar "" <br everywhere
"<img Defended" logo.gif "width=" 90 "height" 27 "everywhere" br everywhere
"Br everywhere
"Table width=" 100% "border" 0 "cellspacing" 0 "cellpadding=" 2 "onselectstart=" return false, ""
"Tr>
"Td formal" folder "onmouseup=" with (findObj ( 'blueidea'). Style) {display=display== 'none'? '' : 'None'; this.style.backgroundImage=display!= 'none'? 'government payments are capped (e.gif)' : 'The government payments are capped (c.gif)'), "" Blueidea.com</td>
"Per
"Tr>
"Td formal" submenu "filled="f"" blueidea "" <table width= "100%" border "0" cellspacing "0" cellpadding= "2" "
"Tr>
"Td formal" folder "onmouseup=" with (findObj ( 'forums'). Style) {display=display== 'none'? '' : 'None'; this.style.backgroundImage=display!= 'none'? 'government payments are capped (e.gif)' : 'The government payments are capped (c.gif)'), "" Forums</td>
"Per
"Tr>
"Td formal" submenu "filled="f"" forums "and" <table width= "100%" border "0" cellspacing "0" cellpadding= "2" "
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://bbs.blueidea.com/forumdisplay.php?fid=1" and "JS & DWMX</a></td>
"Per
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://bbs.blueidea.com/forumdisplay.php?fid=2" "Developement</a></td>
"Per
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://bbs.blueidea.com/forumdisplay.php?fid=3" "Fireworks</a></td>
"Per
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://bbs.blueidea.com/forumdisplay.php?fid=4" "Flash</a></td>
"Per
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://bbs.blueidea.com/forumdisplay.php?fid=7" "Photoshop</a></td>
"Per
"ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1127825915"> </o:OLEObject>
"=
"Per
"Tr>
"Td formal" folder "onmouseup=" with (findObj ( 'others'). Style) {display=display== 'none'? '' : 'None'; this.style.backgroundImage=display!= 'none'? 'government payments are capped (e.gif)' : 'The government payments are capped (c.gif)'), "" Others</td>
"Per
"Tr>
"Td formal" submenu "filled="f"" others "," <table width= "100%" border "0" cellspacing "0" cellpadding= "2" "
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://www.blueidea.com/download/index.asp" "Download</a></td>
"Per
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://www.blueidea.com/tech/index.asp" "Documents</a></td>
"Per
"ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1127825915"> </o:OLEObject>
"=
"Per
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://www.blueidea.com/" "Homepage</a></td>
"Per
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://bbs.blueidea.com/" "BBS</a></td>
"Per
"ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1127825915"> </o:OLEObject>
"=
"Per
"Tr>
"Td formal" collapsedFolder "onmouseup=" with (findObj ( 'lexrus'). Style) {display=display== 'none'? '' : 'None'; this.style.backgroundImage=display!= 'none'? 'government payments are capped (e.gif)' : 'The government payments are capped (c.gif)'), "" LeXRus.com</td>
"Per
"Tr>
"Td formal" submenu "filled="f"" lexrus "Historic Significance of the Transitional Budget" display:none "" <table width= "100%" border "0" cellpadding= "2" cellspacing "0" "
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://www.lexrus.com/" "Homepage</a></td>
"Per
"Tr>
"Td formal" iefile "" <a style='mso-footnote-id:ftn1' "http://lexrus.com/blog/" "Blog</a></td>
"Per
"ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1127825915"> </o:OLEObject>
"=
"Per
"/table></td>
"Td width=" 1 "formal" ctrlbar "" <button formal "ctbutton" onfocus= "blur (); "onmouseup=" with (findObj ( 'menubar'). style) {display=display== 'none'? '' : 'none'; this.innerText=display== 'none'? ' "' : '" 'and "onmouseover=" this.style.backgroundColor=' #ffffff ' "onmouseout=" this.style.backgroundColor=' #eeeeee ' "" " "/button></td>
"Td formal" Explorer "and" <iframe name="_ftn1" "browserframe" filled="f" "browserframe" width= "100%" height "100%" scrolling= "auto" frameborder= "0", "</iframe></td "
"Per
"ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1127825915"> </o:OLEObject>
"/body>
"/html>

[/html]

In the example club.sohu.com/main.php
Say with any code, a document files can be opened




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com