Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disappearing navigator buttons

Status
Not open for further replies.
Jan 30, 2002
44
CA
HI there,

I'm new to web development, I've a default.asp which contain a frame that calls the navigator.asp.

code for default.asp
<html>
<HEAD><TITLE><%=title%></TITLE></HEAD>
<frameset rows=&quot;114,*&quot;>
<frame src=&quot;navigator.asp&quot;
name=&quot;navbar&quot;
marginwidth=0
marginheight=0
scrolling=&quot;no&quot;
noresize
frameborder=&quot;no&quot;>
<frame src=&quot;<%=botsrc%>&quot;
name=&quot;bottom&quot;
frameborder=&quot;no&quot;>
</frameset>
</html>

Naviagtor.asp code
<%@ Language=VBScript %>
<html>
<head>
<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;top.css&quot;>
<script LANGUAGE=&quot;javascript&quot; src=&quot;Selects.js&quot;>
</script>
</head>

<%
dim arrCategories
dim arrDocTypes
dim oIDEV
dim nRows
dim nRows2

Set oIDEV = CreateObject(&quot;iDev.clsiDev&quot;)
%>

<body onload=&quot;formSelects=document.frmSearch;NewCategory();&quot;>

<!--img src=&quot;images/green_hor.bmp&quot; class=&quot;topimg&quot;><img src=&quot;images/green_ver.bmp&quot; class=&quot;leftimg&quot;><img src=&quot;images/green_hor.bmp&quot; class=&quot;botimg&quot;-->

<a href=&quot;../idev&quot; target=&quot;_top&quot;>
<img name=&quot;logo&quot; src=&quot;images/Logo_28B.bmp&quot; border=&quot;0&quot; class=&quot;logo&quot; onmouseover=&quot;document.logo.src='images/Logo_B.bmp';&quot; onmouseout=&quot;document.logo.src='images/Logo_28B.bmp';&quot;>
</a>

<a href=&quot; target=&quot;newWindow&quot;>
<img name=&quot;CClogo&quot; src=&quot;images/ClaricaConnects.gif&quot; class=&quot;CClogo&quot; onmouseover=&quot;document.CClogo.src='images/ClaricaConnects.gif';&quot; onmouseout=&quot;document.CClogo.src='images/ClaricaConnects.gif';&quot;>
</a>


<%
dim name
dim arrName
dim oSimon
Set oSimon = CreateObject(&quot;SimonLookup.clsUsers&quot;)
name = oSimon.GetName(Request.ServerVariables(&quot;AUTH_USER&quot;))
arrName = split(name, &quot; &quot;)
%>
<span class=&quot;WelcomeText&quot;>
Welcome <%=arrName(0)%>
</span>



<form method=&quot;get&quot; action=&quot;search.asp&quot; target=&quot;bottom&quot; id=&quot;frmSearch&quot; name=&quot;frmSearch&quot;>

<table class=&quot;keyword&quot; cellspacing=&quot;0&quot; cellpadding=&quot;1&quot;>

<tr>
<td width=&quot;120&quot; align=&quot;right&quot; class=&quot;whiteText&quot;>
Keywords:
</td>
<td align=&quot;left&quot; colspan=&quot;3&quot;>
<input id=&quot;keyword&quot; name=&quot;keyword&quot; size=&quot;61&quot; class>
</td>
</tr>

<tr>
<td width=&quot;120&quot; align=&quot;right&quot; class=&quot;whiteText&quot;>
Category:
</td><td align=&quot;left&quot;>
<select style=&quot;WIDTH: 171px&quot; id=&quot;CatID&quot; name=&quot;CatID&quot; onChange=&quot;NewCategory();&quot;>
<option selected SC=&quot;-1&quot;>ALL</option>
<%
nRows= oIDEV.ListHeadings(&quot;Category&quot;, arrCategories)-1
for i=0 to nRows
Response.Write(&quot;<OPTION SC='&quot; & i & &quot;' value='&quot; & arrCategories(1,i) & &quot;'>&quot; & arrCategories(0,i))
next%>
</select>
</td>

<td class=&quot;whiteText&quot;>
&nbsp;Doc Type:
</td>
<td align=&quot;left&quot;>
<select style=&quot;WIDTH: 149px;&quot; name=&quot;DocTypeID&quot; id=&quot;DocTypeID&quot;>
<option selected>ALL</option>
<%
nRows = oIDEV.ListHeadings(&quot;DocType&quot;, arrDocTypes, &quot;name <> 'news'&quot;)-1
for i=0 to nRows
Response.Write(&quot;<OPTION value='&quot; & arrDocTypes(1,i) & &quot;'>&quot;&arrDocTypes(0,i)&&quot;</OPTION>&quot;)
next
%>
</select>
</td>
</tr>

