joi, 25 aprilie 2013
The method of betting with cash line
luni, 28 martie 2011
SEO Smart Links Pro v1.0.5 Free Download
vineri, 25 martie 2011
WordPress Seo-Rank Plugin Free
sâmbătă, 19 martie 2011
AdSense optimization tips for forums
sâmbătă, 12 martie 2011
13 SEO and advertising WordPress Plugins
luni, 24 ianuarie 2011
Economia României, mai libera decât cea a Frantei
Economia României este libera în proportie de 64,7, ceea ce o plaseaza pe locul 63 din 183 de state în clasamentul celor mai libere economii din lume, potrivit concluziilor unui raport dat publicitatii miercuri de Heritage Foundation, o reputata organizatie de analiza economica din Washington, citata de Agerpres.
Potrivit Index of Economic Freedom pe 2011, scorul României s-a îmbunatatit cu 0,5 comparativ cu editia precedenta. Desi este depasita de tari precum Bulgaria, locul 60, Ungaria, locul 51, Slovacia, locul 37, si Cehia, locul 28, România se situeaza totusi în fata Frantei, locul 64, Slovenia, locul 66, Turcia, locul 67, Polonia, locul 68, si Portugalia, locul 69. Astfel, România se claseaza pe locul 27 din cele 43 de state din regiunea Europei, iar scorul sau total este mai mare decât media globala.
Si în acest an Hong Kong se situeaza pe prima pozitie, pentru al 17-lea an consecutiv, cu un scor de 89,7, mult peste media globala de 59,7. Urmeaza în ordine, Singapore, Australia, Noua Zeelanda, Elvetia, Canada, Irlanda, Danemarca, SUA si Bahrein. Pe ultimele locuri ale clasamentului se situeaza Coreea de Nord, locul 179, cu un scor de 1,0, în timp ce Afganistanul, Irakul, Liechtenstein si Sudanul nu au primit un calificativ.
La elaborarea acestui clasament, Heritage Foundation a luat în calcul o lista de 10 criterii precum interventia statului în economie, dreptul de proprietate, politica fiscala, gradul de coruptie, libertatea muncii.
joi, 20 ianuarie 2011
Oboseala cronica acuta
luni, 17 ianuarie 2011
Portretul robot al unui parior de succes
miercuri, 12 ianuarie 2011
Pensiunea Arena ****- Cazare cluj
Pensiunea Arena este situata în Cluj-Napoca, într-o zona centrala, dar, în acelasi timp, ferita de traficul intens al orasului, si în proximitatea Parcului Central. Aceste lucruri o fac locul ideal atât pentru servicii de cazare cluj cât si pentru cele de restaurant.
Fara a avea pretentia de produs exclusivist, pensiunea Arena ofera un lux accesibil, un mediu functional într-un decor impecabil, clasic si modern totodata. Un lux înteles în alt fel decât pâna acum, mai accesibil, mai firesc. Clientul nostru nu plateste în plus pentru conditiile impecabile, deoarece acestea reprezinta un cadru de la sine înteles.
Arena reprezinta o reinterpretare moderna a clasicului si a elementelor antice grecesti, care îsi regasesc expresivitatea într-o forma adesea futurista. Totusi, efectul nu este deloc cel de muzeu, ci, mai degraba, de spatiu ultramodern, în care un ochi atent identifica urme ale trecutului, acest edificiu fiind atestat in anul 1900 si renovat în 2010.
Un spatiu creat cu inteligenta, prin valorificarea oricarui element de decor. Pe scurt, un refugiu, un loc intim în care clientul poate evada, paradoxal, chiar în mijlocul orasului, un loc care se poate reinterpreta în functie de nevoie: relaxare sau, din contra, atmosfera de office.
luni, 10 ianuarie 2011
Bocconcini de iepure-mancare specific italiana
Durata prepararii: 30 min Marinare : 24 h Portii: 4-6 persoane
Ingrediente: un iepure de casade 1,5 kg dezosat, o portocala, 10 frunze salvie, 3 linguride ulei de masline, sare si piper.
Ingrediente pentru sos: 6 hasme, 3 linguri de ulei de masline, 30 g unt, o lingura de capere in otet, 2 linguri de masline, o lingura de concentrat de vitel, 100 ml de vin alb, otet de Xerex.
Ingrediente mamaliga: 250 g malai, 3 tablete supa de pasare, 100 ml ulei de masline, 50 g unt si 2 lingurite de sare fina.
Mod de preparare: In ajun , taiati carnea de iepure in bucatele mici. Puneti-le intr-un castron cu salvia, uleiul, coaja si zeama de portocala. Sarati, piparati, acoperiti cu hartie si lasati sa se macereze 24 ore, la rece.
A doua zi, curatati si taiati fin hasmele, apoi rumeniti-le in uleiul cu unt. Adaugati caperele, maslinele, concentratul de vitel, vinul, putin otet de Xerex si 100 ml de apa.
Pregatiti mamaliga: puneti 1 l de apa la fiert si, cand da in clocot, adaugati tabletele, uleiul, untul si sarea, turnati malaiul in ploaie, lasati sa fiarba 10 minute, amestecand continuu.
Scurgeti bucatelele de iepure si perpeliti-le la foc iute 5-10 minute; in interior, carnea trebuie sa ramana usor rozalie. Serviti mamaliga cu carnea de iepure, acoperite cu sosul de capere.
La final puteti bate 100 ml de smantana lichida cu putina nucsoara, punand apoi o lingura pe carnea de iepure.
sâmbătă, 8 ianuarie 2011
Online Branding Monitor

