NameSilo

Random image background

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

fishistheice

Established Member
Impact
0
In HTML, I know how to set an image as a <table> or <div> background, but does anyone know how to set a random image as a <table> or <div> background, so that it is different every time the user refreshes the page? Thanks in advance
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You will need to do some scripting. Either server-side with PHP for example, but it can be done in Javascript too if enabled on the browser (it is in 99% cases), using document.write
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back