html

TinyMCE: Looking for line count solution.

I am looking for a plugin or code with a functionality like the "line count" or "line number" in common editors. The line number usually is shown on the left border of the editors content. Anyone got an idea how to do it with TinyMCE? Example: line number | content line number one number two 3. one line skipped (three is empty) 5. co...

Developing pages to take care browser compatibility

What are the things to take care, when developing asp.net pages to support browser compatibility? What I mean is, layout is not properly shown in all browser as required, but working well in some browser. I think this is the major issue to every one to achieve browser compatibility. ...

How to display tree on web site?

I'm looking for jQuery plugin or something that helps to display: 1 / \ 2 3 / \ 4 5 / \ 6 7 / \ 8 9 Any tips? P.s. W/o silverlight/flash magic. No problems with CSS3/Html5. ...

How to proprely remove a flash object from a HTML page.

Hi guys. I made a website using AJAX (with jquery) for the navigation. The pages of the site are sliding and I use remove() to destroy the old page. Every thing seems alright, but some times the browser crashes when he tries to remove the old page containing a Flash object. I suppose this is because Flash is still executing the Flash ...

Count number of empty input boxes in table row

How do you calculate the number of input boxes with no value in a table row using jquery? example: <table id="table1"> <tr class="data" id="row5"> <td><input type="text" value="20%" /></td> <td><input type="text" value="10%" /></td> <td><input type="text" value="" /></td> <td><input type="text" /></td> </tr> <table> I'm looking for a...

Div element in ASP.NET

can i take div element within the td element of the table. bcoz when i taking, it's not showing in the design mode of asp.net VWD? syntax is <td width="33%" id="tdselected" runat="server"> <div id="divSelectedList" runat="server" class="divListStyle"> </div> <asp:ListBox ID="lstSelected" S...

Combine CSS Attribute Selectors

Hi, is there a way to combine CSS2 Attribute Selectors like tr[id^="foo" AND id$="bar"], so it selects all <tr id="foo_something_bar"> but not <tr id="foo_something"> or <tr id="something_bar"> ...

how to download and configure phpimage for TinyMCE

Actually I am looking for the best HTML editor for my CMS. With support for PHP and jQuery. I found TinyMCE but it doesn't have image upload functionality. Then I found phpimage, but every time I go to http://sourceforge.net/tracker/?func=detail&amp;aid=2844769&amp;group_id=103281&amp;atid=738747 and click on "files", I get the normal T...

onMouseOver, hyperlink and rel...help me :(

Hi, Currently, I have a carrousel on javascript which works when we click on hyperlink, like this : <div id="direction1"> <p> <a href="javascript:" class="carousel-control" rel="next"><img class="fleche_suiv" src="/project/images/next.png" alt="Suivant" title="Suivant" /> </a> </p> </div> I would like execute this evenmen...

How to display my web site logo on the address bar

title asks everything. ...

Increasing <div> height when there is overflow

I have a <div> that is set to a certain height. Is there a CSS property that allows the height to be increased when there is overflow? ...

how to center text vertically in html using css only

Hi All, i have a very simple html. due to some limitations, i cannot modify the html content. I want to center the text vertically only using css. <html> <head>...</head> <body> <div>Ops, the webpage is currently not available</div> </body> </html> Note that the size of the html can be variable. In additional, if the text cannot be...

Table-layout:fixed rendering differences in Safari

Basically the problem I have is that in Safari/Chrome it is changing the width of my columns even though I have specified a) a width on the table, b) table-layout:fixed, and c) specific widths on my first row that when added with the padding and border values add up to the width of the table specified. In IE7 and Firefox 3 the table is r...

control the length a title tooltip is shown

In IE the tooltip (title attribute) when you hold over an a-tag disappear after a while. Can I somehow control for long it is shown? Or is it up to the browser to decide? <a title="tooltip text">link</a> ...

IE6 SELECT HTML tag causes rest of page to vanish

The following HTML does not work in IE6 for me: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><body>This text is visible.<textarea>This too.</textarea> This is not visible. <select><option value="a">A</option><option value="b">B</option></select> Neither is this. <textarea>Nor this.</textarea> Nor this. </body></h...

Form still posts back with return false in JS

it seems like #frmToDo still posts backs <form id="frmToDo" name="frmToDo"> ... <a id="btnSubmit" href="javascript:document.frmToDo.submit();">Add</a> google.load("jquery", 1); google.load("jqueryui", 1); google.setOnLoadCallback(function() { ... $("#frmToDo").submit(function() { return false; ... why will t...

jquery wait till large document is loaded

In my web application I call a document can be huge. This document is loaded into an iframe. I have a title, buttons and the text which all depends on this document. The text is from the large document and is displayed in the iframe. I'd like to show an animated gif while the document is loading on 3 places (1: document title, 2: docum...

What are the downside of not having an index.html file to some directories

Hi, I'm curious what are some effects/downside of not putting an index.html file to your directories (e.g images). I know when an index file is not present to a directory, files inside that directory are no longer private and will be visible to the browsers when point (eg yoursite.com/images/). Aside from that what are some big effects ...

Html layout with <DIV> work on html editor but not on brownser

Hello, i made this layout: <div id="todo" align="center" > <form method="post"> <div id="cabeza" style="width:850px;height:100px"> </div> <div id="contenido" style="width:420px;height:220px;background-image: url(IMG/cuadrologin.png); margin-top: 1px" > <div id="usuario" style="width:348px; height:35px; margin-top: 5...

CSS Select only List after 1st layer

Given <ul class="menu"> <li> <!-- layer1 --> <a href="/gbcweb/index.php?option=com_content&amp;view=article&amp;id=19&amp;Itemid=27"> <span>sub menu</span> </a> <ul> <li><!-- layer2 --> <a href="/gbcweb/index.php?option=com_content&amp;view=article&amp;id=22&amp;Itemid=34"> <span>s...