Skip to main content

Home/ Web Development, Design & Programming/ Group items tagged GT

Rss Feed Group items tagged

DJ XC

How to correctly insert a Flash into XHTML » La Trine - 0 views

  • Final Solution The complete code will then look like this (example + validator): <!--[if !IE]> --> <object type="application/x-shockwave-flash" data="movie.swf" width="300" height="135"> <!-- <![endif]--> <!--[if IE]> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="300" height="135"> <param name="movie" value="movie.swf" /> <!--><!--dgx--> <param name="loop" value="true" /> <param name="menu" value="false" /> <p>This is <b>alternative</b> content.</p> </object> <!-- <![endif]--> Maybe it's not a brilliantly elegant solution, but it's only truly functional
  •  
    Solucion para insertar Flash y que funcione en todos los navegadores
rands gifts

Online Birthday, Anniversary Cake flowers, Fruits, Chocolate and Gifts delivery to paki... - 0 views

<p><img src="https://www.diigo.com/file/image/bbrpocrpzocdeoboarzdsodpobo/randsgifts.jpg"; /></p>https://www.randsgifts.com/ <p><a href="https://www.randsgifts.com">On...

public

started by rands gifts on 20 Sep 19 no follow-up yet
anonymous

Zend Framework -ZendView - 0 views

    • anonymous
       
      An dieser Stelle kann man mehrere Views für eine Action erzeugen. Variablen müssen dann mit ->setVariables(array()) oder ->setVariable(Einzelwert an den passenden View übergeben werden.
  • $view = new ViewModel(); // this is not needed since it matches "module/controller/action" $view->setTemplate('content/article/view'); $articleView = new ViewModel(array('article' => $article)); $articleView->setTemplate('content/article'); $primarySidebarView = new ViewModel(); $primarySidebarView->setTemplate('content/main-sidebar'); $secondarySidebarView = new ViewModel(); $secondarySidebarView->setTemplate('content/secondary-sidebar'); $sidebarBlockView = new ViewModel(); $sidebarBlockView->setTemplate('content/block'); $secondarySidebarView->addChild($sidebarBlockView, 'block'); $view->addChild($articleView, 'article') ->addChild($primarySidebarView, 'sidebar_primary') ->addChild($secondarySidebarView, 'sidebar_secondary'); return $view;
Vernon Fowler

Best Practice: Get your HEAD in order - EricLaw's IEInternals - Site Home - MSDN Blogs - 1 views

  • To ensure optimal performance and reliability when rendering pages, you should order the elements within the HEAD element carefully.
  • Optimal Head Ordering <doctype>     <html>         <head>             <meta http-equiv content-type charset>              <meta http-equiv x-ua-compatible>             <base>             <title, favicon, comments, script blocks, etc>
  • If you must specify the character set using a META tag for some reason, it is critical that the META tag is the first element in the HEAD.
  • ...1 more annotation...
  • If you must specify the X-UA-Compatible value using a META tag for some reason, this element MUST appear before any script blocks and SHOULD appear as early in the HEAD element as possible.
smsabbir480

PHP picture upload script | technologytimefor - 0 views

  •  
    It is a very easy and simple PHP picture uploading script.I am giving the source script below <!DOCTYPE> <html> <head> <meta http-equiv="Content-Type" content="text/html; chars...
actualite-tech

GT Recovery, un logiciel gratuit de récupération de données supprimées - Actu... - 0 views

  •  
    La récupération des données effacées à cause d'une mauvaise manipulation ou d'une défaillance du support de stockage est maintenant possible moyennant de bons logiciels.GT Recovery en fait partie, il s'agit d'un outil efficace de récupération de données.
Vernon Fowler

Web Designer Notebook » How to use Modernizr - 1 views

  • Modernizr doesn’t actually magically enable these properties for browsers that don’t support them. It just tells the page whether that feature is supported on the browser the visitor is using or not.
  • To install Modernizr, download the file from this page. Then, on your site’s head tag, add a link to the file. For example: ?1&lt;script src="js/modernizr-1.0.min.js"&gt;&lt;/script&gt; The second step is to include on your html tag a class of “no-js”: ?1&lt;html class="no-js"&gt; Why add this tag? Because that will be the default state of the page. If JavaScript (js) isn’t on, then Modernizr won’t work at all (and probably other features of your site won’t work either…), so it’s good that we have a fallback for that case. If JavaScript is indeed enabled, once that page is loaded on the browser, that class will be replaced dynamically and it may look something like this: ?1&lt;html class="js canvas canvastext geolocation rgba hsla no-multiplebgs borderimage borderradius boxshadow opacity no-cssanimations csscolumns no-cssgradients no-cssreflections csstransforms no-csstransforms3d no-csstransitions&nbsp; video audio cufon-active fontface cufon-ready"&gt;
  •  
    "There is a tool that came to make our lives as progressive web designers a bit easier: Modernizr. In this short tutorial, learn how to apply this handy script to maximum effect on your sites."
Soul Book

The Incredible Em & Elastic Layouts with CSS - 0 views

  • Elastic design uses em values for all elements. Ems are a relative size, written like this: 1em, 0.5em, 1.5em etc. Ems can be specified to three decimal places like so: 1.063em. “Relative” means: They are calculated based on the font size of the parent element. E.g. If a &lt;div&gt; has a computed font size of 16px then any element inside that layer —a child— inherits the same font size unless it is changed. If the child font size is changed to 0.75em then the computed size would be 0.75 × 16px = 12px. If the user increases (or decreases) text size in their browser, the whole interface stretches (or shrinks.)
  • All popular browsers have a default font size of 16px. Therefore, at the default browser setting, 1em = 16px.
  • The &lt;body&gt; inherits it unless styled otherwise using CSS. Therefore 1em = 16px, 0.5em = 8px, 10em = 160px and so on. We can now specify any element size we need to using ems!
  • ...9 more annotations...
  • However, (gasp) IE has a problem with ems. Resizing text from medium (default) to large in IE5/6 would lead to a huge increase in font size rather than the gradual one expected. So another selector is needed to get IE to behave: html{ font-size:100%; }
  • Let’s give our &lt;body&gt; some more style, and center everything in the viewport (this will be important later for our content wrapper.) Our initial CSS ends up like this: html{ font-size: 100%; } body{ font-size: 1em; font-family: georgia, serif; text-align: center; color: #444; background: #e6e6e6; padding: 0; margin: 0; }
  • 1 ÷ 16 × 740 = 46.25em (1 ÷ parent font-size × required pixel value = em value)
  • While we're here, we might as well add some typographic goodness by selecting a basic leading and adding some vertical rhythm, with everything expressed in ems.
  • Set a 12px font size with 18px line height and margin for paragraphs
  • Dividing the desired line height (18px) by the element font size (12px) gives us the em value for line height. In this example, the line height is 1 and a half times the font size: 1.5em. Add line height and margin properties to the CSS: p{ font-size: 0.750em; line-height: 1.5em; margin: 1.5em; } Now the browser will say to itself, “Oh, line height and margin is set to 1.5em, so that should be 1.5 times the font size. What’s the font size, again? 12px? OK, cool, make line height and margin 1.5 times that, so 18px.”
  • To retain our vertical rhythm we want to set an 18px line height and margin. Easy: If the font size is 18px then 18px in ems is 1em! Let’s add the properties to the CSS (and make the font weight light:) h1{ font-size: 1.125em; line-height: 1em; margin: 1em; font-weight: 300; }
  • Jon, good article and very useful chartm but your text sizing method has one major drawback. If elements with font-sizes set in em’s are nested, i.e with lists, these elements inherit the font size. Therefore each child element will be 0.75em (or 75%) of the previous one: See an example here. (Would have posted the code put it was coming out really ugly!) I would recommend against using that method and setting the global font size in the body tag i.e. 'font-size:75%' for 12px. Then only setting different font-sizes where necessary.
  • Thanks Will, interesting point, but that is solved with a simple font-size:1em on the first child. Retaining the default ensures that even images are sized correctly in ems. IE (surprise) will compute incorrectly against a parent length equivalent to 12px. My preference born out by some minor but painful computed size errors in complex layouts is not to adjust the body, and only set font size where necessary for specific elements.
  •  
    A nice and simple explanation of using EMs to make elastic layouts
Aaron Rylaarsdam

Identifying Your Audience - AT&T Small Business InSite - 0 views

  • &lt;iframe leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scrolling="No" frameborder="0" height="1" width="1" src="http://view.atdmt.com/iaction/aveamm_SOArticlesDetailsTemplate_10"&gt;&lt;/iframe&gt; Rate this content login to rate Identifying Your Audience Before designing the first Web page, it's vital to know who you are trying to reach. This single detail will chart the entire development course, from the site's content to its functionality. Defining and understanding your prospective audience increases the likelihood of user attraction and retention.
  • Before designing the first Web page, it's vital to know who you are trying to reach. This single detail will chart the entire development course, from the site's content to its functionality. Defining and understanding your prospective audience increases the likelihood of user attraction and retention.
  • Primary market research consists of personal interviews, questionnaires, focus groups and surveys. When putting together your own Target Audience Profile, use these guidelines:
  • ...6 more annotations...
  • Demographics. Regardless of the assessment tool you use, questions first should address basic demographic information. Prior to conducting a survey or focus group, spend some time online. The U.S. Department of Commerce publishes the Country and City Data Book&nbsp;which captures hard statistics for all U.S. states, counties, and cities with a population of 25,000 or more. Then, compile a questionnaire to address market segmentation along specific criteria:
  • Age: Users' wants and needs tend to change based on their generation. Knowing the average age range of potential users can help you design and market the site to meet that group's expectations. Gender: Male and female users often differ when it comes to what they value in a Web site. Studies show the factors that motivate women to visit or purchase from a particular site don't necessarily inspire men to do the same. Knowing gender predilections at the outset can impact the entire Web design process. Education: Data regarding potential users' educational background will help the Web developer determine design and content. In general, a site's format should target the average likely visitor, rather than aim at high or low ends of the academic experience curve. Geographic location: Where the target audience calls home drives the Web page content. For instance, urbanites living in a densely populated northeastern U.S. city likely will have different needs and preferences than their rural counterparts.
  • Marital status: Married Internet users typically access different retail/service sites than do single people. A TAP will help ascertain which group comprises your largest consumer demographic, with your Web site following this direction. Occupation: Although exceptions invariably exist, Web sites servicing "blue-collar" consumers will differ in style and content from those catering to professionals and "white-collar" workers. By the same token, retirees usually will have different preferences than consumers still in the throes of career building. Income level: A company targeting consumers who are apt to purchase luxury goods and services will require a Web site that differs considerably from a discount retailer's Internet page. Nationality: Businesses trading in goods and services for an ethnically diverse target market may need to consider multilingual content, as well as adjustments in design and format to fit cultural standards. Social class: A consumer's perception of his or her social status impacts preferences in goods and services - even when individual income does not reach this level.
  • Psychographics. Once you've finished with demographic-based questions, you're ready to take the line of inquiry a bit further. The science of psychographics (also known as "enriching characteristics") addresses why consumers act as they do. So, while demographics offer a general outline of your customer pool, psychographics brings critical characteristics of your target audience into sharper focus. Employing a psychographic methodology means devising queries about lifestyles, attitudes, values, beliefs, purchasing habits and other qualitative criteria. Although possibilities are numerous, key questions can help you and your designer hone and refine your Web site. Depending on your business, you might ask, for instance:
  • Do you consider yourself conservative or liberal? Is it important to care of the environment? What are your hobbies? Interests? Are you family-oriented or a loner? What type of entertainment do you prefer (cinema, theater, symphony, etc.)? How many books do you read monthly? What magazines do you read?
  • When you shop, which is most important - friendly staff, nice surroundings, good prices or convenient location? Do you shop for fun, because you must, or to relieve stress? Do you purchase (our) company's product because of quality, ease of use, price or availability? Do you patronize our competitor because their product is cheaper, product quality is better, service is friendlier, the store is nicer, or returns are simpler? Do you go online to work, shop, do research, play games, or e-mail? Do you think the Internet is tough going or easy to navigate? Do you prefer retail/service Web sites that are easy to navigate, easy to read, picture-heavy, or text heavy?
  •  
    Good article from AT&T explaining various demographics and psychographics to categories who target audience is.
Magento India

Magento Theme Integration - A Customized Magento Development Service | ArticleAPI | now - 0 views

  •  
    <p>Magento is undoubtedly one of the most, if not the most popular e-commerce platforms on the web. After all million web sites including biggies like
Magento India

How To Go About While Undertaking Magento Development | ArticleAPI | now - 0 views

  •  
    <p>E-Commerce is the biggest threat to physical retail today. It is growing by leaps and bounds every other day. Crowd funding, angel investments, mer
sarah ockonor

Free BasketBall Sports Wordpress Theme - 0 views

  •  
    BasketBall Sports Web2.0 Wordpress Theme Template, Very High Quality Design Theme for Wordpress Called GT Basketball, nice looking Sport wordpress theme, it's Come with 2 Columns, Dark Brown, black and Green Colors, Rounded Corners, Ready Adsense, Ready Widgets, Web2.0, nice Inspiration and illustrations, It has all the simple features you could want making your blog easy to get around making life for your reader much less confusing in finding what they are looking for, A Great Sport Wordpress Theme for anyone, This work is under Creative Commons Attribution-Share Alike 3.0 License, This means you may use it and make any changes you like, However, credit links must remain on footer for legal use, This Theme Was Tested and Work Fine On IE 6.0 & 7.0, Mozilla Firefox, Opera 9.02, Google Chrome and Safari Web Broswers, this Theme Was Tested on The Latest Wordpress Version Also.
Soul Book

CSS techniques I use all the time - 0 views

  • EM calculations Sizing text is always an important part of making a usable design. I start all my CSS files with the following rules: html { font-size:100.01%; } body { font-size:1em; } The explanation for this comes from "CSS: Getting Into Good Coding Habits:" This odd 100.01% value for the font size compensates for several browser bugs. First, setting a default body font size in percent (instead of em) eliminates an IE/Win problem with growing or shrinking fonts out of proportion if they are later set in ems in other elements. Additionally, some versions of Opera will draw a default font-size of 100% too small compared to other browsers. Safari, on the other hand, has a problem with a font-size of 101%. The current "best" suggestion is to use the 100.01% value for this property.
  • I used the following calculation: 14px/16px = .875, 18px/16px = 1.125. So my default text at 1 em would translate to 16px for most users, and my small text I sized at .875em which I can trust to result in 14px for most users, while my large text I sized at 1.125em which I can trust to result in 18px
  • Safe Fluid-width Columns I work with hybrid fluid layouts all the time, usually with max-width set at anywhere from 900 to 1000px. I usually have floated columns with percentage widths, and browsers will calculate these percentage widths to whole pixel values when rendering the columns.
  • ...3 more annotations...
  • A typical problem is the following: when a user has the viewport at a size that makes the outer container 999 pixels wide, if the first column is 60% and the second is 40%, IE 6 will always calculate the two columns as 600 and 400 pixels and as a result, the two will not fit (600+400 = 1 more than 999) and it will drop the second column. This is obviously not intended behavior, and in a world where we still have to use floats for columns (I can't wait for display:table support across all browsers), it's important to work around this problem. I used to give my last column 1 less percent (in this example, it would have 39% instead of 40%, but this would usually result in columns that don't quite fill up the container. Of late I have been giving the last column .4 less percent (in this example, 39.6%), which seems to work perfectly. Browsers will calculate this width and round up, but it will still fit even with an odd container width like 999px and I won't have to worry about dropped columns.
  • Filtering for Old Browsers To be honest, I barely support IE 6 nowadays. If there is something special about my layout that doesn't work in IE 6, I will simply filter it out of the CSS that IE 6 understands
  • Because old browsers like IE 6 don't support the "first child" selector (right caret &gt;), I can do the following to make sure that IE 6 only gets the basic setting and all the new-fangled browsers get the right result: div#container { width:900px; } html&gt;body div#container { width:auto; max-width:900px; } /* This overrides the previous declaration in new browsers only, IE 6 simply ignores it. */
  •  
    Excellent simple collection of CSS tips that are easy to remember and implement. It's an old article, but i think everything is still relevant
Herb Tucker

Linux Knowledge Base and Tutorial - 0 views

  • The UMASK value masks out the bits. The permissions that each position in the UMASK masks out are the same as the file permissions themselves. So, the left-most position masks out the owner permission, the middle position the group, and the right most masks out all others. If we have UMASK=007, the permissions for owner and group are not touched. However, for others, we have the value 7, which is obtained by setting all bits. Because this is a mask, all bits are unset. (The way I remember this is that the bits are inverted. Where it is set in the UMASK, it will be unset in the permissions, and vice versa.)
  • The problem many people have is that the umask command does not force permissions, but rather limits them
  • Therefore, setting the UMASK=007 does not force creation of executable programs, unless the program creating the file does itself).
  • ...6 more annotations...
  • - - regular file c - character device b - block device d - directory p - named pipe l - symbolic link
  • Lets look at a more complicated example. Assume we have UMASK=047. If our program creates a file with permissions 777, then our UMASK does nothing to the first digit, but masks out the 4 from the second digit, giving us 3. Then, because the last digit of the UMASK is 7, this masks out everything, so the permissions here are 0. As a result, the permissions for the file are 730. However, if the program creates the file with permissions 666, the resulting permissions are 620. The easy way to figure out the effects of the UMASK are to subtract the UMASK from the default permissions that the program sets. (Note that all negative values become 0.)
  • You can change it anytime using the umask command. The syntax is simply umask &lt;new_umask&gt;
  • Here the &lt;new_umask&gt; can either be the numeric value (e.g., 007) or symbolic. For example, to set the umask to 047 using the symbolic notation, we have umask u=,g=r,o=rwx
  • Where "new_owner" is the name of the user account we want to sent the owner of the file to, and "filename" is the file we want to change. In addition, you can use chown to change not only the owner, but the group of the file as well. This has the general syntax: chown new_owner.new:group filename
  • Another useful trick is the ability to set the owner and group to the same ones as another file. This is done with the --reference= option, which sets to the name of the file you are referencing. If you want to change just the group, you can use the chgrp command, which has the same basic syntax as chown. Not that both chgrp and chmod can also take the --reference= option. Further, all three of these commands take the -R option, which recursively changes the permissions, owner or group.
Herb Tucker

PHP: Expressions - Manual - 0 views

  • (scalar values are values that you can't 'break' into smaller pieces, unlike arrays, for instance
  • Expressions are the most important building stones of PHP. In PHP, almost anything you write is an expression
  • The simplest yet most accurate way to define an expression is "anything that has a value"
  • ...16 more annotations...
  • PHP also supports two composite (non-scalar) types: arrays and objects. Each of these value types can be assigned into variables or returned from functions.
  • PHP is an expression-oriented language
  • Since assignments are parsed in a right to left order, you can also write '$b = $a = 5'
  • and that's the value of the assignment itself
  • A very common type of expressions are comparison expressions. These expressions evaluate to either FALSE or TRUE. PHP supports &gt; (bigger than), &gt;= (bigger than or equal to), == (equal), != (not equal), &lt; (smaller than) and &lt;= (smaller than or equal to). The language also supports a set of strict equivalence operators: === (equal to and same type) and !== (not equal to or not same type). These expressions are most commonly used inside conditional execution, such as if statements.
  • and is assigned back into $a,
  • The last example of expressions we'll deal with here is combined operator-assignment expressions
  • Adding 3 to the current value of $a can be written '$a += 3'
  • This means exactly "take the value of $a, add 3 to it, and assign it back into $a"
  • Any two-place operator can be used in this operator-assignment mode, for example '$a -= 5' (subtract 5 from the value of $a), '$b *= 7' (multiply the value of $b by 7), etc.
  • There is one more expression that may seem odd if you haven't seen it in other languages, the ternary conditional operator:
  • If the value of the first subexpression is TRUE (non-zero), then the second subexpression is evaluated, and that is the result of the conditional expression. Otherwise, the third subexpression is evaluated, and that is the value
  • Some expressions can be considered as statements. In this case, a statement has the form of 'expr ;' that is, an expression followed by a semicolon. In '$b = $a = 5;', '$a = 5' is a valid expression, but it's not a statement by itself. '$b = $a = 5;' however is a valid statement.
  • One last thing worth mentioning is the truth value of expressions. In many events, mainly in conditional execution and loops, you're not interested in the specific value of the expression, but only care about whether it means TRUE or FALSE. The constants TRUE and FALSE (case-insensitive) are the two possible boolean values.
  • Throughout the rest of this manual we'll write expr to indicate any valid PHP expression.
  • Functions are expressions with the value of their return value.
  •  
    Expressions defined and discussed with highlighting
anonymous

PHP: Exceptions erweitern - Manual - 0 views

  • class&nbsp;MyException&nbsp;extends&nbsp;Exception{&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Die&nbsp;Exception&nbsp;neu&nbsp;definieren,&nbsp;damit&nbsp;die&nbsp;Mitteilung&nbsp;nicht&nbsp;optional&nbsp;ist&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;__construct($message,&nbsp;$code&nbsp;=&nbsp;0,&nbsp;Exception&nbsp;$previous&nbsp;=&nbsp;null)&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;etwas&nbsp;Code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;sicherstellen,&nbsp;dass&nbsp;alles&nbsp;korrekt&nbsp;zugewiesen&nbsp;wird&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parent::__construct($message,&nbsp;$code,&nbsp;$previous);&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;maßgeschneiderte&nbsp;Stringdarstellung&nbsp;des&nbsp;Objektes&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;__toString()&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;__CLASS__&nbsp;.&nbsp;":&nbsp;[{$this-&gt;code}]:&nbsp;{$this-&gt;message}\n";&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;customFunction()&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;"Eine&nbsp;eigene&nbsp;Funktion&nbsp;dieses&nbsp;Exceptiontyps\n";&nbsp;&nbsp;&nbsp;&nbsp;}}
    • anonymous
       
      Das wird die Grundlage für meine Exceptions-Class. Ich muss es nur noch ein wenig besser verstehen.
  •  
    PHP: Exception Handling
Vernon Fowler

Web typographers: embrace technical constraints! | Feature | .net magazine - 0 views

  • At MyFonts, our webfont kit builder has a handy style linking tool, which enables you to specify which font to associate with &lt;em&gt; and &lt;strong&gt; tags.
actualite-tech

Kingston vient de présenter sa nouvelle clé USB de 2 To - Actualités High-Tech - 0 views

  •  
    La marque américaine Kingston, le leader des fabricants de modules mémoire tiers sur le marché mondial, a annoncée qu'elle va dévoiler au prochain CES 2017 sa nouvelle clé USB avec un espace de stockage allant jusqu'à 2 To.
One World Rental

Laptop Rental - 1 views

  •  
    Macbook Pro Retina (Mid 2012) Display: 15.4 Inch LED (2880 x 1800) Processor: 2.6GHz quad-core Intel Core i7 with 6MB shared L3 cache Memory: 8GB of 1600MHz DDR3L Storage: 256GB SSD & 500GB SSD Graphics: NVIDIA GeForce GT 650M with 1GB of GDDR5 memory Outputs: 2 x thunderbolt, 3 x
1 - 20 of 21 Next ›
Showing 20 items per page