web-development

Javascript - Getting html form values

How can I get the value of a form in html code to pass as a javascript argument? Is this correct? my script takes two arguments one from textbox, one from the dropdown box. <body> <form name="valform" action="" method="POST"> Credit Card Validation: <input type="text" id="cctextboxid" name="cctextbox"><br/> Card Type: <select name="ca...

What do you think of Microsoft's new RAD tool "Lightswitch"?

What do you think of Microsoft's new develeopment tool "Lightswitch"? Is it worth to take a look on it? I am not sure, who is the target group of this new RAD tool? It seems to me as a kind of Access or Foxpro for Silverlight!?!? Makes it sense to deal with it as a "normal" experienced developer? ...

How to show a particular font on client's computer

I have a website which needs a certain font to display its content properly. Now I want to install it in client's computer if it is not available there. What is the way to do this? Is there any way to make the font available in client's computer? ...

What to call part of a url

So I've got a base Uri of: https://graph.facebook.com/ Ok, you can append various sub paths such as this to their API: /me/friends /322323232 etc. So you'd end up with something like this for their API calls: https://graph.facebook.com/me/friends?access_token=2343sdfse43..... What would you call the /me/friends portion of this u...

How to go about a 'Flex Project Development', and how to do the right way ?? (Please Help a beginner)

Hello All, I'm gonna split this question into 'Situation' , 'Task' , 'Confusion' & 'Question' to make it easier to answer it. So, here it goes -- Situation : I'm an intern, who has to develop web service kind of thing at my company. It is important because here is where I start my journey and I am hungry to learn. Task : My assignment...

Apache: %25 in url (400 Bad Request)

I have a url containing the following: /somepath/morestuff/ohno%25foobar For some reason apache is reporting a 400 bad request (it has something to do with the %25). I am using mod_rewrite to rewrite the path to point to my codeigniter instance but it's not even getting to codeigniter, it's just the default apache error. Any ideas? ...

QA vs. Development positions

This isn't a coding question, but a career question that I am stumped on. Any advice is greatly appreciated. I graduated college this past spring and since then have worked in the QA department for a large e-commerce website for the past three months. My duties including running automation and manual tests, writing test scripts, writin...

accordion fix (jquery)

HTML <h2 class="sec-title">one</h2> <div class="sec-content">content 1</div> <h2 class="sec-title">two</h2> <div class="sec-content">content 2</div> jQuery: $('.sec-content').hide(); $('.sec-title:first').addClass('active').next().show(); $('.sec-title').click(function(){ if( $(this).next().is(':hidden') ) { $('.sec-title').remo...

Is it possible to have a popup div that 'breaks out' of an overflow:scroll or overflow:auto container?

I have a scrollable area that contains popup menus. Conceptually, something like this: <div style="overflow:auto; width:100px; height:100px"> ... content here that's big enough to trigger scrollbars... <div> <a href="javascript:$('#popup').show()">Click here</a> <div style="position:relative"> <div id="popup" ...

Maturity of Script# (in comparison to GWT)

Hello everybody! I already spent some time developing small projects with the GWT and I recently discovered Script#. Now I am curious about how mature this toolkit is. I am especially interested in the opinion of someone who tried both GWT and Sharp# and therefore is able to compare the two. How mature is Script#? Is it true that it is...

Tools for HTML 5

Everyone keeps saying flash is dead, silverlight is dead, and the future is HTML 5. Most technical people I've talked to seem feel that this is a generally accepted fact. Just a matter of when the spec will be finalized, and when each major browser will finally incorporate all the individual features. But it seems to me there's a big ele...

Mature Clojure web frameworks?

What are the current choices of mature Clojure web frameworks? I am looking for some kind of feature matrix telling me what the popular frameworks support and to what extent, including: Response templating (response written in Clojure or in some other markup - e.g. like JSP with Tiles) HTTP sessions REST with automatic mapping of URLs ...

Data binding boundfields in web form

I have the following DetailsView, with several BoundFields, and SQlDataSource that populates the fields: <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataKeyNames="TICKET_ID" DataSourceID="SqlDataSource1" HeaderText="Completed IT ticket information" CellPadding="4" ForeColor="#333333" GridLi...

PHP: Help with creating algorithim for File system structure for auto-incrememted images

I have nearly 1 million photos auto-incrememted starting at "1". So, I have the following: 1.jpg 2.jpg 3.jpg 4.jpg 5.jpg .... 1000000.jpg Currently, I have all of these files in a single Ext4 linux directory. As you can imagine, the filesystem is crazy slow. Using PHP, how can I create an algorithm that divides up my images into a ...

Embedding wordpress into a php page

Hey Guys, I'm looking for a tutorial on how to embed Wordpress into a webpage e.g a php page. I found one such tutorial about a year ago. I remember it split the pages into parts making the main require the rest, one of the requires was the blog posts on the wordpress. I'm looking for this tutorial or something similar. Basically I just...

adding Syntax highlighting to webpages (HTML/php)

Hey guys, I'm using http://softwaremaniacs.org/soft/highlight/en/ to Syntax highlight HTML. I've got a php loop pulling code from a wordpress. I'm using the pre / code tags in my code and the following loop to pull the code from wordpress. <?php while (have_posts()) : the_post(); ?> <p><i><?php the_date(); echo "<br />"; ?> </p></i> <...

good approach in tracking data for unregistered users

This is how the system works: I have a catalog of items. An guest user can choose to add an item from the catalog to what we call the inquiry bin. The system keeps track of the items added to the inquiry bin for that particular session. The user can delete items from the bin. I was wondering what may be the most optimal way of storing ...

How thick is the line between designing and developing?

Currently a first-year student in .Net and Java development... question regarding the process of creating an application for a company or client and the need to differentiate between design and developing. When developing an application, be it for the PC, web, phone, etc. is the developer expected to have a sense of design and be interac...

Examples of Websites built using Spring, Play Framework, Struts

Hi, I am a beginner in Java and going to build a webapp that allows developers to work online on their projects. Something of the sort of bitbucket or github. I have developed sites using PHP and moving away from it. I was suggested that I should go with Spring Framework as it has a good learning curve and that it will probably look go...

Lightswitch Evaluation

Has somebody already evaluated the new MS Silverlight RAD tool "Lightswitch"? Is it also suitable for developing complex applications? Can I use it without Silverlight knowledge? Is it so flexible, that I can also extend "Lightswitch appications" with own code (C#,XAML)? ...