Yes, it is possible, but may not work on all pages, e.g. Remository or Fireboard component pages.
Then create a new external link in your menu. Add the link like this:
| Code: |
http://your-url.com" class="smoothbox
|
Note that you may omit the opening and trailing double quotes (Joomla will add them).
If you want it to work on all pages, you have to include thickbox javascript files manually with your template. That means to include the following code to the header of your template's index.php
| Code: |
<script type="text/javascript" src="http://<www.your-domain.com>/plugins/content/thickbox/includes/smoothbox.js"></script>
<link rel="stylesheet" href="http://<www.your-domain.com>/plugins/content/thickbox/includes/smoothbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://<www.your-domain.com>/plugins/content/thickbox/includes/slimbox.js"></script>
<link rel="stylesheet" href="http://<www.your-domain.com>/plugins/content/thickbox/includes/slimbox.css" type="text/css" media="screen" />
<style type="text/css">
.lbLoading {
background: #fff url(http://<www.your-domain.com>/plugins/content/thickbox/images/loading.gif) no-repeat center;
}
#lbPrevLink:hover {
background: transparent url(http://<www.your-domain.com>/plugins/content/thickbox/images/prevlabel.gif) no-repeat 0% 15%;
}
#lbNextLink:hover {
background: transparent url(http://<www.your-domain.com>/plugins/content/thickbox/images/nextlabel.gif) no-repeat 100% 15%;
}
#lbCloseLink {
display: block;
float: right;
width: 66px;
height: 22px;
background: transparent url(http://<www.your-domain.com>/plugins/content/thickbox/images/closelabel.gif) no-repeat center;
margin: 5px 0;
}
</style>
|
And remember to replace <your-domain.com> off course.
You may unpublish thickbox plugin then. But don't uninstall, because you are linking to the required files in the plugin directory!