Change A Frame Content
I have a restricted access, and 2 frames top and main.When I check that the user as access to the menu.asp, I use this code.Code:
Response.Redirect("menu.asp")
to change the content of the main frame, but I would like at the same time to chnage the content of my top frame, to make it become "topadmin.htm".I browsed the Internet, but I found nothing, Do someone knows how to do that?
View Replies
ADVERTISEMENT
I'm runnign Win Server 2003 and using the CDOSYS method of sending an email using ASP. Is it possible to change the content type of the email to plain text?...here is my code:
'Email code'
'Define the variables first'
Dim varName, varEmail
varName = "Cinema-WAP"
varEmail = "cinema@wap.com"
'THE MAIL OBJECT'
Dim ObjMail
Set ObjMail = Server.CreateObject("CDO.Message")
objMail.From = varName & " <" & varEmail & ">"
objMail.To = finalEmail
objMail.Subject = "Hi " & bookerName & ", your Cinema-WAP booking REF: " & finalRef
objMail.HTMLBody = "<ul>" &_
"<li>Film:</li> <b>" & finalMovie & "</b>" &_
"<li>Screen name:</li> <b>" & finalScreen & "</b>" &_
"<li>Number of seats booked:</li> <b>" & seatID & "</b>" &_
"<li>Date:</li> <b>" & finalShowing & "</b>" &_
"<li>Name:</li> <b>" & bookerName & "</b>" &_
"<li>Mobile phone:</li> <b>" & bookerTel & "</b>" &_
"<li>Email:</li> <b>" & finalEmail & "</b>" &_
"<li>Cost:</li> <b>£" & finalPrice & "0</b>" &_
"</ul><br>" &_
"Enjoy the film!</font>"
objMail.Send
Set objMail = Nothing
View Replies
View Related
I got a asp page that has right and left site frame. I got a form in the right side frame and i want it reload the left frame when the it got submited .The left side frame displays that content of newly sumitted form.I be happy if some one help reload this left page when a form got submitted in right side frame with out using any auto refresh.
View Replies
View Related
Is it possible to update one frame from another with ASP code? If so, how do I write the code?
View Replies
View Related
I built some Web site that includes 3 frames page. After a user
sign-off I want to redirect him/her to a single frame page. When I use
Response.Redirect command, I am getting the redirected page as a frame
and I still see 2 other frames.
How to get rid of other frames and display only a single frame?
View Replies
View Related
Using ASP I'd like to modify a string that contains HTML. I need to modify the content (the bit that the users see) but not the stuff in the tags. For example, if I had the following string Code:
View Replies
View Related
I have virtual directory where I run test.asp page with only this code inside:
<%Response.Write now()%>
As a result, if I go into the IE and browse for the test.asp page, I get :
1/22/2004 14:18:04
If I copy this page on some other(existing) virtual directory, I get as a
result 22.1.2004 14:19:06
If I create a new virtual directory and I copy the page there, I get :
1/22/2004 14:18:04
Seems like that IIS takes english date format even if my regional setting is
:
d.M.yyyy and I would like that date on the page is always like this:
22.1.2004 14:19:06
Where I can change this setting?
View Replies
View Related
I have two files index1.asp and index2.asp (Both contains html 3frames)
index2.asp have fame name like this(top,middle,bottom)
[B](in middle frame I'm showing grid1.asp file.)[/B]
I'm showing asp files in these 3 frames.
I'm getting database records and i want to pass "ID" of these database records in index2.asp(middle frame, grid1.asp)
And i want to get this "ID" in middle frame in index2.asp
How can i get?
this is the code
this is index1.asp
<%response.Write("<a href=""grid1.asp?strID="&rs.Fields("ID")&"""target=middle>"& a &"</a>")%>
and getting values of this ID
this is grid1.aspstrID=Request.Querystring("strID")
s = "SELECT * FROM Alphabit where ID="& strID
set rs = conn.execute(s)
it is showing me an error
"Syntax error (missing operator) in query expression 'ID='.
"
View Replies
View Related
I have a page with 2 frames, F1 and F2. On F2, I have 2 more subframes, F2A
and F2B. If I click a button on F2A, I want to open the page on the whole
F2. I use parent.frames.F2.location.href but it doesn't work.
View Replies
View Related
If you have a webpage with frames, say a footer frame that contains links,
how can you get out of the frame if you click on a link in the footer. The
it works now, is if I click on a link, the page loads inside the small
footer frame. I'd like it to just get rid of the frames completely when I
clickon the link. Any clue?
View Replies
View Related
I have a program created by Autodesk that uses alot of ASP & Javascript. The program uses an Ajax Viewer to pass a selection set through several files eventually making it to a file called "propertyctrl.aspx", inside that file, it passes to a file called "propertyctrl.templ", which once inside of it, just appears to be Javascripting. So, here is what it is supposed to do:
A user clicks a polygon inside of the ajax viewer. Once clicked the property dialogue box populates the "Name" field, and "Value" field from the properties of the object that was clicked. It looks a little like this: ....
The problem i have is the property dialogue box leaves alot to be desired. Its very basic, what i would like to do is somehow pass the values to another place and rework it so it looks more like this: ...
I have a feeling all i have to do is intercept the code at the property box window and change them to variables that i can then use in HTML, but i am not sure. Below you will find the code for both the propertyctrl.aspx and the propertyctrl.templ file...
View Replies
View Related
Is there a way in ASP to figure out if a page that is being loaded is being loaded into a frameset? I know I can code this in javascript,but I would prefer to only inject a chunk of 'onload' code in the body tag if infact the page is being loaded in a specific frameset.
View Replies
View Related
i have A page that show List of many field from database and i have frames : Top , Left and Main Page. I think it's tired to see the fiel with horizontal scrolliong too long. I wonder that the left frame can be resize to Left(Close to left) then i can open it again. But I have no idea to doing that.
View Replies
View Related
a way to redirect another frame like "response.redirect" in VBScript?
View Replies
View Related
I have a simple web app that consists of an index.asp page that contains in inline frame and several supporting .asp pages. none of the asp pages really include any asp code.
I am trying to set the session.timeout value in my global.asa under the session_onload sub. I am trying to set the timeout value to 1 minute just for testing purposes. In the end I would like the user to be redirected to a timeout page when he/she clicks on any of the links after the 1 minute timeout has been reached.
View Replies
View Related
The page has Top frame (input) and bottom frame (result). The input html page send input to asp to generate result to bottom frame. The page works. But i wish to refresh bottom frame once i click the submit button to see the result by the java function
<script language =javascript>
function button1_onclick()
{
window.parent.mainFrame.location.reload();
}
</script>
But the bottom frame does not reload. is my logic wrong? is it conflicted with form action or method?
View Replies
View Related
I am trying to redirect in a different frame when my users are logging in. I used this code, but this doesn't work properly. Well, the asp works fine but just don't display in the frame I want it to. Code:
View Replies
View Related
i am trying to make user login and password then when it log in it is go to diffrent page in the website this page is frame page whitch contain three frame
when i put the index page " the main page " in the
server.execute("index.asp") it is dispaly nothing
how can i make it dispale the frame
but when i put single page to the
server.execute("student.asp")' go to student page
it exucute right.
View Replies
View Related
I want to make a small (around 200x180) window that I can put somewhere on my site that reloads a website inside it, each time some one visits my site just like Iframe - infact you may even end up recomending Iframe. I also think I frame is the best way to do it, I found a great Iframe generator here.
After the window is made I want to cover the window with an image of the same size, so that people don't see the website underneath, inside the window but the image. How can I do this?At another forum, they kept asking me why I want to do this etc.
View Replies
View Related
i want to know abt implementing the concept of frames in asp.net because i am in need to present my works in separate files with the help of frames.
View Replies
View Related
I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page. Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.
View Replies
View Related
There are two frames in an asp page.When a frame loads,I submit a form to the other frame in onload event.Sometimes the code works fine, but sometimes it will submit to a new window. Why does it happen? how to resolve it?
View Replies
View Related
I'm trying to pass 2 simple values (an integer and a string) from a start page (start.aspx) to an aspx contained within a frameset (say destpage.aspx).
I can server.transfer the values directly to destpage.aspx but I'm struggling to work out how pass the form values to destpage.aspx when it is contained in a frameset.
Is there an easier way? Is it possible to pass the values to an aspx that defines the frameset then pass to destpage.aspx?
View Replies
View Related
I have a page(1) inside a frameset. The frameset opens from another page(2). I want when I change something on page 1(inside the frameset), the page 1 to be reloaded.
View Replies
View Related
I'm trying to build a page which has two frame, one is hidden and the other main. The hidden frame will have all the neccessary recordset and variables.
and main has forms and functions which should retreive data from hidden frame to use it on the form. I noticed it's possible using javascript but i'm building page with vbscript and have not found a way to do it.
The reason I'm trying to do this is to reduce down the server traffic. The page will get local variable rather than accessing database everytime user request some values.
If this is not possible, can someone tell me how to store recordset into session variable? so it can be used across the page.
View Replies
View Related
We need to display certain websites inside a frame on our website and I use the response.redirect command in VBScript.
The problem is that some websites take over the whole browser, how can I stop this and force a website to be loaded inside a frame?
View Replies
View Related
I have an application that displays messages that are stored in SQL server
The application uses frames
In the vertical frame along the left side of the page, I enumerate the
current messages. This frame is named "SELECT"
Clicking on a message subject causes
In the main frame, named "BODY" I display the message that is retrieved from
SQL Server in a textarea.
When a message is displayed, I also display a prompt ro delete the message.
The delete prompt works just fine except that I need a way to update the
enumeration of messages in the "SELECT" frame.
Is there a practical way to force the page in the select frame to refresh
itself when I delete a record?
View Replies
View Related
I have a pop-up window that allows editing of items displayed in a frame on the parent page. When the user edits or deletes an item in the pop-up window, I'd like it to automatically refresh the frame in the parent page so that the change is more real time and the user doesn't have to refresh to see their changes. Any ideas on how to accomplish this?
View Replies
View Related
Is there a way that I can refresh a particular frame on the ASP page from the server side ...
View Replies
View Related
how to redirect my asp page, from a _top frame to the _parent frame?
View Replies
View Related
What do I need to do to write the URLs of the two identical iFrames in the textarea of the parent frame? Well, the iFrames are the same asp file, but the three listboxes in each iFrame make their URLs different. The problem is that upon selecting both iFrames listboxes, the 2nd iFrame cancels out the URL of the first iFrame written on the parent's frame.
View Replies
View Related
I would like to split my gui into 3 parts. First 2 row and then at the second row, into 2 column. How do i code so that the button form column 1 can result in the change of page in column 2.
View Replies
View Related
Currenly i am developing a realtime chat system for my client so as the chat is to be logged what i do is to first write the data to DB then 'Response.Write' to my chat window and use meta refresh to refresh my text frame.
when the conversation goes way beyond the frame size the scroll bar shows up and when refreshed the 'TOP' part ie from begenning of the frame is shown. is there any way by which i can avoid this problem.
View Replies
View Related