Cu totii suntem constienti de ceea ce inseamna Google, in desfasurarea afacerilor noastre. Cu totii ne dorim ca motorul de cautare Google, sa ne placa si sa ne plaseze pe primele pozitii de cautare organica pe cuvintele alese de noi. Aceasta situatie poate duce la dublarea, triplarea sau chiar insutirea cifrei de afaceri. Pentru aceasta avem serviciul de pozitionare in Google.
Ceea ce inseamna Online Branding Monitor este intr-adevar ceva unic. O sa incerc sa va explic ideea si sper sa reusesc sa ma fac bine inteles. Intr-un alt articol vom prezenta ‘le piece de resistance’ numit Online Branding Self Control. Nu cred ca nu v-ati pus niciodata problema ce ar fi daca cineva ar posta pe internet absolut orice despre firma dumneavoastra sau despre dumneavoastra personal.: ca va plac jocurile de noroc, ca aveti amanta, ca furati bani, sau cate si mai cate.
Va fi foarte greu sa opriti sau stopati aceste lucruri , adevarate sau nu . Dar totusi cum ar fi daca pe prima pagina a cautarilor organice de la Google pe numele dumneavoastra sau al brandului dumneavoastra ar aparea numai ce doriti dumneavoastra , adica exact acele informatii pe care le doriti dumneavoastra si pe care le puteti modifica dupa bunul plac?
Pana acum era doar un vis, dar acum exista ONLINE BRANDING SELF CONTROL( il vom detalia intr-un articol separat), unicul serviciu de acest gen din Romania.
Dar acum sa revenim la Online Branding Monitor.
Cred ca in acesta nebunie informationala care este internetul ar fi placut sa stii in fiecare moment ce si unde se scrie despre brandul tau, numele tau si domeniul tau de activitate. Sa afli tot ce se intampla pe net despre ele. E important sa stii in timp real pentru a putea lua pozitie sau a contracara lucrurile neplacute, precum si a profita de lucrurile bune care se scriu la momentul oportun.
Pe scurt, acest serviciu va propune o monitorizare in timp real a tot ceea ce se scrie pe internet despre numele, brandul sau firma dumneavoastra, precum si domeniul de activitate vizat.
Aceasta monitorizare se face in timp real, odata cu indexarea paginii respective de catre motorul de cautare Google, fara de care acest serviciu ar fi imposibil.
Se va genera un email cu linkul siteului respectiv unde apare nominalizarea brandului sau numelui dumneavoastra, pentru a putea citi continutul in timp real.
Noi am gandit acest serviciu sub forma de abonament lunar in functie de mai multi indicatori:
Tipuri de abonament:
1. Instant: Semnalare imediata aparitie 24/24 ore, 7/7 zile : 20 euro + tva/luna
2. Weekly: Semnalare saptamanala aparitie nume/brand : 15 euro + TVA/luna
3.Monthly: Semnalare lunara aparitii nume/brand : 10 euro + TVA/luna
Se poate opta si pentru serviciu Alerta SMS instant care are doua variante si completeaza toate abonamentele de baza descrise mai sus sau poate functiona separat:
1.Instant SMS Crisis: se vor trimite sms la un numar de mobil furnizat de dumneavoastra., doar in situatiile critice , atunci cand postarea respectiva lezeaza imaginea dumneavoastra sau a brandului dumneavoastra : 25 euro + TVA/luna ., pentru abonamet de sine statator sau 10 euro + TVA/luna pentru completarea serviciilor de mai sus.
2. Instant SMS All: se vor trimite sms-uri cu toate aparitiile legate de brandul dumneavoastra : 40 euro + TVA/luna , de sine statator sau 20 euro + TVA/luna ca si completare la un abonament standard.
miercuri, 29 decembrie 2010
De ce sa cumparati o BANDA de ALERGARE?
Progresul tehnologiei combinat cu costurile de productie reduse ? toate acestea va spun ca puteti acum sa cumparati o banda de alergare pentru uz la domiciliu cu control gradient, cu programe presetate si o functionare care este extrem de apropiata de benzile de alergare comerciale de calitate pentru mai putin de 1000Euro!
Ceea ce este foarte bine, pentru ca alergatul si urcatul dealurilor reprezinta forme foarte bune de antrenament cardiovascular si ambele sunt eficiente atat in controlul greutatii cat si in reducerea grasimii din corp. O banda buna de alergare poate oferi un nivel de amortizare atat de ridicat incat face ca cei mai exotici pantofi de sport sa dea senzatia unui flip-flop, fara sa trebuiasca sa cauti rutele fara trafic si poluare, dar sigure, mai ales pentru femei in serile de iarna.
Dar benzile de alergare presupun o tehnologie mai complexa decat celelalte tipuri de echipament? (cum ar fi cross trainers (bicicletele), ceea ce inseamna ca trebuie sa te gandesti bine inainte de a te repezi sa cumperi acel produs)
Foarte important cand cumparati o banda de alergare:
Asigurati-va ca banda de alergare se vinde impreuna cu o garantie a service-ului, pentru ca multe marci de import se vand doar cu garantia pieselor (doar nu vreti sa schimbati un nou motor chiar d-voastra, etc). Asigurati-va ca garantia nu se ofera cu intoarcerea la baza (d-voastra platiti transportul), intrebati daca inginerul vine la d-voastra acasa sa faca reparatia.
Este important sa cumparati un produs cu nume de marca cunoscut “high street” pentru care se ofera service adecvat in toata tara. Astfel, daca vanzatorul cu amanuntul dispare, garantia d-voastra este totusi valabila la producator. Acum multi producatori ofera garantii pentru toata viata aparatului pentru motor si o garantie prelungita pentru structura si componente.
* Dimensiuni generale – Verificati daca se incadreaza in locul in care doriti sa-l puneti (langa o sursa de energie) cu destul loc pentru a va urca si coborati de pe aparat. Daca locul este mic, ganditi-va si la benzile de alergare rabatabile.
* Puterea motorului – Ar trebui sa aiba cel putin 2.0 cai putere si sa aiba un bun efort de torsiune (la viteze foarte mici, cureaua nu trebuie sa incetineasca cand pasiti pe ea)
* Amortizarea si stabilitatea benzii – Cum te simti cand alergi pe banda de alergare? O banda buna de alergare ar trebui sa ofere o amortizare excelenta, dar sa nu scuture, sa nu agite, sa nu faca zgomote sau sa vibreze la fiecare pas.
* Cureaua sau banda de rulare – verificati daca banda este destul de lata (se recomanda de la 40cm in sus) si destul de lunga pentru a se adapta stilului d-voastra de alergat fara sa aveti crampe si sa se miste lin pentru punte, chiar si cand mergeti la viteza mica.
* Viteza maxima – Asigurati-va ca este cu cel putin 3Km/ora mai mare decat pasul d-voastra obisnuit de alergat? pentru ca motoarele benzilor de alergare care sunt folosite la viteze maxime pe perioade lungi nu vor rezista prea mult.
* Gradientul maxim (inclinarea) -? Gradiente maxime mai mari, de ex. 12%+ sunt folositoare pentru exercitiile de mers. Mai verificati si cat de repede se schimba gradientul cand apasati butonul!
* Pupitru feedback si usurinta utilizarii – cat de clare si inteligibile sunt informatiile de pe afisaj? Cat de usor este accesul la programe (daca exista)? Daca sunt butoanele destul de vizibile si usor de folosit?
* Programele – multe benzi de alergare ofera antrenamente la intervale anume, curse de alergat in panta sau va dau posibilitatea sa va creati propriul d-voastra program de alergat/ mers. Unele mai afiseaza si controlul ritmului cardiac.
* Zgomotul – cat de zgomotoasa este banda de alergat mai ales la viteze mai mari? Benzile de alergare mai silentioase de obicei au un standard mai ridicat de structura si motor.
* Rabatarea – Se rabateaza banda de alergare pentru a putea fi depozitata?
* Standardul structurii – Structurile sudate sunt mai bune decat structurile prinse cu suruburi (suruburile se pot desprinde sub presiune si greutate mare) iar banda de alergare nu trebuie sa se scuture vizibil cand calcati pe ea (este semnul unei constructii fragile)!
marți, 14 decembrie 2010
Fwonez Free WordPress Theme

Fwonez is a clean Magazine theme comes with a fantastique design. Nothing much to setup for using this theme, just a simple setting at Yoshz Admin Panel which included in this theme. Fwonez is a free theme under license GPL but please not to remove any copyright link at the footer.
Other Features
- WP 3.0 Menus Function already included.
- Magazine Style comes with thumbnail image. It will capture the first image in your post.
- Yoshz Admin Panel will be included. Just a simple setting, no need to do the hard code.
- You can choose whether you want the Featured Slider and 125px ads to appear at your theme or not.
- Compatible with IE8, Firefox 3, Opera, Safari and other popular browser and also compatible with the latest WordPress version.
How to Install
Download the theme file and extract the zip file then upload the theme directory to your theme directory in wp-content/themes. After that apply it on your wordpress dashboard in menu Appearance then setting the theme with our Yoshz Admin Panel.
Please make sure you change the cache directory permission to 775. If you fail to do that your image thumbnail will not appear properly.
WordPress Sidebar Turned Apple-Flashy Using jQuery UI
Apple have always been Gods in terms of the way they present themselves and their products. I just love the sidebar on the Apple Startpage, and wanted to use the Accordion plugin in jQuery UI to achieve this! As if that’s not enough for me, I want to be able to show and hide it at my pleasure as well. I’m gonna show you how!
Preface
This tutorial assumes that you have a wordpress engine running on a server that you have access to upload files, download files and browse to. If you want to run a local server on your computer with a wordpress installation, there is a tutorial on that here for Windows, and here for OS X.
Files you’ll need.
We need a total of 6 files for this tutorial:
- functions.php – This will hold a small line of code registering our sidebar.
- index.php – We most definately need this file. Any guesses why?
- jQuery – Here’s version 1.2.6 for you.
- jQuery UI (accordion) – We only need the Accordion plugin and the UI core, not the whole UI library.
- sidebar.js – Contains all the jQuery code for the sidebar.
- style.css – Needed to activate the theme, and contains all CSS.
- images folder – I’ll give you a list of images to fill this up with a bit later on, in the CSS part. For now, though, we only need 1 image that is in the HTML – the RSS icon! Place it in the folder ‘images’ and let’s get started!
Don’t forget to activeate your WordPress theme (which should be aptly named sidebarTheme) in Dashboard! Right. To the tutorial! We’re going to start off with the HTML and WordPress we’ll need. This will include the strcutre we’ll need, Then we’ll fill it up with the WordPress code that will display posts and register and show our sidebar. It’ll still look icky after this, so we’ll fix it up with some pretty CSS that’ll make it somewhat resemble the apple startpage, and make the sidebar look apple-y too. We do this before the JS so those without JS still see the pretty lookin’ thing. Then, finally, my favourite – the jQuery. We’ll animate it open and closed, and use accordion() and it’s parameters to generate the hover effect.
Step 1 – HTML
Quickly open up functions.php, and put this in:
-
- if(function_exists('register_sidebar')){
- register_sidebar(array('name' => 'appleQuery'));
- }
- ?>
'appleQuery')); } ?>
functions.php is automatically picked up by PHP/Wordpress and executes the functions. This function asks WordPress to register a new sidebar in the Dashboard to add widgets to it. That’s not all though… We need to put that into our theme! I’ll explain that after the HTML/Wordpress bit next. The array just names the sidebar, so that in Dashboard we can select which sidebar to edit (not really a problem… More of a good habit incase of numerous sidebars).
Copy or type this into your index.html:
- "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- "http://www.w3.org/1999/xhtml">
- "http://gmpg.org/xfn/11">
-
-
'name' ); ?> -
- "stylesheet" href="" type="text/css" media="screen" />
- "alternate" type="application/rss+xml" title="RSS 2.0" href="" />
-
-
-
-
-
-
-
-
- "wrapper">
-
'name'); ?>
- "sidebar">
-
- if(function_exists('dynamic_sidebar') && dynamic_sidebar()) : ?>
- endif; ?>
-
-
"" title="">
" type="text/css" media="screen" /> " />
Explanation
Ok… I know that’s a lot. A lot a lot. But this tutorial doesn’t specifically focus on WordPress and HTML, but I’ll pick out the interestings that you should probably understand.
- The whole sidebar segment – This is the main part of what’s important. What we’re asking wordpress, is that if, in the entire local wordpress engine, the function dynamic_sidebar is present (which it is in functions.php), execute the function. The appleQuery specifies the name of the sidebar that we assigned it (in functions.php, remember?).
- – This is some raw PHP to echo the current date and time of the user. It’s only in here because it’s on Apple! It’s in the format of: (Month DD, YYYY 00:00 AM GMT).
- – Look in the head element… Do you see the same thing? Once again, it’s on Apple’s website. It’s just the XML entries feed for the blog.
- – Nothing amazing… This is just the button that’ll toggle the visibility of the sidebar. I’ve made it a span so it’s not clickable for JSless browsers, but using the .click() function of jQuery people WITH JS can!
So with the HTML and WordPress all up, I’d suggest going into your WP Admin, and adding a few widgets to your blog. For some reason, Search doesn’t have a title, and the tag cloud widget doesn’t disappear – Go figure! I used the following in mine:
- Categories
- Archives
- Links
- Pages
- Meta
And it should look something like this:
Kinda ugly huh? Never fear, CSS is here!
Step 2 – CSS
Yes, fantastic CSS is here to save the day! We want to create something somewhat remenisce of this (photoshop mockup):
Like my little blur effect? I thought it fitted… Anyway. The blur will be the JS, but for now we want everything to be expanded, and shown, so that for the 1% of smart cookies that don’t have JS enabled, the sidebar will still be visible and still look pretty. Very, very big, but nevertheless, there. It’s a big chunk, so I’ve put it in another file, as to not fill this page up – Don’t kill me! Copy or type this CSS into your style.css. You’ll need all of these images:
activeBg.png, h1.png, inactiveBg.png, sidebarClose.png, sidebarOpen.png, topStoriesBg.pngSome things to note
- I’ve done my best to stick to ems in terms of font-sizing, so the 75% just downsizes all text to 12px which becomes 1em. That’s for another tutorial though!
- In the h1 code I’ve used ‘text-shadow’. This is CSS3. It just contributes to the applesque look!
- #content – Has a background colour of white. Why you ask? The background will always be white anyway, what’s the point? Well, my friends, when we get to the jQuery we need #content to become a blanket for the sidebar, and if there is no background set, it’ll be transparent thus showing the sidebar.
- #sidebarToggleButton – That’s one hell of a name… This sets the button that will toggle the visibility of the sidebar to be correctly in position, but invisible to the JSless people. When we move onto the JS, the background images will be applied then, so they only show for the JS people!
Those 3 things are just about the only quirks in there. I’ve tested that code in FF, Safari 3 and Opera 9, and it all looks perfect! Here is how it should look:
Next we need to jQueryfy it.
Step 3 – jQuery Time!
I love jQuery! I love it that you can translate words to code so easily, and I always start off by doing the words. Here is a basic idea of what we want the script to do.
- Hide the sidebar.
- On clicking ‘.sidebarOpen’, toggle the following:
- Remove the class ‘sidebarOpen’.
- Add the class ‘sidebarClose’ (which we’ll style next section).
- Animate the sidebar to slide out from under (literally, using position: relative;)
- Animate (this) to move X amount of pixels to the left (so that it stays in line with the sidebar).
- Initiate the Accordion.
That all seems like a lot (but it’s really not…) so I’ll take you through it step by step. Open up the file you created called sidebar.js and start typing!
Step 3.1
As always, don’t forget to wrap everything in jQuery’s special document ready:
- $(document).ready(function(){
-
- //jQuery code goes here
-
- });
$(document).ready(function(){ //jQuery code goes here }); Put everything here on between the document ready!
Step 3.2
- $("#sidebar").css({ left: "205px"});
$("#sidebar").css({ left: "205px"}); This ‘hides’ the sidebar by manipulating the DOM level CSS. It doesn’t really, it just gets swept under the rug. The literal rug being div#content. This wont actually work until we’ve added a little more CSS, but I’ll cover after this section.
Step 3.3
- $(".sidebarOpen").toggle(function(){
- $(this)
- .removeClass("sidebarOpen")
- .addClass("sidebarClose")
- .animate({right: "205px"}, 500);
- $("#sidebar").animate({left: "0px"}, 500);
- }, function(){
- $(this)
- .removeClass("sidebarClose")
- .addClass("sidebarOpen")
- .animate({right: "0px"}, 500);
- $("#sidebar").animate({left: "205px"}, 500);
- });
$(".sidebarOpen").toggle(function(){ $(this) .removeClass("sidebarOpen") .addClass("sidebarClose") .animate({right: "205px"}, 500); $("#sidebar").animate({left: "0px"}, 500); }, function(){ $(this) .removeClass("sidebarClose") .addClass("sidebarOpen") .animate({right: "0px"}, 500); $("#sidebar").animate({left: "205px"}, 500); }); OK I can understand your confusion. This is a lot for a step by step instruction right?! Well yeah… But it’s actually 2 very similar things. The first function in the .toggle() will:
- Removes the class of ‘sidebarOpen’ (the classes are for CSS in the next section).
- Adds the class of ‘sidebarClose’.
- Animates our little button to slide to the left alongside:
- The sidebar sliding out itself, being animated with jQuery. Both are set to come out during half a second, so they should move together.
The thing is, is that the second function is exactly that, but in reverse! It:
- Removes the class of ‘sidebarClose’.
- Adds the class of ‘sidebarOpen’.
- Animates our little button to slide back in to the right alongside:
- The sidebar sliding back in.
See! Not so hard. It’s just a lot of code to read over.
Step 3.4
Accordion time! Yay! We finally get to use the ever present jQuery UI. The way they’ve designed the widget makes it super simple to impliment:
- $("#sidebar ul").accordion({
- header: 'h2',
- event: 'mouseover',
- activeClass: 'selected'
- });
$("#sidebar ul").accordion({ header: 'h2', event: 'mouseover', activeClass: 'selected' }); It’s just the one .accordion() function, applied to the ul within the #sidebar div. The parameters (one per line) are as follows (pretty self explanitory… But eh):
- header – This defines the handles of each accordion ‘drawer’ – In our case, the h2 of each widget.
- event – Defines when to change drawers, and we want the hover effect like Apple has, so we use mouseover
- activeClass – This is handy for the little extra CSS we’re about to endure. It gives the expanded drawer a class of ‘selected’.
That’s all the JavaScript code we’ll be needing. It’s all pretty straightforward, and easily modified to suit whatever you need!
Why this is so fantastic
I feel this hasn’t been glorified enough yet! The amazing thing about the accordion plugin is that you don’t have to edit any of the WordPress generated code, which we haven’t formatted ourselves at all (aside from the wrapping ul, but that’s necessary regardless). Not only is it 100% unobtrusing and 100% unreliant on edited HTML code, but it’s also a short quick function. Accordion does all the dirty work of selecting, animating, activating, changing classes, etc. It’s great! Consider AccordionUI glorified! You should most probably have something similar to this (I’ve put the accordion in very lightly so you can see where it should be):
Step 4 – jQuery CSS
So obviously we’re going to need a little extra CSS to cater for all the chopping and changing jQuery does for us. Things needing additional styling are:
- #sidebarToggleButton – Using the classes that jQuery assigns for us, we can now safely style the images ‘sidebarClose.png’ and ‘sidebarOpen.png’ that I got you to save earlier.
- The accordion definitely needs some work. We need to fix the square corders with some CSS3 and style the active class.
- /* jQUERY CSS */
-
- #sidebar>ul{
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- -opera-border-radius: 5px;
- }
-
- span.sidebarOpen{
- background: url(images/sidebarOpen.png) no-repeat center;
- }
-
- span.sidebarClose{
- background: url(images/sidebarClose.png) no-repeat center;
- }
-
- h2.selected{
- background: url(images/activeBg.png) repeat-x !IMPORTANT;
- color: white !IMPORTANT;
- }
/* jQUERY CSS */ #sidebar>ul{ border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -opera-border-radius: 5px; } span.sidebarOpen{ background: url(images/sidebarOpen.png) no-repeat center; } span.sidebarClose{ background: url(images/sidebarClose.png) no-repeat center; } h2.selected{ background: url(images/activeBg.png) repeat-x !IMPORTANT; color: white !IMPORTANT; } Just 2 things to note:
- #sidebar>ul – That is, the direct ul child of #sidebar gets the cool rounded corders – still beta CSS3. But works in all Mozilla, Opera and WebKit based browsers.
- !IMPORTANT – This is needed to override what has previously been set – the default handle grey background.
And so now, your final product show be something pretty like this: (Click for HTML version)
Wrapping up
So we’ve gone over a bit of stuff in this tutorial. We’ve looked at dynamic sidebars, A lot of jQuery to show and hide the sidebar that is infact an accordion in itself! This tutorial was aimed at using additional plugins for the default jQuery (We plugged jQuery UI in), and also the dynamic_sidebar function.


