Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Adding images that "pop"out into an external windows when clicked.

I am wondering how I can get an image to pop up into a pop up window when clicked.

I am trying to add a custom page, or I would be willing to do it via a panel. An example of what I want to do is how the forums handle images, you add the image and than when you click the image it pops out into its own window. I tried to pull the code from the forums but I can't seem to adapt it correctly to make it work. Any suggestions would be great.

<span style="display: inline; max-width: 300px; max-height: 300px; overflow: auto;" class="forum-img-wrapper"><img src="http://www.sinnersguild.net/images/WarriorStat.jpg" alt="www.sinnersguild.net/images/WarriorStat.jpg" style="border:0px" class="forum-img" width="400" height="250"></span>

Hopefully I am not too far off.

Thanks again guys!
I think you are referring to the colorbox option.

<a class='tozoom' href='Image URL'><img src='Image URL' alt='' /></a>

All you need to do is to use class='tozoom'.

Hope this helps. :)
Nice! Thank you so much
Thread Information
3 posts
2567 times
Last Post
Last updated on 6 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: faga, Terranova1340