442 posts tagged with Javascript.
Displaying 301 through 350 of 442. Subscribe:

I want to program a board game.

I came up with an idea for a new board game, and I'd like to code an online version of it, but I've never done any game programming. Need some direction... links to engines, graphics, etc. [more inside]
posted by toomuchpete on Jun 17, 2007 - 9 answers

Using the day of the month to turn on or off the visibility of either a div or span?

How can I do this in javascript? Using the day of the month to turn on or off the visibility of either a div or span. [more inside]
posted by drezdn on Jun 12, 2007 - 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

Only Fools and Webgeeks

I need to parse an XML flat file with JavaScript, and I'm struggling with how to use the DOM to select one particular node via an attribute then use its child nodes to populate some values. [more] [more inside]
posted by dw on May 30, 2007 - 4 answers

DIV height issues...

Let's say I am using a JavaScript technique that requires a DIV to have a specified height, but the amount of text filling it, and thus the height it needs to be, will vary. Can I make it work? [more inside]
posted by TunnelArmr on May 25, 2007 - 8 answers

Get rid of the NY Times dictionary popups!?

How do I turn off the dictionary lookup popup thing on [more inside]
posted by gramcracker on May 23, 2007 - 9 answers

JavaScript/IFrame/Form woes.

Help me solve my seems-like-it-should-be-easy-but-I-can't-figure-it-out JavaScript/Greasemonkey problem! [more inside]
posted by TunnelArmr on May 14, 2007 - 5 answers

Did I get the trig right?

Does my documentation accompanying this JavaScript function as implemented on this page of my site demonstrate an adequate understanding of the use of trigonometric functions therein? [more inside]
posted by The Confessor on May 13, 2007 - 1 answer

Can Javascript recognize a CSS width?

CSS/JSP/Javascript Filter: I'm creating a widget which parses RSS via JSP and Javascript. This widget will allow users to include an RSS feed in their sidebar, but I'd like the widget to appear differently depending on the sidebar size. Is this possible to create an if statement determinant on the sidebar css class/id without know the class/id names? [more inside]
posted by captaindistracto on May 10, 2007 - 4 answers

Closure Exposure

Can someone please explain javascript closures to me in plain english? Closures for Dummies makes me feel like a dummy. What are closures and why would I want to use them? And most importantly, what is a real world example of where they would be really useful. I have no formal CS background, so if you mention CS terms I might get confused.
posted by kaizen on May 8, 2007 - 21 answers

stop scrolling, damn ye!

Javascript / Prototype problem: I've written a function that inserts new content in a div whenever you click on a link in that same div. It works, but with the added "feature" of scrolling to the top of the page after the new content has been added. I don't want it to do this. How do I stop it? Here's the page. (Scroll down to see the link.) [more inside]
posted by grumblebee on May 2, 2007 - 11 answers

How do I edit the "Gmail Multiple Signatures" Greasemonkey script to insert my signature before all quoted messages (or at the current cursor location)?

How do I edit the "Gmail Multiple Signatures" Greasemonkey script to insert my signature before all quoted messages (or at the current cursor location)? [more inside]
posted by chefscotticus on Apr 7, 2007 - 14 answers

Where do the experienced Javascript / AJAX developers hang out and discuss things on the net?

Where do the experienced Javascript / AJAX developers hang out and discuss things on the net? [more inside]
posted by weston on Apr 6, 2007 - 14 answers

MSIE is the bane of the internet

Annoying MIE Javascript/AJAX question: I'm making an Ajax site and am trying to get it to work with Explorer. It works perfectly in Firefox and Safari but not in Explorer, damn MS and their constant exceptions! [more inside]
posted by Napierzaza on Mar 28, 2007 - 21 answers

Are there tutorials for a "Macrumors Live" style feed?

Are there any tutorials on how to make a low-traffic version of the AJAX MacRumors Live page they use for keynotes? [more inside]
posted by Jairus on Mar 20, 2007 - 4 answers

Javascript for a randomized image and corresponding text.

Help me find a javascript for selecting an image at random, and then some corresponding text lower down on the page. [more inside]
posted by Marquis on Feb 25, 2007 - 6 answers

Hekp me move a div!

Javascript Noob: I need to move one div inside of another div that is elsewhere on the page. How do I do this? [more inside]
posted by Freen on Feb 24, 2007 - 3 answers

Data from Javascript to Rails?

How can I pass data created via javascript to my Rails application? [more inside]
posted by jxpx777 on Feb 23, 2007 - 4 answers

Javascript Acrobat Needed - Must work without net

I'm looking for some Acrobat Javascript help, dealing with inserting a line of text into a bunch of PDF documents... [more inside]
posted by gwenzel on Feb 11, 2007 - 2 answers

Looking for web-dev book suggestions

If you can buy three books on web-development today, what would they be? [more inside]
posted by reformedjerk on Feb 8, 2007 - 10 answers

How to create a CrossBrowser Bookmarklet?

I have written a bookmarklet that works in Firefox but not in IE6. How can I change it to be supported cross browser or even as a separate bookmarklet to get the same results. [more inside]
posted by mickbw on Jan 24, 2007 - 5 answers

Mark CF, if you're reading this, shoo!

How do I wish my programming-geek boyfriend "Happy Birthday" and tell him "I love you" using computing code? [more inside]
posted by divabat on Jan 23, 2007 - 25 answers

Position: Bottom Issues

CSS/HTML/Javascript: I cannot get all browsers to obey my wishes regarding the placement of my absolutely positioned footer. [more inside]
posted by maxwelton on Jan 22, 2007 - 13 answers

The Object of My Desire

JavaScriptFilter. I'm learning JavaScript and I'm trying to find a way to call object X. [more inside]
posted by popcassady on Jan 21, 2007 - 11 answers

Magical css/javascript rollover?

I want to make something similar to the navigation menu of Helldesign, as in 'image > click > new image' (obviously, without refreshing). [more inside]
posted by Memo on Jan 17, 2007 - 11 answers

Dynamic Function Reference in Javascript

I'm writing a cross-browser JavaScript library that will allow me to apply events (onmouseover, click, etc) to elements using what look like stylesheets:
a {mouseover:someFunction;}
In writing a parser for these files, I've come upon a stumbling block. [more inside]
posted by potch on Jan 10, 2007 - 10 answers

My Multi Select UI Sucks. Help me make it better

WebDesignFilter: I have a multi-select box with hundreds of elements in it. I need a better UI for it. [more inside]
posted by cschneid on Jan 7, 2007 - 11 answers

Firefox and Javascript issue

I'm looking for JavaScript code that successfully updates the href value for the "application/rss+xml" link in a way that enables the Firefox Live Bookmarks functionality to work with a href value assigned at run-time. [more inside]
posted by McGuillicuddy on Jan 4, 2007 - 6 answers

What's the step BEFORE "newbie" called?

I'm getting into learning web design -- started with the basics of HTML, XHTML, and CSS, and want to move on to JavaScript and Ajax next. Problem: I have zero, and I mean zero, programming experience. [more inside]
posted by hazelshade on Jan 4, 2007 - 15 answers

Reformatting pasted text

Coding question: What is the best/easiest way to preserve typographical formatting (like nbsp's, line breaks) of pasted text that will be stored in a database and later displayed in boxes of arbitrary size? [more inside]
posted by shownomercy on Dec 31, 2006 - 6 answers

Should I skip frames when learning javascript

Should I skip learning frames in conjunction with javascript (as a newbe javascript self taught student) due to the depreciation factorof frames with correct html? I'm really new at script writing / javascript etc... and appreciate your feedback. Thank you in advance...
posted by orlin on Dec 30, 2006 - 7 answers

creating a gallery with mootools, can someone help?

Since all sorts of very clever people frequent metafilter I figured it would be worth a shot to repost this mootools related javascripting question here. [more inside]
posted by Grod on Dec 29, 2006 - 6 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

Can anyone fix my bad Javascript?

I have to set the content of a field using Javascript, but the field's name has a dot in it, making Javascript treat it like a delimiter. Maybe I'm just tired. Help me escape? [more inside]
posted by rokusan on Nov 25, 2006 - 8 answers

Script to move text away from mouse?

I need some Javascript code to cut and paste which will move some text away from the mouse! Can anyone help?
posted by BobsterLobster on Nov 24, 2006 - 3 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'','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

Preloading images.

How to wait until images being preloaded by JavaScript Image objects are complete? [more inside]
posted by hcastro on Nov 14, 2006 - 3 answers

How do I move this javascript out of the head and into a .js to achieve valid markup?

really basic, I think. You can't have <link /> tag inside a <script></script> using XHTML strict. I can't quite figure out how to write a function that takes the place of this basic little OS detection script <script type="text/javascript"> var cssFile = (navigator.userAgent.indexOf("Mac") != -1) ? "mac.css" : "everyonelse.css"; document.write("<link rel='stylesheet' type='text/css' href='../" + cssFile + "' />"); </script> Which I would put in the head of the document. How can I move it to a function in an external .js file and get the same result with valid xhtml 1.0 strict? It's not urgent, but it's driving me nuts because I'm really stupid about scripting but I know this sort of thing isn't supposed to be hard.
posted by Grod on Nov 13, 2006 - 17 answers

Javascript Div Issues.

Javascript neophyte: How do I swap out the contents of one div with another? But there is a monkey-wrench in the whole thing: the new div [more inside]
posted by Freen on Nov 13, 2006 - 12 answers

extra page

assume that im working on a flash/javascript concoction. I have some code to print out some HTML. All is well except im getting an extra blank page..... [more inside]
posted by Tryptophan-5ht on Nov 10, 2006 - 4 answers

I like asides

I have recently enbraced the dfn tag. However... [more inside]
posted by Brittanie on Nov 6, 2006 - 9 answers

How to defer loading images until they're visible?

On a web page, how can I tell if images have not yet been scrolled into view? [more inside]
posted by Neon on Nov 3, 2006 - 8 answers

crossbrowser reusable javascript for dropdown that hides another menu when active?

What I suspect is a fairly stupid javascript question, but one I haven't found an ideal solution for. I four menus made out of unordered lists. I'm using a modified version of the suckerfish dropdown script to make it work in IE (code inside), in one place I want 1 of the four menus to stay open except when I hover on one of the remaining menus. i.e. menu1 is visible. when I mouseover menu2, menu1 is hidden. When I mouseout of menu2 menu1 reappears. [more inside]
posted by Grod on Oct 31, 2006 - 6 answers

color-coding javascript for a beginners book

I'm writing a book on programming for beginners, and I have a question about color-coding. [more inside]
posted by grumblebee on Oct 9, 2006 - 36 answers

Ajax design tips

Ajax design - The more little UI widgets I add to my project, the harder it is to maintain a coherent directory structure. Any tips or articles on how to maintain an intelligent directory/site structure on Ajax projects, where you have N number of little UI widgets that are retrieved on demand?
posted by xmutex on Sep 30, 2006 - 2 answers

Where can I find a javascript slider bar widget?

I need a javascript slider bar widget with a couple of special features. [more inside]
posted by Hildago on Sep 30, 2006 - 2 answers

Need a little help with javascript and webpage dropdowns..

Need a little help with javascript.. [more inside]
posted by ascullion on Sep 29, 2006 - 8 answers

How to get the RSS URL in javascript?

How do I access the RSS URL defined in the tag of a page, using javascript? [more inside]
posted by teaperson on Sep 26, 2006 - 4 answers

WebKit Javascript Woes

I'm having a strange problem with WebKit's Javascript engine. Please help. Copious explanation inside. [more inside]
posted by evariste on Sep 23, 2006 - 14 answers

Why is this bot hitting my site?

Some sort of bot is hitting my web site, and for the life of me I can't figure out why. [more inside]
posted by o2b on Sep 20, 2006 - 13 answers

Page: 1 2 3 4 5 6 7 8 9