Reloading A New Webpage In The Same Window

Feb 13, 2011

I'm trying to write a javascript to open up multiple websites one at a time in the same window in Internet Explorer 8, but my code keeps opening the sites in a new window. I want it in the same window. I can't seem to achieve this.


So, currently this code opens up [URL] in a new window, then it opens [URL] in a new window and then [URL] in a new window. I do not want it to behave like this. I want all the websites to be open in the same window one after the other.

View 1 Replies


Load Link Without Reloading The Entire Webpage?

May 6, 2010

i want to have 4-5 buttons on the left side for the different links, and on the right half i want to load that link without reloading the entire webpage. currently i have it so that everything is in tables, so table's left column contains the links (for example - Link1, Link2, Link3, Link4, Link5). now when i were to click any of those i want the page corresponding to that link to open up in the right column without reloading the entire page. i'm stuck on how to pass what i click on the left to load up on the right.

View 6 Replies View Related

Window.location.href ... Flush - Webpage To Launch Setup.exe Then Go To Another Webpage On CD

Aug 10, 2010

It launches in IE and give the user instructions, then at the click of a button, launches my setup.exe. I want my webpage to launch setup.exe then go to another webpage on my CD, congratulations.html, which says "installation is complete etc". Here's what I am trying to do through JAvascript. It doesn't work. Should the first instruction be flushed in order for the 2nd one to work?


View 7 Replies View Related

Moving Focus Back To A Previous Window And Reloading?

Jan 28, 2011

I want users to work from a main application. Certain things will need to be done but the users wont want to see the main screen go away while doing these certain things. So my idea is to just open a new window with the content they need, they'll make their changes, the new window will close but then I want the main page to reload.What I've done now is at the end of the script that will be run prior to the new window closing is added this (its a php app):

echo "<script>window.close();</script>";
echo "<script>window.opener.location.reload(true);</script>";

Sometimes this works in IE and Firefox but never in Chrome. I know I've seen this done before on other sites, but I cant think of what they are.

View 2 Replies View Related

Assign Value From Window Back To Main Page Without Reloading?

Jun 26, 2009

At main page, I want to have a js hyperlink onclick='select products()' This Onclick will open up a new small window, list down all products, once ppl select the products and close it, the selected product(s) will directly appear inside div of the main page.

Criteria:Refresh the value into parent page div Without reloading the parent window.Ability to assign back product id and name from small window to parent window.I'm not sure how to do that.Btw, I am using jquery. If anyone know how to implement this via jquery, it will be great.

View 1 Replies View Related

Focus A Window(not A Webpage)

Nov 23, 2009

what do i need to get something like this going: When a user clicks on a button to focus a windows program thats already running

View 1 Replies View Related

Opening A New Webpage In The Same Window

Feb 14, 2011

I am trying to write a javascript to open multiple websites in the same window for Internet Explorer. However I keep getting the website opening in a new window. Here is my code.


So currently, this code behaves like this. Every 3 seconds, it opens up a new website. However this code I wrote opens [URL] in a new window, then [URL] in a new window and so on. I want it to open all the websites in the same window. How do I achieve this?

View 2 Replies View Related

How To Launch A Window's Application From Webpage Using Java?

Jul 20, 2005

I want to use some javascript to launch a windows application (this used on
intranet) but don't know how. It'd be neat if I could not only launch the application but minimize the webpage's browser at the same time, but this is just icing on the cake.

View 7 Replies View Related

Add External Js File On Client Webpage And Leave Window.onload Function Unaffected?

Jan 15, 2009

Theres this situation where i have to place a js file (say myscript.js) on a client's website to do something on their page (like create a div element with some content in it). Now, myscript.js works when window or DOM has loaded. The problem is that the client will/may also have onload functions which will be overridden by myscript.js if i place it at the end of the page or vice versa if at the top of the page.

