Convert Existing web application UI into responsive web application - javascript

I have single page ajax web application. All HTML structure build dynamically through pure javascript or jQuery. Now i want to convert this existing web app to responsive application. I had searching on google but i can not get it specific flow to do this. I also see lots of css framework like bootstrap,foundation,etc. Is those help to get out from this? if yes then How? My target resolution is 800*600 to 1920*900.

You can use Bootstrap, just include the files - CSS should be enough if you want just the responsiveness, or try Initializr - get the right template and copy your existing code into it.

You can also look into the FriendlyURLs feature in ASP: http://www.hanselman.com/blog/IntroducingASPNETFriendlyUrlsCleanerURLsEasierRoutingAndMobileViewsForASPNETWebForms.aspx. This will let you create mobile versions of the pages in your site.
If this is not your goal and if you are OK with commercial software, you can try the RadPageLayout control from Telerik: http://www.telerik.com/help/aspnet-ajax/page-layout-overview.html. Check it out here: http://demos.telerik.com/responsive-web-design-aspnet/.

Responsive web applications can be created by using CSS media queries. Please find below helpful link http://webdesignerwall.com/tutorials/responsive-design-in-3-steps wich provides overview of responsive approach with screenshots and demo
Good Luck!

Telerik offers yet another way to make your ASP.NET pages responsive via the PageLayout control http://www.telerik.com/products/aspnet-ajax/responsive-page-layout.aspx.
The following responsive web site is made with it: http://demos.telerik.com/responsive-web-design-aspnet/

Related

How can I use a CMS with my custom website

I'm going to develop a custom site (my own html/css/js, maybe using vueJS) for a client. She wants to be able to edit the content of her site after, add/delete/update images and text.
If I code the site by myself instead of using visual builders inside wordpress, is she going to be able to edit her site with the wordpress built-in tools or I'm the one that will have to make the changes whenever she needs?
Usually you would wrap your custom part of the wordpress website into a custom plugin. I'm assuming you can wrap a vuejs app, but I haven't done/ tried that yet. But definitely an inspiring question. I would give that a try.
This tutorial should get you started: Tutorial to create a custom plugin
Implementing the Vuejs SPA afterwards into that plugin should be manageable...

Localization for Arabic language

I want to translate all static element to my web page in Arabic by using angular.js, What all concept I can use. I have tried by using
Its making my whole page to mirror image.
You should be able to implement localization on angular apps with ng-i18next. Check github repo at https://github.com/i18next/ng-i18next for more details.
Try to use angular-localization wich is the official way to do it https://github.com/doshprompt/angular-localization

Attach PDF to PDF as attachment (not as a page) via Javascript in HTML (not in Acrobat)

I would like to generate a PDF portfolio using JS from an HTML/CSS page on a local machine. I would use a PDF template file which includes a PDF portfolio Navigator in SWF form. I have successfully accomplished this using C# and a command line program, but can not identify the proper Javascipt components to do this browser-side or pseuo-server with Node.js. Basically, I am looking for something which will allow me to append a PDF to a new or existing PDF via configuration choices and an 'assemble' action using a JS or HTML button. iTextSharp provides the required PDF interaction functionality, but I can not figure out to run this inside an HTML to allow configuration via the HTML/CSS DOM (i.e. checkboxes, text field desciptors, etc...). Does a library with this type of functionality exist?
So you want to create a PDF using JavaScript?
On a quick google search, I found what appears to be a javascript library for creating and manipulating PDFs call jsPDF
If you want information on how to upload files with JavaScript alone, here is an article on how to do that. It also shows you how to use the file element.
For style, I recommend using a CSS Framework is you don't know much about CSS. I personally use Twitter Bootstrap for quickly prototyping things. It's quick and easy, and has good documentation. You can also use this to see how to make a form in HTML. I haven't got any good starter tutorials for HTML off the top of my list, sorry.
If you don't know much about JavaScript, when it comes to getting the options from the form, so that you can use them as configuration options, I'd suggest using the jQuery framework. It'll help you get up and running quickly enough
Note, all of this shouldn't replace basic training in JavaScript and HTML/CSS. Frameworks make things simpler, but if you don't know how to do something without a framework, you're going to have a hard time with a lot of the more complicated things. This goes for every language

How to handle string localisation in jQuery mobile?

I am making an android app using phonegap and jQuery mobile.The app will also have option for displaying text in other languages like Tamil,Kannada and Telugu.I want to change all the text displayed when the user clicks on these options for changing the language. What is the best way to do that?
I would look at i18next, a JS library that runs entirely in browser and whose localizations are stored in JSON. It works with jQuery and has several other nice features. Seems like it would cover your needs.
I'm running a Application which supports around 5 European languages. I manually created a language file in the format of JSON. I wrote custom functions to replace the UI element's labels in a separate file which triggers when a page loads.
It just works fine for me.
check out the HTMLed.js framework for jquery mobile localization on GitHub link

how to use code igniter for iframes

does code igniter provide css or javascript to help make iframes and web pages within webpages? Any suggestions on how to go about doing this in CI? I need to make a menu that when you put your mouse over it, the button while drop down other buttons. The when you click the corresponding button the iframe below populates from the database.
No, CodeIgniter does not provide any help on Javascript manipulation. It is a PHP framework. Server based, not oriented toward client interfaces.
EDIT :
Since, this has been downvoted, let me quote official CodeIgniter documentation.
Javascript Class : Note: This driver is experimental. Its
feature set and implementation may change in future releases.
With link provided : documentation.
Plus, I have downloaded the latest version 2.0.2. It does not contain any css nor javascript files. (Except for their documentation).

Categories

Resources