Results 1 to 3 of 3

Thread: Floating HTML?

  1. #1
    Senior Member
    Join Date
    Jun 2002
    Posts
    174

    Floating HTML?

    Greetings.

    I have a certain snippet of content that I would only like to be displayed when a user clicks a certain link.

    After clicking, a "floating window" would then appear in the center of the current browser, above the rest of the page. This window should be able to contain HTML code.

    I've seen similar things where the container follows the mouse, but I really don't need that...

    I was supposing you'd put the content in a DIV tag, then made it visible on click, but in recent experiments, it displaces the underlying layout.

    Do I need absolute positioning? Do I need to mess with the z-index?

    Any help would be appreciated.
    I\'m back.

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Posts
    227
    Hi, do you need something like this ? This is only an example and it could be written much nicer - external css, external js...
    http://promote.opera.com/small/opera94x15.gif

    [gloworange]Sun7dots[/gloworange]

  3. #3
    Senior Member
    Join Date
    Jun 2002
    Posts
    174
    Ever so thankful!

    That's perfect. I do believe I wasn't specifying whether positioning was absolute or not.
    I\'m back.

Posting Permissions

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