Banner in iframe redirects and disables the "back" button

I have a Web site banner, made along with links to other pages of the site. The banner itself is in an iframe (usually avoid iframes but I could not with this one). If you click on a link, it will take you to the right page. However, if you click the back button on the browser, the original page begins to load, but quickly redirects you to the front once again, thus eliminating practically the back key functionality. However, if I click on 'back' again, it works.

Anyone had this problem before?

Another strange thing is that when loading the page, the content of the page I am sailing to begin to be loaded into the iframe before it redirects. I tried to add '_parent' as a target attribute to all my links, but the problem remains. Any suggestions? Edge automatically detects the iframe use and assign targets link to _parent with jQuery framework?

I stumbled on this issue, looking for the same answer in a slightly different context.

I had the same problem, a link clicked inside an iFrame might navigate correctly, but when the button was clicked, the page would go back, then immediately redirect to the page that I was already on.

I ended up using "_top" as value target in my anchor and that fixes the problem. I think it's because an iFrame has its own structure of Pseudo-document that this problem occurs, and say the anchor to target the object of the top-level window solves it.

Keith

Tags: Edge Animate

Similar Questions

  • Google web toolkit plugin for firefox (1.23) disables the back button of the browser. How do fix us this?

    I have Google Web Toolkit Developer Plugin for firefox (1.23). It worked for me, but I recently discovered that in my browser back button has been disabled. By trial and error, I discovered that it's the GWT developer Plugin that is the culprit. When I disable the plugin, the previous button starts working again. When I re - activate the plugin, the back button stops working. Has anyone else encountered this problem? My firefox is version 19.0. Anyone know what would cause the plugin to start to disable the back button?

    Have you tried to use Firefox 23? This is the version you should be running.

  • Disable the back button in the web browser in Windows 7

    I recently bought an X 201 and I would like to disable the browser web back and forward buttons, because I keep erasing inadvertently e-mails in web environments. I found a document that describes using the ThinkVantage keyboard customizer to do this, but it does not appear that there is a demand for Windows 7.

    Is there another way to disable the web browser buttons in Windows 7, or is there a different software should I download?

    Thanks for your help.

    I could solve this problem by using the customizer keyboard for Windows Vista. It can be downloaded at:

    http://www-307.IBM.com/PC/support/site.WSS/document.do?lndocid=MIGR-67288

  • Video playback HTML5 on Android, after the "back" button is used.

    Hi, I'm looking to create an app that plays the video online, using the HTML5 video tag. I have to support Android and have a problem on this platform. My app OK video online games when the application is first started, but if you exit through the back button and then restarted, the video will not play again. I have to "force stop" the app before it will work again. If I exit the application using the home button and restart, the video is very well and reproduce again OK. This behavior occurs if I'm playing a video hosted remotely or locally hosted video. The MP4 video format, I have tried all other formats at the moment. Can someone tell me what I am doing wrong? I guess that the needs of the "back" button a kind of reset or clear-up to the release of the app, but I can't find anything about it!

    I tried to catch and disabling the "back" button event, but that doesn't seem to work at all, maybe because I'm using the Ionic framework and do it in the wrong place. But in any case I don't really want turn off if I can help it.

    I have KeepRunning = false in my file config.xml.

    I am currently using PhoneGap Build, CLI 5.2.0, 4.1.1 Android on a Samsung tablet.

    My code (I am disabling the button full screen via CSS):

    <video id="vidStart" class="videoDisplay" controls="controls" webkit-playsinline>
                    <source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
    
                    Your browser does not support the video tag.
    </video> 
    

    Thank you, Andrew

    Using plugins in your application? If this isn't the case, you can consider using the Plugin of crosswalk (https://www.npmjs.com/package/cordova-plugin-crosswalk-webview), in this way, that you're not having to deal with the glitches of web view frustrating that occur on different versions of Android.

    Also, when this problem occurs, you see anything on your machine (adb logcat) console?

  • Why the back button isn't a drop-down list to go back multiple levels in Firefox 4? Y at - it an option to reactivate the which?

    Before that I've upgraded to Firefox 4, the back button (as it is in all other browsers under the Sun,) had a drop-down list so you could spend a layer of back up and fall back on several levels. This is particularly important when there is a site you redirecting and you cannot go back only to back single click. However, FF4 is not-at least not by default - and I do not see anywhere in the options to add. Is he hiding somewhere I didn't, or that has been deleted?

    You need to click on and hold the back button or do a right click to access the menu drop down.

  • Firefox 4 does not save form data after sending form and pressing the previous button

    Firefox 4 does not save form data after sending form and pressing the back button... It's very annoying that it erases all data. It worked fine on FF3.

    See:

    • Firefox or tools > Options > privacy > History: "don't forget to search and form history."
  • Disable/Capture the (back) button to escape?

    Hello

    I am developing an app that's only two pages; a login page, then the home page. The home page then displays various information by manipulating the DOM. Each 'screen' on the home page could link to other "screens" (by showing and hiding items in the DOM).

    Is there when even disable the Escpae Key that when a user clicks on it they are not force back to the login page? Or even better, can I enter the event and a function to display the "previous" of fire?

    Kind regards.

    An example of setting up the back button can be found here:

    http://www.BlackBerry.com/developers/docs/widgetapi/BlackBerry.System.event.html

    You can then perform all of the features you want

  • I recently blocked my macbook pro using find my iphone app now, he continues to display in 'your computer is disabled. Try again in 60 minutes. I tried pressing the option key and also the R button at startup. same thing is happening.

    I recently blocked my macbook pro using find my iphone app now, he continues to display in 'your computer is disabled. Try again in 60 minutes. I tried pressing the option key and also the R button at startup. same thing is happening.

    Hi iambjan,

    I understand that your MacBook Pro has been lost by the intermediary of find my Mac mode. Fortunately, you can go to the off mode lost through the steps described below.

    You can disable the lost Mode by entering the password of the device, or by following the steps below. Alternatively, you can follow the steps below to change the details displayed on your lost device.

    Note: If your credit cards and debit to pay Apple have been suspended because you put your iPhone in lost Mode, when you disable lost Mode and reconnect to iCloud, you can continue using your cards.

    1. Go to find my iPhone on iCloud.com.

      If you don't find my iPhone on iCloud.com, your account has fair access to the web features only iCloud. To access find my iPhone and other iCloud features, set up on your device iOS or Mac iCloud.

    2. Click on all devices, and then select the device that is lost.

    3. Click on lost Mode, then change the information or lost the stop Mode.

    If you cannot use lost fashion as find my iPhone is not configured on your lost device, see the article by Apple Support If your iPhone, iPad or iPod touch is lost or stolen.

    SEE ALSO
    Remove credit and debit of the portfolio (or book) maps

    iCloud: use lost Mode
    https://support.Apple.com/kb/ph2700

    Kind regards.

  • I updated Firefox on my Mac (10.6.8), and now the story is not known (that option is checked) and the back button will not work. Help?

    I updated Firefox on my Mac (10.6.8), and now the story is not known (that option is checked) and the back button will not work. Help?

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    You can also try to repair the database of places with this extension:

  • Whenever I try to click on the "back" button or the scroll bar, I get a popup asking me stupid questions, i.e.: Customize the toolbar / return reload etc how can I disable this gene

    When I click on the "back" button or the scroll bar with my mouse, I get a popup asking if I want to customize my toolbar back/reload/open (scrolling) or in a new window? I'm then cannot clear the pop-up window. How can I remove/fix this very annoying problem. I spend a lot of time trying to remove these popups and they keep recurring. No fix for that. I can't seem to find one in the preferences, and I'm starting to hate this OS because of this. Help!

    Please post a screenshot that shows what you hear. Please do not include personal information.

    Start a reply to this message. Drag the image file in the editing window downloading. Alternatively, you can include text in the response.

  • I want to configure firefox in kiosk mode, but I need to have the Back button (and before) and the available home button.

    The computer will be used only to access online catalog in my library. I need to remove the location toolbar, but keep the "back" button and the "home" button. If I use the Kiosk mode, I do not have the "previous" button. I can set it up so that I have the buttons but not the URL, but a user could right-click on the menu bar and reactivate the address bar. I need to stop them from doing it.
    Thank you!

    Users can always bring up an address bar with the shortcut Ctrl + L if this bar is hidden.

    One possibility is to hide the toolbar elements and elements of (context) menu with code in userChrome.css below default @namespace.

    Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #openLocation, #urlbar-container, #CustomizeToolbarWindow, #toolbar-context-menu {
     display:none!important;
    }
    
  • How can I disable the menu drop-down list on the back button?

    I use a laptop and my hands are not too clever. Whenever I click on the 'back' button, I get the drop-down list, which means that I must then back up my hand to the pad (gently!) to move the pointer, and then try again. It may take me several attempts to turn back a site now!

    I searched for hours how activate the drop-down list, nothing is done and even looked through all the settings in: config to try to find a way around it. Seriously impact my ability to use my laptop on the web now, so if someone can you please come up with a way to return to the old back button, with no menu when my finger slow old cannot move pretty fast down the key, I would be very grateful.

    There are two other ways to return to a page.

    • Right click on a box empty page you visit and use the dos command
    • From the keyboard, press {Alt + left arrow}
  • Can't let site when I click the back button, it keeps just returning on the site, have to close firefox and try again.

    Can't let a Web site when I click the back button, it keeps just returning on the site, have to close Firefox and restart my search.
    The website below is just an example, it is a little more.
    Is this a problem with Firefox or this particular Web site?
    Thank you for your help.

    I thank very you much for trying to help me.
    I think you pointed me in the right direction, I tried on IE (ugh!) and he worked there. It's been awhile that this HARD drive has been in service and I think it's time to do a clean reinstall of everything.
    Once again, thank you.
    fredsbroke2

  • Can I disable the new shipment when I hit the back button

    After you send a form (search form, say) and then by clicking a link on the page of results ("action"), I want to go back to the page of the form and change the criteria of form. However, when I hit the back button Firefox always want to re-post form data before I can go back further in history. Very clumsy. Is there a way to prevent this re-post and simply open the cached page?

    Google Chrome altogether kindly view of a page instead of the page of 'action' of the form which gives you the opportunity to submit again, or you can simply click back to return to the page of the form. I don't think that Firefox should force you to submit a form if you just try to navigate back in your history.

    I used to work around this problem by using the slot back button to choose the page of form directly, but the navigation/FF4 FF5 default buttons is not that much longer (that I can find anyway).

    Is there a topic: config that will prevent this re - submit forced?

    Use one of the following methods to open the history list and work around the page that gives the alert:

    • Right-click on the back or next button
    • Press and hold the left button of the mouse on the active back or forward button until the list opens

    You can watch this extension:

  • After no installation of firefox 4 no refresh or stop button and the "home" button on the side of har bar google search on the narrow page how do I put the back buttons they belongby the back button?

    I uninstalled and re installed and same even used a different installation file that it installed well on laptop had to go back to firefox 3. something until someone can tell me what is wrong

    A combined Stop/Reload/Go button that is placed at the right end of the address bar is used in Firefox 4.
    During the process of loading page it shows as a stop button and once the charging button is replaced by a reload button.
    If you type in the address bar this button would then become a button go.
    You can middle - click this button Reload to duplicate the current tab in a new tab.
    ---
    You can find the button at the right end of the Navigation bar.

    Open the Customize via "view > toolbars > customize" or "Firefox > Options > toolbars."

    Drag the home button from its current position on the right to the previous position to the left of the address bar.

    • Drag the buttons Reload and stop at their previous position to the left of the address bar.
    • Set the "Reload - Stop" order for a combined "Stop/Reload" button.
    • Set the order of 'Stop - Reload' or separate them otherwise to get two separate buttons.

Maybe you are looking for