html

Text Change in a textbox

I have a text box that the contents change on page reload, but what I was wondering is how to make it change after a specified amount of time. Is this possible without flash? ...

Scriptaculous problem in IE

Hi there. We've got this very annoying problem with Scriptaculous and Internet Explorer 7/8. We have two Effect.toggles on the same page, but only one of them is ever working (the first one). I hope it's some simple mistake in my implementation, but I can't seem to find any decent documentation. Hopefully somebody here can help. The HTM...

Allowing users/administrators to update content management themselves

Is there an option besides Drupal or Wordpress to use to allow the user or administrators of a site to update and manage content on the site themselves? Is it possible to use Drupal or Wordpress for a particular section of the site that I want to allow the above mentioned but not the rest of the site. Basically I am just looking into o...

Disable image over button

I have a transparent PNG that partially overlaps a button. The buttons becomes inactive where the image overlaps. Is there a way to turn the transparency "off" so the button is clickable behind it? Or are there any other tricks that might fix this problem? ...

Eliminate the yellow highlight that Chrome do in the textfiels on html forms

Hello guys, i have a web form that when i see from Chrome it makes a yellow highlight on the text fields and i dont like it. I eliminate the border highlight with outline: none; but when i go back to my form and Chrome autocomplete the fields it makes the fields background yellow, and that is not good for my theme. This is an example of ...

Is using a select list for navigation SEO Friendly?

I really don't like the use of select/option elements for links, but they've found their way into the designers portfolio as an option and try as I might to dissuade them from using them, I know I'm going to lose the battle without the power Google and "it's bad for SEO". I searched all over the net, and can find nothing specific to sup...

Grails HTML Code -- Further Reading?

So I've done some reading on grails, mainly on object and the relationships, etc, so I get how to create domain classes and controllers and how they work and everything, but the connection I haven't made yet is how you can take that and design a working HTML interface and useable website with that. Can anyone suggest some further reading...

How to use HTML with Function (mail) for send info Coordinated ?

How to use HTML with Function "mail" for send info Coordinated ? ...

Getting value from table cell in javascript...not jquery

I can't believe how long this has taken me but I can't seem to figure out how to extract a cell value from an HTML table as I iterate through the table with javascript. I am using the following to iterate: var refTab=document.getElementById("ddReferences") var ttl; // Loop through all rows and columns of the table and popup aler...

passing element in XMLHttpRequest to one function but second one also knows, why ?

I am working on the jsp/servlet/ajax application. I use XMLHttpRequest to pass values from the jsp page to servlet, which retrieve data from the database and returns xml to the jsp. The code works but there is one thing I do not understand. Here is an JSP part <body> <label>Longitude</label><input type="text" id ="lat" value=...

Is it possible to convert a Wordpress theme to a flat HTML or Django template?

Hoping to port a Wordpress theme to Django. The theme is the "Thesis" theme, and it keeps everything in a very convoluted way, at least it seems convoluted if you want to just have a look at the full page. The only way I can see doing it is groking through a rendered page by looking at the source HTML, but its not pretty. ...

jQuery event when hash tag (or any character) is typed!

I have a textarea field on my website and I'd like to use jQuery to trigger an event when a user types the hash tag. Similar to the trend of websites like Facebook and Twitter who allow you to query a database for friends as you type after you type a hash tag or use the '@' symbol. Would anyone be able to provide a plugin or example of...

Semantically-Accurate HTML5 Element for a Modal Dialog

I was wondering what some of my fellow web developers/designers felt would be the best HTML 5 element to use for a modal dialog like a lightbox, superbox, thickbox, or whatever your favorite flavor might happen to be. Since these types of UI's don't follow the typical flow of a 'normal' web page (which, apparently, according to HTML 5 s...

Regex group capturing problem

If I had an html string containing this somewhere in the middle of it: <img src="http://images.domain.com/Images/hello.jpg" alt="Failed to Load" /> What regex would I use in order to just obtain the name of the image file? i.e. hello.jpg Currently I am using this: (?<front>.*<img.*src="http://images.domain.com/Images/)(?&lt;imgN...

Data transfer from JavaScript to PHP.

How can i get the browser's height and width to php? Like a data transfer from javascript to php? With using innerHeight and InnerWidth, i think. (I just need to show user small picture if he has small screensize and big if big and without a data about screensize i cant do it) I have like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...

Passing multiple values with hidden input fields

With a select tag, it is possible to post multiple values using only html by selecting more than one option. ie <select multiple="" ><option value="1"/><option value="2"/><option value="3"/> </select> Is it possible to pass more than one value as one would achieve with the previous example using one or more <input type="hidden"> field...

Center floated div items

I have: #content { width: 100%;text-align:center; } .item { float:left;} And then ... <div id="content"> <div class="item"><img /><br />wordsn</div> <div class="item"><img /><br />stuff</div> <div class="item"><img /><br />asdasdasdn</div> <div class="item"><img /><br />Dhdfrhwon</div> <div class="item"><img /><...

Div with overflow: hidden doesn't clear padding of floating unordered list

I was trying to get my div that contains floating elements, to enlarge to encompass them, but it doesn't seem to pay attention to the padding of the elements, effectively chopping them off. How can I get the div to be the correct height for my list items? html: <html> <head> <link type="text/css" rel="stylesheet" href="/styleshe...

How do I convert various user-inputted line break characters to <br> using Perl?

I have a <textarea> for user input, and, as they are invited to do, users liberally add line breaks in the browser and I save this data directly to the database. Upon displaying this data back on a webpage, I need to convert the line breaks to <br> tags in a reliable way that takes into consideration to \n's the \r\n's and any other com...

jQuery popup help

I'm using this script as a popup on my website for a login. But what im having trouble with is that it makes me put the HTML code of the popup in my index or page whichever will display the popup. Is there a way to make it so that i can call the popup code externally like whatever is in the popup? This is the popup code im using! htt...