473,701 Members | 2,530 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error pages and an iFrame

My website uses an iFrame to display information, and when you click
any of the links, only the iFrame changes and nothing else.
What I would like to do is, when a link is clicked, to see if there are
any errors (400, 404, 500, etc.) before changing the iFrame, and if so,
it displays the error page; if there are no errors, then send the user
the information requested. Is it possible to do this, or would I need
to use something like ASP/PHP?

Jul 23 '05 #1
1 1366

<ll*******@gmai l.com> wrote in message
news:11******** *************@z 14g2000cwz.goog legroups.com...
My website uses an iFrame to display information, and when you click
any of the links, only the iFrame changes and nothing else.
What I would like to do is, when a link is clicked, to see if there are
any errors (400, 404, 500, etc.) before changing the iFrame, and if so,
it displays the error page; if there are no errors, then send the user
the information requested. Is it possible to do this, or would I need
to use something like ASP/PHP?

Unless my sleepy brain is missing something..... don't you get the desired
result by default?
If no such... then the iframe displays a 404 else it displays the page
referenced in the link?
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Peter | last post by:
Hello, First of all, sorry for all the code. I don't know how to explain my problem without it. I have a javascript function which can build a webpage dynamically. A striped down version of the function looks like this: BEGIN CODE
by: paul dallaire | last post by:
HI! I need to associate a iframe pages to a specific page for my menu system. I want to be able to click on my menu system anywhere on my site and the options that is clicked will load that options ( iframe page ) into a specific page that holds the iframe. Right now the options are only available when on the page that holds the Iframe in question ( templates.htm )but if you are on another page ( index.htm) how do we tell it to load...
by: CJ | last post by:
I have a page with a bunch of iframes (which make up a tab control). At least one of these iframes contains an aspx page, which in turn contains a .ascx component. This component then contains a datagrid. Is there any way that I can access this datagrid from one of the other iframes? The grid contains a template column containing checkboxes, and I need to access the rows for which the checkbox is selected from this other iframe. Since...
by: denappel | last post by:
Hi all, We're currently developping an asp.net 2.0 project, and ran into a problem with the new menu control. At the first load of the page, no errors are generated, but after a first postback an error pops up when hovering over a menu item: "Error: '0.cells' is null or not an object"
by: Wayne Deleersnyder | last post by:
Hi All, I'm hoping to try to solve this error. I'm currently putting together a little web app, but I need it to work under both IE6, IE7, Mozilla, etc... Although the formatting is off for some pages, I suspect that's due to issues with IE6. I'm hoping to use the app on the company network, and most of our computers have to stay at IE6 until the powers that be say we can upgrade to IE7. Anyways, here's the BIG error in my case. On...
by: SHC | last post by:
I'm in need of some javascript to load two pages into two seperate iframes which are on two seperate and different pages. Rather complicated I know (and easier done in one frameset), but caused by some limitation issues of SharePoint. To help:
by: Jeje | last post by:
Him I know a lot of people suffer this issue in the past... but in my case it's really hard to reproduce the session timeout error. everything works fine, the user can see the reports etc... this can works fine for days. and suddenly a user can receive the timeout error, and only when he try to export the report! (in PDF or Excel...) if the user purge his internet explorer cache and export again, then it's
by: djlender | last post by:
Hi All! I'm hoping someone can help me with this situation. I am a developer working on a project that has a video voting page. The situation is this: The parent page has an iFrame ( named iFrame1 ) and it is supposed to load in an external .html page that has a flash video in it. The external .html page is supposed to load when a user clicks on a thumbnail image on the parent page. There are 20 external .html pages that a user can load in...
by: zwsdotcom | last post by:
I've been looking for references for some weeks now, but haven't found an answer to the following question. I'd love some help on this: *Without* using JavaScript or other active client-side scripting, server-side includes or frames, is there a way to include a standard header on all pages within a site? The design goal is to have the header links and title graphic on every page kept in some single place, so that a change to the header...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.