<tr>
<td width=&quot;120&quot; align=&quot;right&quot; class=&quot;whiteText&quot;>
SubCategory:
</td>
<td>
<select class=&quot;SubCat&quot; style=&quot;display:block&quot; disabled id=&quot;SubCatX&quot; name=&quot;SubCatX&quot;>
<option selected>ALL</option>
</select>
<%
for i=0 to nRows
%>
<select class=&quot;SubCat&quot; id=&quot;SubCat<%=i%>&quot; name=&quot;SubCat<%=i%>&quot; onChange=&quot;NewSubCategory();&quot;>
<option selected value>ALL</option>
<% nRows2= oIDEV.ListHeadings(&quot;SubCategory&quot;, arrSubCategories,&quot;CatID='&quot;&arrCategories(1,i)&&quot;'&quot;)-1
for j=0 to nRows2
Response.Write(&quot;<OPTION value='&quot; & arrSubCategories(1,j) & &quot;'>&quot; & arrSubCategories(0,j) & &quot;</OPTION>&quot;)
next%>
</select>
<%
next
%>
</td>
<td>
&nbsp;
</td>
<td>
<input type=&quot;submit&quot; value=&quot;Search&quot; id=&quot;btnGo&quot; name=&quot;btnGo&quot;>&nbsp;&nbsp;
<input type=&quot;button&quot; value=&quot;Clear&quot; id=&quot;btnClear&quot; name=&quot;btnClear&quot; onclick=&quot;document.frmSearch.CatID.selectedIndex=0;document.frmSearch.DocTypeID.selectedIndex=0;document.frmSearch.keyword.value='';NewCategory();&quot;>
<input type=&quot;hidden&quot; name=&quot;SubCatID&quot; id=&quot;SubCatID&quot; value=&quot;<%=subcatID%>&quot;>
<input type=&quot;hidden&quot; name=&quot;sortBy&quot; id=&quot;SortBy&quot; value=&quot;Category&quot;>
</td>
</table>
</form>

<table class=&quot;botmenu&quot; cellspacing=&quot;8&quot;>
<tr>
<td class=&quot;menuItem&quot; bgcolor=&quot;#333366&quot; name=&quot;feed&quot; id=&quot;feed&quot; onmouseover=&quot;this.bgColor='#99CC66';&quot; onmouseout=&quot;this.bgColor='#333366';&quot;>
<a href=&quot;#&quot; onclick=&quot;this.href='mailto:ADHELP?subject=User%20Feedback%20for%20'+top.bottom.location.href;&quot; onmouseout=&quot;this.href='#'&quot; name=&quot;feedback&quot; id=&quot;feedback&quot;>
Feedback
</a>
</td>
<!--td class=&quot;menuItem&quot; bgcolor='#333366' name=&quot;add&quot; id=&quot;add&quot; onmouseover=&quot;this.bgColor='#99CC66';&quot; onmouseout=&quot;this.bgColor='#333366';&quot;><a href=&quot; target=&quot;bottom&quot;> Clarica Connects</a></td-->
<%if oIDEV.isAdmin(Request.ServerVariables(&quot;AUTH_USER&quot;),2) then%>

<td class=&quot;menuItem&quot; bgcolor=&quot;#333366&quot; name=&quot;adm&quot; id=&quot;adm&quot; onmouseover=&quot;this.bgColor='#99CC66';&quot; onmouseout=&quot;this.bgColor='#333366';&quot;>
<a href=&quot;Admin.asp&quot; target=&quot;bottom&quot;>
Admin
</a>
</td>
<%
end if
if oIDEV.isAdmin(Request.ServerVariables(&quot;AUTH_USER&quot;),1) then
%>
<td class=&quot;menuItem&quot; bgcolor=&quot;#333366&quot; name=&quot;add&quot; id=&quot;add&quot; onmouseover=&quot;this.bgColor='#99CC66';&quot; onmouseout=&quot;this.bgColor='#333366';&quot;>
<a href=&quot;editDoc.asp&quot; target=&quot;bottom&quot;>

Add Doc
</a>
</td>
<%end if%>
<td class=&quot;menuItem&quot; bgcolor=&quot;#333366&quot; name=&quot;doc&quot; id=&quot;doc&quot; onmouseover=&quot;this.bgColor='#99CC66';&quot; onmouseout=&quot;this.bgColor='#333366';&quot;>
<a href=&quot;baseaddr.asp&quot; target=&quot;bottom&quot;>
address
</a>
</td>
<td class=&quot;menuItem&quot; bgcolor=&quot;#333366&quot; name=&quot;doc&quot; id=&quot;doc&quot; onmouseover=&quot;this.bgColor='#99CC66';&quot; onmouseout=&quot;this.bgColor='#333366';&quot;>
<a href=&quot;doc/default.asp&quot; target=&quot;bottom&quot;>
Document
</a>
</td>
</tr>
</table>
</body>
</html>

All my onmouseover buttons are not appearing in my browser any more, but I can see them on my Quick view on Interdev.

Please help! Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top