coolspring1293 / jqmphp Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jqmphp
Automatically exported from code.google.com/p/jqmphp
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
without the viewport meta,samsung galaxy s2 will show very small icon and
button.
What version of the product are you using? On what operating system?
0.3
Please provide any additional information below.
add this code in jqmHead.php function __construct block
<code>
$viewport = new jqmAttribute('name','viewport');
$viewport_content = new jqmAttribute('content','width=device-width, initial-scale=1');
$this->add(new jqmTag('meta', '', array($this->_charset)));
</code>
Original issue reported on code.google.com by [email protected]
on 18 Nov 2011 at 3:47
Attachments:
What steps will reproduce the problem?
Genreal on some tags like br, hr, img, meta, link, input
What is the expected output? What do you see instead?
Samples: expected <meta ... /> instead <meta></meta>,
expected <link ... /> instead <link></link>
What version of the product are you using? On what operating system?
Version 0.03 on all systems.
File: jqmTag.php
Please provide any additional information below.
1. open file jqmTag.php
2. search function openTag()
3. replace it with:
// copy
function openTag() {
$tag = $this->tag();
$tag = strtolower($tag);
$non = FALSE;
switch ($tag) {
case 'area':
case 'br':
case 'img':
case 'input':
case 'hr':
case 'link':
case 'meta':
$non = TRUE;
break;
default:
$non = FALSE;
break;
}
$str = '<' . $tag;
if ($this->attributes()->size() > 0) {
$this->attributes()->separator(' ');
if (''.$this->attributes()->get(0) != '') {
$str .=' ';
}
$str.= $this->attributes();
}
if ($non !== FALSE) {
$str.= ' /';
}
$str .= '>';
return $str;
}
// coppy
4. open file jqmTag.php
5. search function closeTag()
6. replace it with:
// copy
function closeTag() {
$tag = $this->tag();
$tag = strtolower($tag);
switch ($tag) {
case 'area':
case 'br':
case 'img':
case 'input':
case 'hr':
case 'link':
case 'meta':
$str = '';
break;
default:
$str = '</' . $tag . '>';
break;
}
return $str;
}
// copy
Original issue reported on code.google.com by [email protected]
on 15 Feb 2012 at 1:37
What steps will reproduce the problem?
1. $jqmPhp->head()->add(new jqmScript("/global/js/jqm.accordionlist.js"));
2.
DESIRED/REQUIRED:
<script type="text/javascript" src="/global/js/jqm.accordionlist.js"></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js">
</script>
ACTUAL/NONFUNCTIONAL:
<script type="text/javascript"
src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js">
</script>
<script type="text/javascript" src="/global/js/jqm.accordionlist.js">
</script>
What version of the product are you using? On what operating system?
.3/,4
Please provide any additional information below.
I cannot find where it actually is deciding the order in which to render the
<HEAD> DOM tags...
Original issue reported on code.google.com by [email protected]
on 22 Dec 2011 at 1:24
sometime , we need add Extra script to init of jqm. Such as localization,
changePages,Dynamic add pages.There should be a method to extend js.
Original issue reported on code.google.com by [email protected]
on 27 Nov 2013 at 7:58
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.