English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a webpage with a menu at the top. Lower on this webpage I have a table. I want to click on an item in the menu and have the webpage appear inside of this box, without using frames. I'm not looking for an easy way out by coming here, I just don't know what to call it, to even look it up. Thanks

2006-08-23 07:05:14 · 5 answers · asked by waddabunchabologna 3 in Computers & Internet Programming & Design

5 answers

You can use iFrames to open links in a table.

You can also open the links in table by giving it a target ID but if each of the pages u have to open is of different size u have to use iframes which can automatically resize table size accoring to the height of the page to be opened

http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

or just seach the net..there are a lot of scripts that will help u do do this.

hope this helps...

2006-08-23 07:11:22 · answer #1 · answered by VJ 2 · 1 0

There is no easy way to do this. You can use iframes as some people above have mentioned, they work like frames and can be included inside a table.

The other option, and it sounds closer to what you are trying to accomplish, is to use Ajax. The easiest way to do this is to get a toolkit to control the actual requests, have that toolkit request the HTML when you click on the menu link, then replace the innerHTML of a

in that table with the response. Its complicated, but toolkits like the one Yahoo has made and Dojo (http://www.dojotoolkit.org/ ) have made it a bit easier.

2006-08-23 14:34:14 · answer #2 · answered by John J 6 · 0 0

Well, you can't really open a link into a DOM element unless you stick an iframe into the element. So, I would do that.

Also, check out mochikit.com - it's a neat JS library which lets you do page manipulations and lots of other stuff.

2006-08-23 14:11:56 · answer #3 · answered by ouksta 2 · 0 0

at the listed site, you can try your html and javascript easily
===================================================

You should notice that a named anchor is not displayed in a special way.

To link directly to the "tips" section, add a # sign and the name of the anchor to the end of a URL, like this:


Jump to the Useful Tips Section


A hyperlink to the Useful Tips Section from WITHIN the file "html_links.asp" will look like this:

Jump to the Useful Tips Section

2006-08-23 14:12:02 · answer #4 · answered by ever_curious 3 · 0 1

try to give the table a name , like :-

and when u link a webpage , give it's target to table's name , like Click Here ,
i hopr this solve ur problem , goog luck ..

2006-08-23 14:10:34 · answer #5 · answered by Djkdon 2 · 0 1

fedest.com, questions and answers