IFRAME - Refresh
It's me again asking about IFRAME.
With UncleWobby, Steven Burn and Roland Hall's help, I was able to create a
proper IFRAME section on my page.
Now I come to the next problem.
I'd like to be able to:
- manually refresh the IFRAME, and
- set a time interval to auto refresh the IFRAME
I've got <META http-equiv="REFRESH" content="10"> in the child page (src of IFRAME) which refreshes the page in IFRAME every 10 seconds. Is there anyway I can
- change the refresh interval value, and;
- set the page in IFRAME to auto refresh or not;
from the parent page but without submitting a form from the parent page (to avoid refreshing the parent page)?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Iframe Refresh
i have a webpage with two sections. the first : is a list of categories the second: is an Iframe. when clicking a category the iframe refreshes and showes me the subcats of that category. when i add a new category, and refresh my page, the iframe still shows me the old subcats... till i right click and refresh the iframe seperatly...
Frame Doesn't Refresh Properly When Manually Refresh Page
I have a page with 2 frames. The first one has a link that loads a page in the second frame. This page has a button on it. When the button is hit, the page does some processing and loads another page in the same frame (the second). I use ASP and response.redirect or javascript in the onclick event of the button to do the redirection. When I refresh the page by clicking the button on the browser (IE), the second frame becomes empty. Please note that the src attribute of the frame is not set. If I set the src attribute of the second frame to some asp page and then navigate to another page inside the same frame, when I refresh the page, the initial asp page is loaded in the frame regardless of the asp page currently loaded into the frame. It seems that when you refresh the page, the frames are reinitialized no matter what pages are currently loaded in the frames. I solved the problem by redirecting to the main page in the top frame, passing some parameters and resetting the src of the frame to the desired asp page. Thus, when the page is refreshed, all the frames are properly refreshed too.
Using Refresh Button On The Menu Bar To Refresh Two Frames.
I have an ASP site that uses frames two frames. (yes I should be using include files, but we started ou using frames so we have been stuck with frames.) When I get a page expired warning (I am not caching pages) and a user clicks refresh from the menu bar the user is taken back to the home page! The home page is a frame with a top frame that is repeated on each subsequent asp pages The lower half of the home page is a login screen. After login the next page is shown in the lower half of the frame. Refreshing within the individual frames is ok. But when the Refresh from the menu bar is used the home page is returned any ideas why?
Using Iframe In Asp
I want to use an iframe on a asp page. My code is as follows: <IFRAME SRC="www.mysite.com/page.php" WIDTH=2 HEIGHT=2> </IFRAME> Would that work fine?
IFRAME
I'm intending to use a IFRAME in one of my ASP page. What I'd like to know is how to prevent user from directly accessing the page that is the source of the IFRAME? E.g. Main page is main.asp Inside main.asp.. <IFRAME src="data.asp"> If someone tried to enter ..mysite/data.asp in the browser's address bar, I would like to redirect him back to main.asp
Using IFRAME
I am using an IFRAME in a custom control with src="Popup.aspx" where Popup.aspx is a page in the Web control library. How can I reference this page without having to copy it down locally ? I have tried embedding it in the Web control library dll and referencing in the Assembly.inf file using ContentType="text/html" and using GetWebResourceUrl to reference. But server controls are not rendered using this mime type and I cannot find a mime type for "aspx" files
Iframe
I've inherited some code which has a menu page with an embedded iframe which displays the page corresponding to menu clicks. i was attempting to pass a session variable into the iframe page. sadly, it seems that the page displayed in the iframe and the "hosting" menu page are different session. i discovered this by placing response.write(session.sessionid) in both pages. why is this? is there a way to make the iframe page part of the original session?
IFrame
Im passing from one website to another ie a link from www.1stdomain.com to www.2nddomain.com/list.asp?ID=1234 The problem I have is that 2nddomainhas an IFrame which I want to pass the ID .
Iframe
i made page in asp with iframe and the contents of the iframe is coming form another asp file as a radion button gruop i did not get right result. what i want that the results of radio button groups are redirected in a parent page. so i writ that code so many times with few changes but i did not get right answer the code is. alert(parent.iframe1.document.form2.elements['x'].value); "x" is the name of first radio group ( But Asp treat it as a first object of radio group so it returns me all the time the vale value against it either it is not checked.
Iframe
can iframe be use in asp ?
<iframe> And Asp Includes?
saddled with using an <IFRAME> area on a classic asp page from the designer, so I'm trying to find out the following. on that page I usually use the <IFRAME> to hold a simple HTML page, that the client will have access to from my CMS program so they can make edits, updates etc. but, one page has a search functionality, written in classic ASP and using MS-Access dbase to find members of the association etc. when I put the asp search page inside the <IFRAME> src , it wont show? ie -- <iframe src="findlawyer.asp" frameborder="No" width="756" height="427" id="iFrame" vspace="10"> -- should mean that the page findlawyer.asp should show up inside the holding ASP page (called simply find.asp) why? when I look at the findlawyer.asp page online it shows up perfectly and works perfectly too....yet inside the <IFRAME> it refuses to show up???
Iframe Trouble
I have a sign-in box that is an IFrame, with a form target of "_top", and the current (parent) page URL as a hidden field. If sign-in in successful, there is a response.redirect to the page URL, having set the session variable LoggedInOK=true. However, if the sign in is not OK, I want the IFrame to be the target, (i.e. _self, not _top) to display the error. Is there a way for ASP to control whether it redirects to _top or _self, as setting the form target in the Login page requires "pre-knowledge" of whether it will be successful.
Iframe To Textarea
I am useing "<iframe style="width:650;height:220;overflow:auto;" src="blank.gif" name="IDtemp" id="IDtemp" contentEditable="true"></iframe>" an i really need to copy selected text from that iframe into
Iframe Problems
I have some ASP / HTML webpages using an iframe to function as a Content Editor which works fine in IE. It has javascript preforming actions on the iframe content, such as putting the text in bold, creating hyper links etc.. However none of this works in Opera or Netscape, is this totally impossible?
Call Iframe
I have 2 web pages which is a.asp and b.asp. I using iframe to call b.asp in a.asp like below:- Code: <iframe src="content_wallpaper.jsp" id="myiframe" scrolling="no" frameborder="0" width="355" height="120" marginwidth="0" marginheight="0" align="center" allowTransparency="false" background-color="transparent"></iframe> The problem is, i need to call the iframe in b.asp like below (because i just want to refresh this portion of the page) Code: <a href="javascript:myiframe.document.location.reload()" class="blue_11"><%=tmpCatName%></a> The error occur as "myiframe" is in a.asp and i need to call it in b.asp and i can't find the solution for that too.?anyone know how to pass value from a.asp to b.asp in above?
Post To Iframe
Just wondering how (or if it's possible) to post from my page to another .asp page within an iframe? Hopefully that question make sense? I know how to launch load a page with an iframe, but how do I post to a page within a page
Open Ftp In Iframe
host has no upload facility. They also block uploading scripts.As she wants to be able to upload files easily I have opened her ftp folder within an iframe when she has logged into her admin functions. This allows her to drag and drop files when she's viewing in Windows & IE.What I'd like to know is how safe a method is this?what ways can I make it safer?
Vbscript Or Iframe
I have an asp page that when I select something teh content of what I select appears on the page. I know I can use iframes, but it is not to freindly with all browsers, and I can use frames, but same reason. SO, what I would like to know can this be done with vbscript? or is there another way?I am in real bad need of this solution quickly.
Session And Iframe
Is there a way to solve the problem of saving a session from an iframe?
IFrame Alternative
does someone knows what's the alternative of Iframe. Actually I have to use IFrame and it works in IE but NS 4.74 to NS 4.78 doesn't support IFrame. So, I have to use alternative of IFrame so that my application can work in both IE and NS 4.74 to NS 4.78
Iframe Height's
I used the iframe in main page. Everytime user click on any link in the page, only the content inside the iframe will be change. The problem is, the content's size(height) that will display in iframe is different. So i can't fix the size for the iframe. (i tried to put the iframe without fix the height for it, only part of content can be display - may be cause of i have few iframes in iframe). If i fix the size for the iframe, some of page are unable to display nicely(as i don't want to use scrollbar). Anyone know how to solve this problem so the iframe can show it's content with it's height?
Get Hidden Value From A Iframe
I need your help for this: <script language="javascript" > var getvalue getvalue = top.markcountframe.document.hiddenform.element[0].value; </script> <iframe src="" width=480 height=0 center name="markcountframe" scrolling="no"> <form name = "hiddenform" > <input type= "hidden" name="count" id="count" value=<%=defaultStr%>> </form> </iframe> How to make this work?
Iframe And Variable
I have an Iframe inside my page, just outside this Iframe i have 3 textboxes. I need the variables inside these textboxes to pass onto the iframe page. How can i do this?
Accessing Cookies While In Iframe
I am trying to access a cookie my domain made using Response.Cookies("username") = "value". I have no problem accessing this cookie while people are at my site, but when my site is placed in an iframe on another domain, I can no longer access the cookie. I am not trying to access it through the other domain, as I don't control that second domain. So why can't my iframe access the cookie? Since it created the cookie, and therefore owns it through the domain name, I don't see why I would have trouble accessing it. Does anybody know whats going on? Here is a quick diagram incase my explanation was not enough. SiteA = mydomain.com SiteB = otherdomain.com While people are at SiteA I make a cookie, and can access it again and again without problems. Then, on SiteB an iframe is placed which has <iframe src="SiteA/file.asp"></iframe>. However, SiteA/file.asp CANNOT access the cookie created earlier.. it comes back as "" (blank/empty).
Setting Focus To An IFrame
I tried using: getElementById("iView").focus() or document.iView.focus(); or document.formname.iView.focus() none work! I need to set focus to the iFrame (I am using it as an editor)
Grabbing Info Out Of An Iframe
I have it inserting a table into an iframe. However I want to pull that table information back out to make changes to it. I am just stumped on how I should go about it. I have the inserting of the table executing through a showmodedialog box. Do I do the same to pull out but how?
Crystal Reports And Iframe
I have created an iframe, such as: <IFRAME FRAMEBORDER=1 SCROLLING=NO ID="ReportFrame" width=100% height=100%></IFRAME> In this iframe I want to show a crystal report. Therefore, in my JScript I have; ReportFrame.src = reportURL where reportURL is my crystal report path. However, this does't seem to be working, I am not even getting a error message.
Iframe Inside A Form
I have a form which consists of Iframe <Form method="pst" action="test.asp"> <iframe src="testingframe.asp" id="testfram" frameborder="1" scroll="auto"> </iframe> </Form> testingframe.asp has <table> <td> <tr> <input type=checkbox id="checkedName" name="checkedName"/> </tr> </td> </table> How do i acess checkedName value in my main form .... ?
Reload A Page From Its Iframe.
I cant get around this. Im working on a job interview scheduling system, and i wanna set my recordset to all the interviews scheduled from "tomorrow" and on.... so far I've got this query. Code: "SELECT * FROM EVENTS WHERE SDATE > "&DateAdd("d", 1, Date)& " ORDER BY SDATE DESC" this half works, since i dont get the dates from "today" but i do get results from "yesterday" or the day "yesterday" any suggestions?
ASP Session Lost In IFRAME?
I have a project in which I'm trying to embed one site, that uses session stored variables, inside an IFRAME in another site (which for that matter doesn't even use sessions). Problem is, that it doesn't always save the session. When I try to access it from some computers, I have no problem, the session variable is stored and I can browse the site in the IFRAME and everything's ok, but on other computers, the session variable value simply disappears. To simulate the situation, assume that the two following html trees are the site that goes into the IFRAME: Code:
Requesting Data From An IFrame
How do i request data from an iframe during a POST .I have an ASP page with a dynamic iFrame in it and need to be able to request.form data from the iFrame's form.
Send Iframe In A Message
How can I send a IFRAME element in a message with Cdonts or other component? the IFRAME follows. I tried to send using webmail and outlook and I coudn'n sent yet. I doesn't appear me anything <iframe src="http://www.hitecnet.com.br/provisorio/MensagemdeNatal/MensagemDeNatal.h tm" width="435" height="1130" frameborder="0" scrolling="no">
Associating Iframe Pages
I want to be able to click on my menu system anywhere on my site and the options that is clicked will load that options ( iframe page ) into a specific page that holds the iframe. Right now the options are only available when on the page that holds the Iframe in question ( templates.htm )but if you are on another page ( index.htm) how do we tell it to load that option into ( templates.htm ) ?I think I need some kind of ASP script that would associate any Iframe page that I specify to the ( Templates.htm ) page.
Iframe First Load In Page
i have an asp.net page that has an iframe in it. i'm using the request to pass parameters to the page, and to the iframe as well, in the on_load function i change the href of the iframe (which also is an asp page)acording to the parameters i received, but it doesn't get them. does anyone knows why? i think it because it loads the page before changing the href. how can i change it?
Passing Variables Into An Iframe
I'm not sure if this is even possible, but i'm trying to pass some variables, that have been taken from the parent page's querystring, and pass the variables into an iframe that has loaded into the parent page.
Session Lost In Iframe
I have an mypage.asp page with a button, one can access this page only if Session("smth") = 1. There is also an empty iframe in this page (src is not specified). When I click the button I will fill the iframe with a page (src = 'another.asp'). For security reasons I check the login session in another.asp and Session("smth") is empty no matter I have logged before. In mypage.asp Session("smth") is still on and its value is 1 but it looks like it gets lost in the iframe. Any idea why and how to fix this issue?
Dynamic Iframe Resizing
I have a script on a site that i am redoing and have used an i frame that resizes depending on the size of the page that is loaded into it. I would like to use an existing asp driven page from a realesate site to laod in to the iframe as the "listings" section; however the frame will not resize. any sugestions? Code:
IFRAME Hangs On Web Service Call
We are facing a situation here related to rendering of IFrames in Internet Explorer. The situation is as follows: We have an ASP that contains some data along with three IFrames in it. The 'sources' for each of these IFrames are set after the ASP page is loaded in the browser using a Javascript function. Basically, this JavaScript function checks if the rest of the page has finished loading and then sets the "<IFrame>.src" attributes for the three IFrames one after another. Now, each of these IFrames contains separate ASPs. These ASPs call one Web-Service each to get some data and then render it in the IFrames. The problem arises when one of the Web Services in any one of the ASPs fail to respond and hangs up without returning any error message. We are expecting that if one web-service fails for a ASP, then the other two ASPs should execute and get rendered in the corresponding IFrames in the browser. But it does not happen. All the three IFrames hang up together. Could you please suggest us anything to solve this ? We want to get the corresponding data loaded in the three IFrames asynchronously, so that even if one fails, the others are not affected. Can IFrames load asynchrounously when called from the browser through a Javascript function ?
Read Data(html) From Iframe
My application requires reading data(html) from an iframe and push into a div tag. 'innerHTML' property of the div tag allows to push data into it. Can anybody tell me how to read data(html) from an iframe.
Client Selectable Iframe Content
I'm building a site that has a news item iframe. On some pages this iframe has random content in it. On other pages it needs to contain fixed content. My client would like the facility to alter whether the pages contain random or fixed content himself. He cannot code! I Would like to produce a simple html page that let's him tick a box (whatever) to select whether certain pages have the random or fixed content. What is the easiest way of achieving this?
Open Page Using Button In The Iframe
i want to do this. when users click Next button, a new page will appear in the iframe named content. i can open that page but in the new window.Code: <input name="Next" type="button" id="Next" value="Next" onClick="window.open('software_mohon.asp')">
Show Search Results In IFRAME
How can I force to show search results in IFRAME? The search-form is part of many pages of my website separated from the result page. Search works fine but opens a new window. <form name="search" method="post" action="/search.asp"> <input type="hidden" name="action" value="dosearch"> <input type="hidden" name="offset" value="0"> <input type="hidden" name="allwords" value="1"> <input name="words" type="text" size="13" maxlength="90"> <a target="iframe" href="/search.asp"><img src="/pics/lupe.gif" width="18" height="18" alt="" border="0"> </td> </form>
Refresh
How can I refresh one webpage from another?
Refresh
How can I get an ASP page to automatically refresh on load.
Refresh
Why do I need to close and open my browser to see the changes made to the code(javascript)?? How can make the page refresh without closing the browser.
Do I Have To Refresh Every Second
I have this asp page called create project . In this page, there will be a list of clients (pulled from db) for the user to select. User could also click on the create client button to open up a seperate page/window to create a new client. After they have created the client, the page will be closed. How do I tell my create project page that a new client has been created and so, refresh the page? Do I really need to set my Create project page to refresh every second?
Refresh?
I have a asp page where i display all the records i create a hyperlink with that records and when any one click on that link a popup window will appear where user enter the new data and click on update button then i update the fields and the popup window will close but my problem is that when i click on update button i also want to refresh the parent(previous) page please tell me how can i refresh that page ....
Refresh
My page uses code like this to redirect to other pages for the purpose of allowing errors and confirmatory statements to be seen by Administrators and Users alike. Response.Write("<meta http-equiv=""Refresh"" content=""4; URL=AdminSelectAction.asp"">") The problem is that this does not allow the refresh button to be pressed because it does not change the address in the address bar in Internet Explorer. Response.Redirect does change the address. Is there a way to make a pause before changing the page that WILL change the address in the bar?
|