dimanche 1 novembre 2015

Code a simple landing page which is responsive

Whilst waiting for a developer to code a website I would like to put up a simple landing page.

I have found a wallpaper which is 1880 × 1253 in size and I have designed the logo and info in vector.

Can someone please help me in coding a simple page that I can throw up which will be responsive and will be full screen width and the logo and contact details will be centered on the screen.

Many thanks




Seamless page loading

First of all, sorry for the bad terminology used here. I have no clues on what the thing I try to explain is called. Let me try:

I recently see a lot of nice websites being build with a "seamless hyperlink" system -- when hyperlinks are clicked it does not visit a url but it somehow switches to it seamlessly (no page reloading or such). Some websites do this in such a good way that it looks like the website is done as a single piece such as the flash websites of early 2000's.

I'm aware of this topic:

Here is an example to explain what I mean: http://ift.tt/Ld12VP

I'm aware of this thread: How does GitHub change the URL without reloading a page?

What I'm asking here is not pnly the "change of the url" part ut also "loading of the clicked content" part. I can modify the address bar, no problems with that. However, I have no clues on how to display different websites when a certain url is visited, or how to load a clicked hyperlink in a seamless way like the website example above.

Therefore, the question exceeds the "history api"

If my question is unclear please let me know so that I can modify it accordingly to make it more clear.

Thank you.




Seamless Hyperlinks (?) [duplicate]

This question already has an answer here:

First of all, sorry for the bad terminology used here. I have no clues on what the thing I try to explain is called. Let me try:

I recently see a lot of nice websites being build with a "seamless hyperlink" system -- when hyperlinks are clicked it does not visit a url but it somehow switches to it seamlessly (no page reloading or such). Some websites do this in such a good way that it looks like the website is done as a single piece such as the flash websites of early 2000's.

I'm aware of this topic:

Here is an example to explain what I mean: http://ift.tt/Ld12VP

I'm aware of this thread: How does GitHub change the URL without reloading a page?

What I'm asking here is not pnly the "change of the url" part ut also "loading of the clicked content" part. I can modify the address bar, no problems with that. However, I have no clues on how to display different websites when a certain url is visited, or how to load a clicked hyperlink in a seamless way like the website example above.

Therefore, the question exceeds the "history api"

If my question is unclear please let me know so that I can modify it accordingly to make it more clear.

Thank you.




guide android developers about web developing

I find an increasing number of app embed web to realize some function. Is it important for android developers to know about web developing?

I want to know something about web developing, can someone give me advice or introduce some books or website which introduce mobile web developing?

Thanks in advance!




What icon is this in chrome?

Can someone tell me what icon(highlighted in red line) is this in chrome browser? Is it the extension or something else?

enter image description here




samedi 31 octobre 2015

Android webview: How to get webview to load my website

So I am currently trying to learn the android webview but have run into some issues. I got it to load youtube.com perfectly but when I try my website it will not work; I just get a blank white screen. Why is that? My website does not have https and this is my code inside the activity's .java class:

    web = new WebView(this);
    web.loadUrl("nickhulsey.com");
    web.getSettings().setJavaScriptEnabled(true);
    web.setWebChromeClient(new WebChromeClient());
    web.setWebViewClient(new WebViewClient());

    setContentView(web);

Is it some sort of security issue or is my website not built properly for the webview to work?




Jquery Not working on a Page even after linking latest jquery library

Please check the following page. http://ift.tt/1HjYUCN

Jquery is not working . I have linked the latest jquery library but still i get error like
Uncaught TypeError: $ is not a function And Uncaught ReferenceError: jQuery is not defined

Please check it and tell me what is the issue.