Click here to Skip to main content
15,894,540 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an image in my home page,I need to put a small button side of that image ,my need is , when a user login to home page,if the database have value ( or >0)then
the count should displayed on the button(button.text=count).So the button should be blink..(like a notification icon)..if the count > 0,else display nothing..So plz suggest me a good method that I can implement..(or) instead of button, Can I use image button or some other...plz help me..
Posted

1 solution

Use a JQuery blink plugin[^]. If you make a scheduled ajax call to get that value from the database, you can change the blink status without refreshing the page.
 
Share this answer
 
Comments
bbirajdar 13-Oct-12 14:06pm    
This is a good option....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900