[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

about iframe?

Posted on 2001-06-15
5
Medium Priority
?
191 Views
Last Modified: 2013-12-24
I've got a javascript tree on my program. When I click on the one of the node,its description should appear on the right side - which is iframe. My question is how to put my data on the iframe ?
0
Comment
Question by:chocobo95
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:Yog
ID: 6195619
An inline frame or a floating frame, is a frame inserted within a block of text. The IFRAME element allows to insert a frame within a block of text, and it works much like inserting an object via the OBJECT element. Works in IE4+, NS6

Example
<IFRAME src="hello.htm" width="400" height="400"
scrolling="auto" frameborder="1">
Hello I am here, this is displayed if browser doesn't support iFrame
You can visit <A HREF="hello.htm">the related document</A>
</IFRAME>

Cheers
0
 

Author Comment

by:chocobo95
ID: 6197524
how about if my tree and my iframe are placed in the same file ?
0
 
LVL 5

Expert Comment

by:Yog
ID: 6198470
Then couldn't guess - can tell only based on how your javascript Tree is? Is it a regular control or db-driven etc?
0
 

Accepted Solution

by:
KeCl earned 150 total points
ID: 6203151
<IFRAME id="ifr" src="Empty.html" width... height... etc...>

In onclick u can write: onclick="ifr.location='Description.cfm?id=your_node_id'"

The only problem I don't remember: id="ifr" or name="ifr". I usually write both :)

PS also u can use complicated algorythms with document.write's :)...
0
 

Author Comment

by:chocobo95
ID: 6204909
all the nodes are db driven...
maybe you can see the display at :
www.geocities.com/otan_us/org.html.
the iframe located next to tree hierarchical.
as I click on one of the link, the iframe refresh and show the detail....

okay thx...

0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question