This is a paragraph of text which has all the most common html elements in it such as the strong element which is used to give text strong importance. You could of course use the b element which represents a span of text stylistically different from normal text, without conveying any special importance or relevance. The mark element which represents highlighted text, i.e., a run of text marked for reference purposes. The HTML em element marks text that has stress emphasis. You could of course use the i element which represents a range of text that is set off from the normal text for some reason, for example, technical terms, foreign language phrases, or fictional character thoughts. It is typically displayed in italic type. The next piece of text is marked up using the code element function() and finally links will be styled [lik
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(".event").each(function() { | |
| // get the ID of the event element | |
| var the_date = $(this).attr("id"); | |
| // find the tabel cell with that same ID and append the div | |
| $(this).clone().appendTo('.calendar td#' + the_date); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {embed="_wrappers/_main"} | |
| {exp:stash:set name='bodyId'}{segment_1}{/exp:stash:set} | |
| {exp:stash:set parse_tags="yes"} | |
| {stash:mainContent} | |
| <h2>Articles</h2> | |
| <ol class="posts"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {embed="_wrappers/_main"} | |
| {exp:stash:set name='bodyId'}{segment_1}{/exp:stash:set} | |
| {exp:stash:set name="mainContent"} | |
| {exp:channel:entries channel="news_articles" disable="{gv_disableAll}"} | |
| <article id="singlePost"> | |
| <h2>{title}</h2> | |
| {if subtitle} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function isValidEmail(email) { | |
| return email.indexOf("@") != -1; | |
| } | |
| // get all the inputs with the class of required | |
| var $required = $('.required'); | |
| function requiredValues() { | |
| var $values = new Array(); | |
| $required.each(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Plugin_disqus extends Plugin { | |
| var $meta = array( | |
| 'name' => 'Disqus', | |
| 'version' => '0.9', | |
| 'author' => 'Mubashar Iqbal', | |
| 'author_url' => 'http://mubashariqbal.com' | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type: date # see http://statamic.com/docs/control-panel/fieldsets#fieldsets-and-entries | |
| hide: yes # hide page from Add Page list | |
| fields: | |
| categories: | |
| display: Categories | |
| required: false | |
| type: tags | |
| tags: # the template tag name -- in this example, {{ tags }} | |
| display: Tags # the control panel field label (optional) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fields: | |
| gallery: | |
| display: Image Gallery | |
| type: grid | |
| starting_rows: 1 | |
| min_rows: 1 | |
| fields: | |
| title: | |
| display: Image Title | |
| type: text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2>Gallery Using Image Plugin</h2> | |
| <div> | |
| <ul class="gallery"> | |
| {{ gallery }} | |
| <li> | |
| <a href="{{ img }}"> | |
| {{ image src="{img}" dim="400x300" }} | |
| <img src="{{ image_url }}" alt="{{ title }}"> | |
| {{ /image }} | |
| <div>{{ title }}</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fields: | |
| gallery: | |
| display: Image Gallery | |
| type: grid | |
| starting_rows: 1 | |
| min_rows: 1 | |
| fields: | |
| title: | |
| display: Image Title | |
| type: text |