Randomising content

XF 2 Tip Randomising content

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,148
Points
823

Reputation:

ENXF NET submitted a new resource:

Randomising content - rand()

Randomising content can be used in various ways, the most common of which is for header images and logos, or advertising banners.

This guide will explain how it can be done simply with two lines of code (which ironically has taken a hundred lines of explanatory text).

For the purposes of this guide, we'll be adding an image in the Container header advertising position, which will randomly change between 5 different images.

Prepare the images

The first step is to...

Read more about this resource...
 

lazarote

web enthusiastic
Collaborate
Registered
Joined
Jun 24, 2019
Messages
141
Points
53

Reputation:

Is there any way that each image leads to a specific link for each one?
 

lazarote

web enthusiastic
Collaborate
Registered
Joined
Jun 24, 2019
Messages
141
Points
53

Reputation:

I need to advertise affiliates on my site but also that they can go to their website, it is on an intranet, so I do not have access to the internet, does anyone know anything about this?
 
Top