User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 423,534 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,369 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1146 | Replies: 13
Reply
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 114
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: How to make the icon work

  #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

<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 9:02 pm.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Oct 2004
Posts: 57
Reputation: satimis is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
satimis satimis is offline Offline
Junior Poster in Training

Re: How to make the icon work

  #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

<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  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 114
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: How to make the icon work

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

Re: How to make the icon work

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

Thanks


satimis
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 5:28 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC