This file contains 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
#menu ul{list-style:none;} | |
#menu ul li{float:left;width:103px;height:43px;border:5px solid green;} | |
#menu ul li #menu1 {border:solid 2px red; height: 100%;box-sizing:border-box;} |
This file contains 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
.shadow { | |
position: relative; | |
top: 20px; | |
height: 20px; | |
} | |
.shadow:before { | |
position: absolute; | |
content: ''; | |
left: 0; | |
right: 0; |
This file contains 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
da: | |
errors: | |
messages: | |
expired: "er udløbet. Vær venlig at bede om en ny" | |
not_found: "ikke fundet" | |
already_confirmed: "er allerede bekræftet" | |
not_locked: "var ikke låst" | |
not_saved: | |
one: "1 fejl medførte at denne %{resource} ikke kunne gemmes:" | |
other: "%{count} fejl medførte at denne %{resource} ikke kunne gemmes:" |
This file contains 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
class @Mercury.CustomPageEditor extends @Mercury.PageEditor | |
constructor: -> | |
super | |
save: -> | |
url = @saveUrl ? Mercury.saveURL ? @iframeSrc() | |
data = @serialize() | |
Mercury.log('saving', data) | |
data = jQuery.toJSON(data) unless @options.saveStyle == 'form' | |
method = Mercury.saveMethod || "POST" |
This file contains 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
$(window).bind('mercury:ready', function() { | |
var content = $('#mercury_iframe').contents().find('#content'); | |
Mercury.saveMethod = content.data('save-method'); | |
Mercury.saveURL = content.data('save-url'); | |
}); |
This file contains 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
--- | |
es-PE: | |
'no': "No" | |
'yes': "Sí" | |
5_biggest_spenders: Los 5 compradores principales | |
a_copy_of_all_mail_will_be_sent_to_the_following_addresses: Una copia de todos los correos será enviada a las siguientes direcciones | |
abbreviation: Abreviatura | |
access_denied: "Acceso denegado" | |
account: Cuenta | |
account_updated: "¡Cuenta actualizada!" |
This file contains 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 | |
$bodyText = $content['field_body']; // This is incorrect, the structure is different (use var_dump to figure it out) | |
$ptOne = substr($bodyText, 0, 3); // <p> - 0, 1, 2 | |
$ptTwo = substr($bodyText, 3, -4); // text inside wrapper | |
$ptThree = substr($bodyText, -4); // </p> - 0, 1, 2, 3 | |
$newcontent = preg_replace("/<p[^>]*?>/", "", $ptTwo); | |
$newcontent = str_replace("</p>", "<br /><br />", $newcontent); | |
This file contains 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
local xOffset, yOffset = 300, 100 | |
CombatText_AddMessage = function(message, scrollFunction, r, g, b, displayType, isStaggered) | |
local string, noStringsAvailable = CombatText_GetAvailableString() | |
if noStringsAvailable then | |
return | |
end | |
message = subString(message, msgType) | |
string:SetText(message) |
This file contains 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 Timer:UpdateText(forceStyleUpdate) | |
--if there's time left on the clock, then update the timer text | |
--otherwise stop the timer | |
local remain = self.duration - (GetTime() - self.start) | |
if remain > 0 then | |
--hide text if it's too small to display | |
--check again in one second | |
if (self:GetEffectiveScale() * self.fontSize / UIParent:GetScale()) < OmniCC:GetMinFontSize() then | |
self.text:Hide() | |
self.nextUpdate = 1 |
This file contains 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
<meta charset="UTF-8"> | |
<html> | |
<head> | |
<title>vitracker</title> | |
<script type="text/javascript" charset="utf-8" src="xm.js"></script> | |
</head> | |
<body> | |
<p>Hello, world</p> | |
</body> | |
</html> |
NewerOlder