Floating Button Causing Page To Redirect Spontaneously
Sep 5, 2011
I have a floating button that is on a webpage via a javascript call.For one customer whose site is aspx, it causes a spontaneous redirection to the home page on their site.This happens after about a minute on the page & only on IE(7 or 8), BUT not on every IE configuration that I've tried. I've watched it happen with firebug lite running and didn't see any console messages or anything.
function toSubmitted() { document.myForm.action = some URL that has to do with a Filemaker Pro backend. document.myForm.submit(); window.location = "www.google.com"; }
Supposed to submit myForm, which sends necessary data to the FileMaker backend, and then I am wanting to redirect to a new page immediately after that.
The "window.location = "www.google.com";" line does not seem to function in its present location.
I have an internet key on my keyboard, and I'm sure others do too. When I push it, it opens Internet Explorer to my homepage. If I am already in internet explorer, and the page is focused, and I push the internet button, then it changes the location of the page to my homepage.
I want to prevent it from doing this for my users whom visit my site. I have a popup, and while in that popup, it is likely they push that button, or start internet explorer. Is there anyway to detect this, and either block it, or blur the page before it takes effect in Javascript?
It DOES NOT happen if I push START>Internet Explorer since when I click Start, it blurs the webpage.
I have a page that's built using ASP.NET and using a master page.Page contents shows up for a moment then I get a blank page - when I run it. If I remove the jQuery code from my page - then I get the contents.
how site like Magento and cs-cart have the 'save' button always showing. When you scroll up or down it floats at the bottom of the screen and then when it reaches the point it is suppose to be it stays stationary on the page.
I need to have a submit input button automatically start a download when clicked, but also redirect to an additional "information" page. Since I'm not sure if this can simply be solved with HTML or must use some Javascript.
I believe I'm having an issue with the jQuery Cycle plugin. For the duration of the occurrence of a transition, the page appears to be "jumping" due to the fact that the site content is centered vertically and horizontally and the transition is making (inactive) scrollbars disappear entirely. I have not witnessed this personally in Safari/Firefox on Mac or Firefox/IE8 on Windows, but a colleague took a video of it happening on their machine with Firefox (Mac). Some see this problem, and others don't—I haven't been able to narrow it down. I also can't put overflow:hidden; on <body>, as I need the site to scroll if the browser window is too small.Here's the video, it's a 1.8 MB QuickTime file:[URL]
Stuck in the bottom-right corner of this page is a Social Media sharing tool floating over the page content. It's semi-transparency changes upon hover. It grows out from the corner upon hover as well. [URL] I'm thinking it's ShareBar but I don't see anything like it on the ShareBar site.
I have 2 fixed divs in the site I'm developing. One of them is just a tab and the other div is a contact panel. These divs alternate - if the user clicks on the tab, the tab is hidden, and the panel shows and vice versa. Everything works great. Except that when I click on the link to hide either tab or the panel, the page behind it scrolls to the top. I would like the panel to show/hide but for the page behind it to be unaffected.
// Configure Contact Us panel on page load $('#contacton').hide(); $('#contactoff').show(); var contacting = false;
I'm writing a script, part of which calls an AJAX request to populate a table. This script runs when the page is first loaded and when different buttons are clicked on the page (I won't go into the details here). It works just fine when the page is first loaded, but whenever the function is called from any other event on the page (onclick, etc) it performs the function, but then proceeds to reload the whole page!
I've spent a long time debugging and trying to figure out exactly where the trouble is starting, and the only thing I can think is that some sort of "reload page" command is being sent to the browser somewhere that I'm not seeing. In Firefox, after the request is complete and the response data is written to the page, the page reloads. However, in Safari, the page reloads after the readyState is 1, so the request hasn't even been sent yet.
Here is the offending function:
Javascript Code:
function fillLogTable(date, org, poc, name) { document.getElementById("visitLogTableDiv").innerHTML = "<br />Loading..."; //fetch the logs
I have an iframe somewhere on my page. Now on click of a link, I would like to show it in a different location on the same page, BUT I don't want it to reload again. I've tried this simple method but it doesn't do it because the iframe reloads in its new location.
I am using a timer to fadeOut and fadeIn some articles such that 5 articles are displayed in rotation.However, for some reason the call to fadeIn or fadeOut is causing the page to change it's y scroll position. If I am currently at the bottom of the page, the fadeIn call causes the page to scroll up.
I'm using a .click event handler to add new classes to 9 list items. It does this perfectly, but once it's been clicked it reloads the page and everything resets!Here's the jQuery:
$("#diamond").click( function() { $("#storage ul li#1").addClass("box1-diamond"); $("#storage ul li#2").addClass("box2-diamond");
I have a very simple image rotator that brings in images then rotates through them using fadein/out.
You can see it going here: [URL]. If you scroll down to the bottom of the page then wait a few seconds the main image will rotate and the browser will jump up (almost as if it's going to an anchor).
The images are brought in to a 100% div and the images are specified to 100% width (not sure if this is related but I'd thought i'd let you know!).
The code I'm using is this:
function run_slides(id){ var curid; var nextid; curid=id;
I got this message when i try to open the main page of my applicationpankaj.site in IE 6 or IE 7. This is working fine in Firefox, Safarietc."Stop running the script?A script on this page is causing IE to run slowly.If it continues to run, your computer may become unresponsive."After I clicked the "Yes" button, then the loading message came up andstopped there.
So it took me forever but I finally found a floating menu that works with a horizontally scrolling page - but of course, there's still a little bug. View the page here: [URL]
As you can see, the more you scroll right, the more the menu "compacts" itself, eventually disappearing altogether.
You can view the code & script codes by viewing the source of the page.
As per the rather long subject, I would like to (well, my boss would like me to...) on a popup have one button to close and another to close but then redirect to another page.
I have a website with a floating cart and it loads fine and works almost flawlessly . However, when a person has a bunch of items in their cart, and they want to minimize it for the rest of their browsing experience, every time a new page loads, or a refresh happens, the floating cart un-minimizes and expands out fully again displaying all the items.
This can become very annoying during the shopping experience when you have a bunch of items loading and just taking up space in the browser. Therefore, I am wondering if their is some html or script that would save the minimizing in the floating cart, and carry it over to the next page, and the rest of the browsing on site?
Goal 1: display errors above the form on same page
Goal 2: direct users to a new thankyou page when form is submitted.
The form uses ajax. I am able to get it to work with the error messages displaying correctly but as is, the thankyou message also displays in the same spot and the form is left filled out. I need it to direct to a new page I designed for the purpose.