html

Get Mail with PHP and IMAP in Gmail just loading

I'm not sure why. Ive tried a bunch of different code. Wrote it myself, and copied other people's tutorials but every bit of code it's loading forever and eventually stops due to script processing times on the server. Does anyone know why? Oh, and IMAP is turned on, i get IMAP / Exchange on my iPhone from this same account fine. And IMAP...

Hide the iPhone status bar in a web application?

Is there a way to disable the status bar in iPhone web apps? I'm working on something that requires a fixed, fullscreen view, and the status bar is rather annoying. ...

How to check a flv or mp4 in a webpage when mouse over?

Use JS,I can check a flash object in a webpage when mouse over it, but how to check a flv or mp4 object when mouse over or out ? check flash:if(event.target.tagName == "EMBED"),but check flv or mp4 , which tagName I can use ? Thank you very much! ...

html multiple frames navigation

Folks, I want to create a webpage with three panes (frameLeft, frameMiddle, frameRight) The content on leftmost pane is a list from file list.html Upon clicking on an item in the leftmost pane, it loads the corresponding html file (call it listLvl2.html) in the middle pane. This is also a list. Clicking further on an item in the midd...

blank space on google home page

2 questions, i was doing nothing productive, and tried selecting the google home page (a left click drag and select whole page) on google.com i see that beside the search box, on the left side, there is an empty space &nbsp; i looked up the source code and there indeed was a <td width=25%>&nbsp;</td> stupid as it may sound, but i was s...

Complex Javascript objects to JSON Objects

Duplicate: http://stackoverflow.com/questions/2891476/converting-html-tag-object-to-json-object Hi, Is there is any Javascript API that converts complex Javascript Objects To JSON String??? ...

What is the role of name="..." attribute in input?

In this form code what is the role of name="" attribute? name="s" and name="submit". Is it necessary to add? <form action="/index.php" method="get"> <fieldset> <legend>Search</legend> <label for="s"><span>Search WaSP</span> <input value="" name="s" id="s"></label> <input type="submit" value="Go!" name="submit" > ...

what is the problem of the border in the content cannot combine with the footer.

May I know why my webpage have a blank like <br /> but after i add a &nbsp; the blank was lost. ...

how to increase the left div size within the right div in css.

I want to increase the left size along with the right div. But left div didn't behave as i want to be. What is the solution. I keep the code right here bellow: <div id="bn-container"> <div id="bn-leftside"> <jdoc:include type="modules" name="left" style="xhtml" /> </div> <div id="bn-rightside"> ...

Convert any object to pretty HTML in java

How can I convert a given object (in a generic way with reflection) to pretty printable HTML? What ready made library do you recommend that does this? I need support for simple nested objects (as long as they don't create loops in the object graph). I tried to convert it to JSON, but DefaultPrettyPrinter is not HTML friendly. ...

I'm trying to use CSS to position my Flex app but it's not working

I'm trying to position my Flex app so that its in the bottom 40% vertically, and the left 70% horizontally. This is how I define the flash section in CSS: #flashContent { display:none;position:absolute; top:60%;width:70%;height:40%;} Here is the HTML: <div id="flashContent"> <p> To view this page ensure th...

reload a form with the same parameter of the previous

Hi every one, I have really a problem that I don't know how to deal with it. I am using JSP and Servlet with the Eclipse IDE. First of all, the user fill an html table with the values that he has selected and written in the form. after that he will find his parameters displayed in the html table. the problem now is : the table contains...

How to find image width and height dynamically and specify height, width attibutes if over certain dimensions?

Hi, I display some data on my website and one of the data feed elements is an image. [title] => Product title [description] => some description [image] => www.some-domain.com/product-image/p12345.jpg I then display this image using <img alt="product" src="<?=$data['image']?>" /> Most of the images are 80x80, 120x100 or other less...

How do can I have a dropdown list(select HTML) where i want to have one of the options where i allow the user to enter a user specif entery?

Hi I want to have a drop down menu where a user can select from several predefined options but i also want to give him the option of inserting a user specific value, i was thinking having one of the options as "user specific" which will in turn allow the user to insert a user specif entry in a text box that appears or is editable when u...

Replacing the Element with specific attribute and its value

<p> lorem ipsum lorem ipsums <font style="background-color:yellow">ipsum</font> ipsume lorem </p> how to replace the <font> tag with <abbr> so the out put will be like this. <p> lorem ipsum lorem ipsums <abbr style="background-color:yellow">ipsum</abbr> ipsume lorem </p> ...

css height and width problem.

Hi, I have this HTML <div class="someClass"> <ul> <li><a href="index.html">1</a></li> <li><a href="index.html">2</a></li> <li><a href="index.html">3</a></li> <li><a href="index.html">4</a></li> <li><a href="index.html">5</a></li> </ul> </div> Problem: I want to make the <a>s to shape like a square...

jQuery Appending to Parent

Any ideas StackOverflow wizards... I have added window.parent.document to the code, this works without any errors, but the Close Div still seems to be constricted by the container. Sample can be found here (Click the LIGHTBOX link - bottom right - all styles have been removed): http://demo.squeezedigital.com/barrie-test/iframe-jquery-p...

Drop down selection not registered when form submitted quickly?!

Hello all, I have noticed a strange thing that happens on my web app when the server is under heavy loads (I am remoting on to the Windows Server). I have a drop down box which is generated dynamically (server side). When I make a selection and quickly press the submit button to indicate my selection the next page does not register my...

innerHTML bug IE8

This innerHTML code wasn't working reliably in IE8: (but was working in IE6 IE7 FF Opera Chrome Safari) (by not working reliably I mean I had placed this code within onmouseover handlers on various elements, sometimes it would change the text when mousing over a given element and sometimes it wouldn't - there was no pattern to this - whe...

sending parameters with ajax

I am trying to send parameters that I get from a table in my jsp to other JSP using ajax. I am using the followinf function to send all values to JSP: ajaxForm but I don't know why the send failed every time I run it: Here is the javascript function: function editarow() { var xhr = getXhr(); xhr.onreadystatechange = function()...