Month: May 2020

This tutorial assumes you have the knowledge of CSS and HTML.

We are going to use a simple unordered list to build our menu. We will use css to style it so it looks cool and we will use jQuery to show and hide and slide it down and up.

The image with complete html and jquery code here:

The image of complete css code:CSS

You can view the demo of what we will be building here:DEMO

Before we start I want to say that for best performance you should use Firefox 3.0!

1). HTML FILE

Ok, first of all lets build our html file:

Inside the header, after the title,

link your css and jquery files (the statements below)

 lt; link href=”CSS/style.css” rel=”stylesheet” type=”text/css” /  gt;

 lt; script type=”text/javascript” src=”js/jquery-1.3.1.js”  gt; lt; /script  gt;

As you can see my CSS file is inside the folder I created called CSS.

And my jQuery framework file is in the folder named js. Change the structure to any way you like it. I just like to keep things organized.

Ok, so far your project should consist of an HTML FILE, a folder “js” with the jquery framework file inside of it – that can be downloaded here http://www.jquery.com, and the CSS folder with the blank “style.css” stylesheet inside of it. If you’re a bit confused with this, you can also check out webpagescientist.com to see exact instructions.

2.) continuing with our HTML file

Inside your body tag enter the following:

 lt; a href=”#” class=”menu_class”  gt;Click Me  lt; / a gt;

 lt; ul class=”the_menu” gt; lt; li  gt; lt; a href=”http://www.google.com” gt;Google lt; /a  gt; lt; /li  gt;

 lt; li  gt; lt; a href=”http://www.yahoo.com” gt;Yahoo lt; /a  gt; lt; /li  gt;

 lt; li  gt; lt; a href=”http://www.msn.com” gt;MSN lt; /a  gt; lt; /li  gt;

 lt; li  gt; lt; a href=”http://www.metacrawler.com” gt;MetaCrawler lt; /a  gt; lt; /li  gt;

 lt; li  gt; lt; a href=”http://www.dogpile.com” gt;DOGPILE lt; /a  gt; lt; /li  gt;

 lt; /ul  gt;

Here is the image of what my code looks like now: CodeSnippet

Now Preview your work in browser and you should have something like this: Preview

3).Styling with CSS

Open your style.css and insert the folowing code: (The comments are just for explanation purposes)

body {

font-family:Arial, Helvetica, sans-serif;

font-size:12px;

background-color: Black;

}/* Style our body document. set the font to “Arial”, size of the font to 12 and make the background Black color.*/

a.menu_class

{

background-color: #Bc0022;

border: 1px solid #FF9933;

font-size:20px;

padding:5px 30px 5px 30px;

color:Black;

width:90px;

height:40px;

}/*Style the top menu to look like a button by giving it padding. Make the color of the text black. give it background color and a solid border. */

ul, li {

margin:0;

padding:0;

list-style:none;

}/* Style all the unordered lists within the document to not have any extra spacing and remove bullets*/

.the_menu {

display:block;

width:134px;

border: 1px solid #FF9933;

}/* Style our menu class to be displayed as a block and set its width and border*/

.the_menu li {

background-color: #Bc0022;

}/* Style each individual list item on our menu to have a background color of dark red*/

.the_menu li a {

color:#FF9933;

text-decoration:none;

padding:10px;

display:block;

}/* Style the anchor texts to have no underline and have a 10 pixel distance in between them and the border. Give them a yellowish color*/

.the_menu li a:hover {

padding:10px;

font-weight:bold;

background-color:White;

}/* When user hover over our anchors give it a white background to appear like a highlight, make word bold and keep the padding the same*/

OK, save your style.css and preview your html file in browser. You should get something like this:Preview

So as you can see the menu is looking much better. We are done building it. Now the last step is placing it at the correct position and make it show up only when user clicks on the “Click Me” Button and hide it when the user clicks on it again.

Here is the missing code: its not going to be hard. as it only contains a few lines.

 lt; script type=”text/javascript”  gt;

