html

Javascript Div rollovers

I am using Jquery - is there a simple way to change the background color on a div when a user rolls over it? ...

Check users resolution in css?

is it possible to behave according to the user's resolution? ...

new separator for textarea in html

I'm trying to give the user ability to create customized list for my application,by insert his choices in text area field ,each line is treated as one choice using the \n (enter) as separator , i need to allow user to enter one choice in multiple lines,any one can help? <textarea></textarea> user enter : aa bb cc with enter in textare...

How to preselect drop down choices and checkbox options in a form (PHP/MySQL)?

I am creating an update form where previously submitted information from a mysql database is grabbed to populate the current form. So this is what I have so far: $select = mysql_query("SELECT * FROM some_table WHERE id = $id"); while ($return = mysql_fetch_assoc($select)) { $name = $return['name']; $bio = $return['bio']; $ma...

IFrame scrollbar issue in IE7

I am working with an IFrame and I can't seem to figure out a way to disable only the horizontal scrollbar in IE7. I need the vertical scrollbar but I want to completely disable the horizonal bar. Check out the IFrame setup here: Iframe Example I have disabled horizonal scrolling in the other browsers using: overflow-x: hidden; overf...

Handshaking in HTML 5

Hi, In Websockets, which is an exciting new concept of HTML 5, there is a specific feature - Handshaking between the WebSockets server and Client. Can anyone explain what this is used for?? Thank You!! ...

2 columns with DIV .... max size for the second

Hello, I have this code : <div id="containerDiv" style="background-color:Lime;"> <div style="float:left;width:150px; background-color:Red;"> AAAA </div> <div style="float:left;background-color:Fuchsia;margin-left:10px;"> BBBB </div> <br style="clear:both;" /> </div> The first column has fix size, I...

Display welcome message to first-time visitors

Looking for a simple way to show a welcome message to first time visitors on my website. What's the best approach? ...

JQuery Selector copy text from div and place in span

Hello, I need some JQuery selector help... My HTML is <div id="Manager"><span>LastName, FirstName (UK)</span></div> <span id=ctl00_PlaceHolderMain_g_4118aa1d_2690_4da8_b2b2_dc1943e73968_LineManager/> I need to select the text from the div Manager and copy that into the span which contains the text LineManager. I have the selecto...

How should coder write HTML for a designer without understanding CSS and design?

I've recently started materializing my biggest website project idea. Not sure if this relevant, but I'm using ASP.NET MVC 2 and Microsoft stack. I appreciate design and aesthetics, and know they play a critical role in the success of this project. I think I have an eye for basic usability things, but from design and visual perspective, ...

Get element by title jQuery

Hi, I have searched but cannot find the jQuery selector that gets an element by a title. So I would be trying to get a handle on the dropdown with title =='cars' Eg: <select title='cars'> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi...

how to repeat a small background image througout the page?

I want to set page background image my css code is- background:url(images/body_bg.jpg) repeat-x top; but the image size is not as large as web page thats a thin strip only and gradient color too.so how can i repeat the image so that it will occupy whole background?As I said it is gradient so I can't hardcore the background color. ...

Cleaning up microsoft produced html for hash including in a 'clean' webpage

I have an intranet page that uses #include to include other files such as rotas or phone number tables. These included files are maintained in microsoft excel. Not all of them are maintained by me (the guy in charge of the intranet itself) so there isn't really the option to refuse to accept excel produced html files. The problem I ha...

How many font families are avalible for Google Font API?

I think the service is great but are these few the only fonts that are available: http://code.google.com/webfonts ? Or are there others and if so where can I see them? ...

how to set height of list items in html?

here my code-html <div class="menu"> <ul> <li class="active"><a href="index.html">HOME</a></li> <li class="active"><a href="#">COMPANY</a></li> <li class="active"><a href="#">SOLUTIONS</a></li> <li class="active"><a href="#">SERVICES</a></li> <li class="active"><a href="#">NEWS & EVENTS</a></li> <...

Clicking through a transparent .png

First off, I would like to say that myspace is a pain. But, musicians love it, and I can make some money doing layouts for them. I overlayed a layer of .png's over myspace's original look, but need to utilize the myspace music player. So, I made a picture frame that surrounds the myspace player that has a transparent center so you can se...

get all the ips that are viewing my web page

Hello there ! What's the best way of getting all ip's that are curently viewing my web page and show them like a list (on another page) and update when a client is leaving or entering on my page ? And this using html ,php, javascrip , mysql , and stuff like this. ...

How can I adding/delete a table row using JavaScript?

I'm looking for a simple, effective technique for adding or deleting a row in a html table using JavaScript. (Without using jQuery) ...

html font/vector graphics question

what's the best way to present a vector/font in html? ...

Returning HTML (with PHP) after jQuery Ajax function.

I'm trying to use Ajax together with jQuery to make a little window pop up when you click on a username in my custom forums. My current code for the script: $(document).ready(function(){ $('#profile_link').click(function(){ $.ajax({ type : 'POST', url : 'viewuser.php', dataType : 'html', contentType : 'text/html...