Jump to content


Changing image links when page is updated. HELP!

  • Please log in to reply
1 reply to this topic

#1 alpha-reflux

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 20 April 2006 - 02:23 PM

Straight off, sorry.
Sorry but i wasnt sure where to put this topic, as i dont know if i need to use html, php, css or javascript to do this, maybe a combination of a few.

Anyway my and a few friends run a webcomic (dont all groan at once i know you might think its lame but it lets me do some coding because none of them have a clue) and i was wondering if anyone could help me do something that seems, at least to me, to be rather complicated.

As it stands im using rollover buttons stored as images on the server to link to the page holding the newest comic. I was trying to figure out how to make the button appear different if the user hasnt seen the newest update, perhaps making it red rather than blue or something like that. Im not sure if its even possible with the way my code is at the moment but if anyone could help me out that would be great!

Also sorry that i dont have any examples of my code but im on a computer at school and it wont let me check the source code of my own site, go figure. If you need to see the code you can go check the source over at [a href=\"http://www.opposing-symmetry.co.uk\" target=\"_blank\"]My Webpage[/a]

Again thanks to anyone who bothers to help me!

#2 GBS

  • Members
  • PipPipPip
  • Advanced Member
  • 108 posts

Posted 26 April 2006 - 02:37 PM

Hi there,
I guess you need php/mysql & javascript/html to do that,

php & mysql part would log users/ips in a database, by example, & check if an user has seen the newest update or not, & then, javascript/html part could show the correct button,

In fact, you want something like a forum,, (a 1st script in php/mysql checks if an user has seen the latest posts, and a script in html/javascript shows a specific icon for the read topics/non-read topics,,)

But you need then to register your users,... or maybe it could be enough to you just log their ips,, I don't know,...

Hoping it helps,,


Sorry for my english,... I do my best, but sometimes,...
1st intention: understand the problem
2nd intention: try to solve it
3rd intention: try to understand how to solve it :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users