$(document).ready(function () {

$(‘a.menu_class’).click(function () {

$(‘ul.the_menu’).css(‘top’, 3)

.css(‘left’,144);

$(‘ul.the_menu’).slideToggle(‘medium’)

});

});

 lt; / script  gt;

So lets break it down:

 lt; script type=”text/javascript”  gt;start scripting in javascript

$(document).ready(function () { //when the document ready start the function

$(‘a.menu_class’).click(function () { //get the anchor tag with the class of menu_class and when the user

clicks start the function

$(‘ul.the_menu’).css(‘top’, 3) //get the unordered list with the id of the_menu and add the css top:3px;

.css(‘left’,144); and left:144px; which means attach this unordered list at the coordinates of y=3 and x = 144. Those coordinates relate to the (a.menu_class) or our button. So this will place the submenu on the right.

$(‘ul.the_menu’).slideToggle(‘medium’) //get the unordered list with the id of the_menu and call the slideToggle function with the speed of medium. What tat means is attach our submenu and slide it down at the medium speed, if user clicks it again then slide it up at the medium speed.

});

});

 lt; / script  gt; Close out our functions and end the script.

One more thing. If you remember we seen the whole menu right away. To hide it so that the toggle function starts from showing it, we need to modify the .the_menu class in our styles.css. Change the display:block; to display:hidden. Then save the html document and the css document and we get our final result! DEMO.

I hope you enjoyed this tutorial and learned something. If you have any questions please feel free to post them in the comments. Thanks.Jquery makes it easy to build navigational sliding menus

When it comes to Valentine’s day it seems that most people opt for either the expensive way or the easy way by taking help from saitove za zapoznanstva. Sometimes the two combine to create the perfect storm of “romantic” cliché. Anyone can overpay for flowers that will last a week at best. The thought of my husband in a panic at the local grocery store two hours before he comes home from work on the big day leaves me with mixed emotions. Most of them falling along the lines of, “how could he forget?” and “do you know what I could have done with the $140 dollars he spent on these roses?” How much effort does it take to grab a velvet-covered box of chocolate? Or pick up that thoughtfully mass-produced diamond bauble that six other women will show up at the gym wearing the day after Valentine’s?

When I look back on the nearly ten years I’ve been with my husband it isn’t these things that stick out for me. Don’t get me wrong I love some good chocolate and flowers are great. I’ll forever cherish my Tiffany bracelet. Yet more for the sentiment and thoughtfulness, he put into choosing it than for the label. He picked their Russian Knot design because I am named after Lara from the Russian love story Doctor Zhivago.

I keep a hatbox full of his early love letters and the notes that they’ve been paired down into since having four children. My husband has a great sense of humor and gives me fun, silly, and ultimately very romantic knickknacks that I value above all the roses, chocolates, stuffed animals, lingerie, and baubles I’ve ever received.

It’s in this spirit that I present you with five wonderfully romantic ideas for this Valentine’s day. I promise you that if your valentine has even the smallest romantic bone in their body they will promise their heart to you and never notice the lack of overpriced clichés.

Breakfast at Tiffany’s (or lunch on the lawn):

It does hold true that the way to your love’s heart (be they man or woman) is through their stomach. I’m a talented at-home chef. I consider cooking an art form and an outlet. I cook daily and enjoy doing it. But I tell you when my husband cooks for me (three times in ten years mind you) it is sexy as hell! He doesn’t have to give it the five-star treatment. Just that he did this thing for ME is great. So my first suggestion is a meal. Cook for your love. You can spice it up by getting up early and making a wonderful breakfast in bed. Or, you can pack a nice picnic for two. Because we live in a colder climate I have made a bedroom bistro for just the two of us. I cover a small table or nightstand with beautiful linens, set it with my best dinnerware, light candles throughout the room, and serve up a meal for two. You could even just order your valentine’s favorite take-out meal if cooking is out of the question. It’s all about the effort you went to for them.

