Solved

Image with no link color?

Posted on 1998-06-29
4
177 Views
Last Modified: 2010-04-09
http://www.huron.net/~jlewis/new/index.htm is where I'm keeping the pages I'm working on.  In the top left corner i have an image that says home.  It was an image map but I need two frames to change when it's clicked on so I just left it a normal image for now.  I'd like to click on it and have it change two frames as well as have text appear in the status bar.  One other thing I don't like is the link color around the image.  Can anyone help me with that?
0
Comment
Question by:treyjeff
[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
4 Comments
 
LVL 6

Accepted Solution

by:
Holger101497 earned 50 total points
ID: 1844441
Get rid of the blue box around the image with <img src=... BORDER=0>

Change two frames by using JavaScript-URLs... I won't elaborate because you already use these elsewhere on your page...

<MAP ...>
<area shape="rect" coords="163,17,192,36" href="javascript:parent.subnav.location='test1.htm'; parent.main.location='test2.htm';" onMouseOver="status='This is my link';return true;" onmouseout="status='';return true;">
</MAP>

should do it...

Good luck!
0
 
LVL 1

Author Comment

by:treyjeff
ID: 1844442
Ok, the link thing worked but you have to look at my pages to see where I'm saying there is an error.  I use the javascript navigation for the home link but it gives an error.  Also, I'm not using an image map anymore.
0
 
LVL 6

Expert Comment

by:Holger101497
ID: 1844443
Your problem is not at all related to the question!

<frameset framespacing="0" border="false" frameborder="0" rows="64,*">
  <frameset cols="86,49%">
    <frame name="home" scrolling="no" noresize target="contents" src="homenav.htm">
    <frame name="mainnav" src="mainnav.htm" scrolling="no" noresize>
  </frameset>
  <frameset cols="86,*">
    <frame name="subnav" target="main" scrolling="no" noresize src="subnav.htm">
    <frame name="main" src="main.htm" scrolling="no" noresize>
  </frameset>
  <noframes>
  <body>
  <p>This page uses frames, but your browser doesn't support them.</p>
  </body>
  </noframes>
</frameset>

You are using NESTED frames, so "parent" refers to the next-level frameset, not to the top-level frame,
i.e. in your "home", "parent" refers to the first frameset which does NOT contain a frame called subnav, it would have to be something like parent.parent.frames[1].subnav, or - easier - top.frames[1].subnav.
You could also name your framesets to make the code more readable...

Also, you should generally check your code!! <frameset cols="86,49%"> is not quite correct... (what happens to the rest?)

Let me know if that helps...
0
 
LVL 1

Author Comment

by:treyjeff
ID: 1844444
It helped.  As for the coding of the frames, it was Front Page 98 that coded that!  I decided to try using one of the new editors out there to see how it would go.  Apparently I have run into more problems than normal.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS style formatting? 2 56
Popup write two lines 3 31
A responsive image gallery using flexbox 6 74
Need help with FaceBook login 2 40
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

737 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