html

Anyone know what Javascript library is used here?

Hey guys! I was reading an article, and it had an image, and when I clicked on it it had a really interesting way to display the full size. I was wondering if anyone know which javascript library. Here is the link: http://www.rogueamoeba.com/utm/2009/11/13/airfoil-speakers-touch-1-0-1-finally-ships/ Click the image in the middle of th...

How to Use Sockets in JavaScript\HTML?

How to Use Sockets in JavaScript\HTML? May be using some cool HTML5 technics? Libs? Tutorials? Blog Articles? ...

What should I use for implementing list feature in GWT.

Hello, I want to implement list like "stackoverflow question list" (where each row has multiple items, text, tags, user, time etc) in GWT. What should be most appropriate approach? I tried using FlowPanel and inside that "HTML elements" so result will be DIVs inside DIV. But, then CSS is pain.. (unable to set right aligned multiple rows...

Validating all entries in Input Boxes.

I want a class in JavaScript through which I can validate all the Input Boxes on a form. I just want to supply the form name and it must validate the input boxes there in. Is there any class or something other through which I can achieve this? ...

How do I prevent HTML source formatting from affecting output?

It looks like extra line breaks in the HTML code may add unwanted spaces in the final output. I always thought that no matter how I layout my HTML code, it will not affect the way the rendered result looks like. But here is an example: <h2> <a href="#">Hello.</a>World </h2> Will display: "Hello.World" - all looking good as expect...

Creating a CSS-rule to work for both a one and two column layout

This is what I'm trying to do: (Larger image.) When the <nav> element is present in the design, I want it to look like the example below. Is it possible to do this while the #content div has got a percentage value set? I'm just curious to see whether this is possible without using two different styles for the #content (both with diffe...

Passing mouse clicks through an overlaying element <div>

Is it possible to pass mouse clicks through an overlaying element: - <div style="z-index: 100; background: url('../images/rain.24.png'); width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0;">&nbsp;</div> ...pass mouse clicks beneath it to underlaying elements (e.g. a web page with images, links, etc)? Thinking of another ...

Display image outside <div> where overflow:hidden?

I'm using Ganesh's very wonderful jCarouselLite jQuery plugin to display a scrolling series of thumbnail images at the top of a page. The container div necessarily has overflow:hidden to limit the number of thumbnails displayed at any one time. I would like to display a larger version of the thumbnail when the mouse hovers over it. I'm m...

Generate frame for picture

Hi all. I creating gallery, and I want to create frame around the picture. But this picture must be scalable. Width and height of this frame generated by width and height of image. And must to have possibility to change height of frame through the JavaScript. Thanks. PS: First of all, I must to have possibility to make frame narr...

how to read new-line from a textarea in a form with PHP?

How can I read the New-line so that when users fill in a text-area inside my form, and then hit submit, the text is displayed exactly the same way as they wrote it? I should mention I read in the variables from the form with POST method in my php file. Thanks ...

automatic line-break of textarea inside a form possible with PHP?

I know about the nl2br function... But is there a way to set a maximum length of a line? Im using php to get results from a form, which contains a textarea. I dont want words to get broken to newlines, like the word 'example' to become 'example' Thanks ...

little more help with text-area wrapping...

$ad_text=wordwrap(nl2br($_POST['annonsera_text']), 45, '<br />\n'); Any idea why the above does display in a long string? Form method='POST', and enctype='multipart/form-data' and textarea wrap='hard' I want the displayed text-area to look exactly the same as when the user entered the text in it... thanks... UPDATE: aaaaaaaaaaaaaaa...

Accents on numbers in HTML (like a ^ over 1)

I'm trying to find the best way to put circumflex accents ( = &circ;) on top of numbers (a musical notation) without resorting to images. Certain letters have equivalent HTML entities: = &ecirc;, = &Ocirc;, etc., but numbers don't. Here is what I'm currently using on my website: <span style="position:relative;">1 <span style="p...

some php help in making an 'approve form' page...

I have a main form with a lot of inputs. The forms action is set to a php file. After submitted the php-page shows up with all the inputs that the user typed into the form. The user has to re-check everything and hit an 'approve' button! The problem is, I don't know how to do this... I want to eventually put all data into a MySQL databa...

possible to create a form using php code like this?

Is this right, because nothing happens when I hit the submit button: <HTML> <BODY> <?php $ok_button="<input type='submit' OnClick='document.forms['myForm'].submit();' value='approve!';" echo $ok_button; $form="<form name='myForm' action='myPhp.php'><input type='hidden' name='firstname' value='<?php echo $firstname;?>'></form>;" ?> !!!A...

dreamweaver html page

Hi I created a HTML layout using dreamweaver. I used DIV tags to set the backgrounds for both the header and main body. The problem is that when I preview the page, the images are not shown. Any help please? Thanks Now its appearing in dreamweaver preview but when I try to import in Ruby in Steel (Ruby on Rails for the Visual Studio...

PHP html email, using html template

so i'm trying to do a do a html mail sytem and my html i want to be a template, stored in a separate file like : <div clas="headr"></div> <div class="content"></div> <div class="footer"></div> when i want to send the mail i want my mail content(from the input form) to go in that div.content and then to send the whole html(template...

How do I strip all the html out of database records, than create an xml file?

Hello! Im trying to figure out a way to strip out all html tags from records in a database, then create xml? Any ideas? Built on asp.net 2.0 with sql server ...

Which are case sensitive among php/javascript/html?

I'm new to these languages. ...

Hide the close "X" button in Fancybox

I am using this http://fancybox.net/ Is there a way to add a property to not show the close "X" button on top right? I mean I can use 'callbackOnShow' to hide it in a hide() but that is not fast enough. I want it NOT rendered out instead of rendered then hide. ...