web-development

How to start up with jQuery in ASP.Net MVC?

I know C# really well, just started playing with ASP.Net MVC a few weeks ago, and almost zero javascript. I saw some people here recomending jQuery, so I'll try that out. What resources/tutorial should I start with? ...

How to render an action link with an image?

I know to use Html.ActionLink() to render textual <a href..."> links to actions. How do I render a link to an action that has an underlying image as the link? <a href="foo"><img src="asdfasdf"/></a> ...

Ruby on Rails keybard shortcuts

Possible Duplicate: Ruby on Rails keybard shortcuts Hi all - does anyone know how to set-up keyboard shortcuts using Ruby on Rails on my website? For example if a user want to interact with the site using keyboard shortcuts instead of clicking buttons/links how would I do this? Any help is greatly appreciated. Max. ...

Cross browser text-shadow

I'm looking for a way to get text-shadow that looks like css3 text-shadow, but that works with IE, Firefox, Opera, Safari , etc... The solutions I found either looked messed up or did not look consistent in IE. Thanks http://www.workingwith.me.uk/articles/css/cross-browser-drop-shadows .shadow { height: 1em; filter: Shadow(Color...

Coda Slider Problem - Works in Firefox, Not Chrome/Safari...

I am building a page that is employing several different javascript elements and I seem to have run into a problem I haven't before (not surprising as I am new to javascript). I have implemented the tutorial for the JQuery Coda Slider located here: http://jqueryfordesigners.com/coda-slider-effect/. It seems that the sliding effect wor...

How to get Group node in Alfresco 3.1's Java-Backed Webscript

With Javascript Webscript, I can get a group node with the following code: var group = People.getGroup(groupname); What would be the Java-backed equivalent of this code? So far I can only get a set of all group names, but I would like to be able to iterate through the set and get the actual group node. //Gets all groups, but only as...

how to avoid a new line with p tag?

How can I stay on the same line while working with <p> tag ? Thank ...

Cross-browser 'cursor:pointer' at StackOverflow

I found these CSS attributes, that make the cursor look like a hand: IE - style="cursor: hand;" NS6/ IE6 - style="cursor: pointer;" Cross Browser - style="cursor: pointer; cursor: hand;" However I notice that StackOverflow is using "cursor: pointer" in its CSS. However, this apparently work also on IE. So ... what gives? What is the...

Is it possible to declare argument types in javascript?

I am crippled without auto-completion, and when I declare a function that takes 'objects' as arguments instead of the actual types, of course auto-completion cannot work. Is there some way to do this? I suspect the answer is 'no' - in which case, how do you manage without auto-completion? ...

Multilingual web application problem

Hi all, I am working on Spring web application and my application is multilingual. I have created the ResourceBundle property files as messages.properties and messages_ar.properties. In my start page, I have set by default the locale to English. through: <fmt:setLocale value="en" scope="session"/> On the same page, I have provided u...

How to locate Jquery issues affecting internet explorer

Hi, I've just started trying to learn javascript and jQuery so excuse my simpleness, please!... I've created a webpage which works perfectly well in most browsers apart from Internet Explorer... The page loads and displays perfectly well, but seems a little unresponsive compared to Firefox, for example. The page is rather large as ...

PHP: How can I turn a mysql TEXT or BLOB type into a string?

I have a frustrating experience in PHP because I keep getting my MEDIUMTEXT field returned as a non-string string. When I check the variable's type it says it's a string, but it's actually an array, basically a character array so I do: while ($row = mysql_fetch_assoc($records)) { print_r($row["myText"]); } Which instead of printing ...

What's the difference between Django, Ruby on Rails, Google App Engine, etc.?

I have a newbie question about developing interactive, dynamic web sites. Can someone explain concisely the differences between: Django Ruby on Rails Google App Engine CGI scripts/apps whatever else is or seems similar (PHP?, Java Servlets?, TurboGears?, etc.) When would I prefer, say, the Google App Engine over Django, etc.? If I wa...

Only show form if there is PHP

I'm new to PHP. Iv created a small php script. Basically I have a form and inside of it I have a function called show_sent: <form method="post" action="contact.php" class="formstyle"> <h2>Formulaire de contact : </h2> <p>&nbsp;</p> <? function show_sent(){ ?> <p>Sent</p> <? } // ...

Web page load before showing.

Normally a webpage load images is like scrolling down. I don't want the visitor's of my site to see it. I am looking for a script that will load my webpage and then it will show completely. I have already putted a fadeIn effect but the images loading is scrolling and also my background image. Questions: Is there a script for that? What i...

Determine an value present in database sql php

I've created a dynamic table that will pull information from a database. However, there is 1 field that may have NOTHING in it, or it may have a bunch of information (from multiple check boxes) in it. I am trying to condense the initial table view (the details will show full db field information). What I have right now is this: if...

Filtering access to admin

I have a side menu that I want to to have the Admin option ONLY display IF the username is an admin. Simply if they are an admin, it's there, if they are not it shows another link to their profile. Again, KISS (Keep It Super Simple)...please I am an noob. Thanks ...

Page centering messes up

I'm making a website and it is here: http://animactions.ca/Animactions/accueil.php My problem is when I go from accueil to contact, I notice the page shifts a bit. I cant figure out why though, the body is supposed to be a fixed width.Thanks *Bear in mind my resolution is 1680x1050, it doesn't do this on 1280x800 ...

PHP: how do you specify that you do not want a string evaluated?

I have some php code in a database like so $x = "<?php some code here ?>"; but I want to output that whole line to the browser without php evaluating it. Right now it is evaluating it unfortunately. I thought about escaping it but that didn't work. How might a person accomplish this? Thanks EDIT: <?php echo '<? hey ?>'; echo "<do...

What is considered a fast or slow load w/ respect to a web page...

I just built a web page that is employing several different javascript elements. I am just curious as to what is considered a fast vs. a slow load time. Mine is coming out to be about 490ms w/ four different javascript pieces. Is that good, bad or average? Wondering if I need to optimize my js elements or not. ...