473,785 Members | 2,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DHTML onclick "flying icon" code

Hello,

I've been googling for a half hour now trying to find some code that
does the following: When I click an icon/image, I want it to fly to a
specific location then disappear.

For example, clicking a "+" icon next to some "Add to list" text would
cause the icon to quickly float to a <table> somewhere else on the
page. I thought iht.com did this with their "clippings" functionality,
but they do what I'm looking for minus the key animation part.

Anyone seen something like this?

Thanks,

~ Eric

Jul 23 '05 #1
3 1715
In article <11************ **********@o13g 2000cwo.googleg roups.com>,
es******@gmail. com enlightened us with...

For example, clicking a "+" icon next to some "Add to list" text would
cause the icon to quickly float to a <table> somewhere else on the
page. I thought iht.com did this with their "clippings" functionality,
but they do what I'm looking for minus the key animation part.

Anyone seen something like this?


Yes. Many ads do similar things to move around and get noticed. They often
float from the top to the middle or vice versa. Basically, you move the image
many times, incrementally, to create the animated look.
Did you look over at dynamicdrive.co m? I thought I saw some animated type
stuff like this over there.

--
--
~kaeli~
Once you've seen one shopping center, you've seen a mall.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2
Eli
1. For the animation move part you need the start and finish points
(absolute x,y coordinates).
2. Set the image position to absolute.
3. Then with a formula of motion (might be linear or parabolic or
whatever), change the x and y coordinates of the image step by step
toward the finish coordinates (of course, you need also to determine
the interval time between steps and number of steps).

Jul 23 '05 #3
Eli wrote:
1. For the animation move part you need the start and finish points
(absolute x,y coordinates).
False.
2. Set the image position to absolute.
False again.
3. Then with a formula of motion (might be linear or parabolic or
whatever), change the x and y coordinates of the image step by step
toward the finish coordinates (of course, you need also to determine
the interval time between steps and number of steps).


Semi-true.

Had you quoted what you were replying to, it would make it easier to
explain why your answers are False.
--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
17168
by: Todd Peterson | last post by:
I'm encountering some wierd behavior with a <link> tag over an HTTPS connection, vs. an HTTP connection... In an ASP/HTML page on my website, I've add a <link rel="shortcut icon"...> in order to allow the users to add a shortcut (with icon) on their desktop, as well as seeing the icon in the URL. Our development server allows both HTTP and HTTPS connections, but the icon only appears to be available when requesting the page via HTTP???...
2
5306
by: RWD | last post by:
I am trying to figure out how to change the target frame in my hyperlink on a DHTML menu. The menu is in one frame and the target frame is called "main" The code is below: Thanks in advance RWD <script type='text/javascript'>
3
2090
by: kj | last post by:
This problem is driving me nuts. The code at the end of this post below works fine with IE, but fails with Mozilla. You can see it in action at http://tinyurl.com/2jvo3 With Mozilla 1.4 and 1.6, the function msg works fine if it's installed as an onclick handler for the button, but fails as an onload handler for the page. The error is "console has no properties", and is triggered by the line.
4
2110
by: Ray Stevens | last post by:
Is it possible to place a company icon (logo) in the browser address field so that if a user copies it as a shortcut to his desktop the icon will be there. For example, like this: http://espn.go.com/
1
3375
by: Jordan | last post by:
I would like to add an icon to my website that would show if the site is bookmarked. I found this tag on the web: <link href="images/favicon.ico" rel="shortcut icon"> However, Visual Studio shows this warning on the tag: "The values permitted for this attribute do not include "shortcut icon".
2
1354
by: Marco | last post by:
Hi, I've noticed that whenever I'm doing a print preview (and probably doing a regular print) with a lot of pages a window pops up counting the number of pages that it's processed so far. I don't have a problem with the window but I don't like how it's using the default icon for itself in the taskbar. Is there some way to override that window so that it doesn't show up in the taskbar or to at least modify it's icon?
0
1435
by: Greg Larsen | last post by:
How add the "Active File" icon (down arrow), and the "Close" icon (X) next on TabPage in the gray space next to the tabs, so when I click on the X the active Tab closes, and and when I click on the down arrow the All active tabs are displayed.
0
1160
by: Rico | last post by:
Hello, I know this sounds trivial or maybe even silly, but I'd like to replicate that little spinning green circle that Microsoft is using in their applications when a process is running? I'd like to use it or something similar in my applications when I'm running a lengthy process. Thanks! Rick
0
1990
by: =?Utf-8?B?UGF1bCBIYWdlcg==?= | last post by:
I've been trying to solve this issue for the better part of a month. My attempts to get an answer on the MSDN groups proved to no avail. Here is the situation/problem. I am migrating an old piece of software developed using VC++ 4.2, running on Windows NT 3.51 to VC++ 2005, running on Windows XP Pro SP2. I went through all of the necessary gyrations to reach the point where all of the deprecated functions were dealt with. I got a...
0
9645
marktang
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...
0
10330
Oralloy
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...
0
10153
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8976
agi2029
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...
1
7500
isladogs
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...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.