Joomler!.net - Decided on Joomla!

Jboard is Multiple Board!

Latest Posts

Greybox Inside Module
Hello again, I have a new problem now and I can't find the solution by muself. Im trying t...
Relugin anywhere
Avatar Joomler! 2011/09/09 18:45
Please see the following link. http://orangoo.com/labs/GreyBox/
Re:Menu buttons and Gray Box
Avatar Joomler! 2011/09/01 08:47
For slowness execution of greybox for Chrome. As one measures Script is filled in on the right...
Can Greybox work with map-command?
Avatar Zorroson 2010/06/02 07:33
Hello, First - many thanx for this great plugin!! I have no problems making this works the ...
Multiple images not working, please help
Avatar marijke 2010/06/01 19:46
The slideshow isn't working. I only see one image from the directory where it's in, while there a...

Popular Posts

XMLRPC 1.7.1 - WindowsLiveWriter 2011 Unable to connect
Avatar John Wicks 2011/11/15 15:49
Hello, I've been using the old XMLRPC/RSD/MetaWeblog API setup for j1.5.x for some time. I've ...
Category for new Blog Entry
Avatar Sven 2012/02/21 22:44
Hi, i miss something: how can i add a standard category for a new blog entry? Your plugin work...
Joomla 2.5.4 - XMLRPC 1.8.1 - Windows Live Writer 2011
Avatar Graeme English 2012/05/14 20:49
Having trouble making this combination work. The home page on my website includes the following: ...
problem operating with live writer
Avatar gil 2011/10/09 19:04
Hi, I connect windows Live writer to joomla with your extention. I use joomla 1.7, and php 5.3....
joomla 2.5 xmlrpc 1.8 windows live writer
Avatar moblix 2012/07/28 09:20
on a default install of joomla i cannot get your mod to work with windows live writer. The link t...

Forum Stats

All times are UTC + 9 hours
Total Topics:252
Total Posts:1245
New Members:
Avatar kaira thompson Avatar MAILSUPPORT2018

Forum Online

Total Online:62
Total Guest:62
Bottom
Home » Support » Plugins » Free Plugin » GreyBox Show » Menu buttons and Gray Box
Menu buttons and Gray Box
Menu buttons and Gray Box
Saturday, 17 October 2009 07:43
2 votes
Hi!

One of my menu buttons points to external web page of my Joomla 5.14 site.
How can I make this web page, to be loaded in gray box?
As I see, there is no option for that in Joomler! GreyBox plug-in.
Some help?

Thanks in advanced. smile.png
Vladi
Fresh Boarder
Fresh Boarder
2
2009/10/17
Re:Menu buttons and Gray Box
Saturday, 17 October 2009 08:39
2 votes
For example, it is possible if it adds to your template(index.php) as follows.
<?php
$mainframe = & JFactory::getApplication();
$js_root = JURI::base(true). '/plugins/content/greybox/';
$headtag = array();
$headtag[] = '<script type="text/javascript">var GB_ROOT_DIR = "'. $js_root. '"</script>';
$headtag[] = '<script type="text/javascript" src="'. $js_root. 'AJS.js"></script>';
$headtag[] = '<script type="text/javascript" src="'. $js_root. 'AJS_fx.js"></script>';
$headtag[] = '<script type="text/javascript" src="'. $js_root. 'gb_scripts.js"></script>';
$headtag[] = '<link href="'. $js_root. 'gb_styles.css" rel="stylesheet" type="text/css" />';
$mainframe->addCustomHeadTag( implode( "\n", $headtag ) );
JHTML::_( 'behavior.mootools' );

$addjs = "
window.addEvent('domready', function(){
	$$('li.your_menu_class a').each(function(e){
		e.setProperty('rel','gb_page_fs[]');
	});
});";
$document = & JFactory::getDocument();
$document->addScriptDeclaration($addjs);
?>
and Output GreyBox.js in Plugin Parameters to No.

li.your_menu_class a
This part is different according to your environment.
Joomler!
Platinum Boarder
Platinum Boarder
489
2007/08/26
Re:Menu buttons and Gray Box
Saturday, 17 October 2009 10:18
0 votes
You are amazing... smile.png))
Thank you so much!
It works perfectly!
Vladi
Fresh Boarder
Fresh Boarder
2
2009/10/17
Re:Menu buttons and Gray Box
Wednesday, 31 August 2011 22:00
0 votes
It worked perfect for me in firefox and internet explorer
unfortunally in google chrome didn't work

in the code.. I changed the line
li.your_menu_class a
for
li#your_menu_id a

There is a solution to fix it on chrome?

If you wanna take a look

http://www.ilustraweb.com.br
and click in portfolio on top menu

tnx
Jorge Augusto Morera de Moura
Fresh Boarder
Fresh Boarder
3
2011/08/31
Re:Menu buttons and Gray Box
Thursday, 01 September 2011 08:47
0 votes
For slowness execution of greybox for Chrome.
As one measures
Script is filled in on the right under of the menu.

<li class="maximenuCK parent first item5 level0 " style="z-index: 11997;"><span class="separator "><span class="titreCK">Contatos</span></span>
	<div style="height: 0px; visibility: hidden; opacity: 0; left: -999em;" class="floatCK"><div class="maxidrop-top"><div class="maxidrop-top2"></div></div><div style="margin-top: -253px;" class="maxidrop-main"><div class="maxidrop-main2"><div class="maximenuCK2 first ">
<script type="text/javascript">
	$$('li#lightbox a').each(function(e){e.setProperty('rel','gb_page_fs[]');
});</script>
Joomler!
Platinum Boarder
Platinum Boarder
489
2007/08/26
 
Home » Support » Plugins » Free Plugin » GreyBox Show » Menu buttons and Gray Box
joomler.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries.
joomler.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.