473,748 Members | 11,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to link an HTML page to a Div tag in another?

2 New Member
Hey guys,

I'm kinda new to HTML/CSS. I am making a website in Dreamweaver 8. I'm having trouble doing something, and I don't even know if it is possible. I made a page using CSS and DIV tags to define each pane. Now the center (main) pane will show whatever page you want to display (ie. Home, Media, Contact, etc.). I made each page as a separate HTML file (ie. Home.html, Contact.html, Media.html, etc.), is there a way to link each of these pages to the main pane (div tag) so I can keep all other panes unchanged (menus, banner, etc.) and just display the content in the mentioned center pane? Thanks!
Apr 4 '07 #1
3 1842
AricC
1,892 Recognized Expert Top Contributor
Hey guys,

I'm kinda new to HTML/CSS. I am making a website in Dreamweaver 8. I'm having trouble doing something, and I don't even know if it is possible. I made a page using CSS and DIV tags to define each pane. Now the center (main) pane will show whatever page you want to display (ie. Home, Media, Contact, etc.). I made each page as a separate HTML file (ie. Home.html, Contact.html, Media.html, etc.), is there a way to link each of these pages to the main pane (div tag) so I can keep all other panes unchanged (menus, banner, etc.) and just display the content in the mentioned center pane? Thanks!
The best way to do this is with server side includes. You make the menu header etc.. an included file so you only have to update one place when you change a menu or whatever. Do you have any server side scripting available? PHP or ASP?
Apr 4 '07 #2
gilbelocity
2 New Member
I'm actually not familiar with those, but I do have Dreamweaver, so if there's a crash course I could get from you (or if you could copy the script), I would be very thankful.
Apr 5 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
What you want to look into is <frames> and <iframes>. I don't encourage that because there are inherent problems with those but it may be what you want.
Apr 5 '07 #4

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

Similar topics

2
1755
by: Dennis M. Marks | last post by:
I have seen partial answers to the following question but I am not sure of the best approach. I have a page that will only work with javascript. The link to the page indicates that. Within the page I have a clickable link to a function. The best html for that process seems to be: <a href="xxx" onclick="TheFunction(); return false">CLICK HERE</a> I assume the "return false" causes the href to be ignored but the function will be called....
14
3947
by: Don G | last post by:
Within the menu for my site, I have inserted 'class="current"' within the link for the current page. So the link looks somthing link: <li><a href="index.php" class="current">Home</a></li> The css for formatting the menu links is: #menu a:hover { background-color: #E00080; color: white;
8
1812
by: CHouck | last post by:
I have what seems to be a simple problem but I can't figure it out. I have a page where I have a link with variables built in which I want to pass through the URL so another page can pick the info up. My link on the first page (schedule.html) goes to this link: disclaimer.html?customer=238297&EventID=19080 And I have some Javascript in the page which places the link info into the URL:
26
3855
by: Harrie | last post by:
Hi, After Brian mentioned the use for <link rel=..> for navigational purposes in another thread, I've been looking into it and found that HTML 3.2 has two other recognized link types than HTML 4.01, which are "top" and "search". I compared these two pages: http://www.w3.org/TR/REC-html32-19970114#link http://www.w3.org/TR/html4/types.html#type-links
7
5933
by: Sean | last post by:
Hi I've written an HTML page that has a link to an MPG file, to be burned onto a "Demo CD". The MPG file is quite big - 500MB. On my computer, it works fine - clicking the link opens up Windows Media Player, which starts showing the video. But on another computer, the link opens up a new browser page, and shows the video as an embedded QuickTime video. The problem is (I think this might be QuickTime's fault) that it takes about 5...
19
8106
by: Martin Eyles | last post by:
Hi, I want to make a whole table a link, so that clicking anywhere on it takes you to another page. Unfortunately the way I initially thought of doing this involved invalid html. I have tried a second valid way, but the behaviour is not quite as good (at least not in firefox 1.5), with only the actual text being links. The examples of what I have tried can be found at http://www.bytronic.com/tests/links.html
2
2157
by: zglazer | last post by:
Hi -- I'm working on a website that uses Javascript and CSS to show or hide portions of text on each page. There's a sort of table of contents at the top of each page, and rather than using anchor links, my client wanted the selected item from the table of contents to trigger both the showing of its corresponding text, and the hiding of the text corresponding to the other items in the table of contents. I wrote the following code to...
13
2855
by: Casimir Pohjanraito | last post by:
I have a list of links, with a thumbnail image hidden(resized) next to the link. Complete html&css at end of this post. CSS for the link resizes the image on a:hover. All is good, except the list resizes to accomodate the image, thus "tearing up" the list. In some browsers the thumbnail and resize effect goes back and forth real fast (try mouseovering the "another page" link). I tried constraining the list item height, but that doesnt...
2
904
by: Aykut Canturk | last post by:
there's an aspnet site. some pages are html and cannot be changed. (no javascript nor links can be changed). these pages have links. for example a.html calls b. html like: <a href="b.html"page two link </a> I need a listenet that can understand and say : "hey somebody requested b.html." and will run some code, some db operations, and according to result this istener will send b.html or instead of this it
6
4483
by: liketofindoutwhy | last post by:
There is a link that encloses a span (or a div), but the link won't work in IE 7 (clicking on video image works, but not on the play button), while it works well in Firefox 2 and 3, and Safari 3. The intention is to make the link clickable on both the play button and the video image. the page is http://www.0011.com/test/test_link.html the code
0
8989
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
8828
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
9537
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...
0
9367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9319
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,...
1
6795
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.