Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 121507

Swap DIV content, text, randomly on page load, or in sequence, how?

$
0
0

I have a DIV on the home page of a site (www.osgusa.com). The client has supplied me 4 or 5 articles, about 2 paragraphs long with a heading, that needs to change upon page load. So go to the home page, and one story appears, all formatted properly, hit refresh, the 2nd of 5 loads in, and on and on.

 

I googled this for an hour, and there are mentions of javascript code, but honestly I can't figure any of it out at all.  I found an extension called proRandomText, but it just isn't working right and is very rough. It seems very outdated, in fact I had to convert the mxp into a zxp to even get it to work.

 

So, I was thinking maybe do it using SSI includes?  Have 5 pages with just the article on each one, and somehow find a simple code snippet that will randomly pull from those includes?

 

Any simple suggestions or Extensions out there that any of you know of?


Viewing all articles
Browse latest Browse all 121507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>