472,951 Members | 2,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 software developers and data experts.

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 4037
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
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
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
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
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
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
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
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
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
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. ...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...

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.