tag:blogger.com,1999:blog-939951561471940130.post1574960130841074748..comments2023-08-31T10:54:07.318-07:00Comments on Random Code Solutions: Installing and using mobilize.js to transform a desktop site to a mobile siteAntonyhttp://www.blogger.com/profile/02094151496300867623noreply@blogger.comBlogger41125tag:blogger.com,1999:blog-939951561471940130.post-82043604669628727162018-10-17T02:30:50.838-07:002018-10-17T02:30:50.838-07:00This article is pretty old now, I'll have a lo...This article is pretty old now, I'll have a look for you, maybe I moved/deleted it thoughAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-59299638049025001062018-10-11T11:21:42.756-07:002018-10-11T11:21:42.756-07:00Hi, so I dont know if this is still monitored or n...Hi, so I dont know if this is still monitored or not, but I am trying to download your library for Mobilize.js and it says it doesnt exist anymore. Any chance you could send me a direct link?<br /><br />I have tried building the library myself using the python compiler, but I dont think it is working. <br /><br />Thanks in advance.Anonymoushttps://www.blogger.com/profile/16622912227611870356noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-68389167214808455602013-07-24T17:20:39.091-07:002013-07-24T17:20:39.091-07:00Dude, you rock!
I'm going to try implementing...Dude, you rock!<br /><br />I'm going to try implementing this over the weekend.Derrickhttps://www.blogger.com/profile/05316859669483379618noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-23982596908940289682013-04-29T01:27:14.180-07:002013-04-29T01:27:14.180-07:00Hi
I think you've probably not understood it,...Hi<br /><br />I think you've probably not understood it, you don't need to build it if you don't want to, just use the zip I provided. I'm not sure what you mean by needing the html structure though<br /><br />AntonyAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-59403456306723995472013-04-26T23:11:17.569-07:002013-04-26T23:11:17.569-07:00Hi,
the template i'm trying to mobilize need ...Hi,<br /><br />the template i'm trying to mobilize need to have the html structure describe in "b. Tell mobilize how to construct the mobile page" too? also i'm using wamp server so i don't understand steps on C. "c.Build the mobilize.js library" <br /><br />please help<br /><br />Udarahttps://www.blogger.com/profile/13651210813625485767noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-36833219725637808782013-04-15T02:20:14.292-07:002013-04-15T02:20:14.292-07:00Hi
You're adding it, not modifying it. Since ...Hi<br /><br />You're adding it, not modifying it. Since it's javascript you could place it in a script tag on each page but I placed it in a file called mobilize.post.call.js and linked that from each page so, if I need to change it, I only have to change it in one place<br /><br />AntonyAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-78086831384508520722013-04-14T22:17:23.267-07:002013-04-14T22:17:23.267-07:00where do i need to modify this line?
mobilize.cd...where do i need to modify this line?<br /><br /> mobilize.cdnOptions.baseURL="http://localhost/js/mobilize";<br /><br />can't find it anywhere. pls helpUdarahttps://www.blogger.com/profile/13651210813625485767noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-82838323142193781262013-03-12T10:59:45.111-07:002013-03-12T10:59:45.111-07:00Oh, he removed it :(
I was going to try and answe...Oh, he removed it :(<br /><br />I was going to try and answer, oh well<br /><br />AntonyAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-68752110479558453152013-03-12T01:28:55.062-07:002013-03-12T01:28:55.062-07:00I am also interested in this!I am also interested in this!Anonymoushttps://www.blogger.com/profile/09587278393117902564noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-48012177470563795272013-03-11T23:59:12.682-07:002013-03-11T23:59:12.682-07:00This comment has been removed by the author.BadaBinghttps://www.blogger.com/profile/16196185396516312788noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-82958407339436832672013-01-28T06:11:21.711-08:002013-01-28T06:11:21.711-08:00I was wondering if there was anyone offering a ser...I was wondering if there was anyone offering a service to install this on my hosting company/site server?<br /><br />I ahve many templates and it's getting very confusing now so I thought that I would use a fresh WP template and have it all done at once on my new domain name.<br /><br />Please get in touch!<br />bretrobi@gmail.comAnonymoushttps://www.blogger.com/profile/09587278393117902564noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-65255274479019460742013-01-10T03:08:07.074-08:002013-01-10T03:08:07.074-08:00You are very welcome :)You are very welcome :)Antonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-65476844301609489422013-01-07T21:18:08.285-08:002013-01-07T21:18:08.285-08:00Thanks so much for this article! This should be he...Thanks so much for this article! This should be helpful for me when im setting this up at work.Krishnahttps://www.blogger.com/profile/09978218605758197938noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-69965007923799833772012-11-08T09:01:01.238-08:002012-11-08T09:01:01.238-08:00Hi,
Yes, the official documentation says that it ...Hi,<br /><br />Yes, the official documentation says that it will suspend the loading of unneeded files and I am calling the js before CSS in the head. But unable to achieve that feature.<br /><br />The mobilized site otherwise is running fine and showing the content as expected. Also, I had downloaded the mobilize files from the link provided by you. So the possibility of a bug in mobilize seems to be very low.<br /><br />Yes, for now I have used the javascript to load the desktop css file using the mobilize.isMobile() funtion.<br /><br />Thanks for all the your replies and help. <br />THANKS.Anonymoushttps://www.blogger.com/profile/02614275130143708458noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-75798482094104542152012-11-06T11:23:02.165-08:002012-11-06T11:23:02.165-08:00Hi
Ah I see, I hadn't noticed that subtlety. ...Hi<br /><br />Ah I see, I hadn't noticed that subtlety. According to the official documentation, it should prevent that happening, I guess by having the js call in the head it should run before the DOM and CSS are loaded<br /><br />You might have hit a bug with mobilize I suppose - I asked on the forum a while back and it is no longer being developed.<br /><br />You could try to load the css using gjavascript? That way it would load in both desktop and mobile site<br /><br />AntonyAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-79800321662414582222012-11-06T08:18:57.310-08:002012-11-06T08:18:57.310-08:00Hi,
Thanks for reply.
Yes, I has read that comme...Hi, <br />Thanks for reply.<br /><br />Yes, I has read that comment. That trick just seems to be hiding the body of the desktop page, which will stop the flickering of the content. <br />But in my case, I want that the desktop specific files shouldn't load if client is a mobile browser. Because the desktop specific page content is much heavier (include background images etc) than the mobile page content. So, in the mobile, it should avoid the un-needed desktop specific content;<br />i.e. I want to suppress the body loading rather than the body rendering. Anonymoushttps://www.blogger.com/profile/02614275130143708458noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-54200628768398967412012-11-06T06:59:28.390-08:002012-11-06T06:59:28.390-08:00Hi
Thanks for the compliment on the article :)
D...Hi<br /><br />Thanks for the compliment on the article :)<br /><br />Did you try the solution that was mentioned in an earlier comment regarding suppressing body rendering? I've been meaning to try it but not got round to it yet<br /><br />The link was http://cdn.mobilizejs.com/docs/trunk/manual/serverside.html#suppressing-body-rendering<br /><br />AntonyAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-13427474635601780282012-11-05T03:52:35.251-08:002012-11-05T03:52:35.251-08:00Hi,
First of all, thanks for such a great article....Hi,<br />First of all, thanks for such a great article. Your article has helped me a lot in mobilizing my website. <br />But, I have a little problem in the mobilized website. When it is opened in the mobile, the whole desktop website is loaded first, including all the background and other images that are only desktop specific. So, it causing my website to load extremely slowly. <br /><br />So what can I do to avoid the desktop specific content from loading, when website is being loaded by the mobile browser?<br /><br />Please note that I am using the self-hosted mobilizejs files and have specified the mobilize scripts before the desktop specific css file, in the <head> tag of the page.<br /><br />Thanks.Anonymoushttps://www.blogger.com/profile/02614275130143708458noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-30194702054383275152012-10-31T14:01:09.473-07:002012-10-31T14:01:09.473-07:00Hi, I'm good thanks. These questions are very...Hi, I'm good thanks. These questions are very vague. A mobile page is just an HTML page like any other. A Javascript, AJAX or HTML date picker will function the same as it would with a desktop site<br /><br />If you mean when using mobilize.js, it should make no difference. My Javascript functions the same on both desktop and mobile sitesAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-76091495149170557112012-10-31T08:12:19.815-07:002012-10-31T08:12:19.815-07:00Hello Antony, how are you? Do you have any idea ab...Hello Antony, how are you? Do you have any idea about implementing date picker in a mobile page? ThanksAnonymoushttps://www.blogger.com/profile/07556823682195002619noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-50920664460919229042012-10-25T02:59:25.712-07:002012-10-25T02:59:25.712-07:00Haha, fair enough, I'll give it a try. Thanks...Haha, fair enough, I'll give it a try. Thanks for bringing it up though :)Antonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-74719642613067565452012-10-25T02:30:49.411-07:002012-10-25T02:30:49.411-07:00Haven't tried it to be honest.. just leaving m...Haven't tried it to be honest.. just leaving my hack in as it seems to be doing the job!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-46766570027257101872012-10-25T01:56:42.586-07:002012-10-25T01:56:42.586-07:00Ah, nice! Does it work? I hadn't seen that ei...Ah, nice! Does it work? I hadn't seen that eitherAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-72741362653524922912012-10-25T01:43:20.654-07:002012-10-25T01:43:20.654-07:00Hi, I just found this : http://cdn.mobilizejs.com/...Hi, I just found this : http://cdn.mobilizejs.com/docs/trunk/manual/serverside.html#suppressing-body-rendering<br /><br />just to let you know. I never seen this in the docs before.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-939951561471940130.post-72907848342042706762012-10-24T12:52:14.520-07:002012-10-24T12:52:14.520-07:00You've still lost me I'm afraid. I'm g...You've still lost me I'm afraid. I'm going to guess what I think you're saying, let me know if I'm along the right lines: I'm guessing that ASP.NET creates some javascript for interaction with the controller? Is mobilize either removing or interfering with the ASP javascript?<br /><br />I've never programmed in ASP, I'm a java developer, so I could be way off hereAntonyhttps://www.blogger.com/profile/02094151496300867623noreply@blogger.com