Solved

Image with no link color?

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to Left-Align Navigation bar? 4 27
Width of Page is Affecting Side Menu 6 26
paypal ipn url 5 58
key press alert 2 19
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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 …
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…

803 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