*A side note to this suggestion. Many community colleges offer couples cooking class for Valentine’s Day. Some even offer classes leading up to the holiday if you’d like to learn something new to take back to your place and make for your valentine.

The love letters of great men (or women):

I try and do this every time my guy goes away on business or just sometimes out of the blue. I tuck little notes in his bag, wallet, the book he is reading, or the pocket of his jeans before he puts them on. Sometimes I just write “I heart You”. Other times I get a little naughty, pick a great quote, or recall a memory of ours. Step it up for the occasion. Put them everywhere and be really honest and heartfelt (it shows). There is nothing like hearing that he loves the way I look in his t-shirt.

Treasure Island:

At heart, be we women or men, we are all kids who want to have fun. Who says romance has to be fancy and flowery? Make it a game. Buy your valentine that something special you know they want. Wrap it up and hide it. Then make them little clues to get to where the treasure is hidden. Make it extra romantic by adding things into your clues about how and why you love your partner. Or you could even go the naughty route with a few of the clues too.

Dance like no one is watching:

This is my biggie when it comes to being swept off my feet. Don’t bother with a crowded club. Pass up on the overdone dinner place that has hired a DJ and popped for a portable dance floor in honor of the occasion. Make a playlist of songs that are meaningful to the two of you. Set up a room in your house with a CD or mp3 player, dim the lights, put out some candles, and just ask your valentine to dance. When my husband and I went to Tuscany this summer I put together a playlist just for this purpose. We danced and danced and I’ve never done anything more romantic.

The thing about Valentine’s day is, like so many other things, it’s become a consumer holiday. Remind your valentine that it’s about the love the two of you share not the credit card bill.

Having had my share of roommates, girlfriends, a wife, and various other opportunities to see how people live, I have come to the conclusion that people born during and after the ’70s do not know how to maintain a house. Translation- Generations X and Y do not know how to do housework.

So, some ground rules before I begin. There is no such thing as “woman’s work” anymore. This is important to married/live-in couples. The housework belongs to the party that is home. If she works full time, he does the house work. If they both work, then they share the work when they get home. If they work opposite shifts, then who is home does the work that needs to be done during each shift. At no time should one party wait until the other gets home to begin sharing the chores. On the weekend, whom ever does the yard work does not do the housework. Again- not gender specific; sometimes my wife wants to be out in the fresh morning air and sunshine, so she will do the yard work, and I do the housework. Other weekends, we switch. In the century, there will be requirement of агенция софия домоуправител for carrying of the household works. The work should be done efficiently so that the person will be relaxed. The ranking of the services can be checked at online sites to appoint the best manager for the house.

Let us begin in the kitchen. The kitchen needs to be cleaned after every meal. What you will need is some scouring cleanser, a scouring pad, dish soap and a clean dish rag- CLEAN dish rag; it does not matter if the rag has been there for one month, week or hour. Get a clean one out of the drawer to begin.

The sink needs to be scrubbed regularly. If you cannot do it daily, do it every other day. The sink should never go more than three days without being scrubbed. Scrub the sink before you wash dishes. Dishwasher? Newsflash- even now in the 21st century, not every home has an automatic dishwasher. And if it does, dishwashers break or not all of the dishes fit into the dishwasher.

Dishes need to be washed with hot water. Not warm, and definitely not cold water, but hot water. Use a liberal amount of dish soap and fill the sink with hot water. Thoroughly wash every dish, utensil and glass. Glasses need to be washed on the outside as well as inside. Pay particular attention to the rim of the glass. The tines on the forks can be a trouble area, be sure to get all the food and debris out of the tines. Go over the handles of knives and cooking utensils with the dish rag just like you would with the business end. Do not assume it is clean just because it was in hot, soapy water.

If you do have a dishwasher, unload the clean dishes, reload it, and start it. Now wipe down all of the counters and the stove top. At least once a week, remove the burner grates and wipe under them. Do this more frequently as needed. Now sweep the floor. At a minimum, once a week the floor needs to be mopped-AFTER you sweep.

