473,486 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to publish external content in a div

Hi,

I've got a web page that's a work in progress (it's only got dummy
data displayed) at http://home.comcast.net/~CaptQueeg/A...nMenuTest.html

When I click on any menu item, the referenced item is displayed on
the current window. Using be back button, will allow me to select
another item and repeat the cycle.

As I recall, years ago I was able to direct that extenal content to a
frame on the currently displayed page. Now I've got a div that's got
the additional data displayed.

Is feasible to replace that div's innerHTML with the selected content
using scripting? Is there a CSS mechanism that would be helpful?

Thanks in advance,
Richard

Aug 21 '07 #1
2 4062
On 22 Aug, 00:05, RichardOnRails
<RichardDummyMailbox58...@USComputerGurus.comwrote :
Is feasible to replace that div's innerHTML with the selected content
using scripting?
Just use an <iframe>

Aug 22 '07 #2
On Aug 22, 8:06 am, Andy Dingley <ding...@codesmiths.comwrote:
On 22 Aug, 00:05, RichardOnRails

<RichardDummyMailbox58...@USComputerGurus.comwrote :
Is feasible to replace that div's innerHTML with the selected content
using scripting?

Just use an <iframe>
Hi Andy,

Thanks for responding.

I agree that Frames would work. I've used Frames successfully in the
(distant) past for this purpose. But I haven't written much HTML and
only started studying this stuff seriously about a month ago. I'm
adopting the philosophy expressed in Wikipedia, which says (in
http://en.wikipedia.org/wiki/HTML_element#Frames):

<QuoteThe use of presentational markup is discouraged. The
equivalent CSS should be used instead. Deprecated elements are only
valid in the Transitional and Frameset variants of HTML 4.01 and
XHTML1.0. They are invalid in the Strict variants of HTML 4.01,
XHTML1.0 and XHTML 1.1. <b>...</band <i>...</iare invalid in the
current draft of XHTML2.0.
</Quote>

Nevertheless, W3Schools (in http://www.w3schools.com/tags/default.asp)
says frames are valid HTML 4.01, i.e. they have not been deprecated.
But I'm trying to adhere to the concept that HTML is for content, CSS
is for presentation, and JavaScript is for dynamic presentation.

My long-range goal is to use Ruby on Rails for website development,
and RoR uses AJAX for this kind of stuff. I feel I have to get a
handle on the underlying the underlying technology I just mentioned.
I think AJAH suits my purpose.

Best wishes,
Richard

Aug 22 '07 #3

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

Similar topics

0
1174
by: anas.sal | last post by:
Hi everyone! The goal -- I want to publish ebooks of my collage in my site. The problem -- The original "Content" module of phpnuke has some limitations -- such as limited number of...
5
2567
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
5
3609
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
4
6359
by: Mike L | last post by:
Error occurs on "System.Deployment.Application.ApplicationDeployment.CurrentDeployment" ** Here is my code private void frmMain_Load(object sender, System.EventArgs e) {...
0
1395
by: Open Publish 2007 | last post by:
Open Publish 2007 March 7 -9, Baltimore, Maryland http://www.open-conferences.com/baltimore/cfp.html Open Publish, is seeking participants to present on management and implementation issues...
0
1559
by: Open Publish 2007 | last post by:
Open Publish 2007 March 7 -9, Baltimore, Maryland http://www.open-conferences.com/baltimore/cfp.html Open Publish, is seeking participants to present on management and implementation issues...
0
1332
by: Open Publish 2007 | last post by:
CONFERENCE PROGRAM AND KEYNOTE PRESENTERS HAVE JUST BEEN ANNOUNCED FOR OPEN PUBLISH 2007. http://www.open-conferences.com/baltimore/sched-at-a-glance.html Open Publish 2007, bringing together...
1
1883
by: spig.marco | last post by:
HI to all, I user VB EXPRESS .NET, and I want to include a directory with a database or files like photos in my final distribution. I'm trying for hours, but in My Project->Publish-......
3
1664
by: nahum_barnea | last post by:
Hi. I have a VB (2005 Express) GUI that activates an external "dos" .exe file. I want to "publish" the software (VB GUI + external dos .exe) to a setup file, that the user will install. ...
0
7100
marktang
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,...
0
6964
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...
0
7126
Oralloy
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,...
0
7175
jinu1996
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...
1
4865
isladogs
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...
0
3070
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
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 ...
0
262
bsmnconsultancy
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...

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.