html

Should i not do write actions via GET?

I was told to never do write operations with GET request. and that search engines and other bots would follow and activate them. Assuming all write operations require a login would there be a problem having get request as a link? ...

Position a button over another using CSS

I need some advanced CSS help here. I have a login button and a register button, I only want one to show up at a time. If the user is not logged in, the register button should appear on top of the login button. We have a complex & crazy backend which will generate the code for the register button if the server thinks the user is not logg...

Adding html text to Word using Interop

I'm trying to add some HTML formatted text to Word using Office Interop. My code looks like this: Clipboard.SetText(notes, TextDataFormat.Html); pgCriteria.Range.Paste(); but it's throwing a Command Failed exception. Any idea? Thank you ...

Increasing the spacing between table rows

Hello, The code below works all fine and dandy. However, I would like to put a space of maybe 16 pixels / one row height between each row pair shown below. How can I do this? I think this might be a CSS issue. while ($row = mysql_fetch_array($result)) { echo '<tr>'; echo '<td class="sitename1"><a href="http://www.'.$row["ur...

Java Servlet: getting info from a DB and showing it on the screen

Hi, I've developed an application using Tomcat, Mysql and Servlets. One of the options the user can choose is to see on the web browser the information of one of the tables of a database. When the user chooses this option a servlet is used. This servlet opens a connection to the data base and iterates over the rows, showing the informat...

'Enter key' wont submit form in Firefox, but will in Chrome, why?

I have a form, very basic, and when I hit enter key nothing happens in firefox, but in google chrome it submits. Haven't tried other browsers yet... Nothing happens at all when hitting enter in firefox. When clicking the submit button it works fine in both browsers. The form is inside a DIV, and the form has javascript too, here is th...

Updating previous status as dead when new update is inserted.

I have a simple insert query on my social network that allows the user to enter text in a text area and have it output on their profile page. They have the option to delete and it marks the status as dead,as intended, and erases the update. The problem is, if they just type in a new one, without deleting what is already there (which I wa...

add html content to hidden form field

Hi all Is it possible to pass a chunk of html content to a hidden field and how would I do this? Thanks Jonathan ...

How to create a table with the same dimensions as a previous one

I would want to create a table with the same widths (table and its cells) then a previous one created dynamically 1st __________________ |_____|___|_______| |_____|___|_______| |_____|___|_______| 2nd __________________ |_____|___|_______| |_____|___|_______| What do I need to do to set the second one with the desired widths. (Tab...

Objective-C: How to replace HTML entities?

Hi, I'm getting text from Internet and it contains html entities (i.e. &oacute; = ó). I want to show this text into a custom iPhone cell. I've tried to use a UIWebView into my custom cell but I prefer to use a multiline UILabel. The problem is I can't find any way of replacing these HTML entities. ...

How can I reorder a select list on the fly?

In my application, I have an HTML select box from which I remove and add items based on various user actions (the items become available/unavailable). However, I would also like all items to be displayed in preferred order, so every time I return an item to the select list, I need to re-sort in preferred order and select the preferred op...

Enlarging two objects at the same time in one animation action ising jQuery

Please look at the following test page : sample page showing two images. You see small images which get a bit enlarged when you move over the image. I have used jQuery to do this, but ran into the following problem. The only way I got the wanted effect was to enlarge the white <div> and making the image a percentage of the encapsulati...

Draggable and hide

For a project I need a box, which often can find in Desktop application Editors. The box has three areas. One Content area, a tilebar and a sidebar. If a person drag the tilebar, the sidebar grow up. The sidebar need a minimal widht. By a cklick on the tilebar the sidebar dissapear. The contentarea use allways 100% of the available width...

Web page "Paper Notes effect"

I like the page parts which look like paper notes in this page, with the raised shadowed edges or corners. (What is this effect called?) Is there a library of these similar paper notes effects I can download and use on my own sites? ...

How to stop Quicktime movie in web page from auto loading?

I have two quicktime movie files embedded in one web page. I have set autoplay="false" to prevent them both from playing at the same time, but they still load at the same time. Can I prevent them from loading until the user clicks the play button? autohref="false" is supposed to do this but it does not seem to work. Apple's documentati...

DIV's behaving differently in IE vs Firefox

If you run the simple HTML page found at: http://ss.bigwavesoftware.net/2.htm in IE8 and FireFox 3.5.8, the DIV's display differently. In IE they behave as block elements and FireFox they behave as inline elements. I need them to behave as inline in both browsers. Can someone suggest a workaround to make them display inline in IE8 a...

WAP browser keypad navigation

In some mobile browsers, pressing a number on the keypad, launches a link that is on the page in a WAP "navigation bar". 0 | Home 1 | Contact Us 2 | Products When I would tap 2, it would click the products link for me. How do I setup my html to do that? ...

Display a warning when leaving the site, not just the page

This sounded like something almost impossible to do when it was presented to me. I know you can display a dialog box to confirm when leaving a web page. But is it possible to display a dialog box when leaving a site? I haven't been able to find/create anything that can read the address bar and know that you're leaving the site. ...

Why does this website freeze in IE 7 but not in any other browser?

I built a Parts Catalog for a company recently. It works perfectly in Firefox, Chrome, Safari, etc. However, in IE 7, every single page works except for the actual parts page itself: http://www.swstruckbodiesandtrailers.com/index.php?pageId=69 It actually locks the entire browser up, and after reviewing the source, I have no idea why. ...

Using an IFRAME for a simple advertisment. Is it bad for SEO?

If you look here you will see an ad that is intended to be embedded in another site as an advertisement. Here is an example of where it is embedded. The code responsible for displaying the ad in the web site is this: <iframe src="http://ads.lockedonmedia.com/zones/204" frameBorder="0" scrolling="no" style="width: 160px; height: 600px;"...