• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

JPace
#1 Posted : Tuesday, October 3, 2006 11:03:33 AM(UTC)
JPace

Rank: Member

Joined: 4/19/2005(UTC)
Posts: 51

Hey all,
We've been creating a Custom Footer Menu and we're running into issues in IE. Although Firefox handles this exception we get an general error message upon searching in IE. Anyone else have this problem or have any ideas on how to Debug? We know its Footer related because upon reinsertion of the defualt footer.aspx it works again proper in IE. We're having our coding checked we built the footer twice though once in strict HTML and second in ASP both give the same IE error.
thanks

Bagstore
Jason Pace
Cliff
#2 Posted : Monday, October 9, 2006 3:05:48 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

What type of menu? Can you post the code you're using in the footer?
JPace
#3 Posted : Monday, October 9, 2006 3:14:55 PM(UTC)
JPace

Rank: Member

Joined: 4/19/2005(UTC)
Posts: 51

Sure thing.. Here it is. On the same note we have added just a simple picture to footer and we get the same effect. I don't think it is my html but I could be wrong.



Thanks, Jason



<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Footer.ascx.vb" Inherits="BVModules_Themes_TekGear_Blue_Footer" %>
<%@ Register Src="~/BVModules/Controls/PoweredBy.ascx" TagName="PoweredBy" TagPrefix="uc1" %>
<div id="footer">

<div id="brandingarea2">
<HR style="COLOR: #cccccc">

<TABLE height=186 cellSpacing=0 cellPadding=0 width=759 align=center
border=0>
<TBODY>
<TR>
<TD width=161 height=148><IMG id=footerhelpnav height=187
alt="Bagstore.com Help"
src="/Images/MainPage/helpset.jpg"
width=161 useMap=#helpmap border=0 name=footerhelpnav></TD>
<TD>
<TABLE height=187 cellSpacing=0 cellPadding=0 width=589 border=0>
<TBODY>
<TR>
<TD colSpan=2 height=11><IMG height=11
src="/Images/MainPage/footercomp_NEW_r1_c1.jpg"
width=600></TD></TR>
<TR>
<TD vAlign=top align=left width=579
background="/Images/MainPage/footercomp_NEW_r2_c31.jpg"
bgColor=#e1e1e1>
<TABLE cellSpacing=0 cellPadding=0 width=582 border=0>
<TBODY>
<TR>
<TD width=171 bgColor=#f5f5f5>
<DIV class=style4 align=center><IMG height=20
alt="BagStore.Com Newsletter"
src="/Images/MainPage/Footer_Newsletter.jpg"
width=171></DIV></TD>
<TD width=1 rowSpan=2><IMG height=142
src="/Images/MainPage/footercomp_NEW_r2_c11.jpg"
width=1></TD>
<TD width=147 bgColor=#f5f5f5><IMG height=20
alt="Why Shop with BagStore.com?"
src="/Images/MainPage/Footer_BagStore.jpg"
width=147></TD>
<TD width=1 rowSpan=2><IMG height=142
src="/Images/MainPage/footercomp_NEW_r2_c11.jpg"
width=1></TD>
<TD width=143 bgColor=#f5f5f5><IMG height=20
alt="Luggage Brands"
src="/Images/MainPage/Footer_Luggage.jpg"
width=143></TD>
<TD width=1 rowSpan=2><IMG height=142
src="/Images/MainPage/footercomp_NEW_r2_c11.jpg"
width=1></TD>
<TD width=135 bgColor=#f5f5f5><IMG height=20 alt=Links
src="/Images/MainPage/Footer_Links.jpg"
width=135></TD></TR>
<TR>
<TD class=footercomp_NEW vAlign=top bgColor=#e1e1e1>Sign
up and get information, discounts, and coupons! <BR><BR>
<FORM style="MARGIN: 0px" name=ccoptin
action=http://ccprod.roving.com/roving/d.jsp method=post
target=_blank>
<TABLE cellSpacing=0 cellPadding=0 width="160"
border=0>
<TBODY>
<TR>
<TD align=left width="125"><LABEL><INPUT
class=formSmall onFocus="value='';" type=textfield
size=15 [email protected] name=ea> <INPUT
type=hidden value=1011118720089 name=m> <INPUT
type=hidden value=oi name=p> </LABEL></TD>
<TD width="35" style="PADDING-LEFT: 5px"><INPUT type=image
src="/BVModules/Themes/BagStore/Images/Buttons/GoMailingList.gif"
name=imageField></TD></TR>
<TR>
<TD> </TD>
<TD> </TD></TR></TBODY></TABLE></FORM></TD>
<TD class=footercomp_NEW vAlign=top
bgColor=#e1e1e1>Reliable Service<BR>Expert
Help<BR>Name Brand Products
<BR><A class=footercomp_NEW
href="mailto:[email protected]"
alt="Email Us"><AREA shape=RECT
coords=9,77,143,94 href="http://bagstore.com/Luggage_Guide"
alt="Luggage Guide">
<AREA shape=RECT
alt="Airline Bag Regulations" coords=9,94,150,113
href="http://bagstore.com/Airline_Bag_Regulations">
<AREA shape=RECT
alt="Luggage Repair" coords=8,128,145,144
href="http://bagstore.com/Luggage_Repair">
<AREA
shape=RECT alt="FAQ Links" coords=8,143,145,161
href="http://bagstore.com/Shipping_Policy">
<area shape="rect" coords="9,112,154,129" href="http://bagstore.com/Foreign_Electricity" alt="Foreign Electricity Guide"><area shape="rect" coords="150,128,152,130" href="#Foreign_Electricity" alt="Foreign Electricity Guide">
</MAP></TD></TR>
<center>
<div id="footernavmenu">
<ul>
<li>
<asp:HyperLink ID="lnkHome" runat="server" NavigateUrl="~/Default.aspx" /></li>
<li>
<asp:HyperLink ID="lnkSearch" runat="server" NavigateUrl="~/Search.aspx" /></li>
<li>
<asp:HyperLink ID="lnkSiteMap" runat="server" NavigateUrl="~/Sitemap.aspx" />
</li>
</ul>
</center>
</div>
Jason Pace
Cliff
#4 Posted : Monday, October 9, 2006 3:48:18 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Your HTML is partying like it's 1994, so that could be part of your problem. Image maps, using tables for layouts, tons of missing quotes for attributes, a rogue </center> tag, etc. The real issue is probably the FORM you have in that control. These .Net pages are wrapped in forms, so you can't place a form within another form. That email subscription section should be built in .Net.

Have you added any custom code to the footer.ascx.vb file?
Andy Miller
#5 Posted : Monday, October 9, 2006 4:26:22 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Pace,


Don't embed a &lt;form&gt; in your footer control. ASP.NET only allows one form on the page and all BV pages already have one (actually yours would wind up inside of the page form, which can be even worse).



You can have form fields in the footer and you can add code to footer.ascx.vb to handle any buttons, etc. that can be clicked...just don't use the &lt;form&gt;&lt;/form&gt; tags.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
JPace
#6 Posted : Monday, October 9, 2006 5:16:42 PM(UTC)
JPace

Rank: Member

Joined: 4/19/2005(UTC)
Posts: 51

Thanks Guys,
Fixed the &lt;Form&gt; bit and certain enough it works, although we ran into another bit that the ASP did not agree with. We have a Java script drop down and that gives us the same error. How does 2.0 handle .js files and the scripting? Is there a certain way to be adding this as well?
thanks
Jason
Jason Pace
JPace
#7 Posted : Monday, October 9, 2006 5:28:12 PM(UTC)
JPace

Rank: Member

Joined: 4/19/2005(UTC)
Posts: 51

This is script from our menu bar we had to remove to get it to work.


&lt;TABLE height=392 cellSpacing=0 cellPadding=0 width="160"
border=0&gt;&lt;TBODY&gt;

