Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

toggling

Posted on 2010-08-18
16
Medium Priority
?
1,272 Views
Last Modified: 2012-05-10
Hello,

I am trying to set up a link list and have it toggle open and close when there is a child/ren to show on click. The issue is I am not getting the plus/minus style to change on click. It is getting set as plus , but not changing on clcik. I think that the change to the code needs to be in not setting the first status as a static, but as a vaiable, but not sure how to change it.

Thanks for your help.
Class Collection
	Private m_next,m_len
	Private m_dic	
	
	Public Sub Add(Item)
		m_dic.Add "K" & m_next,Item
		m_next = m_next+1		
		m_len = m_len+1		
	End Sub
	
	Public Sub Clear
		m_dic.RemoveAll 
	End Sub
	
	Public Function Length
		Length=m_len
	End Function
	
	Public Default Function Item(Index)
		Dim tempItem,i
		For Each tempItem In m_dic.Items 
			If i=Index Then
				Set Item=tempItem
				Exit Function
			End If
			i=i+1
		Next	
	End Function
	
	Public Sub Remove(ByVal Index)
		Dim Item,i
		For Each Item In m_dic.Items 
			If i=Index Then
				m_dic.Remove(Item)
				m_len=m_len-1
				Exit Sub
			End If
			i=i+1
		Next			
	End Sub
	
	Private Sub Class_Initialize
		m_len=0
		Set m_dic = Server.CreateObject("Scripting.Dictionary")				
	End Sub
	
	Private Sub Class_Terminate
		Set m_dic = Nothing				
	End Sub
End Class

Class Node	
	Public Parent
	Public Text
	Public Href
	Public Target
	Public ToolTipText
	Public ChildNodes
	Public ImageUrl
	Public MenuID
	Public ID
	Public LinkID
	Public RestrictEdit
	
	
	Public Sub Init(strText,strHref,strToolTipText,strTarget,strMenuID,strLinkID,RestrictEdit)
		Text=strText
		Href=strHref
		ToolTipText=strToolTipText
		Target=strTarget
		MenuID= strMenuID
		LinkID= strLinkID
		RestrictEdit = strRestrictEdit
	End Sub
	Public Sub Add(objNode)
		ChildNodes.Add(objNode)
	End Sub
	
	Private Sub Class_Initialize
		Set ChildNodes = New Collection				
	End Sub
	
	Private Sub Class_Terminate
		Set ChildNodes = Nothing				
	End Sub
End Class

