sdevaney Posted September 23, 2009 Share Posted September 23, 2009 I have a phpbb forum and when someone hovers their mouse over a topic I would like it to pull certain info from the post and I am not sure how to go about this and get the info I want pulled. Any information that can be given would be an amazing help. Thanks so much! Quote Link to comment Share on other sites More sharing options...
haku Posted September 23, 2009 Share Posted September 23, 2009 You are basically asking us to teach you javascript. Why don't you write some code and then come back here with specific problems that you are having where the code isn't doing what you want. Quote Link to comment Share on other sites More sharing options...
sdevaney Posted September 23, 2009 Author Share Posted September 23, 2009 Honestly I am just asking for a nudge in the right direction. I have the php part of the project finished where it pulls the information I want, I just am not sure how to get it to display with the onmouseover part of javascript but apparently I have asked too much. I will take my questions elsewhere since it seems help here is not something that is given as a benefit to those less knowledgeable in certain areas of programming. Quote Link to comment Share on other sites More sharing options...
bossman Posted October 6, 2009 Share Posted October 6, 2009 i'll help you...be more specific as to what you are trying to do... i just made some sweet hoverpopup's with java and i can show you waht to do Quote Link to comment Share on other sites More sharing options...
bossman Posted October 6, 2009 Share Posted October 6, 2009 i will do this for ONE link, u can use it on the rest.... first set up the hoverpopup... function ShowPopup1(hoveritem) { hp = document.getElementById("hoverpopup1"); // Set popup to visible hp.style.visibility = "Visible"; } function HidePopup1() { hp = document.getElementById("hoverpopup1"); hp.style.visibility = "Hidden"; } then, in your html rollover that you want to use to initiate the popup...use this... <a href="#" onmouseover="ShowPopup1(this);" onmouseout="HidePopup1();" and then use this to make the popup appear upon rollover... <div id="hoverpopup1" style="visibility:visible;position:absolute;"> Here you would write the code to execute the query for what information you want to exist in the popup upon rollover... Anything can go in here...it will just be hidden until you roll over the designated link... </div> for multiple popups, you will have to multiply the javascript code at the top from showpopup1 to showpopup2 and showpopup3 etc... Hope this helps.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.