Join 3,438 readers in helping fund MetaFilter (Hide)

68 posts tagged with javascript and resolved. (View popular tags)
Displaying 1 through 50 of 68. Subscribe:

JavaScript Design Pattern for Text Input

I'm writing a simple game in JavaScrip that needs to occasionally ask the user for text input. I don't want to use the JavaScript prompt() method. I want to display an HTML textbox and have my JavaScript code display the textbox and wait for the user to fill it out and hit ENTER. This seems like the sort of pattern that someone would have devised, but my Google-Fu is weak on this. Any help would be appeciated. Not looking for external libraries if they can be avoided, although JQuery would be acceptable. Thanks!
posted by DWRoelands on Oct 22, 2013 - 2 answers

Looking for a user script to improve the tumblr dashboard: 5-6 columns?

I'm hoping to find a user script for Tumblr that will go from the default 1 column layout to something that has 5-6 columns to take advantage of my widescreen monitor. I've found a userscript that gets partway there ("minimal three column layout"), but it suppresses the Like & Repost buttons. I've tried modifying it to have 5 columns instead of three, but I don't know java for beans. Would someone in the hivemind be able to tweak this appropriately, or know another way to get a better layout?
posted by Decimask on Jul 14, 2013 - 2 answers

What are the best sites for hiring front-end developers in the US?

Stackoverflow has been great for back-end developers, but not so much for the front-end people - I mean javascript frameworks + html5 + css. What are the best job sites for hiring front-end developers in the US?
posted by grubby on May 24, 2013 - 5 answers

Show me the quick and dirty road to jquery/javascript proficiency

I am hoping to become a fairly nimble noob with jQuery (and understand the javascript logic that goes with it) in about 3 weeks. What is the smartest way forward? [more inside]
posted by OlivesAndTurkishCoffee on May 7, 2013 - 5 answers

What are the cutting edge data visualization tools out there right now?

I am handy with HTML, CSS and a little Javascript. I also have a lot of experience with Wordpress theme development. What is the best path for me to become an ace data visualizer on the web? [more inside]
posted by Rodrigo Lamaitre on Feb 16, 2013 - 10 answers

How to divide a div into two triangles with Javascript?

Javascript question: I have a rectangular div. Imagine that div is divided from one corner to the other to make two right triangles. I would like to, on hover, have Javascript tell me which triangle my mouse is over. But my trigonometry powers are failing me, and Google is coming up short. Hope me, admin!
posted by eustacescrubb on Jan 8, 2013 - 6 answers

JavaScript question

JavaScript question: Here in the U.S. myDate.toLocaleDateString () returns Thursday, Oct. 04, 2012. Can anyone give me an example of the date formatted for another locale?
posted by markcmyers on Oct 4, 2012 - 2 answers

What is the lowest number and what is the highest number generated by Math.random()?

JavaScript question: What is the lowest number and what is the highest number generated by Math.random()?— 0.0000000000000000 or 0.0000000000000001, 1.0000000000000000 or 0.9999999999999999
posted by markcmyers on Sep 25, 2012 - 3 answers

Can you explain why this works in JavaScript?

Can you explain why this works in JavaScript? [more inside]
posted by markcmyers on Sep 8, 2012 - 9 answers

JavaScript quandary

In JavaScript, I can't think of any situation in which nested if statements can't be replaced by more concise code that employs the logical operators &&, || and !. Can you think of any?
posted by markcmyers on Aug 11, 2012 - 10 answers

Question about JavaScript variables

In JavaScript, if I define a variable within in a conditional block, is the variable defined through a type of hoisting even if the condition isn't met? [more inside]
posted by markcmyers on Aug 2, 2012 - 5 answers

Why so much Javascript-loaded content?

Why is the page content loaded by Javascript? [more inside]
posted by urbanwhaleshark on Aug 1, 2012 - 14 answers

Bookmarklet help wanted

Help me find a good set of tools for creating bookmarklets. [more inside]
posted by benito.strauss on Jun 12, 2012 - 9 answers

Have my graph and graph it too?

How can I generate a graph server-side, and update it client-side? [more inside]
posted by fvox13 on May 15, 2012 - 11 answers

What kind of magic does QString().setNum() do?

