Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Oct 2001
    Location
    San Bernardino, California, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hyperlink rollover effects (XP)

    I am having trouble making hyperlink rollover effects work as enabled in
    page properties, background.

    The webpage (index.html) has 3 frames. Left, right top(rtop), & right
    bottom (rbottom). Navigation is done in the left frame, there is a title in
    in the rtop frame which never changes, and the rbottom frame displays
    content as clicked in the left frame. I do have some hyperlinks in the
    pages displayed in rbottom.

    Each page has been configured to have hyperlink rollover effects enabled (in the page properties).
    Problem is, the rollover effects only work in the page in the rbottom frame.
    This is good except that I would like the rollover effects to also work in
    the left frame which is intended to be the primary navigation.

    What am I doing wrong?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Hyperlink rollover effects (XP)

    FP uses a "pseudoclass" that might only work in IE (for other browsers, you might have to use JavaScript). The HTML looks something like this, and should be in the HEAD section of the page:

    <STYLE>
    A:hover {color: #800000; font-weight: bold}
    </STYLE>

  3. #3
    5 Star Lounger
    Join Date
    Oct 2001
    Location
    San Bernardino, California, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Hyperlink rollover effects (XP)

    Thank you. With respect to javascript, how do I use it? just embed it somewhere in the html code? When using a frameset, do I put the javascript into the framseset page or the pages that load with a frame? I ask because I have tried a number of javascripts I have found for various things and I NEVER have the result expected. I can hardly believe this is so difficult - I missed the boat somewhere.

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Hyperlink rollover effects (XP)

    Each document/window/frame has a limited awareness of other document/window/frames. Generally speaking it is easiest when developing to put the code into the page where it will need to execute. After you have debugged everything, you can try to centralize your code in a .JS file and import/include that file in your pages. I think I would not call code across frames except as a last resort because a security setting might break the link.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •