Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Small JS error in Yougrids free template- correction

05-19-2011, 06:03 AM
# 1 (permalink)
ghazal
Hi,
first, I want to thank youjoomla developper(s) for this great free template (yougrids).
I had a small JS error in file (string uncompleted...)
/templates/yougrids/elements/yjsgversion.php, +- line 118
There should be white space in tags' end, like
< /em>
instead of
</em>

Here is the correction :

Code:

<script language="javascript" type="text/javascript">	
	window.addEvent('domready', function() {
		var Selected = $$('#jform_params_component_switch option[selected]');

		if (Selected.length > 0) {
   		 	$('option-resut').set('html', '<div style="color:green;font-weight:bold;font-size:14px;line-height:18px;">Please note that <em style="color:#3A8BC6;">Component disabled< /em> switch is on for specific menu items.<br /> Check tab name   <em style="color:#3A8BC6;">Advanced Options< /em>, last parameter, <em style="color:#3A8BC6;">Component disabled< /em>.< /div> <br />');
		}
	});
</script>
Hope it helps
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

Members Login

Username
Password