&lt;TR&gt;
&lt;TD style="PADDING-LEFT: 5px" bgColor=#E1E1E1 width=140&gt;
[color=red>&lt;script]</b>" SRC="[/color]<a target="_blank" href='http://www.bagstore.com/jumpmenu2.js">&lt;/script'>[color=red>http://www.bagstore.com/jumpmenu2.js"&gt;&lt;/script</FONT></A><FONT]&gt;[/color]
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD background="Images/MainPage/browseproduct_r1_c1.gif" style="PADDING-TOP: 0px" height=40 class="style25"&gt;BROWSE PRODUCTS &lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD
background="Images/MainPage/browseproduct_r10_c1.jpg"
height=465&gt;
&lt;DIV id=menuprod&gt;&lt;A
href="/Departments/Luggage.aspx"&gt;Luggage&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Luggage/Carryon-Luggage.aspx"&gt;Carryon Luggage&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Luggage/Garment-Bags.aspx"&gt;Garment Bags&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Luggage/Hardside-Luggage.aspx"&gt;Hardside Luggage&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Luggage/Luggage-Sets.aspx"&gt;Luggage Sets&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Luggage/Lightweight-Luggage.aspx"&gt;Lightweight Luggage&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Luggage/Wheeled-Luggage.aspx"&gt;Wheeled Luggage&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Luggage.aspx"&gt;more....&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprod&gt;&lt;A
href="/Departments/Duffels-and-Backpacks.aspx"&gt;Duffels &amp;amp; Backpacks&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Duffels-and-Backpacks/Rolling-Duffel-Bags.aspx"&gt;Rolling Duffel Bags&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Duffels-and-Backpacks/Laptop-Backpacks.aspx"&gt;Laptop Backpacks&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Duffels-and-Backpacks/School-Backpacks.aspx"&gt;School Backpacks&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Duffels-and-Backpacks.aspx"&gt;more....&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprod&gt;&lt;A
href="/Departments/Briefcases-and-Computer-Bags.aspx"&gt;Briefcases &amp;amp; Computer Bags&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Briefcases-and-Computer-Bags/Briefcases-for-Women.aspx"&gt;Briefcases for Women&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Briefcases-and-Computer-Bags/Leather-Briefcases.aspx"&gt;Leather Briefcases&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Briefcases-and-Computer-Bags/Laptop-Cases.aspx"&gt;Laptop Cases&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Briefcases-and-Computer-Bags.aspx"&gt;more....&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprod&gt;&lt;A
href="/Departments/Travel-Accessories.aspx"&gt;Travel Accessories&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Travel-Accessories/Luggage-Locks.aspx"&gt;Luggage Locks&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Travel-Accessories/Luggage-Tags.aspx"&gt;Luggage Tags&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Travel-Accessories/Travel-Pillows.aspx"&gt;Travel Pillows&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Travel-Accessories.aspx"&gt;more....&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprod&gt;&lt;A
href="/Departments/Wallets.aspx"&gt;Wallets&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Wallets/Mens-Wallets.aspx"&gt;Mens Wallets&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Wallets/Travel-Wallets.aspx"&gt;Travel Wallets&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Wallets/Womens-Wallets.aspx"&gt;Womens Wallets&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprodsub&gt;&lt;A
href="/Departments/Wallets.aspx"&gt;more....&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV id=menuprod&gt;&lt;A
href="/Departments/Sale-and-Clearance-Items.aspx"&gt;&lt;strong&gt;&lt;span class="style34"&gt;Sale and Clearance Items &lt;/span&gt;&lt;/strong&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height=7&gt;&lt;IMG height=7
src="Images/MainPage/browseproduct_r9_c1.jpg"
width=161&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height=5&gt;&lt;IMG height=5
src="Images/MainPage/browseproduct_r16_c1.gif"
width=161&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;/TBODY&gt;&lt;/TABLE&gt;
Jason Pace
Andy Miller
#8 Posted : Monday, October 9, 2006 8:51:10 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Hmmm...that should have worked. There is no conflict between javascript (on the client) and ASP.NET. Indeed ASP.NET does exactly what you are doing for many client side features.

The only "gotcha" to watch for is element ID's but that does not seem likely with the code you posted.

If you load the site in FireFox and get the error you can display the JavaScript Console (Tools > JavaScript Console) to see what the error is.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
JPace
#9 Posted : Tuesday, October 10, 2006 11:27:16 AM(UTC)
JPace

Rank: Member

Joined: 4/19/2005(UTC)
Posts: 51

OK tried and no js error any other thoughts?
~pete
Jason Pace
Andy Miller
#10 Posted : Tuesday, October 10, 2006 1:00:59 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
I guess I should have read the js file before I responded. It inserts a small form into the document. You should not do this on ASP.NET sites. I realize there are a lot of javascripts out there that use small forms embedded in the page to accomplish some task. Basically you can't use them on ASP.NET sites. If jumpmenu.js is a 3rd party app, then find a replacement that does not use forms. If you wrote jumpmenu.js then find some other way of doing what you want.

As an aside it looks like you can just remove the <form name=jumpmenu> and </form> tags from the script.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
JPace
#11 Posted : Tuesday, October 10, 2006 2:23:59 PM(UTC)
JPace

Rank: Member

Joined: 4/19/2005(UTC)
Posts: 51

Thanks for the help Andy we rewrote it without the form and it works perfectly now. We didn't think it would affect it since it wasn't on the same page. We are learning and thanks for being patient.

Jason
Jason Pace
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012