SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast Bryce's Avatar
    Join Date
    Sep 2003
    Location
    Perth, Western Australia
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flipping an entire site

    Hey guys,

    I would like to be able to flip my entire website (text, images, links, scrollbars) and all via some kind of scripting - basically, I don't want to have to re-code and re-do all of the images if at all possible.

    I was wondering if it is possible for me to insert some kind of JScript that plays on the display object and flips it? I know it can be done with images, but with text aswell?

    Regards
    Bryce
    a distorted reality is now a necessity to be free...

  2. #2
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    If you mean when hovering or clicking, the answer would be yes...but you would need to place all the text within divs/spans, id them, and then either change their innerHTML or set their display property to 'none' while changing the display property of a second set of divs/spans to 'block'.

    Or, you could place the two pages within frames (iframe or otherwise) and then simply set the frame size to rows/cols = 0;

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still

  3. #3
    SitePoint Addict
    Join Date
    Mar 2004
    Location
    Europe
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why not create 2 versions of the site on one page all in divs. 1 the "right" way and one "flipped"?

    Then just use a script to bring one layer above the other and vice versa.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •