View Full Version : Popup information box III with Dynamic content

08-04-2008, 03:12 PM
1) Script Title:
Popup information box III (fade-in)
2) Script URL (on DD):
3) Describe problem:

I would like to use this script for one of my websites, is there anyway I can use dynamic content?

I've got no problem entering the text dynamically using PHP.
The problem is I have to enter it here:

<a href="#" onmouseover="writetxt('<? print $some_text; ?>')" onmouseout="writetxt(0)">
The "$some_text" variable could contain charachters that javascript doesn't like.

Is there anyway around this or any other script that will give me a similar effect?

08-04-2008, 03:16 PM
Actually forget that, i've just realised that it was because the content was being output on more than one line and stopping the script from working.

As soon as it was placed on one line it worked!