Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
How do I get Random images in DIV tags?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FinnIII" data-source="post: 842156" data-attributes="member: 46141"><p>I'm redesigning my portfolio and I had an idea of adding elements in the background as images in DIVs. Is there some javascript/php that would pick a random image from a selection to place in a DIV so that every time you load the page there are different things in the background?</p><p></p><p>Thanks loads! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="FinnIII, post: 842156, member: 46141"] I'm redesigning my portfolio and I had an idea of adding elements in the background as images in DIVs. Is there some javascript/php that would pick a random image from a selection to place in a DIV so that every time you load the page there are different things in the background? Thanks loads! :D [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
How do I get Random images in DIV tags?
Top