css multiple backgrounds

I’m using some css markup to invoke a background in a page design…viz, background-image:url(‘mypic.jpg’); etc. etc.

Is there anyway to enable random or different backgrounds on each page load? So if I refresh the page I get mypic2.jpg as a background?

Hugh


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can set a background image on the page, or any HTML box on the
page, just by using the Inspector – no need for hand coding. As for
the random thing, I made a random background Action a little while
back, have a look on ActionsForge. It works with background colors and
images. Note that any random function will not give you a different
image absolutely each time, and the more options you give a random
function, the more likely it will appear to be random.

Walter

On Jun 13, 2009, at 3:20 PM, hugh wrote:

I’m using some css markup to invoke a background in a page
design…viz, background-image:url(‘mypic.jpg’); etc. etc.

Is there anyway to enable random or different backgrounds on each
page load? So if I refresh the page I get mypic2.jpg as a background?

Hugh


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ve tended not to use FW’s background functions as they never seem quite satisfactory. My page is 900px wide but needs to blend against a background image which I’ve made 1250px wide to cater for most common browser/monitor stretches (but by no means ALL scenarios given todays scramble to widescreen…)

I’ll certainly have a look at your action, though, Walter, thanks for the tip.

But I’m wondering whether you can code this css-wise or whatever in down and dirty markup?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ah yes, and the other thing is I’m using FW Pro 3.5…and the action’s only for v.4 & 5


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ah. Hmmm. I don’t have any machines here that can run it, so I have
stopped testing that far back. Go ahead and try it, it might work. I
can’t recall if there’s anything about it that relies on new Action
APIs introduced in 4 or 5.

Walter

On Jun 13, 2009, at 9:06 PM, hugh wrote:

Ah yes, and the other thing is I’m using FW Pro 3.5…and the
action’s only for v.4 & 5


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options