473,769 Members | 5,570 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please Help, New site QUICK

I am making a website and I need help promptly. Here is the code first
off

-----File Header.htm-----

<HTML>
<HEAD>
<TITLE>Black Hawk Down</TITLE>
</HEAD>
<LINK REL=stylesheet TYPE="text/css" HREF="style.css ">
<BODY>
<H4 ALIGN=CENTER><A HREF="index.htm " TARGET="win-main"
class="links">H ome</A> &nbsp; &nbsp; <span class="links"> |
</span>&nbsp; &nbsp; <A
HREF="http://inquirer.philly .com/packages/somalia/sitemap.asp"
TARGET="win-main" class="links">B lack Hawk Down Info</A></H4>

<CENTER><IMG SRC="blackhawk. jpg" width="310" height="129"><P
class="largeTxt " align="center"> Black Hawk Down</P>
</CENTER>

<BR>

<TABLE BORDER="3" BORDERCOLOR="#C C9900" ALIGN="CENTER" CELLPADDING="4"
WIDTH="85%" SUMMARY="hoveri n">
<TR ALIGN="CENTER">

<TD WIDTH="14%" class="hoverin" onMouseOver="th is.className='h overout'"
onMouseOut="thi s.className='ho verin'"
onClick="docume nt.location.hre f='http://www.google.com' ;"
style="cursor:p ointer;cursor:h and"><A HREF="UA.htm" TARGET="win-main"
class="links">U rban Assult</A></TD>

<TD WIDTH="14%" class="hoverin" onMouseOver="th is.className='h overout'"
onMouseOut="thi s.className='ho verin'"
onClick="docume nt.location.hre f='http://www.google.com' ;"
style="cursor:p ointer;cursor:h and"><A HREF="BridgeSe. htm"
TARGET="win-main" class="links">B ridge SE</A></TD>

<TD WIDTH="14%" class="hoverin" onMouseOver="th is.className='h overout'"
onMouseOut="thi s.className='ho verin'"
onClick="docume nt.location.hre f='http://www.google.com' ;"
style="cursor:p ointer;cursor:h and"><A HREF="Events.ht m"
TARGET="win-main" class="links">E vents</A></TD>

<TD WIDTH="14%" class="hoverin" onMouseOver="th is.className='h overout'"
onMouseOut="thi s.className='ho verin'"
onClick="docume nt.location.hre f='http://www.google.com' ;"
style="cursor:p ointer;cursor:h and"><A HREF="Stats.htm "
TARGET="win-main" class="links">S tastics</A></TD>

<TD WIDTH="14%" class="hoverin" onMouseOver="th is.className='h overout'"
onMouseOut="thi s.className='ho verin'"
onClick="docume nt.location.hre f='http://www.google.com' ;"
style="cursor:p ointer;cursor:h and"><A HREF="Feedback. htm"
TARGET="win-main" class="links">Q uestions</A></TD>

<TD WIDTH="14%" class="hoverin" onMouseOver="th is.className='h overout'"
onMouseOut="thi s.className='ho verin'"
onClick="docume nt.location.hre f='http://www.google.com' ;"
style="cursor:p ointer;cursor:h and"><A HREF="Links.htm "
TARGET="win-main" class="links">L inks</A></TD>
</TR>
</TABLE>

</BODY>
</HTML>

-----File Home.htm-----

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<title>Black Hawk Down</title>
</head>

<frameset rows="290,*" frameborder="no " border="0" framespacing="0 ">
<frame src="header.htm " name="topFrame" scrolling="No"
noresize="nores ize" id="topFrame" />
<frame src="index.htm" name="win-main" id="mainFrame" />
</frameset>
<noframes><body >
</body>
</noframes></html>
-----File Index.htm-----

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<title>Black Hawk Down</title>
<link href="style.css " rel="stylesheet " type="text/css">
</head>

<body>
<P align="center"> TEST TEXT and RANDOM TEXT</P>
</body>
</html>
My problem is that in the Header file, the menu bar has a onclick
command that when a cursor moves over the table cell, the table will be
highlited and when clicked on, it will open google.com. There is text
inside the cells. (The links are wrong, dont worry about them) What I
want to happen is when I click on the table cell or link in the table
cell, it will open the window in the frame "win-main". Now, if I click
on the link, the site opens in the "TopFrame". How do I make it open in
the win-main frame. Please help me because its for a class project.
Thanks.

Oct 22 '05 #1
3 1503
vi*******@gmail .com said the following on 10/21/2005 8:58 PM:
I am making a website and I need help promptly. Here is the code first
off

