Why Not?

What shall we do today…

Tag: HTML

Making Usable Frameworks and SDKs

User experience is one of the most important parts when developing a project. Users should never have to think or fight with your product if you wish for it to succeed. If you look at most of the successful web applications today, the simplicity of the user experience if prevalent.  Gmail and Google Calendar are [...]

Customize the CSS of Dojo’s Tab Container

A few weeks ago I developed a page on Jazz.net that required the functionality from dojo’s dijit.layout.tabContainer. This is a great widget that quickly adds some great organization and functionality to your page. The problem I ran into was customizing the CSS of the Tab Container. This is not a simple task as dojo’s templating [...]

Window.location.href and Executing Code Placed after

This is the type of situation where you don’t even know HOW to word it for google to search for the answer.  But anyways…on to the situation: You have run into a situation where you need to change your web page’s URL. Simple enough, all you need to call is the following: window.location.href = “http://google.com”; [...]

Making jQuery calls in a function when a parameter can be a string or integer

Consider a function of when you are creating a list of items that have unique IDs, some are long integers and some are strings since they are a mix of chars and integers.  Also, you have very little control over these id values since they are retrieved from a web service and are too long [...]

Retrieving Data with Javascript in between HTML tags

Say you have an HTML tag as follows: <td>I WANT THIS DATA</td> To be able to get the data in between the  <td> tags for a javascript function, all you need to do is 2 things: 1. give an id to the <td> tag: <td id=”name”>I WANT THIS DATA</td> 2. Use the following javascript: var [...]

Using forms to POST to an IFRAME when submit button is clicked

So I was just able to get a web page I am currently developing to post to an Iframe. Granted this is not difficult to do, the problem was more just finding the documentation/tutorial to be able to do this. This is a problem that I have with coding in general, just finding the right [...]