Home
Monday, October 23, 2017
5:22:23 PM
Users online: 0   You are here >> Home > Web Design

Forums | Web Design Forums search
Forum FAQ
   
  1  
Is there a way to "rotate" designs?
Ratticus 
8/5/08 4:23:00 AM
Hero
Immortal


i.e. I have a website, I would like each time a user logs onto it, it changes design subtlely?

Is this possible?

(I am shit at programming, period)

-----
The samples and the sequencers...
But there is no match for a united America, a determined America, an angry America.
http://fr2d.blogspot.com/ <- I would like to point out that I have a blog.

orcone 
8/5/08 5:11:17 AM
Guru

Change the colour of the background pattern or other images of the webpage and save a couple of different variants.

Then, when a page is loaded, a colour scheme is picked at random maybe?

Apologies if this doesn't answer your original question, but perhaps this is an easier option?


Edited by orcone: 8/5/2008 5:14:58 AM

-----
I love Isa. She rawkz my cawkz. =o)

Ratticus 
8/5/08 5:23:26 AM
Hero
Immortal


Basically, you know how blogs have different designs/layouts etc??

I want a way (hopefully?!) where I can rotate these designs, is this possible?

-----
The samples and the sequencers...
But there is no match for a united America, a determined America, an angry America.
http://fr2d.blogspot.com/ <- I would like to point out that I have a blog.

superfireydave 
8/5/08 12:27:28 PM
Titan

I'm not sure if it's possible on a non-hosted blog. All the options I would have used would have related to php or ajax so they're not really feasible for your blog.

-----
Mreow?

moofactory 
8/5/08 1:20:14 PM
Titan

yeah theres a refresh script out there Ive used previously, but only for images. Im not sure how a whole page would work.

-----
Quote by Ben Mansill
I've always waited for the day here when we talk about anal sex with animated Disney lions.

Ratticus 
10/5/08 2:22:21 PM
Hero
Immortal


I have just bought a domain.

If I get my own hosting, would this be possible.

DNS servers as so slow!

-----
The samples and the sequencers...
But there is no match for a united America, a determined America, an angry America.
http://fr2d.blogspot.com/ <- I would like to point out that I have a blog.
<<<<<<<<<<<<

linke 
10/5/08 5:38:00 PM
Guru

Quote by Ratticus

If I get my own hosting, would this be possible.




Absolutely.

-----
If you're not part of the solution, you're part of the precipitate.

johnsee 
10/5/08 5:55:40 PM
Mod
SuperHero

Immortal


Yup!

Easiest way would just be to have a few alternate stylesheets

 
<link rel="stylesheet" type="text/css" href="style<?php echo rand(1, 5);?>.css">

-----
Quote by Mac Dude
I love the smell of napalm in the Green Room.
------

Ratticus 
10/5/08 9:04:18 PM
Hero
Immortal


OK thank you very much guys.

Basically, I am a bit slow on the net thing.

But I will read into this, and soon.... glorious victory!

-----
The samples and the sequencers...
But there is no match for a united America, a determined America, an angry America.
http://fr2d.blogspot.com/ <- I would like to point out that I have a blog.
<<<<<<<<<<<<

BeDLaM#29 
15/5/08 1:41:10 AM
Hero
Titan


What Johnsee said.

Use PHP to randomly assign CSS


Edited by BeDLaM#29: 15/5/2008 1:41:21 AM

-----

       ---***Tag line deleted to protect the innocent***---






Kythin 
16/6/08 1:48:18 PM
Disciple

Quote by johnsee
Yup!

Easiest way would just be to have a few alternate stylesheets

 
<link rel="stylesheet" type="text/css" href="style<?php echo rand(1, 5);?>.css">




That's the way to do it, but lol if your templates are significantly different! Can you imagine if a menu randomly jumps around the page according to the randomised css file?

I'm tempted to make a wordpress theme that does that just for the hell of it, hehe.

-----
Comin' at ya like a buzzard~!

Location: Brisbane

Website: http://www.kythin.com/

johnsee 
16/6/08 9:38:00 PM
Mod
SuperHero

Immortal


Huh?

You can use multiple stylesheets you realise...

The random one could just change a few very small things, and the static things would all be placed in one hardcoded file.

To put things that are always the same in each of your randomised files would just be creating yourself a huge updating nightmare

-----
Quote by Mac Dude
I love the smell of napalm in the Green Room.
------

Kythin 
16/6/08 11:04:55 PM
Disciple

Hehe, yes I realise that, I'm just having a family guy style imaginary moment:

Peter: I'll just write my own version of napster!
Brian: You don't even know how to write a website. Remember that time you used absolute positioning for every div and then used random style sheets, each with completely different top and left values as the others?

*cut to peter hitting f5 on the keyboard and the website background colours and elements changing drastically and shifting around*

-----
Comin' at ya like a buzzard~!

Location: Brisbane

Website: http://www.kythin.com/

  1  
Forums | Web Design