Get a free trial // Grow your CSS skills // Land your dream job

pop-up without javascript ?

  • # November 19, 2008 at 8:03 am

    Can we make pop-up like this without needed of javascript .

    Example :

    # November 19, 2008 at 9:35 am

    Not that I know of you would have to use JavaScript to allow that behavior.

    # November 19, 2008 at 9:52 am

    The only other way to open a new window is to use “target="_blank"” in your links or with your forms.
    But if you want control over the new windows then you have to use JavaScript.

    # November 19, 2008 at 7:46 pm

    To "slide in", you really need JavaScript. If it would be OK to just instantly appear, you could do that with CSS and a hover effect. In the future, when CSS3 has more support, CSS transitions will save us from having to use JavaScript from stuff like that.

    # November 20, 2008 at 12:13 am

    Hey chris,
    can we show just instantly appear popup with only css automatically on page load like sample page

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed