Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Refresh images in "What's new box"


stinger62

Recommended Posts

I modified the "what's new" box such that it can display 3 items. Now I want it to change those images every 5 seconds.

 

I added a <meta http-equiv="refresh" content="5"> in the whats_new.php page it works but let say you have scrolled all the way down to the page and that the refresh executes, then you get automatically scrolled back to the top of the page and that's very annoying.

 

I was thinking of using the php refresh " header( 'refresh: 5; url=xxx');" in the whats_new.php instead but I wanted to see first if someone had a better idea or if there was a contribution that could help me?

 

Else if we fix it then we could post it as a contribution!?

 

Thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...