Jump to content
Sign in to follow this  
knibis

How do i make so the spinning red thing on this sites gets updated

Recommended Posts

Lets say i want to make it so the red spinning thing that is in the top right corner only appear if a person hasn't visited that picture link, and if i update something on the page you go to after you click the picture link the red spinning thing should reappear.. how do i do it? here is the site: http://itgwebb.se/klass/11d/dante/

Share this post


Link to post
Share on other sites

Do you realize you have obfuscated Javascript on that site which injects an iframe that points to a Wordpress site on eigenmembershipsite.nl? The easiest way to do what you want to do is to use PHP to set and check for cookies that would contain the last time they visited whatever you want them to see. You can keep a text file or something with the date of the last update, and PHP can check the date in their cookie against the date in that text file to see which is newer.

Share this post


Link to post
Share on other sites

Which part did you not understand? You'll need to use PHP for this, so if you don't know PHP then you'll need to look how to manage cookies and read files with PHP.

Share this post


Link to post
Share on other sites

I'm also interested in how the spinning circular progress doo-dad is generated. Is that a sprite?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...