Frame Auto Refresh-how?

May 10, 2007

im using frames in my php script (no comments XD)

i got a top frame that contains the logo and links, and then the bottom, bigger frame that displays the pages that the links are linked to. the thing is-i want the top frame to refresh every time a link is clicked how is this done?

View 1 Replies


Refresh The Other Frame Which Is Frame 2 Once Header() Has Been Executed?

I have 2 frames and let say i have run certain script on frame1 and it redirect me to other page (execute script) and back again to frame1. how can i refresh the other frame which is frame 2 once header() has been executed.

View 3 Replies

JQuery Auto-Refresh - Only Fade-In New Rows In Database Since Last Refresh?

I'm running a script using jQuery that auto-refreshes a <div> on the index page from an external PHP script to get all the rows in a database and display them on the index page. The script works great - here it is as follows:

Code: [Select]<script type="text/javascript">
$(document).ready(function() {
var refreshId = setInterval(function() {
}, 5000);
$.ajaxSetup({ cache: false });


Currently, the auto-refresh jQuery script as you can see if getting and fading in/out all of the rows. Off of the above getrows.php script, is there a way after I could get only the newly created rows since the last refresh and only fade those in and out while leaving the others already loaded by the auto-refresh script to not fade in/out?

View 2 Replies

Frame Refresh

I am trying to create a tabbed page within a frame. I have no experience of frames and to be honest I have tried to keep away from them. What I have is 3 frames

| | 2 |
| 1 |____|
| | 3 |

Frames 2 and 3 are auto refreshing to show data to the user (hence why I am using frames). Fram 1 is the problem. It has a tabbed page, the parent page GET's the variable and then passes it to the page that is called in frame 1. e.g. PHP Code:

<frame frameborder="0" scrolling="no" noresize="noresize" src="home.php<?php if (isset($_GET['page'])) { print("?page=".$_GET['page']); } ?>" />

Work fine in IE. However, in Firefox everytime you click a tab it does something like in the screen shot.

View 2 Replies

Can Frame Refresh The Whole Page

I have a page with two frames, what I want is to set it up so that one frame can refresh the whole page.

Because the top frame is a form and the bottom page is the displays lists of database entries, but it get changes everytime the form on the top frame is submitted. I've tried to involving javascript on this, it worked, but it doesnt always work, sometimes it fail to refresh.

View 1 Replies

Template Demo Frame Border Auto Scrolling?

Code:<iframe id="rf" src="template_files/a.php" allowtransparency="true"
class="templatedemo" frameborder="0" scrolling="auto">


when i include a.php in src it show nothing if i include a .htm then it show properly contents of a file.i want to include the a .php file which is not including.

View 7 Replies

Auto Refresh

I have a select menu created. When the user makes a selection I want to perform a Database Query based on the users selection.

How do I do this? That is how do I get the page to make the database call once select menu used?

View 4 Replies

Login Form Inside IFrame - Refresh Parent Frame (once) On Successful Login?

I have a PHP login form/script running inside an iFrame on my home page. I'm hoping there is a way to reload the parent page on sucessful login. I have tried inserting parent.location.reload()at the end of the script, but that put my login form into an endless loop. is there another way to do this?

View 3 Replies

Auto Refresh Based On DB Modify

This scenario involves 3 PC's.

PC #1 is the Order Supervisor, charged with updating the DB.
PC #2 is the PC displaying the table echoing out the query results to a wall mount plasma.
PC #3 is the PHP/Apache/MySQL server.

PC #1 user will be updating the DB with open orders as they come in and clearing the open orders as they are completed. Simple stuff so far.

What I want is for PC #2 to refresh everytime PC #1 posts an update to MySQL. My thinking is instead of just doing an auto-refresh on PC #2 every 10 seconds (unnecessarily hammering SQL) to only refresh if the DB gets modified. The tricky part is how do I initiate the refresh on PC #2 when the DB gets modified? (Nobody sits at PC #2)

Can this be done? I don't see how to tell PC #2 about the update... but you guys are pretty smart.

View 1 Replies

Html Auto Refresh Table?

I wrote this simple code and this table wich i have conected to mysql database. It fetches the data I inserted in my database what i want is for the page to automaticly refresh on its own without having to refresh the whole page. My Code:

<title>Whats Up?</title>


View 5 Replies

Auto Refresh When New User Comes Online?

I have a table in the database which includes all active users. I then have a user list which needs refreshing to see who is the latest users online.Whats the best way to tackle this?The user list is always just who is in the active_users table.

View 4 Replies

Script To Disable Auto-refresh?

I am working on a mafia-game and when users hire for men, they use a form where they type the turns they want to use and click submit. But after they submitted the form once, and they refresh the page, they can hire for men again. I want to make a script to stop this, so when they hit refresh it should say "You can't refresh the page, click the Hire button" or something.

So basically a script that stops refreshing & submitting a form.I have seen something on another game, where they added a hidden field and some data in it,

View 4 Replies

Auto Refresh News Feed?

I just created a news feed and I was wondering if there was a way to auto-refresh the feed with javascript or php, sort of like facebook, without refreshing the whole page.

View 2 Replies

Code To Auto Refresh The Page?

auto refreshing the web page if the database has been added with new entry data.just like in yahoo chat, it will just automatically display the new message coming from someone with out refreshing the page.

View 4 Replies

Auto Refresh Wordpress Post Div?

I would like to autorefresh a certain div with the ID of blue everytime I update a post with that ID. I know the Jquery code looks something like this:

var auto_refresh = setInterval(
function ()
}, 10000);

Instead of loading "load.php" I would just like to reload the updated contents in the div which is done externally through the wordpress admin panel.!

View 3 Replies

Auto Refresh The Page Once It Is Called?

is there a method in php that will auto refresh the page once it is called? I have a dynamic image which should change based on the parameters but often it does not update and I have to press the F5 key.

I am using the <img> tags so is there a php method to refresh a page or another way round this problem?

View 2 Replies

Auto Refresh Multiple Divs With Jquery?

Im creating a dashboard for a large display at work, i have managed to get one div auto refreshing a php request page, but i cant think of a way of using this function on another div for another script without copying the entire function and renaming it, which just seems dumb.This is what i have do far:

<script type="text/JavaScript">
function update()
$.get("response.php", function(data){
window.setTimeout(update, 10000);

I did so some searching on stackoverflow and found this nifty little extract, although its for single div use only... (second example)auto-refreshing div with jquery

View 4 Replies

Jquery Auto Refresh Script Options?

i wrote myself a block of jquery codes to auto refresh a div just want it to reload every 10 seconds . but problem is after the time i specified in my code script going crazy reload every second

var auto_refresh = setInterval(function(){

View 1 Replies

Captcha Users Just Refresh And It Will Let Them Auto Submit Again?

Users will just re submit and not have to enter the new captcha.. ? Lol but if i refresh the page, the captcha auto makes a new1 so u cant submit.But if u enter captcha code alrdy, then submit form correctly, and press refresh to auto submit form, it does it? This is a major security risk here is my code

Code: [Select]session_start();
$RandomStr = md5(microtime());// md5 to generate the random string
$text = rand(10000,99999);

View 7 Replies

Auto Refresh Table On Database Insert - JavaScript?

I have been trying to figure out how to go about making a table of comments auto-refresh when someone inserts from a comment form without refreshing the whole page. I've tried looking into AJAX for this, but everything I have looked at, in terms of tutorials, just flies right over my head, and I can't really make much sense of it.

View 2 Replies

Auto Refresh Script That Refreshes A Page Every 3 Seconds?

I have an auto refresh script that refreshes a page every 3 seconds. The page it refreshes ha few database queries. When I get 20 or more members on my site the server crashes because of all the calls to the database. Is there another way to check for changes in the database?

//Can't Chat
$strFind="SELECT * FROM cantchat";
$result=mysql_query($strFind) or die(mysql_error());

View 2 Replies

Frame And Calendar - Frame Url To Be Dynamic With Random Parameter Appended But Nothing Seems Working?

I integrated the supercali calendar to my office intranet application using a iframe. I also changed the meta attributes and made sure it is not cached. Still my boss does not find the events or calendar items, instead gets a blank calendar. I tried even the frame url to be dynamic with random parameter appended but nothing seems working.

Observation: In my lappy, i checked in all browsers and it works fantastic. Also , I checked in other PC's in office. Again I dont get the issue.I am not exactly knowing what could be issue and what else could be used to resolve this. I request experts here some pointers on this.

View 3 Replies

Take Information On A Left Frame And Update A Text-field Within The Right Frame?

I have created an index page that is broken down into 2 frames. The left frame, basically has a tree of a directory that a user can select files from The right frame, is my main content page. It has a text-field. Let's call it "file-path" What I would like to do is that when the user clicks a specific file on the left frame, I want to grab that information and put it on the right-frame within the text-field. I can go ahead and post some more information? It's not as simple that I want to open the file into the right-frame, I know I could do this by:

<a href="file.jpg" target="rightFrame">

... But not sure how to specifically target the text-box?

I'm now using a form for the element:


However, I want the text to not be a button, I'd rather have it as text itself. I can't do:

Text ... it makes a text-field
Hidden ... I can't see the text-field

View 1 Replies

Open In Right Frame On Clicking Link Of Some Page If Left Frame?

i am new user to php and i have a html page which is devided into two frmaes left frame and right frame and i am showing a tree list page in left frame and what i want to do is that when i click on a node of tree related link page should be open in right frame. how can i do this.

View 2 Replies

Transfer The Data Coming From FRAME A To FRAME B?

i have a webpage wherein it has two frames in it. now, i want to transfer the data coming from FRAME A to FRAME B. now, i thought of using a session, but it does not work, what i want is that when i click the button in FRAME A, the data in FRAME B will simultaneously change..

View 1 Replies

Variable Passing From One Frame To Another Frame?

i have written my entire code in php and i have put those in frames in a html file. now the thing is that i need to pass the variable value in one php which i am displaying in second frame to be passed to the third frame.

Code: [Select]<?php
//echo "<META HTTP-EQUIV="Refresh" CONTENT="5; URL=display.php">";
if (isset($_COOKIE['user']))
//echo "Welcome $_COOKIE[user]<br>";


?>i need to pass this url into the third frame which is having a php file.

View 4 Replies

Copyrights 2005-15, All rights reserved