In the living areas, situations will vary. If there are children in the house, all the toys need to be picked up and put away. As well as other materials, newspapers, magazines, books, etcetera. This is completed when the floor is clear, as well as the sitting furniture and coffee/end tables. In the office area, bills and other papers need to be straightened up. This is done when there is a clear surface area to work on. Once a week, papers and bills need to be sorted and organized with more detail.

If you have carpet, now is the time to vacuum. If you have hard floor surfaces- sweep. Mop as needed. Vacuuming or sweeping needs to be done once a day. If you have indoor dogs or cats, you will need to do this more frequently. At least once a week, you need to dust. Dusting should be done before vacuuming or sweeping. Also, once a week you need to move the furniture and vacuum or sweep underneath.

Now go back to the kitchen and put away the dishes that were washed earlier. They should be dry by now. Unload the dishwasher if that is necessary.

I will not cover doing laundry here, other than to say never leave the laundry baskets, full or empty, in the living areas.

Listening to music helps the chores pass quickly. The TV or a movie in the background is not a good idea. Unless you can ignore it, stopping to watch a scene here or there will add time to completing the chores. Once you get the hang of this, and get into a routine, it should not take more than 30-45 minutes to get all the housework done. And now everyone can enjoy a comfortable, clean home.

Over the last few years, there were a lot of improvements in terms of the development of Bitcoins. There are different bitcoin trader login that are there for online bitcoin trading. More and more people are getting into bitcoin trading which is why everyone out there is looking for different investment opportunities. 

One such lucrative option is Bitcoin cash. In this article, we are going to compare bitcoin with bitcoin cash and compare their similarities and differences. 

Bitcoins were introduced in 2009 and were an instant hit in the global market. With their revolutionary blockchain technology, they were accepted globally. Bitcoins offered features like fast transaction speed, user autonomy. Low transaction fees on overseas payment, and high accessibility. All these amazing features made bitcoins really popular in its initial stage. 

Since there was no control of the government over the transaction made through bitcoins and its use in illegal activities made a huge impact on its popularity. This is where bitcoin cash was introduced in order to provide stability to the whole system making it easier for these cryptocurrencies to grow over time. 

Bitcoin cash was introduced thereafter that offered its users a much faster transaction speed and much lower transaction fees when compared with Bitcoins. Moreover, the bitcoin cash network is capable of handling more transactions simultaneously.  However, the main reason why it could not surpass bitcoin was the security issues that this system had. 

In order to handle these issues, the bitcoin cash network increases the block size to 8MB in order to further accelerate the verification process in order to maintain the overall network. 

Despite all these benefits bitcoins is still at the top of the crypto world with the most number of users as compared with the number of users of other cryptocurrencies. 

To win Mystery Eggs is a question of luck as they are distributed randomly on Farmville. But still there are some tricks you can use to increase the probabilities of receiving a Mystery Egg.

First:

You have to buy a Chicken Coop. This item costs you 5000 coins. If you still don’t have enough money to purchase your own coop ask one of your neighbours to gift you a coop. You may also obtain a coop by hatching a Myst. Egg.

Second:

Go harvest your eggs every 24 hours. You’ll win coins for each chick in your coop. If you have 5 chicks giving you 6 coins each, you will get 30 coins. Just do the math. At every chicken harvest you have the chance to win a Myst. Egg. The playing will be available for all the day to enjoy the video games at league of legends unranked accounts. The information of the opponent should be compatible for winning at the video games. It will offer enormous benefits to the person. 

Third:

Sell your coop. This can improve the chances of obtaining a mystery egg, if you sell your coop and immediately after that you buy another one. Each transaction of a coop is another chance to win a Mystery Egg. You can do this as many times as you want until you have all the eggs you need.

Fourth:

Raise Coloured Chickens. White chicks only lay white eggs. You should have a coloured variety in your coop. This increases the number of chances you have to receive a coloured mystery egg. Brown chicks generate white, brown and black chicks. The black ones generate white, brown, black and gold.

Fifth:

