web-development

JQuery: How do you change a graphic on a mouse hover event?

Using JQuery, how do I change a map icon whenever I mouse hover over a row in an HTML table/div? Here is an example: http://www.sfsunriseidx.com/homes/94131/?uuid=9ed7269b-5327-4c88-ba15-f700ed343d69&source=REDIR Notice when you mouse hover over a home listing on the left, the corresponding map icon on the right changes. Question...

detecting javascript disabled using prototype

Hi All, how can i detect whether javascript is disabled using prototype library. I dont want to <noscript> use tag but something that prototype offers. Thanks ...

Unable to resolve this Compilation Error in Flex builder 3

Hi All, I am new Web App development using Flex Builder 3 and currently I am facing the following problem: Attached is a code snippet from the mxml file: <mx:Script> <![CDATA[ import com.bx.Char10; import com.bx.A; [Bindable] private var inputParam:A = new A() inputParam.CustNumber.char10 ...

JQuery: Help with $("#div")

I just started using JQuery, as such, I'm cleaning up old code of mine to use JQuery throughout. Question: How would I convert the following code to use JQuery? // enable the other link document.getElementById("asc").setAttribute("href", "#"); document.getElementById("asc").onclick = function() {displayHomeListings("asc")}; document.ge...

Looking for examples or help on integrating RETS into a php website.

I'm tasked with integrating RETS I to a php based website. I've heard that phrets is a good library to use. The site is on a shared hosting platform (godaddy). I thought I could build a page with some search fields and have it do a query and display the results on a second page? Other places I've read name it sound more like I will stil...

Inbox-System Checkboxes To Select Messages

We currently are implementing an inbox system into our website and want a user to be able to checkmark multiple inbox messages and click a Delete link to mass-delete them. Each inbox message has it's own ID in the database. What we need help with is getting the checkbox system working. We don't know where to start with it; whether we h...

How do I test ActiveRecord references in Cucumber?

I am trying to create some cucumber features with references to other objects. I am running into some problems when I want to create relationships between objects and run tests on them. I haven't found any samples anywhere else. Let's say I have the following models: class Athlete < ActiveRecord::Base belongs_to :shoe_size validat...

ExtJS GridPanel Scrollbar does not appear in IE7 but it does in Firefox, etc

Setup I have an accordion layout containing a "properties" panel that nests two inner panels. The first inner panel holds a Ext.DataView, while the second panel is the Ext.grid.GridPanel in question. In the screenshot below, the white space containing the folder icon is the dataview, and below that is the gridpanel. Problem In Fir...

Making a java web application as the root of a domain name in Tomcat 6

I'm currently developing a Java web application myapp and when deployed in Tomcat 6 server, I access myapp with this URL: http://localhost:8080/myapp Instead I want to access my application using this URL: http://myapp:8080 since myapp will be the only application deployed in my Tomcat 6. How do I do it? ...

Looking for IE6 .PNG Transparency Fix for both img tag and background images...

Not sure if this exists as I have been googling all around and can't find anything great. Thought I would post this question prior to redesigning the page I am working on. Is there anyway to fix the transparency problems with .png's in IE6 for both image tags and background images? Please tell me there is a magical javascript that jus...

change dimensions of webpage

i have a webpage that looks like this: http://yoursdproperty.com/index2.php?option=com_jumi&amp;fileid=3&amp;Itemid=11 i want the page to be the same size as the dimensions of the little form on the page. is there something i can modify in this code of the page? <div id="mlcalc-w1"> <div id="mlcalc-w2"> <div id="mlcalc-w3"> <div id="...

How do i add custom fields to the the createUserWizard in the Visual Web Developer?

How do I add custom fields to the the createUserWizard in the Visual Web Developer? What's the easiest way to do this? ...

JavaScript string.format function does not work in IE.

Hello, I have a JavaScript from this source in a comment of a blog: frogsbrain It's a string formatter, and it works fine in Firefox, Google Chrome, Opera and Safari. Only problem is in IE, where the script does no replacement at all. The output in both test cases in IE is only 'hello', nothing more. Please help me to get this script ...

Pre-installed Linux for Web Developers?

Does anybody know an ISO image of a up-to-date Linux distribution aimed at web developers with one, some or all of the following features: LAMP stack readily set up (Readily installed Apache 2, virtual sites directory structure (hosting), PHP installed, mySQL installed) Ruby/RoR set up for a beginner to start with Subversion set up for...

are out there token_get_all variations?

Hello, I am wondering if there exists a token_get_all() method in Actionscript like PHP does have? Further thinking, I am wondering if there are different versions of such function in any languages used for web developing. Such as token_get_all_html(), token_get_all_cpp(), that will split the input of HTML/C++/Java/PHP into tokens. Th...

Html anchor tag

Hi All, I was just wondering whether do I need to wrap a tag (a href="#") in a <p> tag? I guess it can be wrapped in any block level element like div but not sure. Thanks ...

Keyboard Focus Breaking with Radio Button Group

It seems simple, but this has been a bit of a headscratcher for me. Given the following (valid xhtml transitional) code: <form action="weird.html"> <label for="test1">T1</label> <input type="radio" id="test1" name="test" value="1" /> <label for="test2">T2</label> <input type="radio" id="test...

JQuery: How do I get a DID ID?

I have the following HTML: <div class="house">...</div> But in my code I dynamically insert in DIV ID's to make the code then look like this: <div class="house" id="id_1">...</div> Question: How can I get the DIV ID by only knowing the CLASS using JQuery? I've tried something like the following but it doesn't work. $('.house').ge...

What is the reason for using the page's header as a link to itself?

I noticed many web sites use <h1><a href="/subdir/somepage/">bla bla</a></h1> in the page example.com/subdir/somepage/ Why do they do that? SEO? Compliance to some standard I don't know? Does it really help users in any way? EDIT: after many of the answers obviously misunderstood me. I'm not talking about a link to the homepage of t...

Django or RoR like common Java or ASP web-frameworks

Hello, I am a fan of big agile software development methodology and love to develop web pages using Django and RoR. However, it creates a big constrain as there are really very few Django or RoR developers to hire. For a new web project, we will be hiring developers and even though I would love to see these employees using such tools, ...