4 posts tagged with javascript by jasondigitized.
Displaying 1 through 4 of 4.

The next facebook

Need ideas for websites I could build. I am going to be in between jobs in the next few months. That gap could be a week or it could be a year depending on how long it takes to find my next gig. During that gap I would like to stay productive. I am a project manager, but I can write decent python/js/css/html. I need ideas for websites I could build that 1) I would have fun doing, 2) Would be something I could talk about in interviews, and 3) Could maybe produce a community, traffic, or a few dollars. [more inside]
posted by jasondigitized on Jul 21, 2011 - 5 answers

What time is it in Indiana?

I would like to write a javascript function that takes the current time and adjusts it based on the timezone of any of our customers around the world. "Easy enough if I know the timezone" I thought......until I started to think about daylight savings time and all of its variations around the world. What is the best way to tackle this? Is there a handy script out there to do this, or should I be looking to call a webservice? I still don't know what time it is in Indiana.
posted by jasondigitized on Jun 4, 2007 - 14 answers

My Text Runneth Over

I am inserting a large amount of links and text into a DIV tag using innerHTML after a page loads. For some reason, the HTML I am inserting is overflowing to the right of the DIV and not wrapping. I have a feeling, the browser cannot perform its normal text-wrapping because I am adding the HTML after the fact. Is there any technique via CSS or javascript to prevent this overflow from happening?
posted by jasondigitized on Nov 29, 2006 - 6 answers

Where did that window go?

Javascript / HTML : Let's say I have a page called 'foo.html' that opens a new window using the command window.open('http://ask.metafilter.com','newWindow'). Now let's say I navigate AWAY from my original page 'foo.html' to a page call 'bar.html' still leaving 'newWindow' open. Is there anyway I can get a handle on 'newWindow' from 'bar.html' even though I have navigated away from its opener 'foo.html'? I basically want to be able to change the url of 'newWindow' at anytime from any page on my website. Alternate solutions accepted.
posted by jasondigitized on Nov 21, 2006 - 4 answers

Page: 1