Fundamental

welcome!

Joomla Head Part

<head>
<jdoc:include type=”head” />
<?php
jimport(‘joomla.environment.browser’);
$browser = &JBrowser::getInstance();
$browserType = $browser->getBrowser();
$browserVersion = $browser->getMajor();
if($browserType==”mozilla”){
$document=JFactory::getDocument();
$document->addStyleSheet($this->baseurl.’/templates/’.$this->template.’/css/template.css’);
}
if($browserType==”opera”){
$document=JFactory::getDocument();
$document->addStyleSheet($this->baseurl.’/templates/’.$this->template.’/css/template.css’);
}
if($browserType==”safari”){
$document=JFactory::getDocument();
$document->addStyleSheet($this->baseurl.’/templates/’.$this->template.’/css/template.css’);
}
if($browserType==”chrome”){
$document=JFactory::getDocument();
$document->addStyleSheet($this->baseurl.’/templates/’.$this->template.’/css/template.css’);
}
?>
<?php if($browserType==”msie”){
$document=JFactory::getDocument();
$document->addStyleSheet($this->baseurl.’/templates/’.$this->template.’/css/template.css’);
$document->addStyleSheet($this->baseurl.’/templates/’.$this->template.’/css/ieonly.css’);
}
?>

<link href=”css/template.css” rel=”stylesheet” type=”text/css” />

</head>

Joomla Home Page Hack

<div><!–
–>

<div>
<jdoc:include type=”modules” name=”contain_1″ style=”xhtml” />
</div>
<div>
<?php $request = JRequest::get(‘request’)    ;
if($request[‘option’] == ‘com_content’ && $request[‘view’] ==’featured’):  ?>
<div>
<jdoc:include type=”modules” name=”banner” />
</div>
<div>
<jdoc:include type=”modules” name=”promotion” style=”xhtml”/>
</div>
<?php else: ?>
<jdoc:include type=”message” />
<jdoc:include type=”component” />
<?php endif; ?>
</div>
<div>
<jdoc:include type=”modules” name=”contain_3″ style=”xhtml” />
</div>
<div></div>
</div>

Carv Nevi very Simple

<div>
<ul>
<li><a href=”#”><span>Home</span></a></li>
<li><a href=”#”><span>About Us</span></a></li>
<li><a href=”#”><span>Gallary</span></a></li>
<li><a href=”#”><span>Our Stock</span></a></li>
<li><a href=”#”><span>Outlates</span></a></li>
<li><a href=”#”><span>Specials</span></a></li>
<li><a href=”#”><span>Sitemap</span></a></li>
<li><a href=”#”><span>Contact Us</span></a></li>
</ul>
</div>

left right

.nevi{margin:0px; padding:0px;}
.nevi ul{margin:0px; padding:0px; list-style:none;}
.nevi ul li{margin:0 20px 0 0; padding:0px; float:left;}
.nevi ul li a{margin:0px; padding:0 0 0 9px; font-family:”Times New Roman”, Times, serif; color:#000000; text-decoration:none; display:block;}
.nevi ul li a span{margin:0px; padding:8px 18px 0 8px; display:block;}
.nevi ul li a:hover{background:url(../images/left.png) left top no-repeat; height:39px;}
.nevi ul li a:hover span{background:url(../images/right.png) right top no-repeat; height:39px;}

 

Css defolt

.clearfix:after {content: “.”; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
.clearfix {display: inline-block;}
html[xmlns] .clearfix {display: block;}
* html .clearfix {height: 1%;}
*, form, p, hgroup, img, ul, ul li{ padding:0px; margin:0px;}
html{height:100%; margin:0px; width:100%;}
h1, h2, h3, h4, h5, h6{font-weight:normal;}
form, p, hgroup, a, a:hover, img{border:none 0; outline:0 none;}
.clear{clear:both; height:0px;}
:focus {outline: 0 none;}
input, select, textarea, button {color: #2F2F2F; font: 12px/15px Arial,Helvetica,sans-serif; vertical-align: middle;}

 

Bootstrap Example link –

https://www.dropbox.com/s/wh21b1yn4jy2epi/initializr11.zip

http://www.initializr.com/

Advertisements

13 thoughts on “Fundamental

  1. you are really a good webmaster. The website loading speed is incredible. It seems that you’re doing any unique trick. Furthermore, The contents are masterpiece. you’ve done a great job on this topic!

  2. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work.

  3. Excellent post. I was checking constantly this blog and I’m impressed! Very useful information specially the last part 🙂 I care for such information much. I was seeking this particular information for a long time. Thank you and good luck.

  4. Howdy very nice web site!! Man .. Excellent .. Superb .. I’ll bookmark your website and take the feeds additionally…I am satisfied to seek out numerous useful info right here in the submit, we want develop more techniques on this regard, thank you for sharing. . . . . .

  5. Hey I just wanted to let you know, I really like the composition on your site. But I am using Flock on a machine running version 9.04 of Crashbang Ubuntu and the UI aren’t quite kosh er. Not a strong deal, I can still basically read the articles and research for info, but just wanted to inform you about that. The navigation bar is kind of hard to use with the config I’m running. Keep up the great work!

  6. I just like the valuable information you supply for your articles. I’ll bookmark your blog and check once more right here regularly. I am rather sure I’ll learn lots of new stuff proper here! Good luck for the following!

  7. Only a smiling visitor here to share the love (:, btw great design. “Justice is always violent to the party offending, for every man is innocent in his own eyes.” by Daniel Defoe.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s