The link color does not change after visiting the link

In my homepage, i define in the body both the alink and vlink for the specific link. My home page is defined as frame page. When someone click on the left frame(the links are in orange), he should get the page on the right frame, and the on the left frame, it should change to purple. It works with IE, but not in Netscape.
By the way, my page is www.shleppers.com.

Thanks Alon
oak022097Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michel021497Commented:
I think it is 'a bug' in NS. When you reload the page, the visited link is changed to purple.
So it works but not immediately, only after reloading the page.
The alink color does work. When you click on the link, it changes to purple, but changes to orange when you are ready with clicking the mouse.
0
oak022097Author Commented:
can I somehow do the refresh manually when the user click on any link? if yes, how?

Thanks
Alon
0
ajmaCommented:
What version of Netscape are you doing it with? I tried it with Netscape 3.03 and the links change to purple after I click on them.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Christian_WenzCommented:
if you insist on refreshing the content of the left frame, try adding the following to the <A> tags:

  onClick="refresh()"

tell me if it works...
0
Christian_WenzCommented:
sorry, wanted to post a comment x-(((
so if my answer doesn'T satisfy you from the beginning, please grade me 'F'.
0
Christian_WenzCommented:
BTW, checked the site with Netscape 3 and 4. the latter won't change the link color until a refresh is done.
0
tecbuilderCommented:
Just to confirm what Christian said.  The link doesn't change color until the page is refreshed/reloaded.  This is most noticable in frames.  However, the same thing occurs when you click on a link to go somewhere and if you press the 'Back' button you will find that the link color has not changed most of the time.  If the link has changed it is because the page was refreshed automatically do to a Meta tag.
0
oak022097Author Commented:
Can u please send me an example for such a line, because I got java error while inserting onClick=refresh() into the <a> tag.

Thanks
Alon
0
tecbuilderCommented:
Oak,
To refresh/reload your page you would use:

onClick="window.location.reload()" within your anchor tag.  For example:

<a href="yourpage.html" onClick="window.location.reload()">Click Me</a>
0
oak022097Author Commented:
Can someone tell me my it doesn't works with my site
www.shleppers.com.
when I click on a link on the left frame, it doesn't reload it, and the link's color stay orange.

Thanks
Alon
0
Christian_WenzCommented:
sorry about the refresh(), of course it's reload()

The link's color won't change the first time as the page in the left frame isn't fully loaded yet.

So here's another try:

remove all onClick="..." from the left frame, but put the following in the BODY tag of all pages that are loaded into the right frame (moving.htm, packing.htm):
  onLoad="top.frames[1].location.reload()"

if this won't work, you might also want to try:

  onLoad="setTimeout('top.frames[1].location.reload()', 1000)"


tell me if it works...
0
OttaCommented:
Your page works correctly for me,
using Netscape 2.02 for OS/2 Warp
(which really is the Netscape 2 "front-end"
married to the Netscape 3 "back-end").
0
Christian_WenzCommented:
no comment.
0
oak022097Author Commented:
Chritian,
Your last answer works, so answer this, and I will give you the credits.
Thank you all
0
OttaCommented:
What version of NETSCAPE are you using?
0
ebfrogCommented:
I have Netscape Communicator 4.03 and your page worked just fine for me.
0
Christian_WenzCommented:
with my 4.04, the old version didn't work. I'll now post my last answer as an answer. As usual, please drop a comment if further questions come up.
0
Christian_WenzCommented:
put the following in the BODY tag of all pages that are loaded into the right frame (moving.htm, packing.htm):
  onLoad="top.frames[1].location.reload()"

if this won't work, you might also want to try:

  onLoad="setTimeout('top.frames[1].location.reload()', 1000)"
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.