web-development

Checking array of censored words against user submitted content

Hello, I have set up an array of censored words and I want to check that a user submitted comment doesn't contain any of these words. What is the most efficient way of doing this? All I've come up with so far is splitting the string into an array of words and checking it against the array of censored words, but I've a feeling there's a n...

How to get class name using jquery

Hi, Suppose I have an element like this: <div id="dv" class="red green blue">Something Here !!</div> I used this: alert($('#dv').attr('class')); But it gives me all three at the same time, I need individually probably stored in an array. How do I get each of those class names using jquery? Should be simple, right? ...

Firefox doesn't show my CSS

Hi, I have a strange problem, Firefox 3.6.3 doesn't show the CSS of the page I'm doing, but Internet Explorer 8 does. I have tried at home and at one of my friend's home, and it happens in both. But, if I go to the Firefox Web Developer toolbar (i have it installed) and select CSS=>Edit CSS, then the styles appears appears in the page ...

java web templates across multiple WAR files

I have a multi WAR web application that was designed badly. There is a single WAR that is responsible for handling some authorization against a database and defines a standard web page using a jsp taglib. The main WAR basically checks the privileges of the user and than based on that, displays links to the context path of the other deplo...

Where to go from PHP?

I'm a seasoned PHP programmer and I really like the way it works and find it very fun to work with (performance could be improved and some functions renamed, but nothing too serious). However, I took a java seminar and now Im very interested in using GWT for upcomming projects, although I think the learning curve can be steep. Should I...

assets in dreamweaver

can I add to assets in dreamweaver tag <td> I added successfully <table>, but I just can't figure out how can I add <td>, thanks in advance for any help (I'm talking about adding to the library) and can someone recommend way to add to the library new asset using menu ...

VWD 2008 Express : where can i set absolute positioning as a default?

So when I used Visual Web Developer 2005 Express edition, in the ribbon there was a menu option for "Layout", which you could go through and select positioning and set absolute to default. I am using Visual Web Developer 2008 Express now, and I see that you can select format from the menu bar, and set position > absolute, for each indiv...

What framework is trac based on?

I just downloaded this tracking system and curious what framework this great system uses? ...

What language/framework (technology) to use for website (flash games portal)

----edit----- QUICK QUESTION: Does Grails take too much resources for high traffic website, and is it expensier to host? For example: if I can make a site that has millions of users/m easier in CakePHP does it worth to make it in Grails just to save some webserver resources- or will it need more servers? --------------- Hello, I kn...

Rails / Capistrano - How to set a staging server to show development logs in DB

In my development logs, i get information like SQL statements made, etc. However, when i deploy to a staging server, i do not get that in my development logs How do i configure capistrano/rails to get that? NOTE: I need it to be running in production env (database access, etc) ...

seeking j2ee books recommendation

Hi, I'm thinking of a serious training in j2ee and found there are too many books to choose from. Could you kindly share your insights as a practicing professional in this respect? For example, some people in other post recommend "SCWCD Exam Study Kit Second Edition Java Web Component Developer Certification Hanumant Deshmukh, Jignesh...

Is there ability to load page images partially when scroll down to it or is it just effect ?

I have noticed in some site such as http://mashable.com that when you open page and try to scroll it , it appear to load images when you reach it .. i don't know if it's a just flicker effect or it's really done to make less load of images till scrolling to it ? ...

Scale down whole website [into iFrame]

I was wondering if there is a (webbased) way to scale down a whole website and put it into an iframe. [including images etc], so that a user would get a fully functional preview of the website (only for websites without frame busting methods of course). ...

Where to Start with build a personal site and WordPress, CSS and CMS

Hey guys im in a very confused state of mind at the moment and need some help with Word Press and generally starting a website. My parents have had a business for 20 years and have finally decided to get a website! As im studying IT and Business i said id get it done for them. Rather than design it from scratch i used a template which ...

@font-face fonts only work on their own domain

I am trying to create a type of font repository for use on my websites, so that I can call to any font in the repository in my css without any other set-up. To do this I created a subdomain on which I placed folders for each font in the repository that contained the various file types for each font. I also placed a css file called font-f...

is Web Development moving too fast?

I find myself constantly learning new things in web development and there is always soo much to learn in general. Currently i work with PHP and have tried to keep up with Ruby on Rails(RoR) but it's moving so fast i'm not sure i can keep up with the latest changes. Does anyone else have trouble keeping up with so much innovation in web ...

What kind of security issues will I have if I provide my web app write access?

I would like to give my web application write access to a particular folder on my web server. My web app can create files on this folder and can write data to those files. However, the web app does not provide any interface to the users nor does it publicize the fact that it can create files or write to files. Am I susceptible to any sec...

How to check a flv or mp4 in a webpage when mouse over?

Use JS,I can check a flash object in a webpage when mouse over it, but how to check a flv or mp4 object when mouse over or out ? check flash:if(event.target.tagName == "EMBED"),but check flv or mp4 , which tagName I can use ? Thank you very much! ...

What is the coolest feature you’ve ever seen in an internet banking application?

Or, maybe you have the killer feature that you would add to internet banking application? On the other hand, what is the most annoying feature you have seen? How would you make an internet banking application stand from the rest? ...

Deal with undefined values in code or in the template?

I'm writing a web application (in Python, not that it matters). One of the features is that people can leave comments on things. I have a class for comments, basically like so: class Comment: user = ... # other stuff where user is an instance of another class, class User: name = ... # other stuff And of course in my...