web-development

Applying style to asp:menu

i set asp:menu orientation="Horizontal" , I kept my menu bottom of my page. when i click on parent menu corresponding menu items should be displayed from bottom to top. Example: Child1 : (sub menu of parent) child2 : (sub menu of parent) child3 : (sub menu of parent) Parent currently i m getting as follows Parent Child1 : (s...

Silverlight - Support For Dynamic Code?

I'm trying to understand a little about the relationship of server-side code to client side code in Silverlight. I would anticipate that you can't simply 'eval' a string and have new code, but could you load an assembly on the server side and include it with the Silverlight code that is sent down to the client? I'm a complete 'noob' wh...

Detecting a 64-bit jre in a 32-bit browser?

Is there any way to detect a 64-bit java install in a 32-bit environment? The Java Deployment Toolkit detects nothing, but I was wondering if there was some secret browser way of detecting the 64-bit install client-side. ...

How can I ensure a DIV stretches to fit its contents?

I have this HTML with a table: <div class="currentDesignDiv" style="margin-bottom:5px;"> <div> <img alt="Thumbnail" src="http://www.propertyware.com/templates/ <bean:write name="currentTemplate" property="primaryKey"/> /thumb.gif"/> </div> <div> <table> <tr> <th>Your Current Desi...

JQuery Add click event to radio input text

Hey ya'll I would like the label associated with a radio button 'hot'. I started to implement this using the .siblings() method. I think there must be a better way. The click event on the radio button looks like this: $(".RadioButton").click(function(event) { var questionId = $(this).find('input').attr('name'); var res...

Open Source Grammar Checker

For an online project I'm working on, I am looking for a open source grammar checker. I have searched Google, with some good results (http://www.link.cs.cmu.edu/link/, etc), but I am wondering what all of you think about this topic. I need this to be able to be used online, versus desktop based, but this is the only real specification ...

How can I get a reference to a node directly after it is appended?

I have a situation where I'm appending a node inside an element and would like a reference to it right away. At the moment I do something along these lines: var children = $("#elem").append("<p>hello</p>").children(); var current = children[children.length -1] Can this be done more cleanly with jQuery? I know, I can write a helper...

How to Actively Engage with the Web Development Community?

Any blogs to follow? Any news group to join? Any actions to take? ...

Reliably getting a web client IP

What is the most reliable way of obtaining the IP address of a remote client connecting to your website? Some options I've looked into are: Server variables (such as REMOTE_ADDR in Apache), though this is usually the proxy address. A Java applet, but IE (at least the one I'm using) seems to deny it. The only other thing I'm thinking ...

Using Lua for web development?

What issues or gotchas will I run into if I develop web applications in Lua; is there anything I should be aware of before starting? Any experience with developing Lua web applications? ...

classloading in JBOSS

Hi If we have a A.jar that contains B.class and this file is located in JBOSS/server/default/lib and WEB-INF/lib of an EAR file. We have java2ParentDelegation is turned off. if we want to load the B.class which one will be loaded? what if java2ParentDelegation is turned on? ...

SEO and queries

Hi, Just wondering, if you have a website, in which one you can make queries to get a SERP (say http://stackoverflow.com/search?q=golf), how will be possible say to a Search engine (say google) that should look for a keyword into your own search engine. Example: Somebody looks for "code golfs" in google, as "code" is one of the Keyw...

Page Expiration in Java(Wicket)

I'm writing a wicket project for a social network.In my project i have authentication so when a user enter address of the home page he is redirected to login page in this way: public class MyApplication extends WebApplication { private Folder uploadFolder = null; @Override public Class getHomePage() { return UserHo...

What's the best way to implement user's preferences in this PHP app?

I have a smaller web app that republishes content from one social source to another. Users have, let's say 5 options for how to filter that content. Their prefs are stored in my user DB as 1 or 0 markers. When I do my major "publish" action hourly, what's the best way to break up my code to implement these preferences? To make it more c...

Making sure the page is reloaded on going back

at least in chrome, when i hit the back button, it doesn't actually reload the page, it just uses a stored copy i guess. How can i ensure that when someone does this, the page is reloaded? ...

is Ruby here to stay?

Ruby on Rails has made a rapid rise as decent language for webdevelopment. How does it compare to other languages in that area (PHP, Perl, Java, VB.NET, ...) from a webdevelopment perspective? Will the number of sites programmed with Ruby keep rising or has its popularity brought up issues that may keep it from becoming a keeper (eg spee...

XHTML template programming

Hi Everyone, Its been a while since I've done any hard core web design, so I have a question for you. I'm pretty sure that there is a feature of xhtml that allows you to create a template and include that template in your other xhtml pages. What I'm trying to do is create a "main links" template that allows any page to reference the mai...

Prevent MS Web Development Server (Cassini) from running HttpModules for static content requests

IIS7 supports this by using <system.webServer> configuration element to set module's preCondition="managedHandler" attribute. Since Cassini is a managed server it serves requests in a similar way as IIS7 does. All requests are handled by managed code. By similar I mean it executes HttpModules for every single request even if it's static...

Holy Grail IE8 Problem with Table (style="width: 1000%")

I am using a home page based upon the Three-Column Holy Grail layout by Matthew James Taylor. The layout works just fine in all browers except, surprise, IE8. My center column, where the my main data lives contains a table tag like: <table style="width: 100%">... The result is not what was expected. I am using the version where the...

How can I hide the jqgrid completely when no data returned?

I'm having a heck of a time trying to only display my jqGrid when records are returned from my webservice. I don't want it to be collapsed to where you only see the caption bar either, but if that's the best I can do, I suppose that I could put a meaningful message into the caption. Still, I'd much rather just hide the grid and show a ...