TRENDING NEWS

POPULAR NEWS

How To Create Fold Unfold Menu In Php Or Html

How to create drop down menus in the navigation bars?

i tend to need perfect navigation bar..if there are a number of products...with drop down menus...(its wide-unfold ...the traditional application menu) and an left area menu for the main used issues...or greater categorys..

How fast do programmers really code? Is it as fast as we see in the movies? Is that possible?

Relax, Grasshopper, after about 10 years of coding experience you can “plan ahead” in your brain faster than you can type. It is very important to be a true “touch typist” and not a hunt-and-peck keyboard operator, it sounds trivial and banal, but if you have to think even 1% of your brain in between turning thoughts into words on the screen you’re going to lose concentration and produce poorer quality code (and less of it).It helps to be working in a simplified environment that doesn’t require a 1,000 page manual to figure out what class methods to call, what arguments to pass, and so forth. Specifically, I find the case with Python and perhaps to some degree “C” that I know 100% of what the base language and libraries can give me and how they will do so, so I’m never stopping to look stuff up and lose my train of thought. This is not the case with Perl, or at least it never was for me, no flames please.When you’re in the “zone”, no phone calls, meetings, or breaks, you can comfortably maybe turn out about 200 to 300 good lines of code in an 8 hour shift. Most of this depends on how well you understand the particular problem you are solving and the techniques you are using to get there. Python allows for an improvisational type of thinking. You can gather up information from here and there and put it in a nested-dictionary-of-dictionaries (JSON style) and then pull it back out as needed so I no longer obsess about whether I should have used an array or a set or whatever. I just take whichever feels closest to the simplest representation of what I’m working on.Also, and ONLY with practice, your skills will improve in the divide-and-conquer sense. You’ll identify isolatable parts of the problem quicker and solve specific sub-goals along the way to achieving the overall outcome. You can easily spot the programmers who can’t or are too stubborn to do this. They have functions that are hundreds of lines long and use more than 2 or 3 nested loops in any one function. Either is a sign that you are not decomposing the problem in to easier and more testable uints.

I need a website. Should I use WordPress or HTML/CSS (more info in description)?

Well.. im biased to WordPress builds as it can be as simple as a beginner needs it to be and as complex as a full developer would like it to be.  With some many custom and free templates you can choose from and with some basic knowledge of child themes and CSS you can create your own custom theme.  Since you mention 0 code experience I cant think of a better reason why you should use WordPress.  Since there were some questions you asked.. I will answer those below...How are the codes generated? Dynamically generated code created by WordPress as you add pages or posts to your site.Do codes need to be unique with some scope?  The only portion of the code that (in my opinion) should be unique is the Title tags, meta description tags (used still by bing and yahoo for rankings and certainly a good tool for click through rates), that content on the pages.  Aside from that, the actual backend code does not need to be unique.How many times can the same user generate a code?  Assuming you mean pages within a site - you can create as many pages and posts within a WP site that your hosting server can store on the hard drive.  I have a few sites that are thousands of pages deep, so really the sky is the limit.Do codes need to be saved in a database or somewhere else?  Everything that you do within the WordPress environment is stored in a SQL database.  That is why this is a dynamic platform.Hope this helps with your decision and good luck!

What are some good french pastry breakfast dishes?

Ingredients

* French Pastry Cake
* 1 cup butter
* 2 cups sugar
* 4 eggs
* 2 squares melted chocolate
* 1 tsp. vanilla
* 2 tsp baking soda mixed into 1-1/2 cups buttermilk
* 2-1/2 cups flour


Directions

1. 350 oven for 45 minutes for layer cake
2. about 1 hour for pan cake
3. Frosting:
4. 1/2 cup milk
5. 2 tblsp. of flour
6. Cook these together until thick, then cool.
7. add:
8. 1/2 cup sugar
9. 1/2 cup shortening
10. beat until creamy
11. add:
12. 3 tblsp of powdered sugar and beat again.
13. May add more powdered sugar to reach consistency you like.

Planning family gathering for 12. Four Quick, easy & tasty dinners. Ideas welcomed.?

Chicken

INGREDIENTS:
3 tablespoons butter
4 skinless, boneless chicken breast halves
2 teaspoons garlic powder
1 teaspoon seasoning salt
1 teaspoon onion powder



DIRECTIONS:
Melt butter in a large skillet over medium high heat. Add chicken and sprinkle with garlic powder, seasoning salt and onion powder. Saute about 10 to 15 minutes on each side, or until chicken is cooked through and juices run clear.


A GOOD SIDE DISH WITH CHICKEN
Baked Pears
INGREDIENTS:
4 Bosc pears
2 tablespoons honey
3 tablespoons butter, melted
dash ground ginger
1/2 teaspoon lavender flowers (optional)



DIRECTIONS:
Preheat oven to 375 degrees F (190 degrees C).
Peel pears and scoop out bottom core. Cut a small slice from the bottom so pears will stand upright. Place in a shallow baking dish and set aside.
Melt butter in the microwave or a small saucepan over medium heat. Drizzle pears with melted butter and honey, and sprinkle with ground ginger (and lavender, if using). Cover with aluminum foil with the stems poking through foil.
Bake in the preheated oven for about 1 hour, or until tender. Baste with released juices occasionally during baking, and again just before serving.

What care should be taken while writing CSS for a webpage when I want to make a page responsive as well, using CSS?

