Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Hover links in Netscape

Posted on 1999-07-07
14
Medium Priority
?
268 Views
Last Modified: 2010-04-09
I use CSS to set fonts etc on my page but in Netscape the hover for links doesn't work. It works fine in IE. Whe the mouse is over the link it should change to yellow and underlined but doesn't in Netscape. Any ideas?
see http://surf.to/macros to see what I mean.
0
Comment
Question by:Macros
[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
  • 9
  • 5
14 Comments
 
LVL 2

Author Comment

by:Macros
ID: 1851634
Adjusted points to 60
0
 
LVL 2

Author Comment

by:Macros
ID: 1851635
Just looking at my page - if anyone goes there can you tell me why the date in the main frame isn't the actual last modified date? The one in the menu frame points to the same document but they give different dates.
Automatic A feedback to anyone who answers both questions.
0
 
LVL 4

Accepted Solution

by:
brigmar earned 400 total points
ID: 1851636
Macros,

Netscape doesn't implement the A:hover pseudo class, which is what you are using in your CSS.

The way you implement text "rollovers" in NN is to use layers.

A link to be rolled over needs to be contained in a CSS-P <DIV> tag. Then a duplicate <DIV> tag with the rollover "look" is created, placed to the same position as the original, but with a lower "z-order" (depth).

Use javascript to detect when the first layer is "moused over" to bring the "rollover" layers' z-order higher than the "normal" layer. The "rollover" layer, will detect when it is "moused out" and put it's own z-order lower than the "normal" layer, effectively rolling back to the original.

This is not easy, especially for multiple links.

The following URL is a good reference:
http://www.webreference.com/js/column4/index.html

Hope that helps,
Brian
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 2

Author Comment

by:Macros
ID: 1851637
Have you any idea about the date on the main frame (that's it's name in the frameset doc)?
I've tried parent.frames[1].document.lastModified
document.LastModified
parent.main.document.LastModified
parent.self.document.LastModified
but it still gives the date of the parent document or undefined - which I assume is casued by my lack of understanding of scripts.
0
 
LVL 4

Expert Comment

by:brigmar
ID: 1851638
Macros,

I'm getting a "Forbidden" trying to access your site.

Brian
0
 
LVL 2

Author Comment

by:Macros
ID: 1851639
It's working fine for me. The actual address is members.xoom.com/Traveller42.
I've sussed out some of the problem:
My page is at Xoom and I also use surf.to (masking the real URL) This results in nested frames.
surf.to creates a hidden frame called "thepage" which holds everything.
then xoom creates a frameset for it's banner at the top - the frame that holds my page is "thePage"
Then my index.htm makes two frames called "menu" and "main"

Phew - lost yet?

Now, how can I get "menu" to display the lastmodified date of "main" and "main" to display it's own lastmodified date?

If you can solve this I'll increase the points to 160 (my limit) and then giev you an A. Thanks, brigmar.

0
 
LVL 2

Author Comment

by:Macros
ID: 1851640
It's working fine for me. The actual address is members.xoom.com/Traveller42.
I've sussed out some of the problem:
My page is at Xoom and I also use surf.to (masking the real URL) This results in nested frames.
surf.to creates a hidden frame called "thepage" which holds everything.
then xoom creates a frameset for it's banner at the top - the frame that holds my page is "thePage"
Then my index.htm makes two frames called "menu" and "main"

Phew - lost yet?

Now, how can I get "menu" to display the lastmodified date of "main" and "main" to display it's own lastmodified date?

If you can solve this I'll increase the points to 160 (my limit) and then giev you an A. Thanks, brigmar.

0
 
LVL 4

Expert Comment

by:brigmar
ID: 1851641
Macros...

OK.. looking now ( i assume you were uploading when I recv'd the forbidden message).... this is your frameset heirarchy..

thepage
  pb
  thepage
    menu
    main
<undefined>

However, there are several ways to access your page..
http://surf.to/macros
http://members.xoom.com/Traveller42
http://members.xoom.com/_XOOM/Traveller42

The reference you require is :
document.lastModified

You may need to clear the cache from your browser. This may be why your date isn't changing.

Brian
0
 
LVL 2

Author Comment

by:Macros
ID: 1851642
That's what I am using - it don't work - I cleared my cache like you suggested but no change. I suppose the question is how do I reference another document in the hierarchy.
0
 
LVL 2

Author Comment

by:Macros
ID: 1851643
I've moved my page to Crosswinds (which I was planning to do anyway) and it works fine the way it should. It must be the extra frame at Xoom that was causing the problem.
Thanks for the help.
As for the Hover - it's only a gimmick anyway - I'm not going to bother getting into layers and rollovers and stuff - netscape users can still see the links fine.
0
 
LVL 2

Author Comment

by:Macros
ID: 1851644
Adjusted points to 100
0
 
LVL 4

Expert Comment

by:brigmar
ID: 1851645
Macros :

I am seeing the menu as modified about an hour ago, and the main content frame (index2.htm) as being modified 4 days ago.

Could you please make a change to index2.htm and re-upload it ?

Brian
0
 
LVL 2

Author Comment

by:Macros
ID: 1851646
I made a few changes to it over the last hour. I've moved the page anyway to Crosswinds and changed the surf.to
try http://surf.to/macros again - It should go to Crosswinds and the dates seem to be fine.
0
 
LVL 4

Expert Comment

by:brigmar
ID: 1851647
Hrmm...
wierd.... well as you say... it works on crosswinds :)

Brian
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

715 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