473,625 Members | 3,329 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying content of every hyperlink to a common div

20 New Member
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3.  
  4. <base target="body"/>
  5. </head>
  6.  
  7. <body>
  8.  
  9. <div id=wrapper>
  10.  
  11.     <div id=header>    
  12.         Header goes here
  13.     </div>
  14.  
  15.     <div id=NavMenu>
  16.         <nav id="dropdownmenu">
  17.  
  18.                 <li> Mail
  19.  
  20.                 <div class="column">
  21.                     <a href="#">Mail1</a>
  22.                     <a href="#">Mail2</a>
  23.                     <a href="#">Mail3</a>
  24.                     <a href="#">Mail4</a>
  25.  
  26.                 </div>
  27.  
  28.                 </li>
  29.             </nav> 
  30.         </div>
  31.  
  32.         <div id=left-menu>
  33.                <a href="test1.htm">click to test</a>
  34.         </div>
  35.  
  36.         <div id=content>
  37.         &lt;iframe name="body" width="500" height="300">
  38.         &lt;/iframe>
  39.         </div>
  40.  
  41.         <div id=footer>Footer goes here</div>
  42. </div>
  43.  
  44. </html>
  45.  
  46.  
here i am using a iframe to display the content of any hyperlink to display in content placeholder.
Is there any other better way out where in whichever link i click,respectiv e page is displayed in content area denoted by div id=content
Hope i'm clear.
Kindly guide me.
Sep 23 '13 #1
1 1518
nomad
664 Recognized Expert Contributor
Another way is get rid of the iframe and use a stacking order using AP DIV and then hiding the ones you don't want to show.
Each AP DIV will have to be on top of each other.
It alot of work and can be very difficult to figure out.
Sep 30 '13 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
4187
by: jose.mendez22 | last post by:
I'm trying to fire a pop-up window before I execute a lengthy stored procedure so I may utilize this window as a status window on number of records executed. After my response.write statements which include the javascript I call the flush mehtod, which seems is ignored? However when I mimic the same process using a loop (and no ado object) the flush works correctly. Does anyone have any suggestions why this is not working or a work...
0
1000
by: rakesh_cool12 | last post by:
Myself doing one form based application. where there will be one textbox. when i enter 1st letter in that textbox it will display all the website start with that letter in that form . i am doing this in managed vc++.net. so plz somebody guide me that which control i have to put in the form for displaying all the hyperlink. and how to check always with every letter.
2
1493
by: pooja.mishra | last post by:
Hi, I wanted to display content of C file in browser. Can anybody help me out?
4
3968
by: cathy | last post by:
Hi All, I am having problems displaying content relevant to the option selected in a drop-down menu. I have an xml document which is running content through Flash and I need to have the same content on a web page. I am working in Dreamweaver 8 and code in asp.net (vb). I need to have a drop-down menu listing available news articles, when one is selected the article should appear on the page. I have currently managed to populate the...
0
1284
by: Chris Davoli | last post by:
I'm using Visual Studio 2005 to build my web pages. This works fine except for using the VS2005 design mode and inserting panels to not display some rows (before and after TR tags), it won't show the html inside the panels. I have the panel set to visible= true, and it renders the html correctly when I browse the page, but in the WSIWIG design mode in VS2005, it doesn't show the html in between the panel tags. This makes it hard to...
2
2055
by: Mike P | last post by:
How do you display the content of an HttpWebResponse object on an ASP.NET web page? *** Sent via Developersdex http://www.developersdex.com ***
0
1039
by: Mike P | last post by:
How do you display the content of an HttpWebResponse object on an ASP.NET web page? *** Sent via Developersdex http://www.developersdex.com ***
3
2510
by: Uriah Piddle | last post by:
Hi Gang, in VS 2005, I have an Asp:Hyperlink in a GridView TemplateField. I am trying to figure out how to make the text of the hyperlink wrap to the next line if it is too long. Setting the Width prop of the hyperlink or the Wrap prop of either the GridView itself or the ItemTemplate does not work. Thanks for any ideas. Steve
5
2984
by: Terry | last post by:
Hi folks. I was wondering if anyone is aware of any pure css methods of displaying content based on what the user clicks on or mouses over. I am considering creating a menu for my restaurant project that will display menus for breakfast, lunch and dinner. I was thinking of displaying the breakfast menu only if the user clicked on or mouseovered a breakfast image, and displaying the lunch menu if lunch image was clicked on or mouse...
3
1371
by: knkk | last post by:
I have 2 sites, example.co.in and example.com, hosted on 2 different servers (I have all access details for both). When someone accesses example.co.in/a/b.php?c=d, I want it to show the HTML of example.com/a/b.php?c=d This site has to be search-engine-friendly, so I do not want to use an iframe, or even AJAX, since all the content has to be in the HTML - basically, example.co.in/a/b.php?c=d should output just the same HTML as...
0
8256
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8189
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8694
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8356
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7184
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1500
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.