By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,730 Members | 1,524 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,730 IT Pros & Developers. It's quick & easy.

outerhtml question

P: n/a
In understanding how this works, would it not be possible then to replace an
item with another?

For instance, I have the first paragraph of "Lorem Ipsum" shown in a
division.
At the bottom is a ling showing "next".
Click on the link, the next paragraph replaces te previous.

<p id="lorem1">lorem ipsum stuff.</p>
<p id="lorem2">paragraph 2 stuff.</p>

I attempted to use the "Textual tooltip" swapping routine at Dynamicdrive,
but the code killed the other script for the menu.

What I'm looking for is a simple swap method, like image swapping, without
the use of z-index.

Also, if outerhtml is a solution to my problem, then could I have all the
paragraphs needed on an external page so that the various paragraphs do not
load with the main page?

If you must have a reference see www.somestuff.batcave.net/menu1.html


Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Sat, 22 Jan 2005 10:02:01 -0600, Richard <An*******@127.001> wrote:
In understanding how this works, would it not be possible then to
replace an item with another?
In a limited subset of browsers, yes. Unlike innerHTML, outerHTML has poor
support outside of IE and Opera (7?).

[snip]
What I'm looking for is a simple swap method, like image swapping,
without the use of z-index.


Just hide and show the content using the CSS display property. There are
countless examples in the group archives.

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.