What kind of magic does QString().setNum() do to convert -1413011644 to 2881955652? [more inside]
posted by crawl on Feb 16, 2012 - 6 answers

Basic Javascript Syntax Question

Can you (of all people) help me figure out a javascript syntax issue I'm having? [more inside]
posted by Hypnotic Chick on Jan 18, 2012 - 25 answers

What is the black magic occurring in this Wordpress theme?

Can anyone help me make sense of the javascript/jQuery (and black magic?) behind the category list in the portfolio of this Wordpress theme? [more inside]
posted by This_Will_Be_Good on Jan 10, 2012 - 11 answers

Animated crop on an image?

Can you use the CSS property "clip" as in clip:rect(0px, 150px, 145px,145px) in a CSS3 transition? That is... Can I transition on a clipped region in a div? It just has to work in webkit browser. Trying to create an animated crop from 2 sides on an image. [more inside]
posted by jpburns on Oct 10, 2011 - 5 answers

Not until you finish watching your YouTubes, mister.

Is there some way (maybe with javascript?) to track how much of an embedded YouTube video someone has watched on my website? [more inside]
posted by 256 on Sep 20, 2011 - 1 answer

Let's assume that I am the stupidest person that ever lived. Explain to me what JavaScript is, what it does, and how a moron would go about learning it...

Let's assume that I am the stupidest person that ever lived. Explain to me what JavaScript is, what it does, and how a moron would go about learning it... [more inside]
posted by Senor Cardgage on Sep 7, 2011 - 36 answers

How to get the same page to display consistently on different websites?

I've built two HTML validated pages with the same content, but they're hosted in different places and are displaying differently in different browsers. Help? [more inside]
posted by andihazelwood on Aug 3, 2011 - 5 answers

How to get ParaView to work with a browser?

Need help interfacing ParaView with a web page. [more inside]
posted by cali59 on Jun 29, 2011 - 1 answer

My kingdom for a (page) source!

Via Javascript or PHP, I want to fetch the page source of an external URL. The catch: the URL is another php file. file_get_contents and curl don't work, and neither, seemingly, does anything else I try. Help? [more inside]
posted by hiteleven on May 27, 2011 - 6 answers

Fading volume nicely with JS

In jQuery (or vanilla JavaScript), how do I repeatedly call a method with a numeric argument that increases or decreases over time? [more inside]
posted by The Winsome Parker Lewis on May 14, 2011 - 4 answers

PDF printing in Firefox

Mac OSX 10.5.8 form PDF printing: Can anyone tell me why it might be that sites which generate a unique PDF for download will malfunction with Firefox but not with Safari or Chrome? A typical example is Purolator.ca: clicking on the javascript link to print a waybill returns a cgi file but no pdf. [more inside]
posted by HLD on Apr 7, 2011 - 7 answers

Looking to polish lackluster HTML skills

Where to find good resources for the brave new world of web coding? [more inside]
posted by Gilbert on Mar 27, 2011 - 11 answers

bookmarklet for a random link in a new tab

In Firefox, how can I get my bookmarklet to open a link in a new tab? [more inside]
posted by maqsarian on Feb 27, 2011 - 6 answers

How to animate elements within boundaries using jQuery?

Using jQuery, how can I make an element move up or down the page as the user scrolls, until it reaches a certain distance from its parent's border or the viewport border? [more inside]
posted by Fred Mars on Jan 14, 2011 - 8 answers

What are some standard databases used for websites?

What are some standard ways for a website to interact with a large database? I'm looking for suggestions of tools or programming languages. [more inside]
posted by a womble is an active kind of sloth on Dec 17, 2010 - 14 answers

Help keep the Czech escorts off my site!

Spam links keep appearing in my wordpress-powered website's footer! [more inside]
posted by ferdinandcc on Dec 3, 2010 - 17 answers

Script Conflict

I'm making a web page that has two scripts on it - a mootools script that shows/hides a div, and a JQuery cycle slideshow. And they aren't working together. [more inside]
posted by bonsai forest on Nov 24, 2010 - 9 answers

Why doesn't Ajax work on my server?

When I upload this W3Schools Ajax example to my own web hosting, it doesn't work. Why? [more inside]
posted by EndsOfInvention on Oct 30, 2010 - 6 answers

Embedded Images

