<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with web and javascript</title>
      <link>http://ask.metafilter.com/tags/web+javascript</link>
      <description>Questions tagged with 'web' and 'javascript' at Ask MetaFilter.</description>
	  <pubDate>Tue, 27 Oct 2009 13:31:52 -0800</pubDate> <lastBuildDate>Tue, 27 Oct 2009 13:31:52 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Which HTML/CSS/JS IDE do I want?</title>
	<link>http://ask.metafilter.com/136596/Which%2DHTMLCSSJS%2DIDE%2Ddo%2DI%2Dwant</link>	
	<description>Which HTML/CSS/JS IDE do I want? So I&apos;ve been doing AS3 development for the last few years, using Flex Builder, but am now moving back into HTML/CSS/JS. I&apos;ve gotten used to having a fairly intelligent IDE and I&apos;d like to not go back to the bad old days of having to type every single param and property from scratch every time. (I&apos;m looking for code help, not just highlighting.)&lt;br&gt;
&lt;br&gt;
I have tried a few but none seems to have everything I want:&lt;br&gt;
&lt;br&gt;
1. Dreamweaver: &lt;br&gt;
Pluses: When you link to a stylesheet, you can CTRL+space and get a list of styles to choose from.&lt;br&gt;
Minuses: Weak support for JS. (no auto-complete at all)&lt;br&gt;
&lt;br&gt;
2. &lt;a href=&quot;http://www.aptana.org/studio&quot;&gt;Aptana&lt;/a&gt;:&lt;br&gt;
Pluses: Seems to have excellent JS support, including major AJAX libraries.&lt;br&gt;
Minuses: Unless I am missing something, I can&apos;t choose Css styles off a list, and that is a major major timesaver for the work I&apos;ll be doing.&lt;br&gt;
&lt;br&gt;
3. &lt;a href=&quot;http://www.blumentals.net/htmlpad/tour.php?id=23&quot;&gt;HTMLPad 2010&lt;/a&gt;:&lt;br&gt;
Plusses and minuses seem about the same as Aptana, plus it costs money. (DW CS3 is already installed on my work machine so no cost there.)&lt;br&gt;
&lt;br&gt;
So, am i doing something wrong with Aptana? Is there another piece of software I&apos;m not aware of? Or should I settle for DW for html/css and Aptana for JS? (The work will probably be 80% or more on the html/css side.)&lt;br&gt;
&lt;br&gt;
thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.136596</guid>
	<pubDate>Tue, 27 Oct 2009 13:31:52 -0800</pubDate>
	<category>aptana</category>
	<category>css</category>
	<category>dev</category>
	<category>development</category>
	<category>dreamweaver</category>
	<category>html</category>
	<category>ide</category>
	<category>javascript</category>
	<category>js</category>
	<category>programming</category>
	<category>web</category>
	<category>webdevelopment</category>
	<dc:creator>drjimmy11</dc:creator>
	</item>
	<item>
	<title>Need money now thankyou.</title>
	<link>http://ask.metafilter.com/135078/Need%2Dmoney%2Dnow%2Dthankyou</link>	
	<description>What are some good tech-centric temp agencies in L.A.? Hi! Yet another in my long series of job-trauma questions.&lt;br&gt;
&lt;br&gt;
I&apos;m currently between jobs- I&apos;m a web/software developer, specializing in flex/AS3 but with years and years of doing html/js/ajax/php type stuff too. I have a pretty strong resume, I like to think, going back about 10 years.&lt;br&gt;
&lt;br&gt;
I&apos;m currently getting contacted by a lot of recruiters and going on a lot of interviews, but it&apos;s a very drawn-out process. Basically I need a gig to bring in some money now- cutting up PSDs or whatever is fine, I&apos;m not proud at this point. I&apos;m curious if anyone knows any decently reputable agencies who could get me something like this soon. Specific names of agencies are appreciated, referrals to specific people are even more appreciated. (meMail me if you like).&lt;br&gt;
&lt;br&gt;
(I&apos;d also be interested in where I can advertise myself as a flex freelancer, but I&apos;m more inclined towards W2 right now for a few reasons.)&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.135078</guid>
	<pubDate>Fri, 09 Oct 2009 15:50:15 -0800</pubDate>
	<category>agencies</category>
	<category>agency</category>
	<category>as3</category>
	<category>contract</category>
	<category>development</category>
	<category>flash</category>
	<category>flex</category>
	<category>html</category>
	<category>javascript</category>
	<category>js</category>
	<category>la</category>
	<category>losangeles</category>
	<category>software</category>
	<category>temp</category>
	<category>web</category>
	<category>webdevelopement</category>
	<dc:creator>drjimmy11</dc:creator>
	</item>
	<item>
	<title>How does HuffPo append URLs to copied text?</title>
	<link>http://ask.metafilter.com/133804/How%2Ddoes%2DHuffPo%2Dappend%2DURLs%2Dto%2Dcopied%2Dtext</link>	
	<description>I noticed today that text copied from articles on The Huffington Post appends the article URL when pasted and I&apos;m wondering how it&apos;s done. Here&apos;s an example of copying and pasting text from the current front page story of the G20 meeting:&lt;br&gt;
&lt;br&gt;
&lt;em&gt;&lt;blockquote&gt;The three leaders, in their dramatic joint statement that overshadowed the G-20 economic summit here, hoped the disclosure would increase pressure on the global community to impose new sanctions on Iran if it refuses to stop its nuclear program.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Read more at: http://www.huffingtonpost.com/2009/09/25/obama-iran-has-secret-nuc_n_299556.html&lt;/blockquote&gt;&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
The &quot;Read more at:...&quot; portion never appeared on the page.&lt;br&gt;
&lt;br&gt;
Repro steps:&lt;br&gt;
&lt;br&gt;
1) Copy any random paragraph from a HuffPo story.&lt;br&gt;
2) Paste elsewhere.&lt;br&gt;
&lt;br&gt;
I&apos;m using FireFox 3.5.3 on Windows 7. I don&apos;t see this behavior when copying from other sites.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.133804</guid>
	<pubDate>Fri, 25 Sep 2009 10:05:39 -0800</pubDate>
	<category>copy</category>
	<category>html</category>
	<category>huffingtonpost</category>
	<category>huffpo</category>
	<category>javascript</category>
	<category>js</category>
	<category>paste</category>
	<category>resolved</category>
	<category>web</category>
	<category>webdesign</category>
	<dc:creator>eyeballkid</dc:creator>
	</item>
	<item>
	<title>It worked a minute ago!</title>
	<link>http://ask.metafilter.com/125848/It%2Dworked%2Da%2Dminute%2Dago</link>	
	<description>I am having a problem with some JavaScript and Wordpress. It worked a minute ago but now it seems broken. I am updating &lt;a href=&quot;http://baystatewrestling.keithkeirstead.com/home/&quot;&gt;this site &lt;/a&gt; and it has a coda slider on the main page, I updated the slider to make it bigger then it originally was, and it seemed to work fine. Then I updated the images with the correct dimensions and now the images don&apos;t change. The arrow moves but the main the main window doesn&apos;t update to reflect the change. Ive been working on this since about 5 PM yesterday and can&apos;t seem to get it working right. Here is &lt;a href=&quot;http://baystatewrestling.keithkeirstead.com/home.html&quot;&gt;where it&lt;/a&gt; works right in a smaller scale. I&apos;m not a real big JavaScript guy just mainly cut and paste from what I find online. If anybody can find out why it broke and how to fix it I would appreciate it so much. Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.125848</guid>
	<pubDate>Thu, 25 Jun 2009 21:58:45 -0800</pubDate>
	<category>design</category>
	<category>javascript</category>
	<category>web</category>
	<category>wordpress</category>
	<dc:creator>lilkeith07</dc:creator>
	</item>
	<item>
	<title>What CMS is this?</title>
	<link>http://ask.metafilter.com/119657/What%2DCMS%2Dis%2Dthis</link>	
	<description>I really like the design of &lt;a href=&quot;http://www.luxurylink.com/&quot;&gt;this site&lt;/a&gt;. Is there a way to find out what CMS they&apos;re using? And what&apos;s that picture scroller in the middle?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.119657</guid>
	<pubDate>Thu, 16 Apr 2009 05:18:48 -0800</pubDate>
	<category>CMS</category>
	<category>design</category>
	<category>javascript</category>
	<category>jquery</category>
	<category>picture</category>
	<category>scroller</category>
	<category>web</category>
	<category>webdesign</category>
	<dc:creator>Finder</dc:creator>
	</item>
	<item>
	<title>Can I auto-expand a bunch of Javascript message toggles</title>
	<link>http://ask.metafilter.com/116092/Can%2DI%2Dautoexpand%2Da%2Dbunch%2Dof%2DJavascript%2Dmessage%2Dtoggles</link>	
	<description>I&apos;m trying to archive, in PDF form, a series of Web pages where the content won&apos;t expand unless I click &quot;more&quot; dozens and dozens of times to reveal each hidden item. Is there some time-saving Firefox add on--or other tool--that could do this for me automatically? It&apos;s a Javascript thing... In code terms, the full content is all there in the source code (maybe I ought to just give up and save as HTML--what do you think?) but hidden via a Javascript gimmick.&lt;br&gt;
&lt;br&gt;
Each of the many items on the page is concealed from view using a Javascript &quot;onClick&quot; attached to the links. When you click the link it runs a .js script called &quot;toggleMessage,&quot; which gets the ID# of the item and then opens it. What I am envisioning is some sort of Firefox Web designer plugin where I could tell it the name of the script and it would go run it for me, expanding every panel.&lt;br&gt;
&lt;br&gt;
Is this something Firebug, for example, would do?&lt;br&gt;
&lt;br&gt;
Here&apos;s the script.&lt;br&gt;
&lt;br&gt;
function toggleMessage(id)&lt;br&gt;
{&lt;br&gt;
	var span = document.getElementById(&apos;msg&apos;+id);&lt;br&gt;
	if (span.style.display == &apos;none&apos;)&lt;br&gt;
		{&lt;br&gt;
			// hide the more link&lt;br&gt;
			document.getElementById(&apos;msglink&apos;+id).style.display=&apos;none&apos;;&lt;br&gt;
			// show the div&lt;br&gt;
			span.style.display = &apos;inline&apos;;&lt;br&gt;
			// show the less link&lt;br&gt;
			document.getElementById(&apos;msglesslink&apos;+id).style.display=&apos;inline&apos;;&lt;br&gt;
			// switch the image&lt;br&gt;
			document.getElementById(&apos;image&apos;+id).src=img_open;&lt;br&gt;
		}&lt;br&gt;
	else // it&apos;s already showing&lt;br&gt;
		{&lt;br&gt;
			// hide the less link&lt;br&gt;
			document.getElementById(&apos;msglesslink&apos;+id).style.display=&apos;none&apos;;&lt;br&gt;
			// show the more link&lt;br&gt;
			document.getElementById(&apos;msglink&apos;+id).style.display=&apos;inline&apos;;&lt;br&gt;
			// hide the span&lt;br&gt;
			span.style.display = &apos;none&apos;;&lt;br&gt;
			// switch the image&lt;br&gt;
			document.getElementById(&apos;image&apos;+id).src=img_closed;&lt;br&gt;
		}&lt;br&gt;
}</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.116092</guid>
	<pubDate>Sat, 07 Mar 2009 15:19:57 -0800</pubDate>
	<category>hidden</category>
	<category>javascript</category>
	<category>offline</category>
	<category>toggle</category>
	<category>web</category>
	<dc:creator>Kirklander</dc:creator>
	</item>
	<item>
	<title>If I give a GIF will I get flash or java?</title>
	<link>http://ask.metafilter.com/116025/If%2DI%2Dgive%2Da%2DGIF%2Dwill%2DI%2Dget%2Dflash%2Dor%2Djava</link>	
	<description>[Website development filter] I have developed a site for a client. He wanted something that shows a picture with text that changes every few seconds so I created a GIF that does this. Now he says that he wants it to pause on mouseover or a click. How do I do this? The site in question is VERY simple. (it is 6 small pages written as one file in PHP with a switch statement)&lt;br&gt;
The GIF is in the sidebar and shows 5 different pictures, each with some associated text. It flips to new picture and text every 10 seconds. &lt;br&gt;
He wants to be able to pause it with the mouse.&lt;br&gt;
&lt;br&gt;
I am a real newbie web developer (but a C programmer by profession).&lt;br&gt;
I think that this could be done in FLASH, but I sure don&apos;t know enough.&lt;br&gt;
Maybe it could be done in javascript, but I sure don&apos;t know enough.&lt;br&gt;
&lt;br&gt;
I would need a solid enough example that I could just &quot;plug in&quot; the pictures and text to achieve the desires result and upload it.&lt;br&gt;
&lt;br&gt;
[I have not posted a link to the site because I don&apos;t want to be banned or have my question deleted.]</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.116025</guid>
	<pubDate>Fri, 06 Mar 2009 11:50:43 -0800</pubDate>
	<category>flash</category>
	<category>GIF</category>
	<category>java</category>
	<category>javascript</category>
	<category>resolved</category>
	<category>web</category>
	<dc:creator>Drasher</dc:creator>
	</item>
	<item>
	<title>Export to Word</title>
	<link>http://ask.metafilter.com/115112/Export%2Dto%2DWord</link>	
	<description>I need to take form data from an web page and export it to a Microsoft Word File.  I have a bunch of form data  in HTML which I can convert to XML/JSON.  The users will click &apos;Export to Word Template 1, 2, 3, etc.&apos; and the website will create a .doc file for them to download depending on the template / look-and-feel they select.  Can I do this with non-Microsoft technologies like javascript and Python?  The key requirements here is the ability to export the same data to different layouts.  I have a feeling I can do this with XML / WordML, but the formatting piece looks daunting.  What is the easiest way to do this without hooking into COM?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.115112</guid>
	<pubDate>Wed, 25 Feb 2009 06:09:55 -0800</pubDate>
	<category>export</category>
	<category>javascript</category>
	<category>json</category>
	<category>python</category>
	<category>web</category>
	<category>word</category>
	<dc:creator>kaizen</dc:creator>
	</item>
	<item>
	<title>Take This Homepage &amp;amp; Shove It</title>
	<link>http://ask.metafilter.com/113878/Take%2DThis%2DHomepage%2Dand%2DShove%2DIt</link>	
	<description>&quot;Set As Homepage&quot; - I have a client who is obsessed with the notion of adding a &quot;Set As Homepage&quot; text link or button to the header of their website - you know, like everyone used to do circa &apos;02.  Now setting aside for a moment how worthlessly moronic that may be, I am curious, do any current browsers even permit that kind of javascript anymore - like from a security standpoint?  Is it a moot point?  (Hoping so)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.113878</guid>
	<pubDate>Tue, 10 Feb 2009 13:13:29 -0800</pubDate>
	<category>homepage</category>
	<category>javascript</category>
	<category>web</category>
	<dc:creator>MaxVonCretin</dc:creator>
	</item>
	<item>
	<title>Best resources for learning the ins and outs of jQuery in a short period of time</title>
	<link>http://ask.metafilter.com/111674/Best%2Dresources%2Dfor%2Dlearning%2Dthe%2Dins%2Dand%2Douts%2Dof%2DjQuery%2Din%2Da%2Dshort%2Dperiod%2Dof%2Dtime</link>	
	<description>I have some exposure to jQuery, modifying existing scripts, using the $() to grab DOM elements, but want to ramp up to expert status in a short period of time - what are the best resources for that? Is there a must have book or website  that isn&apos;t overly specific and goes beyond simple uses? I have a firm foundation in regular JavaScript/DOM/etc...</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.111674</guid>
	<pubDate>Wed, 14 Jan 2009 13:38:44 -0800</pubDate>
	<category>computers</category>
	<category>javascript</category>
	<category>jQuery</category>
	<category>language</category>
	<category>learning</category>
	<category>web</category>
	<dc:creator>Artw</dc:creator>
	</item>
	<item>
	<title>Javascript will not execute on one page on one machine</title>
	<link>http://ask.metafilter.com/103550/Javascript%2Dwill%2Dnot%2Dexecute%2Don%2Done%2Dpage%2Don%2Done%2Dmachine</link>	
	<description>I am seriously stuck on a problem and I&apos;m hoping to get some new leads on how to attack it.  There is one website that one user cannot execute Javascript on no matter what browser he uses.  What could be causing this? On one particular website, none of the Javascript functions will work for this user.  When clicked, they do nothing - no error message or anything.  This is mainly for opening a print-friendly version of the page and related case look-ups.  The same thing happens in both IE6, IE7 and Firefox 3.03.&lt;br&gt;
&lt;br&gt;
No one else is having this problem with the website.  &lt;br&gt;
I have set both web browsers to allow all scripting for the page.  &lt;br&gt;
I have completely disabled internet security (firewall, anti-virus, anti-spyware).  &lt;br&gt;
It is happening on multiple user accounts on the same computer.  &lt;br&gt;
He isn&apos;t having trouble with Javascript on any other page.  &lt;br&gt;
His machine is XP SP3.&lt;br&gt;
&lt;br&gt;
I and totally stuck and REALLY don&apos;t want to re-image his machine.  Any suggestions on leads to follow?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.103550</guid>
	<pubDate>Mon, 06 Oct 2008 11:24:15 -0800</pubDate>
	<category>browser</category>
	<category>javascript</category>
	<category>resolved</category>
	<category>web</category>
	<dc:creator>cimbrog</dc:creator>
	</item>
	<item>
	<title>CSS, JQuery, PHP and Caching: Best practices?</title>
	<link>http://ask.metafilter.com/99664/CSS%2DJQuery%2DPHP%2Dand%2DCaching%2DBest%2Dpractices</link>	
	<description>CSS, JQuery, PHP and Caching: What are the best practices for creating dynamic CSS with JQuery and PHP? Examples inside. I&apos;m using PHP to dynamically create links and their associated CSS. I&apos;m doing it dynamically because the number and positioning of these links is dependent on the selected month.&lt;br&gt;
&lt;br&gt;
PHP inserts these CSS declarations into the HEAD tag. This seems to work fine on Firefox, but IE apparently caches the HEAD tag. This is a problem when navigating to pages for other months since the number of days will change.&lt;br&gt;
&lt;br&gt;
Since I&apos;m also using JQuery for the first time in this project, I wonder if I wouldn&apos;t be better off setting the CSS with that, rather than with PHP. The problem with this would be that I&apos;m now mixing math and functions between the PHP sections of the site and the javascript sections. Is there a better way?&lt;br&gt;
&lt;br&gt;
An example can be &lt;a href=&quot;http://simplykiwi.com/charts/&quot;&gt;seen here.&lt;/a&gt; Source code for the same is &lt;a href=&quot;http://simplykiwi.com/charts/index.phps&quot;&gt;available here.&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
The hover links over each day in each graph are created with a PHP loop based on the number of days in the month. The CSS to position them properly above each day is also created with a PHP loop.&lt;br&gt;
&lt;br&gt;
The problem arises if a user selects an old month with a different number of days. Since IE caches the head tag the user only sees 20 day hover links, rather than 30 or 31.&lt;br&gt;
&lt;br&gt;
Online documentation, tutorials or book references are very much welcome. Also, if I&apos;m just completely going in the wrong direction please let me know.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.99664</guid>
	<pubDate>Wed, 20 Aug 2008 09:29:50 -0800</pubDate>
	<category>ajax</category>
	<category>browser</category>
	<category>css</category>
	<category>dom</category>
	<category>html</category>
	<category>javascript</category>
	<category>jquery</category>
	<category>php</category>
	<category>web</category>
	<category>webdev</category>
	<dc:creator>odinsdream</dc:creator>
	</item>
	<item>
	<title>Can I write to a div using Perl, or otherwise solve my form submission problem?</title>
	<link>http://ask.metafilter.com/97424/Can%2DI%2Dwrite%2Dto%2Da%2Ddiv%2Dusing%2DPerl%2Dor%2Dotherwise%2Dsolve%2Dmy%2Dform%2Dsubmission%2Dproblem</link>	
	<description>Can I write to a div using Perl, or otherwise solve my form submission problem? I have a Perl/CGI form mailer script that I didn&apos;t write and shouldn&apos;t edit too much, but can somewhat.&lt;br&gt;
&lt;br&gt;
It&apos;s currently set up so that I can define the thank you page and error page within the Perl file. I don&apos;t want it to redirect to those pages however. I want to display the messages on the page the form is on instead, without reloading if possible. I played around with redirecting to the same page  but appending a parameter in the URL. Then using JS to show a div if that var was set. But I&apos;m realizing I need to display some of the items  submitted from the form and I don&apos;t know how to keep those values since the page is being refreshed.&lt;br&gt;
&lt;br&gt;
I don&apos;t know Perl so I don&apos;t know if there is a better way to do this, but can I do something like write to a div with Perl? Other ideas?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.97424</guid>
	<pubDate>Thu, 24 Jul 2008 12:11:10 -0800</pubDate>
	<category>cgi</category>
	<category>forms</category>
	<category>javascript</category>
	<category>perl</category>
	<category>scripts</category>
	<category>web</category>
	<dc:creator>unsigned</dc:creator>
	</item>
	<item>
	<title>Newbie Seeks Javascript</title>
	<link>http://ask.metafilter.com/87364/Newbie%2DSeeks%2DJavascript</link>	
	<description>I want to build a web page with expandable sections of text which default to not being expanded. Unfortunately, I&apos;m a total javascript newbie. The way they did it here is pretty close to what I&apos;d want (scroll to &quot;anatomical focus&quot;): http://www.yogajournal.com/poses/863  ....Is it possible (or, for that matter, ethical) to somehow grab the javascript they used? Alternatively, are there generic freeware scripts anywhere that do something similar? If there were any such repository with a variety of javascripts that do this slightly different ways, even better. If it&apos;s newbie friendly, even better still! Thanks!
</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.87364</guid>
	<pubDate>Sat, 29 Mar 2008 17:06:40 -0800</pubDate>
	<category>javascript</category>
	<category>text</category>
	<category>web</category>
	<dc:creator>jimmyjimjim</dc:creator>
	</item>
	<item>
	<title>Where does the DTD go?</title>
	<link>http://ask.metafilter.com/84314/Where%2Ddoes%2Dthe%2DDTD%2Dgo</link>	
	<description>For the web developers in the house: when viewing the generated code for a web page, the Document Type Definition is missing. Where does it go? I&apos;m developing a web application for browsing network device information (on routers, switches, wireless APs, etc.). In debugging a jQuery problem in IE7, I was looking at the app&apos;s generated code, the source code after JavaScript has built the page and Ajax has populated it with data from a JSON object. So, long story short: in the generated code of this app and then in every other site I visited (in IE, Firefox, Safari), the Document Type Definition was missing--just gone (inspect the HTML for MeFi with Firebug and you&apos;ll see what I mean). &lt;br&gt;
&lt;br&gt;
Where does the DTD go? and why? Any ideas?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.84314</guid>
	<pubDate>Fri, 22 Feb 2008 11:08:43 -0800</pubDate>
	<category>ajax</category>
	<category>dtd</category>
	<category>javascript</category>
	<category>web</category>
	<category>webdevelopment</category>
	<dc:creator>josephtate</dc:creator>
	</item>
	<item>
	<title>Export DIV to JPG?</title>
	<link>http://ask.metafilter.com/82743/Export%2DDIV%2Dto%2DJPG</link>	
	<description>WebDev-2.0Filter: Using client side technologies (i.e. Javascript, ActiveX, Java... JS is preferred) is it possible to generate an image file (PNG or JPG, or even PDF) from a DIV tag on the page? I have a little web page where people can choose a bunch of options, click on, click off areas on a map etc... Is it possible, using only client-side technologies, to generate an image that represents the content in the DIV (A bunch of PNG images layered on top of each other and some text/controls)?&lt;br&gt;
&lt;br&gt;
Actually, all that is important to have in the image are a bunch of (alpha) PNG files layered on top of each other. Am I missing something simple here? Is there a magic JS library I can load? Am I not thinking about this little roadblock in the right way?&lt;br&gt;
&lt;br&gt;
The application is written for IE7 for now so anything that works in there is good. Extra points for browser agnostic or solutions across multiple platforms.&lt;br&gt;
&lt;br&gt;
MefiMail/Email me if you want more info... Thanks in advance!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.82743</guid>
	<pubDate>Sun, 03 Feb 2008 23:48:21 -0800</pubDate>
	<category>image</category>
	<category>javascript</category>
	<category>web</category>
	<category>webdev</category>
	<dc:creator>puddpunk</dc:creator>
	</item>
	<item>
	<title>Building a URL with a Form via JavaScript?</title>
	<link>http://ask.metafilter.com/81760/Building%2Da%2DURL%2Dwith%2Da%2DForm%2Dvia%2DJavaScript</link>	
	<description>Anyone have a JavaScript trick to create a web form that builds a URL to send users to a pre-populated search? I&apos;m trying to build a form that can add various variables to a URL prior to submitting, conducting a search with prepopulated criteria.  For example, I&apos;d like the web form to say:&lt;br&gt;
&lt;br&gt;
&lt;blockquote&gt;Find: [ ] Widgets  [ ] Doodads  [ ] Gizmos&lt;br&gt;
Priced: [ ] Below $5  [ ] Below $500 [ ] Below $5000&lt;/blockquote&gt;&lt;br&gt;
&lt;br&gt;
The equivalent plain, non-trick HTML would look like this:&lt;br&gt;
&lt;br&gt;
&lt;blockquote&gt;&amp;lt;input type=&quot;checkbox&quot; name=&quot;type&quot; value=&quot;widgets&quot;&amp;gt;&lt;br&gt;
&amp;lt;input type=&quot;checkbox&quot; name=&quot;type&quot; value=&quot;doodads&quot;&amp;gt;&lt;br&gt;
&amp;lt;input type=&quot;checkbox&quot; name=&quot;type&quot; value=&quot;gizmos&quot;&amp;gt;&lt;br&gt;
&lt;br&gt;
&amp;lt;input type=&quot;checkbox&quot; name=&quot;maxprice&quot; value=&quot;0005&quot;&amp;gt;&lt;br&gt;
&amp;lt;input type=&quot;checkbox&quot; name=&quot;maxprice&quot; value=&quot;0500&quot;&amp;gt;&lt;br&gt;
&amp;lt;input type=&quot;checkbox&quot; name=&quot;maxprice&quot; value=&quot;5000&quot;&amp;gt;&lt;/blockquote&gt;&lt;br&gt;
&lt;br&gt;
But, instead of the form sending information the usual way, selecting the various elements would instead add, remove, or change variables within a URL to which it would send users when they clicked &quot;Submit.&quot;  For example, changing the above fields would, behind the scenes, build URLs like:&lt;br&gt;
&lt;br&gt;
&lt;blockquote&gt;http://www.search.com/query?maxprice=0005&lt;br&gt;
http://www.search.com/query?product=doodads&lt;br&gt;
http://www.search.com/query?product=doodads&amp;amp;maxprice=0500&lt;/blockquote&gt;&lt;br&gt;
&lt;br&gt;
Users could not select various fields without breaking the URL, but also combine any series of variables available.  Clicking submit would finalize the search URL and send them straight to the results. Presume that the receiving site would understand the variable names and values sent in the URL.&lt;br&gt;
&lt;br&gt;
This seems pretty straightforward, but I can&apos;t find example code to do exactly this.  Any pointers would be much appreciated!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.81760</guid>
	<pubDate>Wed, 23 Jan 2008 12:09:23 -0800</pubDate>
	<category>form</category>
	<category>forms</category>
	<category>html</category>
	<category>javascript</category>
	<category>web</category>
	<dc:creator>pzarquon</dc:creator>
	</item>
	<item>
	<title>Help me AJAXify a portion of my project without overwhelming me.</title>
	<link>http://ask.metafilter.com/80476/Help%2Dme%2DAJAXify%2Da%2Dportion%2Dof%2Dmy%2Dproject%2Dwithout%2Doverwhelming%2Dme</link>	
	<description>Help me AJAX-ify a very simple web process in PHP. Links to very simple AJAX tutorials much appreciated. I&apos;ve been reading up on AJAX technologies for a couple weeks. I&apos;ve tried out a few, but I am still stuck with taking existing tutorials and modifying them slightly without really understanding behind-the-scenes. That is, I understand &lt;em&gt;conceptually&lt;/em&gt; what the tutorials are showing me, but not very much programmatically. I&apos;m fairly capable with PHP and HTML. I can read and write basic Javascript, but it seems like the AJAX technologies require a deeper level of understanding.&lt;br&gt;
&lt;br&gt;
Having said that, all I&apos;m really looking to do is rewrite a very simple portion of my project. Hopefully taking this small step will help me better understand what AJAX can really help me do long-term.&lt;br&gt;
&lt;br&gt;
I have one PHP script, delete.php, which does an UPDATE SQL statement setting Deleted = True for a given ID, passed via HTML GET from other pages.&lt;br&gt;
&lt;br&gt;
This seems like the perfect thing to AJAXify, but all of the tutorials I can find jump straight into Google Mashups, SOAP, JSON, XML, etc. I don&apos;t need these yet. What are some very basic tutorials that would help me replace my delete.php script with something more efficient?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.80476</guid>
	<pubDate>Tue, 08 Jan 2008 08:41:58 -0800</pubDate>
	<category>ajax</category>
	<category>dom</category>
	<category>html</category>
	<category>javascript</category>
	<category>php</category>
	<category>scripting</category>
	<category>tutorial</category>
	<category>tutorials</category>
	<category>web</category>
	<category>www</category>
	<category>xml</category>
	<dc:creator>odinsdream</dc:creator>
	</item>
	<item>
	<title>Can I build a &apos;real&apos; website on googlepages?</title>
	<link>http://ask.metafilter.com/79929/Can%2DI%2Dbuild%2Da%2Dreal%2Dwebsite%2Don%2Dgooglepages</link>	
	<description>Can I store changing data in a googlepages setup? I&apos;m trying to build a simple gift registry for my sister, to be hosted on a googlepages account. I was planning to do this in javascript, but I&apos;m out of my depth. The basic requirements are a list of items she would like, and guests can mark an item as bought, but I can&apos;t figure out how to store and modify data. As far as I can tell, no changes I make to the javascript variables are kept beyond a single session, and javascript cannot read/write to other files on the server.  Is this right? &lt;br&gt;
&lt;br&gt;
I&apos;ve never done web development and am learning javascript as I go, so I may be looking at this the wrong way. Can this be done with javascript, or is there another language I can use within the googlepages framework? &lt;br&gt;
&lt;br&gt;
&lt;small&gt;I know there are gift registries available online - this is more for the sake of doing it than the need for a registry.&lt;/small&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.79929</guid>
	<pubDate>Wed, 02 Jan 2008 01:11:15 -0800</pubDate>
	<category>development</category>
	<category>googlepages</category>
	<category>hosted</category>
	<category>javascript</category>
	<category>web</category>
	<dc:creator>jacalata</dc:creator>
	</item>
	<item>
	<title>Help me Popup!</title>
	<link>http://ask.metafilter.com/78630/Help%2Dme%2DPopup</link>	
	<description>JavaScript filter: popups, mouse over, toggle display.  HELP - I&apos;m not a developer! New Job and I want to impress...&lt;br&gt;
We use a custom CMS program that allows the addition of JavaScript and my vendor is swamped with our other projects.&lt;br&gt;
&lt;br&gt;
1 - I would like to add a basic pop up with text.  Nothing fancy but I do want it to scroll and not have an address/navigation bar. &lt;i&gt;It would open from &#8220;learn more&#8221; text and the window would just have simple text.&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
2 &#8211; (An extension of question 1) instead of the historical click and popup It would be cool to use a mouse over to do this. &lt;i&gt;Same text as above&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
3 &#8211; I also have some pretty long lists that I would like to use a toggle display to hide the contents. &lt;i&gt;Lets say I have a department &#8211; HR &#8211; and under HR I have 10 forms listed.  Instead of the entire list being shown I would only like the list to display if someone clicked &#8220;expand&#8221;&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
I&#8217;ve googled but haven&#8217;t found specifically what I&#8217;m looking for (also I guess it&#8217;s hard for me to get my head around b/c I do not understand what is doing what in the head section and how to execute the script).&lt;br&gt;
&lt;br&gt;
Any ideas for the JavaScript or good web sites that a entry level beginner could use?&lt;br&gt;
&lt;br&gt;
Bonus points for good resources on the web or books with prewritten JavaScript that I could reference in the future.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.78630</guid>
	<pubDate>Fri, 14 Dec 2007 06:08:11 -0800</pubDate>
	<category>cms</category>
	<category>javascript</category>
	<category>web</category>
	<dc:creator>doorsfan</dc:creator>
	</item>
	<item>
	<title>How do I legitimately hijack website content?</title>
	<link>http://ask.metafilter.com/69412/How%2Ddo%2DI%2Dlegitimately%2Dhijack%2Dwebsite%2Dcontent</link>	
	<description>HTML/Javascript:  I need to &quot;hijack&quot; website content so that it appears to be hosted by a different domain (with the full knowledge and cooperation of all parties). My boss maintains a website at, let&apos;s say, boss.example.com.  He has an affiliation with another organization with a nicer domain name, let&apos;s say, fancyexample.com&lt;br&gt;
&lt;br&gt;
He would like to allow users of fancyexample.com to go to fancyexample.com/boss and see all of his boss.example.com content as though it were hosted on fancyexample.com.  So if a user went to fancyexample.com/boss/homepage.html they would see that in the address bar but the content would be pulled from boss.example.com/homepage.html&lt;br&gt;
&lt;br&gt;
Ultimately, I want to write a small shell page to place on fancyexample.com that &quot;hijacks&quot; the boss.example.com content in as seamless a way as possible.  I believe that this can be done very simple using javascript and a frame but I don&apos;t have much web programming experience.  &lt;br&gt;
&lt;br&gt;
Again, don&apos;t worry, my boss, boss.example.com, and fancyexample.com all know about this and approve completely.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.69412</guid>
	<pubDate>Wed, 15 Aug 2007 17:25:07 -0800</pubDate>
	<category>hijack</category>
	<category>html</category>
	<category>javascript</category>
	<category>page</category>
	<category>resolved</category>
	<category>site</category>
	<category>web</category>
	<category>webpage</category>
	<category>website</category>
	<dc:creator>jedicus</dc:creator>
	</item>
	<item>
	<title>Does anyone know of a way to create a line graph using html or javascript?</title>
	<link>http://ask.metafilter.com/68133/Does%2Danyone%2Dknow%2Dof%2Da%2Dway%2Dto%2Dcreate%2Da%2Dline%2Dgraph%2Dusing%2Dhtml%2Dor%2Djavascript</link>	
	<description>Does anyone know of a way to create a line graph using html or javascript? I need to create a line graph with html or jave script without paying a company $99 for their javascript it (e.g. swiftchart). The graph needs to handle multiple trends in the same graph... meaning that I would like to see 3 or more lines going accross in one graph.&lt;br&gt;
&lt;br&gt;
Any Help?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.68133</guid>
	<pubDate>Mon, 30 Jul 2007 06:43:57 -0800</pubDate>
	<category>computer</category>
	<category>computers</category>
	<category>html</category>
	<category>internet</category>
	<category>javascript</category>
	<category>programming</category>
	<category>web</category>
	<dc:creator>kaozity</dc:creator>
	</item>
	<item>
	<title>SVG task - is it the right tool for the job?</title>
	<link>http://ask.metafilter.com/66922/SVG%2Dtask%2Dis%2Dit%2Dthe%2Dright%2Dtool%2Dfor%2Dthe%2Djob</link>	
	<description>Resources/information on layering with SVG I&apos;m interested in working with SVG. I have some fairly intricate but simple vector (AI format) digitizations of some &lt;a href=&quot;http://www.sendspace.com/file/is9i9j&quot;&gt;drawings&lt;/a&gt; I made. I&apos;d like to display these on a webpage with a raster image of the original context &apos;beneath&apos; the SVG image (does SVG do transparency?).&lt;br&gt;
&lt;br&gt;
What is key is that the layers within the SVG (which I create as layers in Illustrator CS2 presumably) are clickable on/off and the raster itself is clickable on/off also - presumably using JavaScript.&lt;br&gt;
&lt;br&gt;
Is this possible? Does anyone have any resources or information on how this could be accomplished? I can&apos;t find a great deal on the www about this aspect of SVG although &lt;a href=&quot;http://www.gisnet.com/notebook/NE_Map.htm&quot;&gt;similar projects&lt;/a&gt; have clearly been done - although that example doesn&apos;t have the raster background I am looking to achieve.&lt;br&gt;
&lt;br&gt;
In addition it would be great if the layers could be searchable, perhaps through an XML sort/filter...&lt;br&gt;
&lt;br&gt;
Any thoughts?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.66922</guid>
	<pubDate>Fri, 13 Jul 2007 11:14:19 -0800</pubDate>
	<category>adobe</category>
	<category>dtd</category>
	<category>illustrator</category>
	<category>javascript</category>
	<category>svg</category>
	<category>vector</category>
	<category>web</category>
	<category>xhtml</category>
	<dc:creator>dance</dc:creator>
	</item>
	<item>
	<title>java(script) filter help me please!</title>
	<link>http://ask.metafilter.com/66268/javascript%2Dfilter%2Dhelp%2Dme%2Dplease</link>	
	<description>Javafilter: Can a Java Applet that runs on my website save and edit files on my website? Basically what I need to do is have a javascript app call out a java program with some variables as arguments, then the java applet would  save them to a file on my website.&lt;br&gt;
I&apos;d also like to use a java applet to read said file from my website and convey certain variable to the javascript program for display in the webpage.&lt;br&gt;
Do I need to set certain read/write permissions for the java applet?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.66268</guid>
	<pubDate>Thu, 05 Jul 2007 08:28:58 -0800</pubDate>
	<category>java</category>
	<category>javascript</category>
	<category>programming</category>
	<category>web</category>
	<dc:creator>spacefire</dc:creator>
	</item>
	<item>
	<title>Can I make different categories of link text on a web page show as &quot;unvisited&quot; after different intervals?</title>
	<link>http://ask.metafilter.com/65284/Can%2DI%2Dmake%2Ddifferent%2Dcategories%2Dof%2Dlink%2Dtext%2Don%2Da%2Dweb%2Dpage%2Dshow%2Das%2Dunvisited%2Dafter%2Ddifferent%2Dintervals</link>	
	<description>With Javascript, CSS or anything else, can I make different categories of link text on the same web page behave differently?  Specifically, if I wanted to make a page listing some links I need to visit daily, some I need to visit weekly and some I need to visit monthly -- could I make each category of link text change from &quot;visited&quot; color back to &quot;unvisited&quot; color after the appropriate number of days?  Or if this can&apos;t be done, how would you solve this need (in a visual way, rather than just &quot;keep a list manually of when you visit each&quot;)?
</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.65284</guid>
	<pubDate>Thu, 21 Jun 2007 05:44:00 -0800</pubDate>
	<category>behavior</category>
	<category>css</category>
	<category>design</category>
	<category>hyperlink</category>
	<category>javascript</category>
	<category>link</category>
	<category>web</category>
	<dc:creator>lorimer</dc:creator>
	</item>
	
	</channel>
</rss>