Class TreeView
	
	Private m_folder
	Public Color	
	Public Nodes
	Public DefaultTarget
	Public ID
	Public LinkID
	
	Public Property Let ImagesFolder(strFolder)
		m_folder=strFolder
	End Property
	Public Property Get ImagesFolder()
		ImagesFolder=m_folder	
	End Property
	
	Private Sub Class_Initialize
		Set Nodes = New Collection	
		Color="660099"
		m_folder= commonImages
	End Sub
	
	
	Private Sub Class_Terminate
		Set Nodes = Nothing				
	End Sub
	
	Public Function AddNode(Text)
		Dim tn 
		Set tn = new Node
		tn.Text=Text
		Nodes.Add(tn)
	End Function
	
	Public Function CreateNode(Text,Href,ToolTipText,Target,LinkID)
		Dim tn 
		Set tn = new Node
		Call tn.Init(Text,Href,ToolTipText,Target,LinkID)
		Set CreateNode=tn
	End Function
	Public Function CreateSimpleNode(Text)
		Dim tn 
		Set tn = new Node
		tn.Text = Text
		Set CreateSimpleNode=tn
	End Function
	

	Private Sub LoopThru(NodeList,Parent)
		
		Dim i,j,Node,blnHasChild,strStyle
	
		if isEditor = 1 then
		If Parent="0" Then
		'If LinkID="" Then
			Response.write("<a href=""javascript:popup('/links/code/add_first_link.asp?MenuID="&menuid&"')"" >Add Primary Link</a><br><br>")	
		End If	
		End If 
		
		
		If Parent<>"0" Then
		   	Out ("<ul class=tree id=""N"&LinkID&Parent & """>")
		Else
			Out ("<ul xstyle='margin-left:20px;' id=""N"&LinkID& Parent & """>")
		
		End If
		
		
		
	
		For i=0 To NodeList.Length-1
			Set Node = NodeList(i)		
			
			If (Node.ChildNodes.Length>0) Then 
				blnHasChild=True	
			Else
				blnHasChild=False
			End If
			If Node.ImageUrl="" Then
				strStyle=""
			Else
				strStyle=" style='list-style-image: url("& Node.ImageUrl &");'"
			End If

			if RestrictEdit = "on" then 
			RestrictEdit = ("&nbsp;<input src="&smallLock&" alt="&asmallLock&" type=""image""  />")
			else 
			RestrictEdit= ("<a href=""javascript:popup('"& siteRoot &"/links/code/link_editor.asp?LinkID=" &Node.MenuID&"')"" ><img src="&smallEdit&" alt="&smallEdit&" /></a>")
			end if 
			
			If blnHasChild Then
			Out("<li class=folder id=""N" &Node.LinkID & Parent & """><a class=treeview href=""javascript:toggle('N"&Node.LinkID & Parent & "_" & i & "','K"&Node.LinkID & Parent & i & z & "')"">" & Node.Text & "</a>")
	if isEditor = 1 then
			Out("&nbsp;<a href=""javascript:popup('"& siteRoot &"/links/code/add_editor.asp?LinkID=" &Node.MenuID&"')"" ><img src="&smallGreenplus&" alt="&asmallGreenplus&" /></a>&nbsp;/<a href=""javascript:popup('"& siteRoot &"/links/code/link_editor.asp?LinkID=" &Node.MenuID&"')"" ><img src="&smallEdit&" alt="&smallEdit&" /></a>/<form name=""formDelete""><input name=""nodeValue"" id=""nodeValue"" type=""hidden"" value="&Node.MenuID&" /><input type=""image"" name=""delete""  alt="&asmallRedx&"  src="&smallRedx&" value='" &Node.MenuID&"'></form>")
			end if 
			Else
				
				If Node.Target="" Then
					Node.Target=DefaultTarget
				End If
				Out("<li class=file><a class=treeview href=""" & Node.Href & """ target=""" & Node.Target & """  title=""" & Node.ToolTipText & """>"& Node.Text & "</a>")
				if isEditor = 1 then
			Out("&nbsp;<a href=""javascript:popup('"& siteRoot &"/links/code/add_editor.asp?LinkID=" &Node.MenuID&"')"" ><img src="&smallGreenplus&" alt="&asmallGreenplus&" /></a>&nbsp;/<a href=""javascript:popup('"& siteRoot &"/links/code/link_editor.asp?LinkID=" &Node.MenuID&"')"" ><img src="&smallEdit&" alt="&smallEdit&" /></a>/<form name=""formDelete""><input name=""nodeValue"" id=""nodeValue"" type=""hidden"" value="&Node.MenuID&" /><input type=""image"" name=""delete"" alt="&asmallRedx&" src="&smallRedx&" value='" &Node.MenuID&"'></form>")
			end if 
				
			end if 
		

		If blnHasChild Then		
				Call LoopThru(Node.ChildNodes,Parent & "_" & i )
	
				End If
			

 			If blnHasChild Then		
				Call LoopThru(Node.ChildNodes,Parent & "_" & i )
	
				End If
				
				'EO !!!!!!!!!! Editor Controls
			
						
			Out ("</li>")
		Next
		
		Out ("</ul>")
	
	End Sub
	
	Private Sub Out(s)
		
		Response.Write(s)
	End Sub

	Public Sub Display
	
		Out("<script>function toggle(id,p){var myChild = document.getElementById(id);if(myChild.style.display!='block'){myChild.style.display='block';document.getElementById(id).className='folderMinus';}else{myChild.style.display='none';document.getElementById(id).className='folder';}}</script>")		
		Out("<ul><li><style>ul.tree{display:none;margin-left:17px;}li.folder{list-style-image: url("&menu_plus&");}li.folderMinus{list-style-image: url("&menu_minus&");}li.file{list-style-image: url("&menu_dot&");}a.treeview{color:"& Color &";font-family:verdana;font-size:8pt;}a.treeview:link {text-decoration:none;}a.treeview:visited{text-decoration:none;}a.treeview:hover {text-decoration:underline;}</style></li></ul>")
		
		Call LoopThru(Nodes,0)		
	End Sub
	
	Public Sub LoadFromDB(dataConn,strMenuTable,strSiteID, strPositionID)
		Dim Conn 
		Set Conn = Server.CreateObject("ADODB.Connection")
		Conn.Open dataConn
		strOrder="LinkText"
		
		'Response.Write(strSiteID )
		'Replace(Replace(strSiteID),"{",""),"}",""))
	  If (Cstr(Request("delete")) <>  "") then  'name of button

nodeValue = Request.querystring("nodeValue")

set dlconx=Server.CreateObject("ADODB.Connection")
dlconx.Open = dataConn
SQL="DELETE FROM "&LinkList&" WHERE ParentID="&nodeValue 
dlconx.Execute SQL


set dlconn=Server.CreateObject("ADODB.Connection")
dlconn.Open = dataConn
SQL="DELETE FROM "&LinkList&" WHERE MenuID="&nodeValue
dlconn.Execute SQL
dlconx.Close
dlconn.Close

response.redirect(selfLink &"?deleted=true&message=The link has been deleted") 
Set dlconn = nothing 

end if 
	
	
	Dim RS,node,parentid,parentNode
		Set RS = Conn.Execute("SELECT "&strMenuTable&".LinkText,LinkURL , "&strMenuTable&".ToolTip, "&strMenuTable&".LinkTarget,MenuID,LinkID,RestrictEdit,ParentID FROM " & strMenuTable & " LEFT JOIN "&LinkPool&" ON "& strMenuTable &".LinkPoolID = "&LinkPool&".LinkPoolID   WHERE cast("&strMenuTable&".LinkID as varchar(50))='"& strSiteID &"' AND LinkActive ='on' ORDER BY  ParentID ASC ,"& strMenuTable &".LinkText ASC ,"& strMenuTable &".LinkOrder ASC")
		If Not RS.EOF Then
			Do While Not RS.EOF
			   	LinkID= RS("LinkID")
				parentid=RS("ParentID")
				RestrictEdit = RS("RestrictEdit")
								
				Dim child				 
				Set child = new Node
				Call child.Init(RS("LinkText"),RS("LinkURL"),RS("ToolTip"),RS("LinkTarget"),RS("MenuID"),RS("LinkID"),RS("RestrictEdit"))
				child.ID =Cstr(RS("MenuID"))
				
				If parentid=0 then
					Nodes.Add(child)
				Else
					Set parentNode = FindNode(Nodes,ParentID)
					If Not (parentNode is Nothing) Then
						parentNode.Add(child)
					End If
				End If
				RS.MoveNext		
			Loop
							
			RS.Close
		End If
		Set RS = Nothing
		Conn.Close 
		Set Conn = Nothing		
	End Sub
	
	Private Function FindNode (nodes,ID)
		dim i,tempNode		
		For i=0 To nodes.Length-1
			Set tempNode = nodes(i)
			if tempNode.Id=ID then
				Set FindNode=tempNode
				Exit Function
			Else
				If tempNode.ChildNodes.length>0 Then
					Set tempNode = FindNode(tempNode.ChildNodes,ID)
					If Not (tempNode is Nothing) Then
						Set FindNode=tempNode
						Exit Function
					End If
				end if
			End If				
		Next
		Set FindNode = Nothing			
	End Function
End Class 
%>

Open in new window

0
Comment
Question by:Upperdecker
  • 9
  • 7
16 Comments
 
LVL 11

Expert Comment

by:madgino
ID: 33508408
At first glance everything looks right, the code is at line 224, javascript toggle function, there you have:
document.getElementById(id).className='folderMinus'
which should do what you want.

So please check that in your css you have 'folderMinus' class and that it's working fine.
Seconf put an alert in toggle function before setting the classname, eventually displaying the id (e.g. alert(id)) to make sure that that code is triggered.

0
 

Author Comment

by:Upperdecker
ID: 33521243
The issue is that the + and - image doesn't change even though the list will expand and collapse. on line 179 the folder set the + image, but the line 224 doesn't change it. If I set line 179 to folderMinus the - image is set and doesn't change. I don't seem to have the right code on line 179 to get the desired behavior.

Thanks,
0
 
LVL 11

Expert Comment

by:madgino
ID: 33529120
I understand what you say but you can't do it on line 179 because that line is executed only once when you load the page and not when you expand/collapse the list.

When you expand/collapse the list the toggle function from line 224 is executed so there should be your fix.
So let's debug the toggle function:
var myChild = document.getElementById(id);
if(myChild.style.display!='block')
{
      myChild.style.display='block';
      document.getElementById(id).className='folderMinus';
}

There are 2 possible points of failure:
1: myChild to be null - aka the id passes to the function is incorrect
2: on the if line the condition can be false and the clas name is not changed.

Both can be verified by placing an alert to the function, see the code below.
If first alert is displaying [object] than the id is ok, otherwise it should display 'null'.
Then it should show plus/minus depending on the if condition.




Out("<script>function toggle(id,p){var myChild = document.getElementById(id);alert(myChild);if(myChild.style.display!='block'){myChild.style.display='block';document.getElementById(id).className='folderMinus';alert('minus');}else{myChild.style.display='none';document.getElementById(id).className='folder';alert('plus');}}</script>")

Open in new window

0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:Upperdecker
ID: 33532100
Thank you for your help. It is popping up the object alert then the correct plus or minus base on the status when clicked. So it is just not changing the plus or minus image. Since if I change the setting on line 179 to folderMinus it maintains the minus image where am I blocking (not allowing) the change of the image? Which "if" is the problem?
0
 

Author Comment

by:Upperdecker
ID: 33543443
Ready to give you the 500 points, but I need one more piece of info. I don't know the resolve to fix the "if" since the object showed the toggle pattern correctly.
0
 
LVL 11

Expert Comment

by:madgino
ID: 33545000
Well, based on what you say it's not the "if" so I'm out of ideas for now but I will try to make it work on my machine to see if I can debug it.
Can you post please the piece of code where you're using the class?
0
 

Author Comment

by:Upperdecker
ID: 33545752
Here is the code in the from the images.asp

menu_plus = "../images/common/max_plus.png"
menu_minus = "../images/common/min_plus.png"
menu_dot = "../images/common/dot.gif"

images are resident in the image folder.

but there is no class calling cls_edit_menu.asp it loads on page load and receives the links dynamically from the database in the webpart.

Thanks,

cls-edit-menu.docx
0
 
LVL 11

Expert Comment

by:madgino
ID: 33552258
I can't make it work properly and my tree output it's a total mess.
Please run the page on your computer and attach me the resulting html (from view source) so I can take a look if menu's ids are correctly generated.
0
 

Author Comment

by:Upperdecker
ID: 33586349
Sorry I've been tied up on other issues. Here is the output. Thanks,

<!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 >
<title>AMT Connection</title>

    <meta name="description" content="FedEx Express | AMT| AMTconnection | Lean " />
      <meta name="keywords" content="FedEx Express, connection, priority, amt" />
      <meta http-equiv="Pragma" content="no-cache" />
      <meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

 
<link href="App_Themes/3Column/master.css" rel="stylesheet" type="text/css" />

<script>
/*For Menus*/
function popup(URL) {
      var winwidth = 550;
      var winheight = 600;
      var winleft   = 450;
      var wintop    = 100;
mypopup = window.open(URL, "n", 'menubar=0,resizable=1,toolbar=0,status=0,scrollbars=yes,top=' + wintop + ',left=' + winleft + 'screenX=' + wintop + ',screenY=' + winleft + ',height=' + winheight + ',width=' + winwidth);
     
}
</script>
<script type="text/javascript">
function NewWindow()
{
 var UrlHolder = document.getElementById("LinkURL").value
 window.open(UrlHolder, "","height=500,width=450,status=yes,toolbar=no,menubar=no,location=no,resizable=yes,top=100,left=100,scrollbars=yes") }
  </script>
 
 <script type="text/JavaScript">  
   
 <!--  Show hides divs
 function show(id)  
 {  
      if (document.getElementById(id).style.display == 'none')  
      {  
           document.getElementById(id).style.display = '';  
      }  
 }  
 //-->  
   
 <!--  
 function hide(id)  
 {  
           document.getElementById(id).style.display = 'none';  
   
 }  
 //-->  
 </script>  
 
 <script language="javascript" type="text/javascript">
<!--
function popitup(url,name,height,width) {
      newwindow=window.open(url,name,height,width);
      if (window.focus) {newwindow.focus()}
      return false;
}
function popitin(url,name,height,width) {
      newwindow=window.load(url,name,height,width);
      if (window.focus) {newwindow.focus()}
      return false;
}

// -->
</script>

</head>
<body>
<div id="BG">
  <div id="container">

    <table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="bottom" class="Banner">
            IC value:          
                        <table width="940" border="0" cellspacing="0" cellpadding="0" height="80">
                            <tr>
                                <td rowspan="2" valign="bottom" align="left">
                                    <a href="default.asp"  style="border:0;"><img name="" src="http://amt.web.fedex.com/images/New_amt_logo.gif" width="356" height="59" alt="" /><!--<asp:Image ID="Image1" runat="server"  ImageUrl="~/" />--></a>
                                </td>

                                <td>
                                   <div id="welcome">
                                     <div id="login" align="right" style="float:right">
 
                <a href="http://dev-wgproxy.corp.fedex.com/wssosecure/default.asp" > Login</a>
                        
           </div>
             
                                    </div>
                                    <div id="Stock">
                                     <div style="float:right">
<span>

 
    <script src="http://apps.shareholder.com/irxml/irxml.aspx?COMPANYID=FDX&PIN=2c5591494e79b3b226af6492e85b9026&FUNCTION=StockQuote&OUTPUT=js2&TICKER=fdx"
        type="text/javascript"></script>

    <script src="http://apps.shareholder.com/irxml/js/irxml.functions.js" type="text/javascript"></script>

    <script type="text/javascript">        if (typeof irxmlstockquote != 'undefined' && irxmlstockquote.length > 0) {       // irxml times are in ET
            var irxmlrows = [{ "name": 'Stock Price', "field": 'irxmlfunctions.currencyFormat(ticker.lastprice, 2)' },
                                          { "name": 'Change', "field": 'irxmlfunctions.currencyFormatColored("green","","red",ticker.change)'}]; document.write('<div class="small">'); for (var r = 0; r < irxmlrows.length; r++) { document.write('&nbsp;' + irxmlrows[r].name + '&nbsp;'); for (var ix = 0; ix < irxmlstockquote.length; ix++) { var ticker = irxmlstockquote[ix]; document.write('&nbsp;' + eval(irxmlrows[r].field) + '&nbsp;'); } } document.write('&nbsp;as of &nbsp;' + irxmlfunctions.formatDate(new Date())); document.write('</div>');
        } else { document.write('Stock quote is not available at this time.'); }</script>

</span>
</div>  
                                    </div>
                                </td>

                            </tr>
                            <tr>
                                <td>
                                    <div id="BannerLinks">
                                        <a href="http://express.web.fedex.com/acmx/amtnewsalerts/_layouts/1033/MySubs.aspx"
    target="_blank">My News Alerts</a>&nbsp; | &nbsp; <a href="http://amt.aod.fedex.com"
        target="_parent">Home</a>&nbsp; | &nbsp; <a href="https://viphome.fedex.com/portal/index.jsp"
            target="_parent">Express Portal</a>&nbsp; | &nbsp; <a href="http://www.fedex.com"
                target="_parent">FedEx.com</a>&nbsp; | &nbsp; <a href="https://email.prod.fedex.com"
                    target="_blank">Web Mail</a>

   
                                    </div>
                                </td>
                            </tr>
                        </table>
                 
        </td>
      </tr>
      <tr>
        <td class="Search"><div id="intranet-search">
    <div class="widthgoogle">

      <strong>Postal/Zip Search:</strong><br />
        <form action="http://sales.fedex.com/ZipWeb/faces/zipexternal.jsp" method="post"
        name="zip" target="_blank" id="zip" style="margin-bottom: 0">
        <input name="search:postalCd" type="text" id="search:postalCd" value="" size="15" />
        <input id="search:selectCountryCd" name="search:selectCountryCd" value="US" type="hidden" />
        <input id="search:submitbutton" type="submit" name="search:submitbutton" value="Go" />
        <input type="hidden" name="com.sun.faces.VIEW" value="H4sIAAAAAAAAALVWS28cRRDuHT9jJ+DYiTHBVjaYl0U8Gz9ICBEithPHK+16jXdth+Rg9860vWPPzgw9Pd5JIqLkAgcuSJADkhEcOIYTPwAhDkiRgkQkLnBBCAkhAVdeB6junZ3HevyCeCWXu3u6uqq++qq67/6KmmyKkopZlm3HkJexQmzZYZouFygheUYdhTmUHFl+4kLvnaWkhBozqFUpabpKicHQ0cwqXscprpAaoxRfy2g2O5dBBxQd2/Y0LhOGOqt7dGyspOBAzViBDc3cErMZ6gqdMIXtUhZb8FnS1NfRTSS5FnjXxXdUnfJtuLcf9L3/Jf6gASXSqNHWrhPXQgg1VhpBttlcGQnZBPOm8KrF0HP8QNcLFkK3TAOCkUusrMtTINKG5bACcRnsbbVMm2F9QvW1B3bQzjksUG9c1NRTniqXh7y1oToXpToXn4w3MpfOE50oLM1I2Ttp2Nfp31nH9pRGXIZO7hBHVStnkCwxHNB71BYLE6ZjMHotBMhOB02Y5TI21HGHMdOA/Qdtp1jWWFHM3S399vUnTcqDbbYJpkopBszRmLUXYtZOg7HkViDNa6Qya5oMCHc4IJxHyaaWbz//onvp6wYkTaI23cTqJFaYSdPoACtRYpdMXXWtV84j/jtYaQXZAX8J8HoZziQ0xpszruUAua+KApB5eci54iogfO6dry5/2GEP6BJCgtWSw/VOcn77o1Zx4rNxJp8Kh1ghRWxZ8sTc7OzF6cLifPriwuJsLlfg2kOuZVl+vMKDcdPUCTbuJ+mtbzb++k1CiSuoaR3rDtRXQpgcRhYE0DZVyGYWx8fy6QlgRuq6ZgEKjs5sedXmR3YEEGZMBevk5h+HlzZO/fkLdJA0ai0BrIqpkgxqUap8EuUOvYV74eAV4s1b1jHVsMG8bvAP/BhCDEnE4EtnfTya/FGAVvdu0ErGoZXLzuSmOV7pC/n6NsKn7Vw8wkUHF8e46HPdgKV84TgXI1yMsiogNTOC0RbH8QSY0zUFM800Uu5gpVIZXIaPgw7VicERUq3637YhH/dHbf6oYUcYkBs6qo6TXsv+5MH8Tz/33bhU4yQgV+WFr5mAtD8TX115hhmZghohNI/XCX3t3qcvv7txPyvxFAd3hZfzNhv2qEInent45cFhPhG9sYguz3NnxjVDBW/TZUtnqBtYuUCKU9B7dELlWiMXnYzn6KXaip/R2GSJTm6J0h2NipFgWk1NaB4tq7TByAqhnT989PHvt996UeK3lldWtVoR+6adcpHQN+/e6Wt/7/u3Bda3ANqQidovMCVyejmyzc8JiqFI856IAVi3e3Dxq8znfRD7AudxzzSpJK+kZ1IzAtNkXqgkk8lg7376NeSXYp1fDXtyofc/VU+CL5+vv8r59CgXPa5bZypbU8qFioePXuWiwNBjUeYqtSsXOO3FXHcX+00olsHiAt8Vg+sJHUu4CMOkmFHLnvM37KPlJyqwB011Ts7LYzK0/bn89hmU9tbrdpWNx2OzwV+hkRiE5z27J1tfDPO3xaurlvvQ80lcPOHEd4YT7z25qtHAo3JT08wSVjLVUNcMXhoQ2woBhhkMXjp2BJBDEUDAs97+G1GMQppvRDIpXcptS7PoF36dimAfYuP4n7VormWJbcMDxXt68l0nNjUeax/bnnjd8u/9m8zyf2v7ZXqvwB2LAkcoNWkEu9N849O7x46iI1djXss9n/2d/3Htu3v+yyRwlA8GHhbmZ/j352MxP7uFy/8CZElrrF8PAAA=" />
        <input type="hidden" name="search" value="search" />
        </form>

    </div>
    <div class="widthgoogle">
        <strong>FedEx Intranet Search:</strong><br />
        <form action="http://gsa.gslb.fedex.com/search" method="GET" name="gs" target="_blank"
        style="margin-bottom: 0">
        <input type="text" name="q" size="15" maxlength="256" value="" />
        <input name="btnG" value="Go" type="submit" />
        <input type="hidden" name="entqr" value="3" />
        <input type="hidden" name="output" value="xml_no_dtd" />

        <input type="hidden" name="sort" value="date:D:L:d1" />
        <input type="hidden" name="ud" value="1" />
        <input type="hidden" name="lr" value="">
        <input type="hidden" name="num" value="10">
        <input type="hidden" name="client" value="fedex_search_frontend">
        <input type="hidden" name="proxystylesheet" value="fedex_search_frontend">
        </form>
    </div>
    <div id="keyword" class="widthgoogle">

        <strong>Keyword Entry:</strong><br />
        <form action="http://yeehah.prod.fedex.com/yeehah/Goto" method="get" name="kform"
        target="_blank" style="margin-bottom: 0">
        <input name="keyword" maxlength="15" width="100">
        <input class="" type="submit" value="Go" name="submit4">
        </form>
    </div>
    <div class="widthgoogle">
        <strong>Department Lookup:</strong><br />

        <form action="http://home.fedex.com/comail/dpt_lkup/deptlookup.do" method="post"
        name="deptSearchForm" target="_blank" style="margin-bottom: 0">
        <input type="text" class="textbox" name="dname" size="15" width="100" />
        <input type="submit" name="goButton" value="Go">
        <input type="hidden" name="Button" value="Go">
        </form>
    </div>
    <div class="widthgoogle">
        <strong>Employee Lookup:</strong><br />

        <img src="http://amt.aod.fedex.com/images/amt/employee-icon-only.gif" alt="icon"
            align="absbottom" />
        <form action="http://hrtopen.prod.fedex.com/pd/DedicatedPeopleDirectory/" method="post"
        name="PeopleDirLookupBox" target="_blank" style="margin-bottom: 0">
        <input type="text" name="Search" size="15" width="100" align="right">
        <input type="submit" name="goButton" value="Go">
        <input type="hidden" name="Button" value="Go">
        </form>
    </div>
</div>
</td>
      </tr>

      <tr>
        <td valign="top" class="Nav"><table width="940">
            <tr>
              <td width="200" valign="bottom"><span id="OpCoTitle"> FedEx Express </span> </td>
              <td width="740"><div id="NavBar">
                  <script language="JavaScript" type="text/javascript">
        //** Chrome Drop Down Menu- Author: Dynamic Drive (http://www.dynamicdrive.com)

        //** Updated: July 14th 06' to v2.0
        //1) Ability to "left", "center", or "right" align the menu items easily, just by modifying the CSS property "text-align".
        //2) Added an optional "swipe down" transitional effect for revealing the drop down menus.
        //3) Support for multiple Chrome menus on the same page.

        //** Updated: Nov 14th 06' to v2.01- added iframe shim technique

        //** Updated: July 23rd, 08 to v2.4
        //1) Main menu items now remain "selected" (CSS class "selected" applied) when user moves mouse into corresponding drop down menu.
        //2) Adds ability to specify arbitrary HTML that gets added to the end of each menu item that carries a drop down menu (ie: a down arrow image).
        //3) All event handlers added to the menu are now unobstrusive, allowing you to define your own "onmouseover" or "onclick" events on the menu items.
        //4) Fixed elusive JS error in FF that sometimes occurs when mouse quickly moves between main menu items and drop down menus


        var cssdropdown = {
            disappeardelay: 500, //set delay in miliseconds before menu disappears onmouseout
            dropdownindicator: '', //specify full HTML to add to end of each menu item with a drop down menu
            enableswipe: 1, //enable swipe effect? 1 for yes, 0 for no
            enableiframeshim: 1, //enable "iframe shim" in IE5.5/IE6? (1=yes, 0=no)

            //No need to edit beyond here////////////////////////

            dropmenuobj: null, asscmenuitem: null, domsupport: document.all || document.getElementById, standardbody: null, iframeshimadded: false, swipetimer: undefined, bottomclip: 0,

            getposOffset: function(what, offsettype) {
                var totaloffset = (offsettype == "left") ? what.offsetLeft : what.offsetTop;
                var parentEl = what.offsetParent;
                while (parentEl != null) {
                    totaloffset = (offsettype == "left") ? totaloffset + parentEl.offsetLeft : totaloffset + parentEl.offsetTop;
                    parentEl = parentEl.offsetParent;
                }
                return totaloffset;
            },

            swipeeffect: function() {
                if (this.bottomclip < parseInt(this.dropmenuobj.offsetHeight)) {
                    this.bottomclip += 10 + (this.bottomclip / 10) //unclip drop down menu visibility gradually
                    this.dropmenuobj.style.clip = "rect(0 auto " + this.bottomclip + "px 0)"
                }
                else
                    return
                this.swipetimer = setTimeout("cssdropdown.swipeeffect()", 10)
            },

            css: function(el, targetclass, action) {
                var needle = new RegExp("(^|\\s+)" + targetclass + "($|\\s+)", "ig")
                if (action == "check")
                    return needle.test(el.className)
                else if (action == "remove")
                    el.className = el.className.replace(needle, "")
                else if (action == "add" && !needle.test(el.className))
                    el.className += " " + targetclass
            },

            showhide: function(obj, e) {
                this.dropmenuobj.style.left = this.dropmenuobj.style.top = "-500px"
                if (this.enableswipe == 1) {
                    if (typeof this.swipetimer != "undefined")
                        clearTimeout(this.swipetimer)
                    obj.clip = "rect(0 auto 0 0)" //hide menu via clipping
                    this.bottomclip = 0
                    this.swipeeffect()
                }
                obj.visibility = "visible"
                this.css(this.asscmenuitem, "selected", "add")
            },

            clearbrowseredge: function(obj, whichedge) {
                var edgeoffset = 0
                if (whichedge == "rightedge") {
                    var windowedge = document.all && !window.opera ? this.standardbody.scrollLeft + this.standardbody.clientWidth - 15 : window.pageXOffset + window.innerWidth - 15
                    this.dropmenuobj.contentmeasure = this.dropmenuobj.offsetWidth
                    if (windowedge - this.dropmenuobj.x < this.dropmenuobj.contentmeasure)  //move menu to the left?
                        edgeoffset = this.dropmenuobj.contentmeasure - obj.offsetWidth
                }
                else {
                    var topedge = document.all && !window.opera ? this.standardbody.scrollTop : window.pageYOffset
                    var windowedge = document.all && !window.opera ? this.standardbody.scrollTop + this.standardbody.clientHeight - 15 : window.pageYOffset + window.innerHeight - 18
                    this.dropmenuobj.contentmeasure = this.dropmenuobj.offsetHeight
                    if (windowedge - this.dropmenuobj.y < this.dropmenuobj.contentmeasure) { //move up?
                        edgeoffset = this.dropmenuobj.contentmeasure + obj.offsetHeight
                        if ((this.dropmenuobj.y - topedge) < this.dropmenuobj.contentmeasure) //up no good either?
                            edgeoffset = this.dropmenuobj.y + obj.offsetHeight - topedge
                    }
                }
                return edgeoffset
            },

            dropit: function(obj, e, dropmenuID) {
                if (this.dropmenuobj != null) //hide previous menu
                    this.hidemenu() //hide menu
                this.clearhidemenu()
                this.dropmenuobj = document.getElementById(dropmenuID) //reference drop down menu
                this.asscmenuitem = obj //reference associated menu item
                this.showhide(this.dropmenuobj.style, e)
                this.dropmenuobj.x = this.getposOffset(obj, "left")
                this.dropmenuobj.y = this.getposOffset(obj, "top")
                this.dropmenuobj.style.left = this.dropmenuobj.x - this.clearbrowseredge(obj, "rightedge") + "px"
                this.dropmenuobj.style.top = this.dropmenuobj.y - this.clearbrowseredge(obj, "bottomedge") + obj.offsetHeight + 1 + "px"
                this.positionshim() //call iframe shim function
            },

            positionshim: function() { //display iframe shim function
                if (this.enableiframeshim && typeof this.shimobject != "undefined") {
                    if (this.dropmenuobj.style.visibility == "visible") {
                        this.shimobject.style.width = this.dropmenuobj.offsetWidth + "px"
                        this.shimobject.style.height = this.dropmenuobj.offsetHeight + "px"
                        this.shimobject.style.left = this.dropmenuobj.style.left
                        this.shimobject.style.top = this.dropmenuobj.style.top
                    }
                    this.shimobject.style.display = (this.dropmenuobj.style.visibility == "visible") ? "block" : "none"
                }
            },

            hideshim: function() {
                if (this.enableiframeshim && typeof this.shimobject != "undefined")
                    this.shimobject.style.display = 'none'
            },

            isContained: function(m, e) {
                var e = window.event || e
                var c = e.relatedTarget || ((e.type == "mouseover") ? e.fromElement : e.toElement)
                while (c && c != m) try { c = c.parentNode } catch (e) { c = m }
                if (c == m)
                    return true
                else
                    return false
            },

            dynamichide: function(m, e) {
                if (!this.isContained(m, e)) {
                    this.delayhidemenu()
                }
            },

            delayhidemenu: function() {
                this.delayhide = setTimeout("cssdropdown.hidemenu()", this.disappeardelay) //hide menu
            },

            hidemenu: function() {
                this.css(this.asscmenuitem, "selected", "remove")
                this.dropmenuobj.style.visibility = 'hidden'
                this.dropmenuobj.style.left = this.dropmenuobj.style.top = 0
                this.hideshim()
            },

            clearhidemenu: function() {
                if (this.delayhide != "undefined")
                    clearTimeout(this.delayhide)
            },

            addEvent: function(target, functionref, tasktype) {
                if (target.addEventListener)
                    target.addEventListener(tasktype, functionref, false);
                else if (target.attachEvent)
                    target.attachEvent('on' + tasktype, function() { return functionref.call(target, window.event) });
            },

            startchrome: function() {
                if (!this.domsupport)
                    return
                this.standardbody = (document.compatMode == "CSS1Compat") ? document.documentElement : document.body
                for (var ids = 0; ids < arguments.length; ids++) {
                    var menuitems = document.getElementById(arguments[ids]).getElementsByTagName("a")
                    for (var i = 0; i < menuitems.length; i++) {
                        if (menuitems[i].getAttribute("rel")) {
                            var relvalue = menuitems[i].getAttribute("rel")
                            var asscdropdownmenu = document.getElementById(relvalue)
                            this.addEvent(asscdropdownmenu, function() { cssdropdown.clearhidemenu() }, "mouseover")
                            this.addEvent(asscdropdownmenu, function(e) { cssdropdown.dynamichide(this, e) }, "mouseout")
                            this.addEvent(asscdropdownmenu, function() { cssdropdown.delayhidemenu() }, "click")
                            try {
                                menuitems[i].innerHTML = menuitems[i].innerHTML + " " + this.dropdownindicator
                            } catch (e) { }
                            this.addEvent(menuitems[i], function(e) { //show drop down menu when main menu items are mouse over-ed
                                if (!cssdropdown.isContained(this, e)) {
                                    var evtobj = window.event || e
                                    cssdropdown.dropit(this, evtobj, this.getAttribute("rel"))
                                }
                            }, "mouseover")
                            this.addEvent(menuitems[i], function(e) { cssdropdown.dynamichide(this, e) }, "mouseout") //hide drop down menu when main menu items are mouse out
                            this.addEvent(menuitems[i], function() { cssdropdown.delayhidemenu() }, "click") //hide drop down menu when main menu items are clicked on
                        }
                    } //end inner for
                } //end outer for
                if (window.createPopup && !window.XmlHttpRequest && !this.iframeshimadded) { //if IE5.5 to IE6, create iframe for iframe shim technique
                    document.write('<IFRAME id="iframeshim"  src="" style="display: none; left: 0; top: 0; z-index: 90; position: absolute; filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)" frameBorder="0" scrolling="no"></IFRAME>')
                    this.shimobject = document.getElementById("iframeshim") //reference iframe object
                    this.iframeshimadded = true
                }
            } //end startchrome

        }
    </script>
<div id="cfnavbar">

<!--/***********************************************
* Chrome CSS Drop Down Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/-->
<div id="chromemenu" class="chromestyle">
    <ul style="margin-bottom: 0pt;">
        <li><span><a id="leftcornerEx" rel="dropmenu1" href="#">Inside FedEx </a></span>
        </li>
        <li><a rel="dropmenu2" href="http://amt.aod.fedex.com" class="">Inside AMT </a></li>
        <li><a rel="dropmenu3" href="http://express.web.fedex.com/acmx/bulletinboards/default.aspx"
            class="">AMT BB </a></li>
        <li><a rel="" href="http://amt.aod.fedex.com/amtvideo/default.asp">AMT Video</a></li>

        <li><span><a id="rightcorner" rel="dropmenu5" href="#" class="">Faces &amp; Places </a>
        </span></li>
    </ul>
</div>
<!--1th drop down menu -->
<div style="width: 125px;" class="dropmenudiv" id="dropmenu1">
    <a href="http://home.fedex.com/corporate/">Corporate</a> <a href="http://home.fedex.com/express/">
        Express</a> <a href="http://groundlink.ground.fedex.com/">Ground</a> <a href="http://10.10.6.114/">

            Freight</a> <a href="http://home.fedex.com:32180/kinkos/">Office</a> <a href="http://iris.blue.fedex.com/">
                Custom Critical</a> <a href="http://home.fedex.com/tradenetworks/">Trade Networks</a>
    <a href="http://home.fedex.com/services/">Services</a>
</div>
<!--2st drop down menu -->
<div style="width: 175px; top: 0pt; left: 0pt; clip: rect(0pt, auto, 10px, 0pt);
    visibility: hidden;" class="dropmenudiv" id="dropmenu2">

    <a href="http://amt.aod.fedex.com/default.asp">AMTHome</a> <a href="http://amt.aod.fedex.com/Aircraft Mx/">
        Aircraft MX</a> <a target="_blank" href="http://express.web.fedex.com/acmx/bulletinboards/default.aspx">
            AMT Bulletin Boards</a> <a href="http://amt.aod.fedex.com/AMTSafety/">AMT Safety</a>
    <a href="http://amt.aod.fedex.com/AOD Tooling and Test Equipment/">AOD Tooling &amp;
        Test Equip.</a> <a href="http://amt.aod.fedex.com/Aircraft Mx/Avionics Bench/">Avionics
            Bench</a> <a href="http://amt.aod.fedex.com/AOD%20Continual%20Improvements/">Continual
                Improvement</a> <a href="http://amt.aod.fedex.com/aod/feedback/cost_savings/index.html">

                    Cost Saving Ideas</a> <a href="http://amt.aod.fedex.com/Aircraft Mx/East Mx/">East Mx</a>
    <a href="http://amt.aod.fedex.com/Aircraft Mx/Indianapolis Hangar/">Indy Mx</a>
    <a href="http://amt.aod.fedex.com/Aircraft Mx/international Mx/">International Mx
   
</a><a href="http://amt.aod.fedex.com/Aircraft Mx/Memphis 11_12 Hangar/">Memphis 11/12
Hangar</a> <a href="http://amt.aod.fedex.com/Aircraft Mx/Memphis Mx/">Memphis Line Mx</a>
<a href="http://amt.aod.fedex.com/Aircraft Mx/MOCC/">MOCC</a> <a href="http://amt.aod.fedex.com/mx/acmx/mtt/index.html">

MTT</a> <a href="http://amt.aod.fedex.com/Aircraft Mx/Powerplant/">Powerplant Shop</a>
<a href="http://amt.aod.fedex.com/Aircraft Mx/MachineShop/">Machine Shop</a> <a href="http://amt.aod.fedex.com/Aircraft Mx/Los Angeles Hangar/">
West Mx</a>
    </div>
    <!--3nd drop down menu -->
    <div style="width: 150px; top: 0pt; left: 0pt; clip: rect(0pt, auto, 114.359px, 0pt);
        visibility: hidden;" class="dropmenudiv" id="dropmenu3">
        <a target="_blank" href="http://express.web.fedex.com/acmx/bulletinboards/Lists/amtqa/AllItems.aspx">

            AMT Q&amp;A</a> <a target="_blank" href="http://express.web.fedex.com/acmx/bulletinboards/Lists/temp_assign/AllItems.aspx">
                AMT Temp Assign</a> <a target="_blank" href="http://express.web.fedex.com/acmx/bulletinboards/Lists/deDme/AllItems.aspx">
                    DE/DME BB</a> <a target="_blank" href="http://express.web.fedex.com/acmx/bulletinboards/Lists/acmxmaterialissues/AllItems.aspx">
                        ACMX Materiel Issues</a> <a target="_blank" href="http://express.web.fedex.com/acmx/bulletinboards/Lists/swapandshop/All%20Items.aspx">

                            Swap and Shop</a></div>
    <!--5th drop down menu -->
    <div style="width: 100px; top: 0pt; left: 0pt; clip: rect(0pt, auto, 114.359px, 0pt);
        visibility: hidden;" class="dropmenudiv" id="dropmenu5">
        <a href="http://amt.aod.fedex.com/Faces and Places/Anniversaries/">Anniversaries</a>
        <a href="http://amt.aod.fedex.com/Faces and Places/Bravo Zulu/">Bravo Zulu</a> <a
            href="http://amt.aod.fedex.com/Faces and Places/Retirements/">Retirements</a>
        <a href="http://amt.aod.fedex.com/Faces and Places/CommunitySupport/">Community</a>

        <a href="http://amt.aod.fedex.com/Faces and Places/Photos/">Photos</a>
    </div>

    <script type="text/javascript">
                                                cssdropdown.startchrome("chromemenu")
    </script>

</div>


                </div></td>
            </tr>

          </table></td>
      </tr>
      <tr>
        <td class="Body"><table width="940" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="215" class="LeftNav" height="800" valign="top">1ffccf52-5667-40d2-a006-fcec65b53def
<table border="0" width="100%">
      <tr>
      <td >

      <div id="logo" ></div>
      </td>
      </tr>
      <tr>
      <td>
      <span class="FedEx-purple">KeyMatch: </span>    </td>
      </tr>
      <tr>

      <td>
      <span class="FedEx-purple"><b>AMTHomesite</b></span>   </td>
      </tr>
      </table>

                <div id="AMT_sidebar_left">
                  1ffccf52-5667-40d2-a006-fcec65b53def<br /><br />
<a href=/wssosecure/linklog.asp?linkid={6A4E6EC3-16DE-4C13-88C1-108F053C4CE6}>Link Editor</a><br><br><a href=/wssosecure/linklog.asp?linkid={E67B4F40-6F6F-44F4-97A1-2D72E82F2403}>Template Registraton</a><br><br><a href=/wssosecure/linklog.asp?linkid={D6471FA1-E240-453B-8E7E-2FC6FB4D0B59}>Library Content</a><br><br><a href=/wssosecure/linklog.asp?linkid={2CED0C5D-D4DA-4CC4-AAB7-33647E8249FD}>Web Parts</a><br><br><a href=/wssosecure/linklog.asp?linkid={391E58BD-A88C-486F-AD5B-492631D93A7F}>List Editor</a><br><br><a href=/wssosecure/linklog.asp?linkid={35AA328E-6F1B-45C2-B1C9-5A7C1CE80A93}>News Item</a><br><br><a href=/wssosecure/linklog.asp?linkid={054B9CDA-61B9-4B63-95A8-63CFE2285181}>3ColunmSiteEditor</a><br><br><a href=/wssosecure/linklog.asp?linkid={DD7848ED-F8A8-456D-B0FE-6614752F2B14}>Page Registration</a><br><br><a href=/wssosecure/linklog.asp?linkid={E38431F5-652C-4C37-9018-8BAC13A5AC7D}>Library</a><br><br><a href=/wssosecure/linklog.asp?linkid={BE83603F-52D0-4D97-A0FE-BF136532652F}>West Home Page</a><br><br><a href=/wssosecure/linklog.asp?linkid={19CEA0FD-6628-4804-A5FD-C41BAB4D05D8}>Link Editor</a><br><br><a href=/wssosecure/linklog.asp?linkid={EDD968EA-5267-43CA-B89E-D2EF52D8D94F}>Link Editor</a><br><br><a href=/wssosecure/linklog.asp?linkid={D14CAAA2-13C3-4041-BB98-DDC4A3EFCE5A}>East Home Page</a><br><br><a href=/wssosecure/linklog.asp?linkid={FC6B725E-FC6F-4AA1-90E4-FAD3B6F44A26}>My Home</a><br><br><a href=/wssosecure/linklog.asp?linkid={1FFCCF52-5667-40D2-A006-FCEC65B53DEF}>AMTHomesite</a><br><br><a href=/wssosecure/linklog.asp?linkid={2FFCCF52-5667-40D2-A006-FCEC65B53DEF}>AMT Newsx</a><br><br>

<!-- Start Menu -->


        <div class="AMT_quicklinks" > 
 <table  width="200px" cellpadding="5px">
 <tr>
 <td bgcolor="#CCCCCC" style="color:#FFFFFF;padding:5px 5px 5px 5px;" >New Links
     </td></tr></table>

   <!--  EditorsApp_ Menu -->

       <script>function toggle(id,p){var myChild = document.getElementById(id);if(myChild.style.display!='block'){myChild.style.display='block';document.getElementById(id).className='folderMinus';}else{myChild.style.display='none';document.getElementById(id).className='folder';}}function togglex(id,p){var myParent = this.getElementById(id);if(this.style.display!='block'){this.getElementById(id).className='folderMinus';}else{this.getElementById(id).className='folder';}}</script><ul><li><style>ul.tree{display:none;margin-left:17px;}li.folder{list-style-image: url(http://amt.web.fedex.com/images/common/max_plus.png);}li.folderMinus{list-style-image: url(http://amt.web.fedex.com/images/common/min_plus.png);}li.file{list-style-image: url(http://amt.web.fedex.com/images/common/dot.gif);}a.treeview{color:660099;font-family:verdana;font-size:8pt;}a.treeview:link {text-decoration:none;}a.treeview:visited{text-decoration:none;}a.treeview:hover {text-decoration:underline;}</style></li></ul><ul  class=folder id="N5EB78ABA-6F8D-4827-880A-8306784CC6220"><li class=folder id="N5EB78ABA-6F8D-4827-880A-8306784CC6220"><a class=treeview href="javascript:toggle('N5EB78ABA-6F8D-4827-880A-8306784CC6220_0','K5EB78ABA-6F8D-4827-880A-8306784CC62200');">New News</a><ul   class=tree id="N5EB78ABA-6F8D-4827-880A-8306784CC6220_0"><li class=file><a class=treeview href="http://cnn.com" target="_default"  title="None">CNN</a></li><li class=file><a class=treeview href="http://homedepot.com" target="_new"  title="New">Home Depot</a></li></ul><ul   class=tree id="N5EB78ABA-6F8D-4827-880A-8306784CC6220_0"><li class=file><a class=treeview href="http://cnn.com" target="_default"  title="None">CNN</a></li><li class=file><a class=treeview href="http://homedepot.com" target="_new"  title="New">Home Depot</a></li></ul></li><li class=folder id="N5EB78ABA-6F8D-4827-880A-8306784CC6220"><a class=treeview href="javascript:toggle('N5EB78ABA-6F8D-4827-880A-8306784CC6220_1','K5EB78ABA-6F8D-4827-880A-8306784CC62201');">New NewsBBGG</a><ul   class=tree id="N5EB78ABA-6F8D-4827-880A-8306784CC6220_1"><li class=file><a class=treeview href="http://homedepot.com" target="_new"  title="New">Home Depot</a></li></ul><ul   class=tree id="N5EB78ABA-6F8D-4827-880A-8306784CC6220_1"><li class=file><a class=treeview href="http://homedepot.com" target="_new"  title="New">Home Depot</a></li></ul></li></ul>  
   
   </div>

       <!-- end Menu -->  

      <!-- end Menu -->  


              </div></td>
              <td width="470" valign="top"><div class="News">
               
                      <div id="breadcrumb">

</div>  <div class="NewsSection"> AMTHomesite </div>
                   AMT News <br /><br /> 1ffccf52-5667-40d2-a006-fcec65b53def
                </td>

              <td width="215" valign="top" class="RightNav"><div class="NewsSection">
1ffccf52-5667-40d2-a006-fcec65b53def                                                                              
</div>    
                               

              </td>
            </tr>
          </table></td>
      </tr>
      <tr>
        <td class="Footer" valign="bottom"><table width="940" border="0" cellspacing="0" cellpadding="0">
            <tr>

              <td width="208">&nbsp;</td>
              <td width="459">                          
                                 
                                   <p>Common images Path:http://amt.web.fedex.com/images/common<br />
                                        Page Edit Level:<br />
                                  Refurl: <br />
                                   Logged -In: 1<br />
                                 
                                   ACRUD:<br />
                                   WebpartEditorID:<br />

                                   EditOption: <br />
                                                      Is Site Owner: <br />                                
                                   SGUID(SiteGUID):<br />                                
                                                 VarDGUID(Page VarDGUID):1ffccf52-5667-40d2-a006-fcec65b53def<br />
                                   TGUID(TemplateGUID):3ffccf52-5667-40d2-a006-fcec65b53def<br />
                                   GUID: <br />
                                   UGUID(UserGUID):<br />
                                   UID:<br />    
                                   CN: <br />    
                                   sn: <br />    
                                   Postal Address: <br />    
                                   Tele: <br />  
                                   manager: <br />
                                   Department Number: <br />
                                   Managmentlevel: <br />
                                   Departmentname:<br />
                                   station ID: <br />  
                                  mail:  <br />  
                                   url: <br />  
                                   
                                          <br />  
                                   
                                          <br />  
                                   
                                    <br />  
                                   
                                    HeaderVar
                                                                       
                                    Page Data:
                                    isLoginRequired:0<br />

                                    0<br />
</p>

              </td>
              <td width="207"></td>
            </tr>
          </table></td>
      </tr>
    </table>

  </div>
</div>
</body>
</html>
0
 
LVL 11

Expert Comment

by:madgino
ID: 33587008
So now it's clear, you don't change the style on the parent but on the child so that's why the parent image doesn't change.
Here are the changes:

Line 149:
                     Out ("<ul class=tree id=""P"&LinkID&Parent & """>")

Line 179:
                  Out("<li class=folder id=""N" &Node.LinkID & Parent & """><a class=treeview href=""javascript:toggle('N"&Node.LinkID & Parent & "_" & i & "','N"&Node.LinkID & Parent & "')"">" & Node.Text & "</a>")

Line:224
            Out("<script>function toggle(id,p){var myChild = document.getElementById(id);if(myChild.style.display!='block'){myChild.style.display='block';document.getElementById(p).className='folderMinus';}else{myChild.style.display='none';document.getElementById(p).className='folder';}}</script>")            

On first is changed the id of the container as there are 2 objects with the same id in the page (the ul and li) and we need only the li element to have that id.
On second is changed the second toggle parameter to be the parent id.
On third is used the parent id to change the status.

If it's not working please post me the new html again (only the section between <!-- Start Menu -->
and <!-- End Menu -->)

0
 

Author Comment

by:Upperdecker
ID: 33591903
I tried the changes, but it stop functioning altogether. Here are the files before and after.
cls-menu-old.docx
0
 
LVL 11

Accepted Solution

by:
madgino earned 2000 total points
ID: 33605787
Small change, switching "P" with "N" in an if, here're the lines, also you have the change in the attachment:
page 6 line 5
page 6 line 8
cls-menu-new2.docx
0
 

Author Closing Comment

by:Upperdecker
ID: 33618597
Dilitengce gets it done. Thanks for see it through.
0
 
LVL 11

Expert Comment

by:madgino
ID: 33620707
thank you too
0
 

Author Comment

by:Upperdecker
ID: 33622309
I have a new post for almost the same thing. Please look at it http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_26456520.html
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question