Is their a service that would allow me to upload my images and embed them into my website in a particular style (see this link for a crude mock-up). I also want the ability for the user to click on an image and for a bigger version to appear (using jQuery or some other javacript library). [more inside]
posted by nam3d on Oct 12, 2010 - 5 answers

What Javascript trickery is this?

How do I create forms such as those on Facebook which expand/show extra options when you click the mouse into the text box. [more inside]
posted by Biru on Oct 9, 2010 - 8 answers

Where can I find out about browser-related issues when writing CSS/HTML/JavaScript?

Where can I learn about how to deal with browser-related problems when writing CSS, HTML and JavaScript for a web site? [more inside]
posted by tallmiddleagedgeek on Aug 17, 2010 - 10 answers

[Javascript filter] window.showModalDialog not loading - but only for one user

window.showModalDialog opens a new window, but the page doesn't load. It's only a problem for one user - all others have been fine. What gives? [more inside]
posted by lash on Jun 29, 2010 - 6 answers

Should I stick with Javascript or move to another way of doing things?

Any resources for quickly developing data-entry heavy applications in JQuery/Javascript? Alternatively, how much quicker is it to get applications running in Flash/Silverlight than Javascript? [more inside]
posted by geoff. on Jun 17, 2010 - 12 answers

Other domains don't necessarily have cooties

Why does the cross-domain restriction exist on the XMLHttpRequest object? [more inside]
posted by burnfirewalls on Apr 7, 2010 - 10 answers

Help, Firefox broke my Facebook!

Firefox+Facebook has broken for me -- it greys out when I do stuff. Anyone else experiencing this? [more inside]
posted by katrielalex on Feb 23, 2010 - 3 answers

Web game development with source control and unit tests?

What software development technologies (languages and plugins) exist for writing real-time games that can run inside web browsers? Bonus points for 1) playing well with source control, 2) being amenable to unit tests, and 3) having dev tools that run on both Windows and OS X. [more inside]
posted by Jpfed on Feb 21, 2010 - 12 answers

PDF page to an image, why is this so hard?

How would I go about recreating the document display functionality of Google Books / Safari Books online? I was expecting to be able to take a PDF source and serve each page as a PNG to the browser. This appears not easy to do? It seems like a simple thing to do, but I'm running into a bunch of brick walls. [more inside]
posted by geoff. on Feb 16, 2010 - 9 answers

hyperlinking a named anchor in a different tab of the same page using jquery?

Using J-query for tabbed navigation, can you create a hyperlink to a bookmark (named anchor) somewhere in one tab from another tab on the same page? [more inside]
posted by xetere on Feb 1, 2010 - 5 answers

Help with a javascript effect please!

I'm trying to implement this moo tools javascript effect to fade in, and then fade out a single image element, and I need help to make it work. This is my attempt. [more inside]
posted by bonsai forest on Dec 7, 2009 - 3 answers

Help me reverse-engineer Google Wave

Google Wave question: does anyone know the technical details of how blip editing works? [more inside]
posted by ook on Oct 29, 2009 - 4 answers

How does HuffPo append URLs to copied text?

I noticed today that text copied from articles on The Huffington Post appends the article URL when pasted and I'm wondering how it's done. [more inside]
posted by eyeballkid on Sep 25, 2009 - 10 answers

Newbie at this PHP stuff...

PHP / Javascript question - Lightbox (and Greybox, for that matter) doesn't seem to want to play nicely with my "include" function. [more inside]
posted by Phire on Jul 13, 2009 - 10 answers

Don't push that button.

I have been accessing twitter on my mobile (Palm Centro) for months and today, I accidentally hit a button that said "View in Standard". I can no longer access twitter. [more inside]
posted by Sophie1 on Jun 1, 2009 - 5 answers

Suppress right-click menu on a web site

Is there a way to disable the right-click menu on a particular web page I visit that isn't managed by me? [more inside]
posted by maxwelton on May 30, 2009 - 3 answers

How to all Javascript to run only within it's own domain?

Is it possible to make NoScript disable certain site's scripts only on certain sites? [more inside]
posted by Solomon on May 16, 2009 - 2 answers

JavaScript to Block Sites Based on Word Content?

How can I use JavaScript to block a website if it contains specific words? [more inside]
posted by 47triple2 on May 11, 2009 - 6 answers

Page: 1 2