How to make the icon work

Reply

Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 166
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: How to make the icon work

 
0
  #11
Mar 3rd, 2008
It makes the image clickable as a link.

It places the image where the word "welcome" is in your first example.

In

HTML and CSS Syntax (Toggle Plain Text)
  1. <a href="page.htm"><img src="pic.gif" /></a>

replace page.htm with the name of the web page you want the icon to link to.

replace pic.gif with the name of your icon.

You can't change the attributes of the icon animation (speed, etc) without making a new .gif image for each set of attributes. This requires an animation editor.
Last edited by MidiMagic; Mar 3rd, 2008 at 10:02 pm.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 57
Reputation: satimis is an unknown quantity at this point 
Solved Threads: 0
satimis satimis is offline Offline
Junior Poster in Training

Re: How to make the icon work

 
0
  #12
Mar 4th, 2008
Hi MidiMagic,


Thanks for your advice.

It makes the image clickable as a link.

It places the image where the word "welcome" is in your first example.

In

HTML and CSS Syntax (Toggle Plain Text)
  1. <a href="page.htm"><img src="pic.gif" /></a>

replace page.htm with the name of the web page you want the icon to link to.

replace pic.gif with the name of your icon.
If I need the icon, say "pic.gif" clickable, I need;

<a href="page.htm"><img src="pic.gif" /></a>

the icon is on the same folder/directory of the web page, say "page.htm".


If I don't need the icon clickable and it is on the same folder/dir of the current webpage, I only need;

<img src="pic.gif" />


If I'm wrong please correct me. TIA


You can't change the attributes of the icon animation (speed, etc) without making a new .gif image for each set of attributes. This requires an animation editor.
Yes, I did a lot in the past. It requires a small software decompressing the .gif image into frames first, adding/reducing frame, increasing/reducing the speed, etc.

I think the animation editor is available on Open Source. I can find it out later. But I wonder to know whether a java/php script can do the job instead of editing the .gif image?


B.R.
satimis
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 166
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: How to make the icon work

 
0
  #13
Mar 7th, 2008
Good. You have it right.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 57
Reputation: satimis is an unknown quantity at this point 
Solved Threads: 0
satimis satimis is offline Offline
Junior Poster in Training

Re: How to make the icon work

 
0
  #14
Mar 7th, 2008
Originally Posted by MidiMagic View Post
Good. You have it right.
Thanks


satimis
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum


Views: 2244 | Replies: 13
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC