I am wondering if it is possible to have a small .swf (Flash animation) inside a tooltip? Ideally it would start playing when a hotspot is rolled over and the tooltip appears, but it would also be fine if it actually started 'playing' when page loaded then it only became visible when the tooltip is active. Just a small, probably looping .swf.
Anyone know if this is possible, and if so, how I'd go about it? Thank you in advance, I am very grateful for any help.
6 1291 hsriat 1,654
Recognized Expert Top Contributor
I am wondering if it is possible to have a small .swf (Flash animation) inside a tooltip? Ideally it would start playing when a hotspot is rolled over and the tooltip appears, but it would also be fine if it actually started 'playing' when page loaded then it only became visible when the tooltip is active. Just a small, probably looping .swf.
Anyone know if this is possible, and if so, how I'd go about it? Thank you in advance, I am very grateful for any help.
- Make a tooltip with a DIV.
- Set its position as 'absolute'
- Set its zIndex to (say) 500
- Get its x-y from the event
- Set it visible only when required event occurs.
- Place you required SWF inside it.
But if the SWF had audio, would that stop playing when cursor is moved and tooltip disappears? Or would it carry on?
Thank you.
hsriat 1,654
Recognized Expert Top Contributor
But if the SWF had audio, would that stop playing when cursor is moved and tooltip disappears? Or would it carry on?
Thank you.
umm.. it may, if its possible to stop it on the onmouseout event in js..
Ok, well I've sorted it, the SWF works fine, but the audio doesn't stop until another hotspot is rolled over or the same one is rolled over again. I don't know enough js to do that. I'll live with it how it is.
Thanks for your help.
hsriat 1,654
Recognized Expert Top Contributor
Ok, well I've sorted it, the SWF works fine, but the audio doesn't stop until another hotspot is rolled over or the same one is rolled over again. I don't know enough js to do that. I'll live with it how it is.
Thanks for your help.
Don't give up!!
Try to remove the SWF from the tooltip on omouseout by setting innerHTML of the tooltip to blank. And when you show it again, again put the SWF inside the tooltip.
Not sure, but it may work.
Don't give up!!
Try to remove the SWF from the tooltip on omouseout by setting innerHTML of the tooltip to blank. And when you show it again, again put the SWF inside the tooltip.
Not sure, but it may work.
I'd love to try but i dont know how to do that.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: |
last post by:
Is there a way to change the "fadeout" of a tooltip? In other words, it'll
display for about 10 seconds which may or may not be long enough for a user
to read the tooltip. I'd like to programatically adjust it if possible, and
if that's not, I would like to increase the time duration.
Anyone know if you can do this?
Thanks
SC
|
by: Ken |
last post by:
Hi all,
Please help! I'm attempting to apply tooltips to each
individual item in VB.Net's Listview control. In VB6 it
was easy - you just did the following
(assumes "myListView" is the name of the ListView
control):
set lst = myListView.ListItems.Add
lst.Text = "Test1"
|
by: Fao, Sean |
last post by:
I'm trying to set the title attribute on a CheckBox and I'm having some
issues in ASP.NET 1.1.
The title attribute in the following example is valid in HTML 4.01
Transitional:
<input id="MyCheckBox" type="checkbox" title="ToolTip">
However, ASP.NET doesn't like it. No matter what I do, ASP.NET places
my control inside of a span tag with the title attribute set in the
|
by: Steve |
last post by:
I want to show a tooltip over one of my WinForm controls at startup. The
control is part of a UserControl that I'm hosting in a CAP DeckWorkspace.
In other words, I have many user controls that I activate or show by
bringing them to the front.
I have a tooltip control setup to be a balloon tooltip. Inside the Load
event handler for the UserControl I have this code:
toolTip_ChangeSearchLocation.Show("Some text.",...
|
by: pamelafluente |
last post by:
Hi
I have seen on some web pages a nice type of tooltip.
See for instance http://www.programurl.com/software/tooltip.htm
and mouse over on Javascript (first box left).
Can anyone point me or provide the script to realize this kind of
tooltip, which I like.
Thank you,
| |
by: Pieter |
last post by:
Hi,
Using VB.NET 2.0, Windows Forms.
I want the ToolTip to be shown on every TextBox, ComboBox and DataGridView
continuously, and show the contence of these controls. Is there a way to add
the ToolTip automaticly for all these controls, without having to link it
the whole time to them for every new Control I put on my Forms?
And regarding the DataGridView: The ToolTip doesn't show the whole value of
every Cell, but cuts it off when...
|
by: Charles Law |
last post by:
I have to take this personally now. Tooltips have been flakey since the dawn
of .NET, but to still have to put up with a disappearing tooltip in VS 2008
is getting beyond a joke. Tooltips have always done this, so isn't it about
time they were fixed?
I have a tooltip that I assign to a button control on my form. I hover over
the button and up pops the tooltip. I move away and the tooltp fades. I
hover again, and back comes the tooltip....
|
by: mikek12004 |
last post by:
1) Script Title: Rich HTML Balloon Tooltip
2) Script URL :http://www.dynamicdrive.com/dynamicindex5/balloontooltip.htm
3) Problem Description:
See this page
General Music
for links you can see without scrolling down the div the tooltip is shown at the desired place but when you scroll donw the div the tooltip's position gets all messed up, e.g in the last "ΤΙΤΛΟΣ ALBUM" (which means Title of album ) the tooltip gets in front of the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |