Is there a way to insert an Image in a Javascript alert popup?

29th of November 2013 0

Is there a way to insert an Image in a Javascript alert popup?

I know you can make a javascript popup of an image in a new window. But is there a way to get one in an Alert popup? like alert(‘[insert image here]‘);
or anything else like that?

Best answer:

Answer by M. L.
No. However, javascript libraries such as jQuery have functionality that simulates this.

Here’s on jQuery plugin that does this:

http://abeautifulsite.net/notebook/87

http://abeautifulsite.net/notebook_files/87/demo/

Here’s one that uses Scriptaculous and Prototype:

https://getinvolved-donate.fao.org/pub_libs21/scriptaculous/window/documentation/samples.html

Here’s one that uses MooTools:

http://www.bertramakers.com/moolabs/facebox.php

Add your own answer in the comments!

Filed under § jquery plugins — Tagged with , , , , ,

Share it!

Was it good for you to?

Sponsors

Support for the site!

No sponsors at the moment.



Your opinion matters. Add it below.


Tip: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent comments

Categories



Copyright jqueryui.info since 2010. All rights reserved. Design and the Absolute Theme by Tommie Hansen.