This topic is locked

Onmouseover

10/6/2009 7:43:04 PM
PHPRunner General questions
R
rve author

How can i get a image popup (static/fixed image) when showing another picture in *_list.php?
Noobie - but need some help thanks..
What a new image popup when mouse over:
<TD style="WIDTH: 250px" class=borderbody vAlign=middle align=middle ><a rel='ibox' href="https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=12863&image=1&table=forumtopics"><img width=300 height=525 border=0 src="https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=12863&image=2&table=forumtopics"></a>; </TD>

J
Jane 10/7/2009

Hi,
I'm not sure that I understand your question.

Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages with detailed description of what you want to achieve.

R
rve author 10/7/2009

I can publish it - but what i just do is to show a image in _list.php (different for each record) - and when mouse over picture i wanna have a popup image. The same image should popup on all different picture shown in this column (as a help text, explaination for the picture)
on mouse over displayed image in
list.php -> popup "XXXX.gif"

J
Jane 10/8/2009

Hi,
I recommend you to use custom format on the "View as" settings dialog on the Visual Editor tab for this purpose.

Actual code is dependent on your data.

R
rve author 10/8/2009

This is what I wanna do;
<img src=test.jpg img onmouseover="aa.style.display=''" onmouseout="aa.style.display='none'">

<DIV id="aa" style="display:none;"><img src=test1.jpg</DIV>
but i get error messages when try to put in customer format.

J
Jane 10/9/2009

Hi,
please see my changes below:

$value = "<img src=test.jpg img onmouseover=\"aa.style.display=''\" onmouseout=\"aa.style.display='none'\">

<DIV id=\"aa\" style=\"display:none;\"><img src=test1.jpg</DIV>";
R
rve author 10/9/2009

Thanks, but it doesent work as in pure html as I tried but I figure it out probably- one other question - can y have multiple choice in properties; Image definition and custom?

J
Jane 10/9/2009

No. You can't choose two options on the "View as" settings dialog.

R
rve author 10/9/2009

oki - thanks anyway - but i dont get this to work - have also tried this (its work in pure html code):
$value = "<img src=\"test1.jpg\" name=\"mousetest\" onMouseOver=\"document.images['mousetest'].src='test.jpg'\"

onMouseOut=\"document.images['mousetest'].src='test1.jpg'\" width=\"234\" height=\"91\" />";

J
Jane 10/12/2009

It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.