Results 1 to 2 of 2

Thread: CSS layer on top of page

  1. #1
    Join Date
    Nov 2008
    Posts
    1

    Question CSS layer on top of page

    Greetings everyone!

    OK, so you all probably know those JS/CSS thingies - when you click on a small picture (or text), nice full-size image will open in new "window" on top of your current page.

    Examples are here: http://highslide.com/

    I am looking for a super basic thing like this with no (or very little) JavaScript.

    What I want to do is - click on some text on my page and this sexy "window" with HTML content (no image) will open. It will be a big "window" so I need it to be centered in the middle of page/user browser.

    It would be super-cool if it would make my page be in a shadow or fog or something but it's not necessary.

    Thanks for help guys.

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    The popup on click in a medium-sized window at http://highslide.com/ is javascript and you can download the codes from that page. I don't think you will do anything similar without javascript but you can do popups on hover with pure CSS (no javascript) but as soon as you move the mouse away you lose the popup.

    See
    http://www.dynamicdrive.com/style/cs...-image-viewer/
    and
    http://www.wickham43.supanet.com/tut...verpopups.html which shows text which produces a popup text box on hover and you can alter the popup size. It's designed as a link but you can disable the link by adding nogo or thumb in the link
    .........<a href="nogo">..........
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Page container and Image layer troubles
    By creat3tertiary in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 12 Aug 2008, 11:35 AM
  2. How do I make my image begin directly on the top of the page???
    By MarcusDiablo in forum General Questions
    Replies: 1
    Last Post: 06 Jun 2008, 06:29 AM
  3. pleaseeee help.....linking two target(iframe and top of the page)
    By paparanch in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 13 Jan 2008, 08:47 PM

Posting Permissions

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