No, you are doing homework. There is a difference.
My problem is that in the Header file, the menu bar has a onclick
command that when a cursor moves over the table cell, the table will be
highlited and when clicked on, it will open google.com.
Yes, thats the way you have it coded. IMO it's stupid but thats the way
you have it.
There is text inside the cells. (The links are wrong, dont worry about
them) What I want to happen is when I click on the table cell or link in
the table cell, it will open the window in the frame "win-main".
Then set the URL in both the link and the onclick to the same URL and
set the target attribute accordingly.
Now, if I click on the link, the site opens in the "TopFrame". How do
I make it open in the win-main frame.
comp.info.www.authoring.html is over there ========>

Please help me because its for a class project.


Do I get your grade and credit for it if I do it?

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Oct 22 '05 #2
First off, how do I set the target, or where?

<TD WIDTH="14%" class="hoverin" onMouseOver="th is.className='h overout'"
onMouseOut="thi s.className='ho verin'"
onClick="docume nt.location.hre f='http://www.google.com' ;"
style="cursor:p ointer;cursor:h and"><A HREF="www.googl e.com"
TARGET="win-main"
class="links">U rban Assult</A></TD>

Now where on this line of code do I put the target and how? And if you
want credit in this assignment, I will give it to u. Just ask

Oct 22 '05 #3
vi*******@gmail .com said the following on 10/21/2005 9:31 PM:

Please quote what you are replying to.

If you want to post a followup via groups.google.c om, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.

First off, how do I set the target, or where?


<a> elements have a target attribute that you are using in your link. In
the onClick, instead of setting document.locati on.href you set
parent.frames['frameNAMEnotID '].location.href

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Oct 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1855
by: Carolyn Gill | last post by:
I have already created an asp login/database for a learning/quiz section on a small site. There will be multiple quizzes through the site and what I need now would be help: tutorials or advice that a complete novice can understand/follow to create the following: A small simple quiz--for now each has just one question with 5 multi-choice buttons. On submit should send the answer to A) a database (using access for now) to track scoring...
1
2182
by: Robert Hathaway | last post by:
COMP.OBJECT FAQ Version II Beta now Available http://www.objectfaq.com/oofaq2 ================================================== - Latest Important Information on Object Technology - What's New Page - What professionals *must keep up on* in rapidly changing environment - Available on Homepage, email notification on updates now available - Good Resource Site - Latest in Object Technology - Complete Coverage of Object Orientation - Up to...
8
2389
by: Ryan Sullivan | last post by:
I am using a PHP calendar with MySQL backend. For some reason, when you click on an event in the calendar (which brings up a pop-up window), there is a scrambled mess before the description. I have deleted the tables and recreated them, but this has not solved the problem. Could someone take a quick look at my site and help me out? It's at: http://dcavello.phenominet.com/calendar Thanks! Ryan --
5
4086
by: anthonyberet | last post by:
I work for an organisation that uses a bespoke document imaging system, the database of which is an MS sql server. We have MS Access and already use it for some querying of the database. The database comprises a large number of distinct cases, which are differentiated by case reference numbers, in one field (table?) of the database. Each of these cases may have many documents associated with it, denoted by the reference number, and these...
0
1934
by: Jim | last post by:
I need some help getting started with a .NET web project for a commercial site. I am new to .NET and my understanding of some (but not all) of its concepts is a little sparse. I apologize for the length of this message, but hopefully it will help someone here give me the most concise and useful information, and perhaps help others out as well. :) It's been a while since I've had to design anything "real" for the web. I think the last...
2
1106
by: Jeffrey A. Voigt | last post by:
We have a web site on one machine that has it's default directory pointed to another machine Example: Our Web Site (ON MACHINE A) Default Path Points to (MACHINE B\WebFiles) Everything works fine....
2
1397
by: news.microsoft.com | last post by:
I am starting to work with ASP.NET but am finding so many options that I am getting confused and would appreciate some advice. I have developed several ACCESS databases that we use internally and ASP pages to make some of the information available on our company website - this works very well and I like the flexibility of both Access forms and ASP web Our site has low traffic with never more than 3 on at any time - mostly I get...
1
9651
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
2
4893
by: scottSD | last post by:
Hi everyone. this is my first post here, but i've found quite a bit of great information from reading the forums in the past. i'm not sure if what i'm trying to do is possible or not, but here it is: i'm creating a dynamic list of checkboxes, basically to allow access to client information on a user by user basis. i use ajax to bring back a full list of clients, then loop through the list and create a checkbox for each client to...
0
9423
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
10219
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
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
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...
1
7413
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
6675
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
5310
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
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2815
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.