Development Blog | Internet Marketing

Development Blog

Development Blog (31)

Tuesday, 26 January 2010 07:36

Web Designing Curvy Corners

Written by Miguel Da Silva
CurvyCorners

There is a growing trend with most new websites to use rounded corners for block elements i.e DIVs. I have come across a very powerful Javascript library that does just that, CurvyCorners.

By simple adjustments to your CSS class, you can create neat rounded corners for your DIVs with borders and even image backgrounds. I am currently using this Javascript library in a few websites and it works well across multiple browsers (IE, Firefox, Safari, Chrome).Web Design Experts

I did however, find some Javascript conflicts when implementing CurvyCorners on a website that already uses other Javascript libraries. This is common in most CMS websites (such as Joomla), that use a combination of PHP and Javascript libraries. For each component, module or plugin that is called when the page loads, the appropriate libraries are loaded.

The conflict occurs because many JavaScript libraries use $ as a function or variable name. While JQuery uses $ as an alias for JQuery, all functionality is still available without it. To use another Javascript library alongside JQuery, simply call to $.noconflict(). This returns control of $ back to other Javascript libraries.More on JQuery.noconflict() can be found here: http://api.jquery.com/jQuery.noConflict/

I have always struggled to find a simple and easy solution to generate PDF documents in ASP.net. pdf_image

There certainly are solutions out there but at a cost. There are also the open source developments of iTextSharp. However, the PDF generation is not simple and comes with a learning curve. I was in search of a solution that would take HTML I had already generated to a produce a PDF document.

I found a simple and easy solution, dompdf. However, it used the server technology php. Now there have always been debates between myself and my php developers as to which is the better server side technology, asp.net or php. When it comes to simple and inexpensive PDF generation I must give it to the php world, they have the better solution. dompdf is a style-driven renderer; thus it takes in the html and CSS stylesheets and passes the PDF rendering to another library called PDFlib. So what can I do since I want to program in asp.net? Combine the two? That is exactly what I did…

I had already generated the HTML code. Now all I wanted to do is generate an easy and simple PDF document. dompdf was the perfect solution. It was easy to use (no learning curves) and generates a PDF document from simple HTML.

This is what I did (download solution here):

Monday, 09 November 2009 11:28

Ready, Set, Go Fish

Written by Adrian Fitchet
Gofish is setting up a blog to share their experiences with regards to SEO, Internet Marketing and website development...
«StartPrev123NextEnd»
Page 3 of 3

Call Us: +27 11 612 7460