Problem Solved – Suckerfish Dropdown Menu won’t enable

Goto Module Manager and create a new menu and in parameter select the menu name to be shown in the “hornav” position (Eg: Main Menu).

>  Select “No” for the module “Show Title”.
>  Select “hornav” for the module “Position”.
> Select “No” for parameter “Always show sub-menu Items
> Select “List” for parameter “Menu Style” Right Side

Save the new menu.

Advertisements

September 26, 2008 at 1:32 pm Leave a comment

Remove: Joomla! is Free Software released under the GNU/GPL License.

Hi,

After searching….here is the solution to remove “Joomla! is Free Software released under the GNU/GPL License” from Joomla1.5 footer:

> go to the core files

> modules\mod_footer\tmpl\default.php

Line #4 either comment it or delete it as you wish.

Save it!

>> One another way

Go to the core files >> Languages >> en-GB >> en-GB.mod_footer.ini

You will find following codes there, modify here:

FOOTER=Footer
FOOTER_LINE1=Copyright © %date% %sitename%. All Rights Reserved.
FOOTER_LINE2=Joomla! is Free Software released under the GNU/GPL License.
MOD_FOOTER=mod_footer

THIS MODULE SHOWS THE JOOMLA! COPYRIGHT INFORMATION=This Module shows the Joomla! Copyright information

Check on browser 🙂

Wiill work

September 6, 2008 at 4:53 pm 67 comments

Javascript Libraries

Next month ( August 1 2008 ) i am going to complete 2 years in web industry, starting  my career as a HTML programmer, now Front End Developer, since starting my career i was trying to use as much as CSS can possible but somewhere i have to use JavaScript too. Doing same thing as may be you people doing start looking script on search engines, that was wasting lots of time and efforts, but now i am using Javascript libraries where you can get great script for showing your text effect, fading, moving, drop down effects and more and more, sharing those websites with you, these websites are very helpful for me.

Most of these are free for use so start enjoying 🙂

July 7, 2008 at 6:09 pm Leave a comment

CSS Shorthand Properties

If you are working on CSS then may or may not be you using CSS shorthand properties, if you are not using then start using becuase it’s give a less code to your stylesheet and deifnately you learning new way to write CSS 🙂

FONT

start using:

.fontSample{font: normal italic 1em/1.2em Arial, Helvetica, sans-serif;}

instead of:

.fontSample{
font-weight: normal;
font-style: italic;
font-size: 1em;
line-height: 1.2em;
font-family: Arial, Helvetica, sans-serif;
}

BACKGROUND

start using:

.backgroundSample{background: #CCCCCC url(logo.png) left top no-repeat fixed;}

insted of:

.backgroundSample{
background-color: #CCCCCC;
background-image: url(logo.png);
background-position: left top;
background-repeat: no-repeat;
background-attachment: fixed;}

MARGIN & PADDING

Start Using:

.marginSample{margin: 0 10px 20px 10px;}

Instead of:

.marginSample{
margin-top: 0;
margin-right: 10px;
margin-bottom: 20px;
margin-left: 10px;
}

It’s work margin (top, right, bottom, left)

Same for padding  others too will discuss in couple of days start using these 🙂

July 7, 2008 at 5:56 pm Leave a comment

Styling INPUT using CSS and JavaScript

Well, you know and heard about CSS selectors, but they will not work well in IE. But you can use JavaScript to get done on IE also.

Powerful DOM structure can used for styling form elements like radio, text, checkbox… let’s have a look for example which i get implemented recently one of OSCommerce project:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd“>
<html xmlns=”http://www.w3.org/1999/xhtml“>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>Testing Form Elements</title>

<script type=”text/javascript“>
function addEvent(elm, evType, fn, useCapture)

// cross-browser event handling for IE5+, NS6 and Mozilla

{
if (elm.addEventListener){
elm.addEventListener(evType, fn, useCapture);
return true;
} else if (elm.attachEvent){
var r = elm.attachEvent(“on”+evType, fn);
return r;
} else {
alert(“Handler could not be removed”);
}
}

function prepareTextBoxes(){
if (!document.getElementsByTagName) return;
var oi=0;
var thisObj;
var objs = document.getElementsByTagName(“input”);

for (oi=0;oi<objs.length;oi++) {
thisObj = objs[oi];
if(thisObj.getAttribute(‘type’) == ‘text’){ //For Text
thisObj.className = ‘text ‘ + thisObj.className;
}

if(thisObj.getAttribute(‘type’) == ‘radio’){// For Radio
thisObj.className = ‘radio ‘ + thisObj.className;
}

if(thisObj.getAttribute(‘type’) == ‘checkbox’){ //For Checkbox
thisObj.className = ‘checkbox ‘ + thisObj.className;
}

}
}

addEvent(window, “load”, prepareTextBoxes);

</script>

<style type=”text/css“>
input[type=text], input[type=checkbox], input[type=radio]{
border: 1px solid #9C9C9C;
background-color: #F9F9F9;
color: #5A6500;
font: bolder 12px Verdana, Arial, Helvetica, sans-serif;
padding: 1px 2px;}

.text, .checkbox, .radio{ /* Appending IE */
border: 1px solid #9C9C9C;
background-color: #F9F9F9;
color: #5A6500;
font: bolder 12px Verdana, Arial, Helvetica, sans-serif;
padding: 1px 2px;}
</style>
</head>

<body>

<form name=”testform” method=”” action=””>
<label>Text:</label> <input type=”text” /><br /><br />
<label>Radio:</label> <input type=”radio” name=”test” /><br /><br />
<label>Checkbox:</label> <input type=”checkbox” /><br /><br />
</form>
</body>
</html>

April 10, 2008 at 6:24 am Leave a comment

Newer Posts


Tweets… :)

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

Categories

Feeds

Blog Stats

  • 20,682 hits