• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help doing a rollover content frame (examples inside).

mattjbak

Senior member
A couple of websites have what I want to do that I've come across.

Pimpmynews.com is one, rollover view summary.
or roll over the pictures on this site: except i want the content to be selectable text and links. : http://www.7templates.com/

Thanks!
 
Very simple. That page creates a div on a mouseover event, and destroys in on the mouseout event. It's really fairly basic javascript, and just looking at their preview.js script should give you an excellent understanding of how it all works.

Basically, you create an element in a javascript function, based on parameters set when the function is called (here, in the mouseover event from previewable item.) You add the element to the DOM and it displays. Onmouseout, you destroy it. It also has some fancy but not really neccessary script to follow the mouse and to create the silly load bar.


It's otherwise difficult to answer such a general question, without any knowledge of how much you know. If you can make it more specific, I can help more.

 
Excellent response. I'm fairly well versed in PHP, but not every competent with js, other than being able to fit it into pages.
 
Back
Top