Solved

Image with no link color?

Posted on 1998-06-29
4
175 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Outlook opens HTML email as text 4 31
Applications / Web Apps that enable highlighting text on Web Pages 3 30
Asp in script 6 39
CSS Style 8 19
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

829 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