I have a problem with #include statement. I want to include one HTML(.htm) file into another one but it doesn't work.
For example:
<<Main.htm>>
<HTML>
<HEAD>
<TITLE>Main.htm</TITLE>
</HEAD>
<BODY>
<!--#include file="inc.htm" -->
</BODY>
</HTML>
and
<<inc.htm>>
<tr>...
it actually gives two types of error, different every time the website accesses the database. One of them - Unspecified error (0x80004005). Another one - without error number but just saying that - the database is being accessed by another source.
<tr><td>
<% for i = 1 to rs.PageCount %>
<a href="product.asp?subcategid=<%=strSubcategoryID%>&subcategoryName=<%=strSubcategoryName%>&pg=<%=i%>"><%=i%></a>
<%next%></td></tr>
this code works well and displays products and number of pages (underlined links to them). But how can I...
Sorry that it wasn't clear enough. Actually there is no problem with frames and links. There is a page called "administrator menu" and it doesn't linked to any page in my program (it is located in wwwroot folder). To get to that page I must call that page in the URL address bar, like...
there is no code (href) for that page that I want to load. It comes from http address. But it comes as a separate page and displayed in maximized mode. Is there some coding like document.location (or state) in <script> that can direct the page into desired frame?
All the pages have <form name="form" action="go.asp" target="main">. So when I click links anywhere on the page it works fine and loads desired page in the "main" frame. But there is one page(located somewhere in the root directory) that I want to load by...
Could someboby help me with the following problem. I have a frame set where all the pages loading in the main frame called "main" and that works fine. All the pages loading using ACTION and TARGET attributes. But there is a particular page that loads not by using 'action' and 'target'...
I have got the following problem. When a user logs in and enters name, and if the login successful, the welcome page is displayed in the main frame. Something like : "Welcome myName!". But also there is another frame at the top of the page (or wherever). So when login is validated, the...
Could somebody help me with the following problem. When I select a particular equipment, the catalogue containing products is dynamically generated. The products belong to that particular equipment. The code for that is :
<%Do while not rsProduct.EOF%>
<TR><TD><IMG...
When I click the button in left frame, I want the page to load in the main frame. How can I write the code for button to specify the target frame.
Sub cmdButton_onClick()
location.href "main.html"
what about target frame??
End sub
When I populate list box with server-side scripts like:
<select size="1" name="selSport">
<% Do While Not rsCategory.EOF%>
<option <%Response.Write(strSelected)%>
value=<% =rsCategory("CategoryID") %>><% =rsCategory ("CategoryName")%>
<%...
Everything is working well. When I resubmit the page to itself, the first list box displays the first item, but how could it display the item that was selected before?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.