Results 1 to 6 of 6

Thread: How can i add a movie to this tooltip?

  1. #1
    Join Date
    Feb 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How can i add a movie to this tooltip?

    1) Script Title: DHTML Tip Message

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/popinfo.htm

    3) Describe problem: I figured out how to add an image to the "sticky style" tooltip, but I really would like to add a small 'movie' instead. Can someone please let me know how to add the below movie code...I tried adding it to one of the 'text' fields in the Style.js, but it did not work. Thank you.

    <object
    classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0"
    id="virtualtourtest"
    width="300" height="250"
    >
    <param name="movie" value="virtualtourtest.swf">
    <param name="bgcolor" value="#FFFFCC">
    <param name="quality" value="high">
    <param name="allowscriptaccess" value="samedomain">
    <embed
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    name="virtualtourtest"
    width="300" height="250"
    src="virtualtourtest.swf"
    bgcolor="#FFFFCC"
    quality="high"
    swliveconnect="true"
    allowscriptaccess="samedomain"
    >
    <noembed>
    </noembed>
    </embed>
    </object>

  2. #2
    Join Date
    Jan 2007
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi There,
    please have a look to the attached files.
    Modified file "style.js"(var embdObj )Attachment 776

  3. #3
    Join Date
    Feb 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, Beeps. I appreciate you doing this for me. I cannot seem to get it to work, though. Do I need to add something to the "Text [x]" line of the Style.js file? This is what I currently have, which displays an image (want the movie to play instead of the image):

    Text[1]=["Bedroom","<img src=OGmanbed.jpg>"]

    Thank you

  4. #4
    Join Date
    Feb 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oops...A few minutes after my last post I figured it out - imagine that!!!

    I just replaced this line: Text[1]=["Bedroom","<img src=OGmanbed.jpg>"]
    with this: Text[1]=["Bedroom","<embed=nameofmymovie.swf>"]

    Thanks anyway!!

  5. #5
    Join Date
    Jan 2007
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sir...please keep yourself cool and have a look into style.js. You will find one varible named "embdObj".
    I have already mentioned the embded object there.
    Please animate the movie as oer your requirmrnt and .....

  6. #6
    Join Date
    Feb 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Beeps,

    Sorry if my last post read as though I was anxious. Not the case at all. I was trying to inform you that I figured it out so you wouldn't have to try to explain a simple task to a novice such as myself. In fact, I was surprised and elated that I really did figure it out. So thank you for your kind assistance...I really do appreciate it. Friends???

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
  •