Dynamic Mouseover?

Discussion in 'JavaScript' started by egdcltd, Aug 26, 2006.

  1. #1
    I would like a JavaScript onmouseover event to bring up a box with text in it. The text is retrieved from a MySQL database, as it alters with different rollovers. Is there any way of doing this please? It's on a phpBB forum.
     
    egdcltd, Aug 26, 2006 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    This would be an Ajax script.

    You use the javascript to call a php function that returns data from the database or any other script that you create. Im not sure how easy this would be to implement in a phpBB forum, but Ajax is definitely the direction you need to look in.
     
    jestep, Aug 26, 2006 IP
  3. egdcltd

    egdcltd Peon

    Messages:
    691
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks. Looks sort of complicated - I don't really have much experience with JavaScript.
     
    egdcltd, Aug 27, 2006 IP
  4. wormy

    wormy Active Member

    Messages:
    1,112
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #4

    You wan't to duplicate what VB already does when you hover over a topic and get the first few words of the post right?
     
    wormy, Aug 29, 2006 IP
  5. egdcltd

    egdcltd Peon

    Messages:
    691
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I hadn't noticed that before, but yes, that's what I was trying to accomplish
     
    egdcltd, Aug 29, 2006 IP