I Want To Stay In The Same Window Instead Of Popping Up A New 1
Sep 14, 2007
now I have this calendar program and when you click on a calendar date with an event it pops up in a new window, now I want it to pop up in the same window
the below code makes the selected event popup
function popupEvent(day, month, year, w, h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
win = window.open("popup.php?day=" + day + "&month=" + month + "&year=" + year + "");
if (parseInt(navigator.appVersion) >= 4) {
win.window.focus();
}
}
View 6 Replies
ADVERTISEMENT
Apr 19, 2005
I have an Iframe in my page and it's referencing a database application. Everything works until I choose a selection form that forces a refresh and then the whole iframe pops out of my page and into it's own page.
So if I put iframe source of page1.htm into page2.htm when the refresh happens I just page page1.htm not embedded in page2.htm. It's like it's jumping out of my page.
View 5 Replies
View Related
Mar 16, 2010
I thought I did everything right but pop-up windows aren't working. code...
View 5 Replies
View Related
Mar 16, 2010
I thought I did everything right but pop-up windows aren't working...[url]...
Code can be found on this page (very first section after body opens)[url]...
View 3 Replies
View Related
Mar 11, 2011
I'm creating a web form that allows users to select from a list, choose a quantity and have the total for that quantity calculated, but when I run the html, I get Nan in the total price box. The problem starts with the calc price function. I've tried eval(), parseFloat to change the text to a number, but I think I'm putting the code in the wrong place.The first part is the javascript code (I have linked in a separate file) with the html below it.
window.onload = startForm;
function todayTxt() {
var Today = new Date();[code].....
View 2 Replies
View Related
Mar 21, 2011
I have a site where I am using the Sexy alert plugin. I don't know why its not popping up. Its probably something small I am over looking. Here is the site: Click here
[Code]....
View 1 Replies
View Related
Jul 11, 2011
I have Win 7, IE9. I have a HTML file on my hard drive, with Javascript within. When I load the page, it keeps popping up Do u want to allow this content, I have to click to allow. I want to stop this, and after doing some searching I found the setting in Internet Options, Advanced - "Allow active content to run in files on my computer".
Perfect.
Doesnt work. When i check this box, the page loads without the warning, but then the Javascript just doesnt work.
Getting quite annoying, because this file is my home page.
View 6 Replies
View Related
May 7, 2010
URL...This item is almost finished for a project.I've gone over ita few hundred times.Each time a tab is selected, it goes to thecorrect <p> paragraph and displays the paragraph assiged to that tab, but that tab orcurrent tab does not stay ON.
View 1 Replies
View Related
Dec 16, 2011
I want to stay on page until other is loaded, with animated gif.Lets say i want javascript to do something like this:Stay on this page while the other is loaded and while page is loading play gif in this div (some div, for example loading:
View 1 Replies
View Related
Apr 23, 2007
I'm looking for a solution to an IE7 issue... the following code is for an "onclick stay" meaning that when the user clicks on a graphic the "on" graphic stays until a different graphic is clicked. This works great on all of the other browsers without any problems...except IE7... Code:
View 1 Replies
View Related
Jan 28, 2009
I am building a page using a sort of tab format. You click a link and underneath it the text changes to suit the link. It all works great. But... I want the image link that they click to stay in the mouseover position. (The image changes from gray and black to white and blue) I want the image to stay white and blue.
The actual page's code is:
<img src="/departments/models/92/images/Jetta"><br />
<table cellpadding="0" cellspacing="0" border="0" width="477px">
<tr><Td colspan="2" style="border-top-width:1px; border-top-style:dashed; border-top-color:#666666;"> </Td></tr>
[Code].....
View 3 Replies
View Related
Aug 31, 2010
I have problem here I have two div as below:
[CODE <div id="left" style="top:0px;left:0px; width:150px;">
<div id="title1" style="top:auto;left:0px; padding: 4px; overflow: auto; background-color: #8EB4E3;">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td></td></tr>
<tr>
<td>OUR SYSTEM</td><td width="11%" height="10"><div align="right">
<img src="../fleet/images/logos/<?=$fleetID?>.png" width="100" height="50" /></div></td>
</tr></table></div>
</div>
<div id="right" style="top:0px;left:250px; width:800px; height:100%">Map goes here.
</div>[/CODE]
The problem I am having is that when the div id="left" does not have any inner div then the right div where it contains map is at 0px. But the moment I put id="title1" in the div id="left" then the map in div id="right" does not stay at the top 0px and it goes down by quite many pixels.
View 3 Replies
View Related
Jul 20, 2005
I'm using onclick in a link. I would like the page not to go back to the top when I click on the link.
I'm using :
<a onclick="popEditor()" href="#">Editor</a>
This takes the page up top the top. If it's href="" then the results of the popEditor() function appear in the current page. What is the syntax?
View 2 Replies
View Related
Nov 20, 2010
I used this on-click changeable background code for my website code...
And now I have the same question as the original poster: is there any way to get it so that the chosen background stays put even if the page is refreshed or navigated away from? Or is it not possible because all my pages are separate files? code...
View 12 Replies
View Related
Jun 14, 2011
I mainly do PHP/MySQL coding, but I wanted to add this Javascript Accordion Menu to my site:
Javascript And CSS Tutorial - Accordion Menus | Switch on the Code [URL]
It works fine, but I was wondering if there was a simple way to modify the code so that the currently open menu stays open from page to page instead of closing upon each page reload?
View 7 Replies
View Related
Feb 2, 2009
i'm using php include for the left product menu at [URL]
however, when a specific category is clicked on, i would like the menu to stay expand when the page loads.
View 1 Replies
View Related
Oct 2, 2010
When I hit the submit button, the result are display on a new page. how do I force it to stay on the same page, here's my code.
Code:
<HTML>
<HEAD>
<TITLE>Test Input</TITLE>
[code]....
View 2 Replies
View Related
May 23, 2006
How can I add an onMouseout event to this code? I have only used this script with the onClick enent. If there is a simpler way, please let me know that. Code:
View 4 Replies
View Related
Feb 6, 2011
Im developing a wordpress site for an Internet Radio station. have the flash radio stream plugin & the small chatroom/shoutbox type thing stay (at the front) so that a user can then freely browse the rest of the site on different pages, without the actual stream plugin and shoutbox being refreshed. I need it to stay at the front at certain positions (ie to the left of the content so its not blocking it), so having a pop-up window will not work as it will just disappear behind whatever window the user clicks.Ive had a quick look at Modal windows but (correct me if im wrong) they also "refresh" if a user was to go to a different page.
View 2 Replies
View Related
Mar 12, 2010
I want to know how to execute a javascript function placed in the submit button and to stay in the same form after I hit submit.This is my code:
Code:
<script language="JavaScript" type="text/JavaScript">
function Compare() {
[code].....
View 4 Replies
View Related
Jun 5, 2011
The accordion-menu I created works nice from the bottom, but if the mouse comes from top it isn't functional. Do you know a trick to let the bullets open if the mouse comes from the top?[code]
View 1 Replies
View Related
Nov 24, 2011
My problem is that my site has a fixed element in the right side but when looking at the site from a HI-resolution device like TV or something, the element moves about 1000px to right. I want it to scroll down when I scroll the site down. But I want it to stay in the same place on x line.angsti.net if you need more information.
View 6 Replies
View Related
Mar 30, 2009
I'm currently trying to get the tabs on a multi-script navigation to stay highlighted while you select a link from the sub-nav. [uRL]. I'm unsure of how to do this, or what js file I would have to edit (if any). The hover is run through jQuery 1.2.6 min but the sub-nav is run through dynamic drives' ddtabmenu.js.
View 5 Replies
View Related
Mar 2, 2011
how do i make a html button stay down when pressed, until another button within a specified group of buttons is pressed, at which point it is released and the other button stays pressed?
View 4 Replies
View Related
Aug 19, 2011
I'm only adding this code to a few pages. I have the background changing over each linked hover, but is there anyway for me to allow one item remain that background color to indicate which page my visitors are currently on. If you can show me how to do one, I can figure out the rest. Code below.
[Code]..
View 2 Replies
View Related
Jul 19, 2010
I'm trying to make a web page that will have an extremely simple minesweeper, where a 2x2 grid is created and only 1 square will have a mine. Upon clicking the squares and no mine is present the square turns green and the square with the mine turns red. I cannot get the squares to stay their respective color once clicked.
[Code]....
View 3 Replies
View Related