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.
[Code]....
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.
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.
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?
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):
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.
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.
[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?
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.
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?
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="?
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.
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.
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"
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.
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?
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.
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 Assets.
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.
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?
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)
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.
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?
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 ///////////////////////
I started on the following page (part of an asp.net solution), but the damned thing keeps reloading.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
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?