jQuery Mobile Pages Basic Structure

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

I'm having two problems:
(1) I am fairly certain my code matches yours, but the content from both pages is showing up on the screen. To be fair, the link does bring me to my page (the same on I was on) and change the URL accordingly. How do I fix this?
(2) After I switched around the order of my script import, it didn't effect my code in any way I could see. It certainly doesn't match the way yours currently looks.
How may I fix these problems? Thank you for your time.

adamsnyder
Автор

Good evening from Kuwait. I am sorry but I think that the link is not working. can you provide me with a different link please. Thank you

TheSulaimanKhaled
Автор

Good evening Jeff, I have copied your text word for word, but my header and footer do not have grey backgrounds or in the centre... Is this due to using updating versions from 2016. Thanks

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript"
<link rel="stylesheet" type="text/css"
<script type="text/javascript"
</head>
<body>
<div data-role="page" id="page">
<div data-role="header">
<h1>WELCOME TO SOULTRAIN RADIO</h1>
<h1>BRISTOL'S FAVOURITE SOUL INSTITUION</h1>
</div><!--header -->
<div data-role="content">
Content
</dvi><!--content -->
<div data-role="footer">
<h4>Page footer</h4>
</div><!--footer -->
</div><!--page -->
<div data-role="page" id="page2">
</div>
</body>
</html>

garyhorne
Автор

Is jquery mobile better than rract native

jjss