Jumping Between Windows

Oct 20, 2001

I've been working on a small e-commerce site with the Access DB and ASP. I have one variable to get from a form that I open in a separate window and bring back to the current form in the current window. I would like to keep the sections all in this current form and not break it into separate forms. Can anybody tell me how to bring data back to the open form?

View 10 Replies


ADVERTISEMENT

Open Windows Under Current Windows?

Apr 6, 2010

below is clickunder code , but it open under windows when visitor click everywhere on the pagei need it be speacial for links , whenever visitor click on speacial link , it opens windows

<SCRIPT LANGUAGE="Javascript">
function PopShow3() {
CookieTest=navigator.cookieEnabled; if(CookieTest)

[code]....

View 5 Replies View Related

Child Windows Can Not Access Window.opener When Multiple Child Windows Are Open

Jul 23, 2005

I have a parent window that pushes a new window object onto an Array
with the following code :

OpenChild()
{

//totalNumWindowsCreated is global

totalNumWindowsCreated = totalNumWindowsCreated + 1;
childWnds.push(window.open(link, "child" +
totalNumWindowsCreated,"dependent"));

..
..
..
}

This pops up a new window with every call. In the child window I call
a parent function onbeforeunload, appClose() :

function appClose(){

if (window.opener && !window.opener.closed){
window.opener.CloseChild(getQueryString("application"));
}}

This is in my frameset tag of the child code :

<frameset ... onbeforeUnload='appClose()'>

The window.opener.CloseChild() function is called perfectly when I have
one child window open, but as soon as I create another child window
both of the open child windows don't ever call it. They do both go
into the onbeforeunload appClose() function, but do not call the
window.opener.CloseChild() function inside of this routine.

Anyone have any ideas why when I have two child windows open I can't
access the window.opener functions?

I have tried taking each new window out of the array and used the
following code in CloseChild() :

CloseChild()
{

//win and totalNumWindowsCreated are both global

totalNumWindowsCreated = totalNumWindowsCreated + 1;
var win = window.open(link, "child" +
totalNumWindowsCreated,"dependent");

..
..
..
}

View 1 Replies View Related

Jumping To Next Select Box

Jul 23, 2005

I have a series of selectboxes on a web form. I would like to have a
javascript jump the focus to the next selectbox when the user presses a key.
Each box has the values 1 through 6-9, depending. So normally someone who is
used to it can just hit 1 <tab> 3<tab> 5<tab>1<tab>9<tab> -- I'd like to
take the tabbing out.

So what's really nice is if the box doesn't jump when the user doesn't
select a proper value.

I've been looking at java scripts and I'm not sure how to reference the next
selectbox, or how to check that the key pressed was in the proper range. Can
someone help me out? Code:

View 6 Replies View Related

How: Javascript Jumping To #s

Nov 6, 2001

I have a page that is automatically refreshing and I need for it to jump to the end of the file when it refreshes. Just refreshing the URL with a # on it doesn't work (ASP error). What line of javascript could be used to jump to a # in the page without reloading the page?

View 5 Replies View Related

Prevent The Div From Jumping?

Dec 24, 2010

So, I have a set of divs in a sentece, and within one div is a link. When the link is clicked, I have all the other divs fade out, and the link is supposed to move to the left, then up. I can accomplish this easily, however, I've noticed that there's a pause between when all the divs fade out, and then the moving of the link. During that pause, it jumps to the leftmost edge of the div that it is contained in.Is there a way to prevent the div from jumping? The following is the code that I have. (I've supplied the html and javascript)I tried using callbacks to prevent the div from jumping, but that didn't really work...

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>[code]......

View 1 Replies View Related

Stop From Jumping To Top Of Page?

Sep 11, 2007

Is there anyway to stop the page 'jumping to the top' when using a link like the below?

<a href="#"

.. I just want it to stay in the same position on the page & not jump to the top of the page every time a link like that is clicked.

View 18 Replies View Related

Keeps Jumping Back To Focus?

Nov 23, 2009

I have a validation function and the this is the last thing it does.

[code = var mytext=document.getElementById("sizip")
if(check5(mytext,"Zip Code must be 5 digits.")==false)
{mytext.focus();return false;}
function check5(mytext,alerttxt){

[Code]....

It will validate ok, if I do not have 5 digits, I get an error box.

But then if I click the accept button again, it puts focus back on my zip code with no error.

View 1 Replies View Related

Sliding Menu Is Jumping?

Apr 29, 2010

I have used a basic jquery script to get the menu on my site to slide down and up.

When you click on the show/hide menu button, there is a little flash (Not a major issue) but when you close the slider, the page jumps up a little.

It looks a little glitchy?

[URL]

This is the code I am using

Code JavaScript:
$(document).ready(function(){
$(".flip").click(function(){
$(".panel").slideToggle("slow");

[Code]....

View 1 Replies View Related

Jumping To Mother Frame....

Nov 21, 2001

Yeah I know another frames question why don't you use tables but hey.. They wanted it this way..

Any how.. I want a javascript that just checks if the "mother" page is set.. so for instance if I were to call page.php directly that it would check if the complete page is loaded and if not that it would load the complete site (index.php) and the pass the variable pagename for instance in the url thats fine but just that it would refresh the window also loading the nav. frame

View 2 Replies View Related

Tab Jumping To Address Bar, Not Next Field After Select() [IE]

Jul 23, 2005

I am using select()/focus() to position the cursor at a particular field
on a form. This works, but when the user presses the Tab key in IE the
cursor jumps to the address bar rather than the next field (Firefox is
fine). Does anyone know why this might be happening and how to stop it?

Below is the code that I use to set the cursor position (it is somewhat
convoluted because it is generated via a series of macros). The cursor
is positioned correctly, but when I hit Tab the cursor does not follow
the expected flow through the page (i.e. it doesn't go to the next field).

// The page contains:
<script language="JavaScript1.2" type="text/javascript">
<!--
var focusId = 'fnameId'
SafeAddOnload(setFocus);
//-->
</script>
<input id="fnameId" type="text" size="50" name="fname" value="" />

// From a .js file loaded by the page:
// SafeAddOnload (used above) just delays execution until the
// page has loaded.
// getRef (used below) simply retrieves the DOM object using the id.
//
function setFocus()
{
obj = getRef(focusId);
if (obj != null)
try
{
obj.select();
}
catch (e)
{
obj.focus();
}
}

View 2 Replies View Related

JQuery :: How To Prevent Page Jumping

Nov 8, 2010

have simple slideshow here:n i v o sport.com/i n l i f e/category/2 (please remove white spaces)on the right you will see "More in Travel:" and then arrowsscroll page a bit down and click arrow you will see that page scrolling jumps up. how to keep window positio

View 8 Replies View Related

JQuery :: Stop Page From Jumping To The Top?

Mar 29, 2011

i've made a menu for my website and i've used to jQuery to create a sub menu on the 'about' section.

the problem is when you click the button, the page jumps to the top.. which i don't want it to do. is there a way round this?

here's the javascript i'm using:

$(document).ready(function () {
$('li.aboutb').click(function () {
$('ul#aboutsub').slideToggle('medium');
});
});

here's a link to the page in question: click me

View 3 Replies View Related

Image Link Jumping To Top Of Page ?

Jul 22, 2009

I am using a javascript gallery plugin, Galleriffic, to display an image gallery. I am having an issue with it as when the image is clicked it keeps jumping back to the top of the page. The problem with this is that the thumbnails which are underneath the main image on the page aren't visible and the user must then scroll to see them.

Is there any way that I can change this so that the link on the image doesn't make the page jump back to the top? I don't have my version online but the website will show you the code that is being used.

View 8 Replies View Related

Keep Textarea From Jumping While Inserting Text?

Dec 23, 2010

In the following program, you can create an HTML template then add/modify common elements and display the results. I can place tags around highlighted areas and insert/append functions where the cursor is positioned.Works OK so far. Some of the JS could be put into external files, but I put inline for ease of viewing.The problem is when the text exceeds the <textarea> boundaries and I try to tag or insert at cursor,the display reverts to the first line of the <textarea> display. I would like to keep the displayed area within the boundaries and just push down the inserted text. Is there a simple way to accomplish this task or do I just have to put-up with the bouncy display whenever I insert code into the textarea longer than display?

Code:

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

[code]......

View 2 Replies View Related

Jumping In A Frame Not Working Inside A Table

Jul 23, 2005

I have a script that allows me to highlight a row of text.

This text is in a table.

The table is long and scrolls down the page below the visiable canvas.

What I need is a method to jump to the highlighted row.

I am able to jump to my anchor as long as the anchor isn't located
within the table (ie I can jump to the bottom of the table if I put the
anchor just below the table). However as soon as I place it within the
table...no luck.

Here is the code I am using to jump;
eval ("document.location='#row" + n + "'");

Can someone explain how I can reference the table in my jump method?

View 3 Replies View Related

JQuery :: Content Jumping After Showing With SlideDown()?

Oct 14, 2011

[URL].. and try to click on one of the wide Buttons in the left part of the page (Dílna, Divadelní soubor II., Kalanetika etc.). The problem is, that the hidden content shows and slides out, but just after finishing the animation, it jumps a little bit back. I don't know what to modify in my CSS so that the animation behaved correctly…

View 3 Replies View Related

JQuery :: Stop Page From Jumping To The Top OnClick?

Oct 26, 2009

My question is, what do I need to do to stop a browser from jumping to the top of the page when a user clicks on a link which has a jquery function attached to it?So for exampleUser clicks on a link called "Older Stories"Once they do that, jquery will load in some content AJAX styleHowever, browser has jumped to the top of the page and we have to scroll back down again to see the content which has just been loaded in.I've tried putting a return statement in my code but it didn't do anythingHere's my code

var content = $("#ajax_content");
$("#olderstories").click(function(){
showLoading();

[code]....

View 2 Replies View Related

JQuery :: Images Jumping In IE But Fine In Firefox?

Oct 3, 2011

I have some jquery that pulls in an image when an error is found on an input field in my form, just a red dot. You are supposed to be able to hover over this dot and it displays a message telling you what you did wrong in the form. FF works perfectly. IE doesn't. When the page refreshes with the error dot, the dot is in the wrong spot. if I put my cursor anywhere on the table it is in, the dot moves. I don't even have to get close to the dot. It jerks 100 pixels or more to the left (where it is correctly positioned). I have examined the css and the style values are identical before AND after the dot moves!How is this possible. I can't track the original wrong position becomes the style values never change!

View 2 Replies View Related

Get Code To Execute Inline Instead Of Jumping To Top Of Page?

Mar 13, 2011

so im working on a piece of jquery/JS which executes (drops down a new div) when you click a link. I have the links setup as

<a href="#" id="d0">Execute 1</a>
<a href="#" id="d1">Execute 2</a>
<a href="#" id="d2">Execute 3</a>

And the jscript detects when d0, d1 or d2 is clicked and executes my script. It all works perfectly, however when you click on a link it will jump to the top of the page as a side effect of the a href="#" I assume?

View 1 Replies View Related

JQuery :: Accordion-Menu With Cookies, Jumping And Jerking?

Jun 14, 2011

I use the Accordion-Menu, which save the open state (with cookies). See following example. It works fine. But when I change the state of the a-tags with real target-path, the submenu doesen´t opens smoothly anymore. This works fine

<!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"

[code]....

View 1 Replies View Related

JQuery :: Stop Browser Window Jumping To Top Of Page?

Jul 4, 2009

I'm completely new to jquery and javascript and am just trying to get a simple script up and running. I've put this in the head of the document:

[Code]...

with a div with an id of "togglecontent" and a link with an id of "fadein" in the body about halfway down the page. The toggle works well, but when you click on the link, as well as "togglecontent" becoming visible, the browser window jumps to the top of the page, which obscures some of the toggled div. Is there any way I can stop this from happening?

View 3 Replies View Related

JQuery :: Jumping Show / Hide In Chrome And Safari

Sep 21, 2009

I am building a simple show/hide list with the jquery. It works great on IE and Firefox but in Chrome and Safari the closing menuitems shift the whole menu to the left for a second and then back to its origin. I have about 20 menuitems that each hold about 5 submenu items. The goal is to show the 5 items only on mouseover on the menuitems and then hide it once the mouse moves away.

Here is the code:
<script type="text/javascript">
$(document).ready(function(){
//Hide all subsubmenus
$(".subcategories").css("display","none");
});
</script>
<li><a href="/kleinanzeige-aufgeben/geschenke.htm" onmouseover=" $
('.subcategories:not(#86)').hide('fast');$('#86').show('fast');"
title="Geschenke">Geschenke</a></li>

View 4 Replies View Related

JQuery :: Background Position Animation Jumping Instead Of Easing?

Aug 20, 2010

why this background animation is jumping. Code and link are below:[url]....

jQuery(document).ready(function(){
jQuery('.program_info_2').hover(
function() [code].....

View 1 Replies View Related

Jquery :: Implement The Scroll To Effect For Anchor Jumping

Apr 7, 2011

I am trying to implement the scroll to effect for anchor jumping. I have taken the scripts and inserted them correctly... I think but still nothing.

View 13 Replies View Related

JQuery :: .combobox Jumping In Internet Explorer - When Click On Styled Comboboxes In IE

Feb 1, 2009

I've implemented the jquery.combobox plugin [url] on a site [url]. The problem is that when you click on the styled comboboxes in IE, the page "jumps" down, and sometimes this pushes the combobox off screen. I know this plugin relies on the dimensions plugin, and both the jquery and dimensions plugins are the most recent version. I think this problem has something to do with the celculation of the size of the view port (as the amount this jumps seems to be related to the size of the viewport,with smaller viewports causing this to jump further).

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved