News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

how can i make an icon to be blinking

Started by ade9ja, October 03, 2010, 09:34:57 PM

Previous topic - Next topic

ade9ja

Good day house, don't know if you will get this but what i want to apply on my forum is the ability of a board with maybe current posting to be blinking, don't know maybe it's the icon by the side of the board, please help.
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

mashby

Do you mean like the new image blinking? You could go really old school (and deprecated) and surround the new image with a <blink> tag or you could do the more reasonable thing and make an animated GIF for the new.gif image. Is that what you're going for?
Always be a little kinder than necessary.
- James M. Barrie

Kill Em All

Quote from: mashby on October 03, 2010, 09:41:48 PM
Do you mean like the new image blinking? You could go really old school (and deprecated) and surround the new image with a <blink> tag
Wow, I completely forgot about that tag. You really are going old school. haha.

I would suggest creating the .gif image though.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

mashby

<blink> in jQuery world:
    <script type="text/javascript">
$(document).ready(function(){
$.fn.repeat = function(speed, time){
var $this = $(this);
$this.fadeIn(speed);
setInterval(function(){
$this.fadeOut(speed, function(){$this.fadeIn(speed);});
}, time*1000);
};
$(".info").repeat ("slow", 1.5); //Xms, Ys
});
</script>
Always be a little kinder than necessary.
- James M. Barrie

ade9ja

Quote from: mashby on October 03, 2010, 09:41:48 PM
Do you mean like the new image blinking? You could go really old school (and deprecated) and surround the new image with a <blink> tag or you could do the more reasonable thing and make an animated GIF for the new.gif image. Is that what you're going for?
not really an image but the icon of a board.
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

mashby

OK, but the icon of the board would be an image, correct? I'm not entirely sure what you're after any more.
Always be a little kinder than necessary.
- James M. Barrie

ade9ja

Quote from: mashby on October 03, 2010, 10:02:23 PM
OK, but the icon of the board would be an image, correct? I'm not entirely sure what you're after any more.
not necessary, it can be the default smf icon but what i just want is for it to blink thereby creating an attraction to the particular board.
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

mashby

Can you attach (using the Additional Options thing) the image you would like to blink?
Always be a little kinder than necessary.
- James M. Barrie

ade9ja

Quote from: mashby on October 03, 2010, 10:23:59 PM
Can you attach (using the Additional Options thing) the image you would like to blink?
don't know may be you are really getting what i mean, if you go to this forum now www.naijavoice.com and watch out for some boards like introduction, jobs/vacancy, computer and internet, you will see at the board icon that it's faded, so how can such icn be blinking, that is what i mean, is it possible?
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

mashby

Upload the attached to overwrite http://naijavoice.com/Themes/default/images/on.gif
Let me know if that's what you are after.
Always be a little kinder than necessary.
- James M. Barrie

ade9ja

Quote from: mashby on October 03, 2010, 10:51:55 PM
Upload the attached to overwrite http://naijavoice.com/Themes/default/images/on.gif
Let me know if that's what you are after.
You are absolutely right, tat is what i am looking for, should i now download and install it or what?
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

Kill Em All

Yes you can download it and upload it, thus replacing your current one, I would assume mashby has no problem with you using it since he attached it.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

mashby

No problem. By attaching it, I assumed he would download it, upload it and use it. :)
Always be a little kinder than necessary.
- James M. Barrie

ade9ja

Quote from: mashby on October 03, 2010, 10:51:55 PM
Upload the attached to overwrite http://naijavoice.com/Themes/default/images/on.gif
Let me know if that's what you are after.
i just uploaded the gif file now and refresh my page but still no blinking just as static as it was before?
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

mashby

OK, I uploaded an animated GIF and I see the animation on my post, but don't see it on your web server. Are you sure you downloaded my attachment and overwrote what was on your web server?

I have to doubt that is true.
Always be a little kinder than necessary.
- James M. Barrie

ade9ja

Quote from: mashby on October 03, 2010, 11:29:51 PM
OK, I uploaded an animated GIF and I see the animation on my post, but don't see it on your web server. Are you sure you downloaded my attachment and overwrote what was on your web server?

I have to doubt that is true.
thanks very much it's now working and i can see the effect but before i mark the solve button, i want to as if it's possible for me to change the color to green, i mean the icon colour to green?
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

ade9ja

Quote from: mashby on October 03, 2010, 11:29:51 PM
OK, I uploaded an animated GIF and I see the animation on my post, but don't see it on your web server. Are you sure you downloaded my attachment and overwrote what was on your web server?

I have to doubt that is true.
And one more, why is it that some board icon look faded while others look alive and bold, i want all icons to look alive and bold.
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

Kill Em All

Alive and bold is to show that there are new topics or posts in the board and faded shows that there are no new topics or posts in that board.

If you want them all to be alive and bold, then I would suggest replacing the off.gif image with the on.gif image mashby uploaded and just rename it to off.gif.

I would upload the image but I don't have a image editor on my laptop.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

ade9ja

Quote from: Kill Em All on October 03, 2010, 11:40:46 PM
Alive and bold is to show that there are new topics or posts in the board and faded shows that there are no new topics or posts in that board.

If you want them all to be alive and bold, then I would suggest replacing the off.gif image with the on.gif image mashby uploaded and just rename it to off.gif.

I would upload the image but I don't have a image editor on my laptop.
thanks very mcuh for the tips and info but again you didn't answer my other question of changing the color to green and that is why i still haven't mark the topic solve, pleas help for the last time on this topic.
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

ade9ja

Quote from: mashby on October 03, 2010, 11:29:51 PM
OK, I uploaded an animated GIF and I see the animation on my post, but don't see it on your web server. Are you sure you downloaded my attachment and overwrote what was on your web server?

I have to doubt that is true.
I AM STILL WAITING FOR YOUR RESPONSE ON HOW I CAN CUSTOMIZE THE BOARD ICON COLOR TO GREEN, PLEASE HELP.
Tips on troubleshooting, installation, upgrading and general maintenance of your PC from the computer planet on www.mypchub.com

Advertisement: