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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta content="yes" name="apple-mobile-web-app-capable"> | |
<title>iOS Web App</title> | |
<!-- iPhone --> |
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 | |
return [ | |
'unique' => ':attribute 已存在', | |
'accepted' => ':attribute 是被接受的', | |
'active_url' => ':attribute 必须是一个合法的 URL', | |
'after' => ':attribute 必须是 :date 之后的一个日期', | |
'alpha' => ':attribute 必须全部由字母字符构成。', | |
'alpha_dash' => ':attribute 必须全部由字母、数字、中划线或下划线字符构成', |
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
var html = '<h1 class="nar">Narendra</div>'; | |
var css = '.nar { color: red; background: url("http://google.com/images/google_favicon_128.png") repeat scroll 0 0 transparent;}'; | |
var nodeWhereToAppend = document.body; | |
//var nodeWhereToAppend = document.getElementById("container"); | |
function CreateIframe(html, css, nodeWhereToAppend){ | |
var fragment = document.createDocumentFragment(); | |
var iframe = document.createElement('iframe'); | |
iframe.onload = function(){ | |
var doc = this.contentWindow.document; |