Theres one (albeit obstrusive) way in which it can be done. Create multiple onload function (Simon Willison's script) within myscript.js and call that function from the client's webpage.But i dont want to add any inline javascript code on the webpage. Just the external js (myscript.js) file should do. Is it workable to load my script externally and not add any inline call to myscript.js as well as leave the client's javascript onload scripts unaffected?

View 4 Replies View Related

Use The Values Of Text Boxes On My HTML Webpage To Create A Webpage URL

Nov 23, 2011

I want to use the values of text boxes on my HTML webpage to create a webpage URL (like below):

<script type="text/javascript">

My text boxes are as follows:

Now this all works and the result webpage URL prints to id='ID1', but the big question is how do I use this resulting URL in another Javascript section as the src="?

For example:

View 14 Replies View Related

Display A Webpage From Another Domain In Webpage And Access Its Elements

Mar 5, 2011

I am trying to display a webpage from another domain and tried to access its elements and I am facing issues with this.

I tried using "iframes" and am facing cross domain issues.

All that I want to do is, set and get the attributes of the elements of the webpage from the other domain (eg: set text field value, get dropdown box values, click button etc)

Is there a way to get this job done?

I thought of browser addons however it will be a browser specific solution.

View 14 Replies View Related

Webpage Within A Webpage (force An Iframe To Reload)?

Oct 23, 2011

1st post: how to force an iframe to reload? 5th post:how to force an iframe to reload? i tried the first way, and this doesn't work, then i try this:


View 1 Replies View Related


Nov 23, 2009

Could anyone know the script code for a WEBPAGE ON TOP OF A WEBPAGE? The site was not working anymore, so I can't tell you the link. This is what I saw, When I visited the site (Mainpage) There's just a Welcome Image that shows CLICK HERE TO ENTER. After clicking the link, a loading faded icon appears on top of Welcome Image covering that Welcome Image with Webpages, it's like popping to the center of the page. I don't know if someone of you could understand me. It's like Page on TOP of another Webpage without leaving the 1st page.

View 1 Replies View Related

Run A Webpage Where The User Clicks On A County And A Window Pops Up With Either "No Data" Or The Name Of The County?

Apr 1, 2010

I am trying to run a webpage where the user clicks on a county and a window pops up with either "No data" or the name of the County.

Here is my query code with the output fields:

HTML Code:

query = new esri.arcgis.gmaps.Query();
query.returnGeometry = true;
query.outFields = ["NAME", "COUNTY_NAM"];

The else part of the code works fine. It gives me the name of the county, but if I select LEE county it does not give me "No Data". I don't think I have the correct quotes/brackets in place.

HTML Code:

if ("{COUNTY_NAM} == LEE"){
var infoWindowOptions = {
content: "No data"


View 1 Replies View Related

Php - Keep A Div From Reloading?

Jul 2, 2010

Basically, I want the same effect as the oldschool html 'frameset' I think.[URL]If a user selects a project from industry -> transportation for example, I would like that the right scrollmenu keeps its initial state when the new project page comes up. So they won't get lost and have to click again to be in the same submenu section.So, the right thumbnail navigation should stay in the same way, I don't want it to reload.Do I have to do it with frames or iframes? Or can I make some kind of jQuery call to 'not reload' that div? Maybe PHP? I'm sorry, I am not a programmer from origin.

Update:I managed to put the whole thumbnail navigation code into a seperate php file, called sidebar.php. Now this gets called in my single.php (Wordpress) by <?php get_sidebar(); ?>.Should it now be easier to make this sidebar.php NOT refresh on page reload? I've been looking at cookies, php sessions, iframes.. but I can't get it to work.

View 6 Replies View Related

Change Div CSS Without Reloading Swf?

Nov 8, 2011

I have a flash embedded into HTML and at some action in the flash, a javascript is called that changes the CSS properties of the div containing the flash (postion, from relative to fixed)the problem is, when this CSS is called the flash banner reloads from the beginning.. I read about it, and it's kind of a bug in firefox.the question is, is there a way to change the CSS without reloading the flash?

View 3 Replies View Related

Reloading Original Frameset

Jul 23, 2005

I have a site with frames. Like most sites with frames, clicking
links in one frame changes the page in the other frame.

Obviously, if someone puts in the URL for my site, they will get the
"homepage" when they first get there. What I would like to accomplish
is that if they leave my site, and then use the BACK button to come
back, that the site will open with the homepage, not whatever page
they were at when they left. Is that possible using javascript? If
so, how?

My site isn't actually "on the web" yet, so I can't give you a URL.

View 2 Replies View Related

Changing The URL Without Reloading The Page

Sep 20, 2005

I have a page that has several layers that I will either show/hide
based on a graphic/tab that the user clicks. (works perfectly)

On several of the layers there are forms that the user can update
information on. Well, after the user updates the information, I need
to 1.) refresh the data on the page(means a reload of the page), and
2.) take the user right back to were they started.

My problem is that when I refresh, the page goes back to the 1st layer
that is set as default to show.

So, here is what I did. I have two functions.

Function 1 is called when the user clicks on one of the tabs (Assets)
in this case. This will 1.) show the Assets tab and 2.) hide all the
rest of the tabs.

