473,597 Members | 2,040 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Loading external pages internally.

Hey everybody, I am a complete newbie with Javascript but was
wondering if anybody could tell me how to load pages dynamicly within
a div?

Here is the site: http://regiesrule.info, i would like to have the
tabs on the top instead of opening up something inside the same html
document I would like to be able to load an external webpage in it.
Also if that is impossible then i would like to know why the current
setup does not work in IE7?

Thanks so much in advance,


May 8 '07 #1
1 1471
Danny said the following on 5/8/2007 1:18 PM:
Hey everybody, I am a complete newbie with Javascript but was
wondering if anybody could tell me how to load pages dynamicly within
a div?
Couple of ways. IFrames, AJAX, Dynamic script files...
Here is the site: http://regiesrule.info, i would like to have the
tabs on the top instead of opening up something inside the same html
document I would like to be able to load an external webpage in it.
Also if that is impossible then i would like to know why the current
setup does not work in IE7?
Why would anybody want to wade through all the external files to try to
debug that page though? There are at least 6 of them. But, I would start
by trying to fix the "style is null or not an object" error that IE7
reports when the page is loaded.

Start removing things from the page until you get a minimum test page
that works and start adding back to it until it breaks, then you find
the problem.

Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 8 '07 #2

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

Similar topics

by: benny | last post by:
Hi, I have a web pageA, that include the javascript, to do some onload event so that it would load another web pageB to perform some onload action. Could I able to load the pageB without showing it ? Or while loading pageA I would load the pageB onload event using javascript? I have one method i.e. <body onload="window.open("www.try.com", height=0, ... )> but once I have popup-blocker on browser I wont be able to achive that
by: Richard Myers | last post by:
Hello, Im not one for conspiracy theories but have Microsoft deliberately put some kind of delay into the loading of local documentation for VS.Net and the ..Net platform? I can google the answers i want faster than i can get the docs to load locally. This is not the result of the queries/keywords i am using either, I simply mean the time it takes the docs to load both from scratch and then even when switching between documentation...
by: Dave A | last post by:
I just don't get this... If I need to dynamically load controls into a web page I simply need to go PlaceHolder1.Controls.Add(new Button()); or similar. However when I need to dynamically load a web user control into a web page then if we use the same syntax it will appear to work but the web control will throw all sorts of null reference exceptions. Rather for web user controls you have to use the syntax ...
by: Jason Boardman | last post by:
Can anyone tell me how I can write HTML to a WebBrowser control in Visual Basic 6? I want to display HTML in the browser that is generated from within my VB program (as opposed to loading it from a file or URL). Is this possible? Jason
by: ozzy.osborn | last post by:
Hello All, I have been struggling with a cross browser solution to loading external javascript files on the fly. I have been successful using the following code in IE6: var newScr = document.createElement("SCRIPT"); newScr.src = "newScr.js"; newScr.type="text/javascript";
by: ernesto.tejeda | last post by:
Hello, I have a couple of questions regarding the loading of .js files for the browser and would like anyone to point me wher to find the answer (or if you know the answer and tell me will do just fine ;) ) - If I have several pages all using 'somejs.js' file this file is shared on disk and is downloaded only once... but how about in memory, is it also shared and just loaded once? -Also, when are the .js files unloaded from memory?
by: RoB | last post by:
Hi all, I'm coming from the Informix world and I have a customer using DB2 8.2.3 for Linux on Red Hat Enterprise ES. The customer is performing filesystem backups of the containers etc every night but they are not shutting down the database server while doing this. I only assume that this most likelly would leave an inconsistant backup image as there is nothing assuring that the modified pages in the buffer pool get written to disk...
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: aaronkmar | last post by:
Trying to get a loading image to spin while the query is loading. I can get the data div to fade in, but I can't seem to figure out how to get the gif while the query is loading. I'm using two divs.. id "entrytext" is where the data will load into and has a display:none contentLoading is the loading gif div.
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.