“What care should be taken while writing CSS for a webpage when I want to make a page responsive as well, using CSS?”All of the care.CSS is not the only thing to be considered. Content strategy plays a huge part in how things can/will unfold. Thinking from a ‘small-screen first’ - mindset where you are limited by a device will help ensure you are delivering the core content and not just fluff.Your style-sheet can start with a simplified layout and build up as it becomes ‘ugly’ or no longer suits the content.Besides CSS, you have to think about alternate patterns and how you’ll accomplish that with JavaScript. You may want to ‘fold-up’ some of the content or create menus to navigate the site differently from a phone. You also don’t want to load large images on a phone - compared to fancier desktop computer. Checking the device size through windowWidth and other queries can help you make decisions based on the context.At some point, the complex nature of a flexible site will become a bit more difficult to maintain. OR - not. If you work from small-screen first and use a slick preprocessor like stylus, you can create type styles and mixins to clearly describe your site and I’d say it’s a lot easier to maintain and pleasurable to work with. Flexbox is also a new helpful tool that simplifies some of the float techniques we’d been using for the past decade.Stylus type-patterns exampleWhile @media queries are a key tool for writing adaptive style rules, quality markup and thoughtful content organization are probably even more important.Here are a list of short books on the subjects:Responsive Web Design by Ethan MarcotteResponsible Responsive Design by Scott JehlContent Strategy for Mobile by Karen McGraneGoing Responsive by Karen McGraneResponsive Design: Patterns & Principles by Ethan Marcotte

How do you make a website run fast?

This 7 steps can make a website run fast1. Minify HTML, CSS and JavaScript:  To do so, remove all unnecessary comments, white space and code. This  will improve performance because the file size will be reduced. To  minify HTML, check out HTML Compress. For JavaScript, use YUI Compressor, and for CSS, test out CSS Compressor. A fourth option is to make use of the PageSpeed Insights Chrome Extension to create an optimized version of your HTML code. The PageSpeed Insights page also lists other programs you can use. 2. Make CSS and JavaScript External: Using external files will generally make the pages load faster because JavaScript and CSS files are cached by the browser.  Alternatively,  if you use CSS in a web page, place the CSS in the HEAD element. This  makes the page appear load faster and it can do so progressively. With  JavaScript, move the scripts to the bottom of the page.  3. Eliminate Duplicate Scripts in a Web Page: This issue might seem strange but it is actually quite common.  Duplicate JavaScript and CSS files degrade performance by creating  unnecessary HTTP requests and wasted JavaScript execution. It´s also  important to check and see if scripts have been duplicated in external  files, as well. To avoid this problem is to use a script management  module with your templates. Here is the code for both JavaScript and PHP. 4. Optimize Images: Reduce image sizes using either GIF, PNG-8. or JPEG as the file formats. Make sure the size matches your usage and set  the size for each page with the height and width. Do not make use of  scaling, especially from larger to smaller images. The image result  might look fine on screen but the file size will be the same. To truly  take advantage of the smaller dimensions, use an image editing program  and scale the image accordingly. The resulting file size will be  smaller. It´s also important to experiment with compression for with all  of these file formats. At some point you will obtain an acceptable  compression with a minimum loss of quality. Experimentation is key. 5. Use GZIP compression: If your hosting company uses GZIP compression and deflation these can make a  significant difference and speed up your site. It´s possible to reduce  file sizes by 70% without losing image quality or video size. To see if  your site uses GZIP already, here´s a test you can use.

Drop-down help for Microsoft Excel, getting results/totals from the drop-down?

Here's the demo for the products' price and totals worksheet http://www.freewebs.com/swhtam/YA/produc... , column A & B is your main concern but i create a full table to show how to get to the total cost too.

1. use a sheet for the table which list the product and its price, then

2. select cells that contain product names, go to menu, insert, name, define, put the word "products" on the 1st box, click ok

3. select cells that contain prices, go to menu, insert, name, define, put the word "Prices" on the 1st box, click ok

4. on another sheet make 4 columns, 1st is for the drop down product list, 2nd is for value that will show up when product is seleted, 3rd is the qty. expecting entry from user, and the last column is total which will show the total when prev. 3 columns are filled.

5. 1st column, select a cell, go to menu, data, validation, settings tab, 1st box choose list, 2nd box put ="products", click ok, copy the cell down to expected No. of rows (in the demo is down to A21)

6. 2nd column put the following formula, say in B2 put
=IF(ISNA( VLOOKUP(A2, Sheet2!A2:B27,2, FALSE))=FALSE, VLOOKUP(A2, Sheet2!A2:B27, 2,FALSE), "")

The formula is a combination of IF and VLOOKUP function, basically, the vlookup fetch the product name from A2 to lookup the product/price table on sheet2 and return the price on B2, if the product name is present in A1 of sheet1, no error return from vlookup part of the formula, then lookup the price from column 2 of the product/price table, otherwise return blank.

7. 4th column for total, say in D2 put
=IF(AND( B2<>0,C2<>0), B2*C2,"")
The formula will first check if B2 the value is there and C2 the qty is there, then it will put the 2 together to come up with the total.

Please contact for more details

The Inconvenient Truth?

i wasn't going to answer this at all - this is a topic that i try not to get involved in, because to me it proves beyond question that "none are so blind as those who will not see".
but i have to answer now because of another answer you got. the answerer asks who is going to benefit from the theory that global warming is natural and cannot be affected by man, and promptly answers no one. well, i beg to differ. a lot more people benefit from this belief that those who stand to benefit by the alternative. who are they?
how about the oil industry? and oil byproducts? where would they be if suddenly people were turning to alternative fuels? how about car manufacturers? can't have people trading in their Fords for a bicycle. how about mining companies, and companies that buy and sell exotic woods and generally profit by deforestation? think about all the implications and the list goes on and on. how about this one? how about the governments of the world? think about how oil affects the balance of power in the world at large.

who are you going to believe? the oil industry or the environmentalists? while i do agree that they sometimes go off on some strange tangents and often are rather extremist in their solutions to problems, at least the environmentalists are thinking of the greater good, not the greater profit.

TRENDING NEWS