Is this possible?

Discussion in 'HTML & Website Design' started by luigi777, Nov 21, 2009.

  1. #1
    hi,
    I have a question. Would it be possible to go from one page to another when you go with your mouse over a certain region of the page?
    If yes, how would this be done on a html page?

    Much thanks in advance.
     
    luigi777, Nov 21, 2009 IP
  2. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #2
    <a href="http://example.com/page.html"
    onmouseover="parent.location='http://example.com/page.html'";>Link</a>
    HTML:
     
    ExtremeData, Nov 21, 2009 IP
  3. luigi777

    luigi777 Active Member

    Messages:
    429
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    parent.location could that be a region instead of a link? And how would you have to do that?
     
    luigi777, Nov 21, 2009 IP
  4. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #4
    <div onmouseover="parent.location='http://example.com/page.html'">Your content here.......</div>
    HTML:
    You can apply the onmouseover javascript event to almost any html tag.
    If you can't figure it out post here your html code.
     
    ExtremeData, Nov 21, 2009 IP