Results 1 to 2 of 2

Thread: Popup information box III with Dynamic content

  1. #1
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default Popup information box III with Dynamic content

    1) Script Title:
    Popup information box III (fade-in)
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamicindex5/popinfo3.htm
    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:
    HTML Code:
    <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?

  2. #2
    Join Date
    May 2007
    Location
    England, UK
    Posts
    235
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default

    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •