REGEX: Trying to create a reg. exp. that can find a string in the referrers host name

I am trying to create a JavaScript regular expression that can find a keyword in the referrers host name. It cannot be in the file path, just the host name. So... these should pass: http://k... Read more

1 answer Best answer by Rob Crowther

HTML5 and the optional "type" property in script

I know that with the HTML5 doctype that "type" is optional in script tags. instead of sin... Read more

1 answer Latest by Tim Hettler 4 days ago

change of css source with javascript works only in google chrome

Hi. I want the users to be able to change design of the site by the click of a button. This code works perfect in chrome, but not in firefox or IE. rel... Read more

1 answer Latest by ganjan 7 days ago

Back to the top link that follow the article scrolling

Hi, I want to add a 'back-to-the-top' link that follow my article as I scroll down to read it... How can I do it? Any helpful link? Thanks a lot, Robert Read more

1 answer Best answer by Aric Evins

Are programmers irritating? In what ways?

What have you as a designer found most irritating about the programmers that implement your design? When you design a site in Photoshop, and hand the PSD off to a programmer, what expectations do y... Read more

4 answers Latest by pritaeas 7 days ago

Possible to use javascript to play YouTube and Flash movies on hover of separate image?

Im building a portfolio that contains some flash elements as well as youtube movies that we would like to display on our portfolio...the setup looks something like this... [sm image] [sm image... Read more

2 answers Latest by Erick Pfleiderer 12 days ago

How to prevent someone from changing javascript variables on my web page?

I making a kind of forum and in order to keep track of the session variables on server-side, I used ajax to store them in javascript variables on the client side. However, recently I discovered tha... Read more

5 answers Latest by John Turknett 15 days ago

Highlight Anchor links on smooth scroll?

Does anyone know of a jquery plug-in that highlights navigation upon clicking an anchor link (with smooth scroll would be perfect)? Here's two examples that do exactly what Im looking for: ... Read more

3 answers Best answer by Fudgey

How do I make an image fade in when rolling over an image map?

I'm kinda a noob at this... here's my source so far if it helps (I'm using jquery and a image map hilight plugin as well) HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transition... Read more

1 answer Latest by John Turknett 15 days ago

Mark 15

Why doesn't this JS work in IE?

(function($) { $.fn.cascade = function() { var filteredSelect = $(this); var filteredOpts = this.children('option'); var triggerSelect = $('[name... Read more

0ed50a3f-0fd2-4efb-bbb2-8f62cf2a02c1

2 answers Best answer by Mark