?
Solved

Image with no link color?

Posted on 1998-06-29
4
Medium Priority
?
179 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 200 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

765 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