How do I prevent jQuery Mobile from hiding the url bar?
Answer:
-
To load an external page, enhance its content, and insert it into the DOM, use the loadPage method. There are a lot of methods and properties that you can set when loading pages, but here is a simple example:
-
-//load the "about us" page into the DOM
-$.mobile.loadPage( "about/us.html" );
-
+
Set $.mobile.hideUrlBar = false; on mobileinit
All Questions & Answers
diff --git a/demos/faq/how-do-i-turn-off-url-hiding.php b/demos/faq/how-do-i-turn-off-url-hiding.php
new file mode 100644
index 00000000000..255915ea9ec
--- /dev/null
+++ b/demos/faq/how-do-i-turn-off-url-hiding.php
@@ -0,0 +1,52 @@
+
+
+
+
+
+ Q&A - jQuery Mobile Demos - How do I prevent jQuery Mobile from hiding the url bar?
+
+
+
+
+
+
+
+
+
+
+