Post your Myst. Eggs on your Facebook wall to share it with your Farmville friends. You can share them, but remember that each egg is limited to 5 Farmville friends.

You can find one of these items inside your Egg:

  • White Egg: Brown or White Chicken, Garden Gnome or Pink Flamingo.
  • Brown Egg: Black or Brown Chicken or 1 Fuel Refill.
  • Black Egg: Golden or Black Chicken or 10 Fuel Refills.
  • Golden Egg: Hot Tub, Tree Swing, Golden Chicken, Fire Pit, Golden Garden Gnome or 20 Fuel Refills.

It’s recommended to wait until the coop is completely ready so you can harvest. You should fill your coop with coloured chickens to increase the odds of receiving mystery eggs.

To move chicks into the coop, click on a chicken and select move, hover over it and move it into the coop. When the coop is highlighted yellow, release the chicken. To remove them from the coop, select your Dairy Farm and pick Remove Chickens.

If you want to know how to start from complete beginner and make it to level 24 in just 9 days, then you have to visit the Farmville Tips for Success

If you need help becoming the best at Farmville then you really have to Click Here!

Americans and Wall Street had their eyes on C-Span and other media outlets yesterday as the vote on the bailout vote, known formally as H.R. 3997, the Emergency Economic Stabilization Act of 2008 (EESA), was aired live. The stock market reacted negatively, it seemed, to anything remotely done by Congress, including Speaker Pelosi’s comments just prior to the vote, the vote itself, and the after vote spinning done by members of Congress. It was incredibly clear by watching the market hit its nadir of nearly -778 points that Wall Street was not happy with the bailout vote.

Media reports of all kind, including our local paper, over the past few days had snippets of members of Congress stating emphatically that their phones were ringing off the hook with constituents proffering their opinion on how they should vote for the Bailout vote. The purchase of the cheap hr modules will be effective for the business firms. Proper survey should be taken at the online sites for the selection of the one to save the money.

A Look at Virginia’s Roll Call Bailout Vote

As the Fredericksburg, Virginia, Freelance Star reported today, Virginia House of Representative members were split on the Bailout vote. Representative Eric Cantor, a Republican who worked on the legislation, voted for the Bailout. Also voting for the Bailout were Jim Moran, Democrat of Virginia’s 9th District, Rick Boucher, Democrat of Virginia’s 9th District, Tom Davis, Republican of Virginia’s 11th District, and Frank Wolf, Republican of Virginia’s 10th District.

Rob Wittman, a Democrat from my own district, voted against the bill, because he listened to his constituents. According to the Freelance Star, Wittman stated that over 2,000 constituents wrote or called him and that an overwhelming number of those constituents were against the $700 Billion Bailout. Voting with Wittman against the $700 Billion Bailout were Thelma D. Drake, Republican of Virginia’s 2nd District, Virgil H. Goode, Jr. , Republican of Virginia’s 5th District, J. Randy Forbes , Republican of Virginia’s 4th District, Bob Goodlatte, Republican of Virginia’s 6th District, and Robert C. Scott , Democrat of Virginia’s 3rd District.

Analysis of Roll Call Vote of Virginia’s House of Representatives’ voting

An analysis of the roll call vote shows that of Virginia’s 11 members of the House of Representatives, the voting was split. Five members voted for the Bailout bill and six members voted against. Voting for the Bailout bill were 3 Republicans and 2 Democrats. Conversely, voting against the Bailout bill were 2 Democrats and 4 Republicans.

The House vote yesterday reflected Republicans voting against the bill at a 2:1 ratio and that seems to hold true here as out of 6 Republicans, 4 voted against the Bailout. As for the Democrats yesterday, only about 40% of House Democrats voted in favor of the Bailout bill. In Virginia, out of 5 Democratic House members, only 3 of them voted for the Bailout, or 60%. The voting of Virginia’s House members falls in line fairly closely with how the rest of the House of Representatives voted.

Want to know how your Congressmen voted? The House lists a roll call vote of how each member voted on the EESA and that listing can be found here.