- Screen name: yamafarooq
yamafarooq's Profile
2 Posts
7 Responses
1
Followers
Show:
- Expanded view
- List view
Private Message
- 20-Feb-2013 10:55 AM
- Forum: jQuery Mobile
i am developing mobile application using JQuery Mobile, in the main page which is home page everything is fine but when moving to next page and change ths orientation footer disapers completely, however the code i am using for all the pages are same
here is the code i am using for the footer<div data-role="footer">
- <div class="separator"></div>
<div data-role="navbar" data-iconpos="top" class="line" id="line">
<ul>
<li><a href="#home_pg" id="tab1" data-transition="none">
<img src="image/home-broadcast-icon.png" /> </a></li><li><a href="#plugin_pg" id="tab3" data-transition="none">
<img src="image/nav-3.png" /> </a></li>
<li><a href="#help_pg" id="tab4" data-transition="none">
<img src="image/nav-4.png" /> </a></li>
</ul>
</div>
</div>please help
with regards
- 20-Feb-2013 06:49 AM
- Forum: Developing jQuery Mobile
Hello guys, i am working on mobile application where i need to load a html file which is stored locally into div,
i am able to see all the html text into div but not the images, i am using fallowing code to load html into div
$.ajax({
url : currentBroadcast.broadcast,
data : {},
success : function(data) {
console.log("data is :" + data);
$("#text_content").html("<strong>" + data + "</strong>");
}
});
log("DEBUG: richTextPageUpdate ended");
}
where currentBroadcast.broadcast is the URL of locale stored HTML file. the images codes as fallow into html file
<p><img alt="" src="20132002093756.png" /></p>
the data contant all the element of local html file, the console log for data come as
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable = no"/>
<link rel="stylesheet" type="text/css" href="/downloadable/B52/phone.css"/>
</head>
<html>
<body>
<p>here is picture one</p>
<p><img alt="" src="20132002093722.png" /></p>
<p>and here's picture two</p>
<p><img alt="" src="20132002093756.png" /></p>
<p>This is the text broadcast for text page This is the text broadcast for text page This is
</body>
</html>
can anyone help me please i am new with jquery
Thank you
Attachments- Screen Shot 2013-02-20 at 11.34.26.png
- Size: 56.56 KB Downloads: 264
- «Prev
- Next »
Moderate user : yamafarooq