Well if I update that form for Assets, I need to 1.) refresh the data
and 2.) bring the user right back to Assets.

What I did for this (please tell me if there is a better way) was to
set a hidden field with the lastlocation of where the user clicked. In
this case the field value is now set to Assets.

So far everything is working great...

Well, if I submit the form because I've updating information, I need to
return back to the assets layer. To do this I set the location.url and
put a var in the url that I evaluate when I OnLoad the page. If the
value = Assets then I am able to show/hide the layers to get to the

Again, this works great after much banging of my head against the
wall... Here come the problem.

Because I set the location.URL (I've also tried location.href) the
browser will automatically refresh. I do not want this. I want to set
the url and only refresh when I want to.

For example when I submit a form that updates data.

View 6 Replies View Related

Reloading A Page Programatically

Jul 20, 2005

Is there a way of reloading a page programatically - for example,

<script language="javascript>


View 1 Replies View Related

Reloading A Frame On A Timer

Jul 20, 2005

Suppose I have two frames, as shown in the script below. One of the frames,
I would like to have reload every ten minutes or so. Hower, the frame I wish
to reload is a php script, which executes and creates a png image which gets
displayed directly to the browser frame (therefore, the image is NOT written
to the server itself, and the page that gets displayed in the frame I wish
to update is a png image mime type).

How can I amend my script in my page which holds the frameset (i.e. the
parent) such that only one particular frame is updated at a fixed interval?

<frameset rows="10%,90%>
<frame src="ggtab1a.php" name="main" scrolling="no" noresize

echo "<frame src="reports/homepages/" . $username.".php" ";

name="work1" FRAMEBORDER=0 BORDER=0 FRAMESPACING=0 marginwidth="0"

View 2 Replies View Related

JQuery :: Reloading A Tab From The Inside Of The Tab?

Mar 30, 2011

I'm working on a website that has four tabs, [#main, page1.html, page2.html, page3.html] if you click on tab2 it will dynamically load page1.html where there is a form that a user will fill out, and when they submit it, I would like to reload page1.html, or tab2 if its easier and in scope, to show new information.

However the only thing I have been able to do is fade out the 'main' div inside this tab, $('#main').fadeOut('slow'); but adding a .load('#main') to reload the div fails.

I've also tried loading ui-tabs-1 but I dont think this will work since page1.html doesnt have it defined, it's part of the page loading page1.html (where all 4 tabs are located)

View 1 Replies View Related

JQuery :: Stop A DIV From Reloading?

Nov 18, 2011

I am just starting out with jQuery (slowly reading through my book)

I am trying to find a way to stop a DIV from reloading with the rest of the page content.

I have a fixed position div at the bottom of the browser with image thumbnails. I am trying to figure how I can get this DIV to NOT refresh when a link inside it is selected. This will allow the scroll position in this div will remain in the correct location.

View 4 Replies View Related

Onclick - Submit Value To Php Without Reloading?

Apr 6, 2010

I'm trying to get a form working like Google's "Was this information helpful?" link at the bottom of their help pages. ie.
http:[url]....What I want to do is when a user clicks on the Yes / No link it submits the yes / no value to a php script, but without reloading the current page.Is there any way to do this other than using Ajax?

View 1 Replies View Related

Page Keeps Reloading Because Of Tooltip?

Jun 1, 2009

I made a form with a tooltip function when you hover over an input field.But when I load the page, after about 500ms, the page turns white and the ""Loading..."-message from the browser stays forever.I found out that this is because of the tooltip function, especially the code:document.write(table)

Here's the javascript:
//////// Tooltip code


View 1 Replies View Related

Keeps Reloading For No Apparent Reason?

Nov 4, 2010

I started on the following page (part of an solution), but the damned thing keeps reloading.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">


View 2 Replies View Related

Refresh A Div Tag With Reloading The Page?

Feb 24, 2011

I have a div tag that I want to loop through and refresh at the end of the loop. I understand Ajax is probably the best option for this but how do I refresh just the div tag alone without reloading the page?

In the title I meant to say How do I refresh a div tag without reloading the page?

View 1 Replies View Related

Copyrights 2005-15, All rights reserved