Possible Duplicate:
Close /Kills the seesion when close the browser or tab
Is there a solution for cross browser event. I need to check if user closes their window and to throw an ajax request to my database to sign them out.
I've looked everyone but most cases its not working in all browsers. Anyone have a solution? Or Alte...
Ok, so I hate CSS/HTML graphic design... What do you guys recommend as a sample template or website that you think has great CSS and html layout? From my past experience it's best to get a page that has a white background and little dependency on graphics -- that's clean, and easy to modify ;-).
...
Whenever the url contains the div id, it would obviously go down to the div when the URL has:
http://domain.com.faq.php#1
<div id="1">Bla bla bla</div>
But what I like is to have same feature of Stackoverflow, when you click on an answer in your messages, it will scroll down to the page and has that fadeOut effect on the answer.
...
hi when i write css or html i found that i want add two name like this
web-development
web_development
which one is better according SEO or write style name, file name or image name.
...
I have two li (points) on this page http://animactions.ca/Animactions/le_developpement_des_equipes_de_travail.php that take up two lines. I'm not sure how to properly align them so that they line up with the first line.
I'm referring to this point:
Renforcir la cohésion et l’esprit d’équipe pour un travail proactif et durable qui génèr...
I want to format a definition list in HTML as if it were a table with th in a column and td in another, with a background that alternates per row (although a background for the dt and another for the dd also fits for the problem), so I have this CSS:
dl {
font-family: Verdana, Geneva, sans-serif;
font-size: 0.6em;
overflo...
Hi,
I want to output some dynamic data from an ASP.NET website to Excel. I found that the easiest way which does not require to use Excel XML or to install Excel on server machine is to output data as a table and specify application/vnd.ms-excel type.
The problem is when I do so and try to open the file in Excel Viewer, I receive the f...
Hi all,
I'm a bit new to Javascript and am trying to create a delimited string from a textarea. The problem is when passing in the textarea, it adds newlines for each row on the textarea. I need to have the entire textarea parsed into a string with a delimiter for each line (replacing the newline char). So for example, if you passed i...
Suppose I have the following
<ul>
<li>Item 1</li>
<li>Item 2
<ul>
<li>Sub Item</li>
</ul>
</li>
<li>Item 3</li>
</ul>
This list is auto-generated by some other code (so adding exclusive id's/class' is out of the question. Suppose I have some jquery code that states that if I mouseover an li, it gets a background color. How...
I have seen yahoo ui using div for every node of the tree. Is this a good thing to do. Seems like every node including leaf node is heavily nested. I saw a div, table, tr, td being used for creating a node. Is this necessary. Is there a better way to do the same.
I tried to us tr for every node. Are there any issues with this approach
...
I`m trying to create an animation using CSS3 transition.
The animation is a gradient background that should change his color (rgba).
I used the webkit tag for the gradient and it`s working in Chrome 5.0.375.55.
Sample code (something like this):
.tag {
-webkit-transition: all 1.0s ease-in-out;
background-image: -webkit-gradient(radi...
Hey Everyone,
I've been trying to code this page for a while, but my biggest problem is that I can't seem to get the photos perfectly positioned. For some reason, there is a small bottom padding in each <td>which is messing things up.
Here is the table code:
<table>
<tr>
<td rowspan="2" style="height:353px;"><img src="da...
index.html is :
<iframe src="/changeDataAndBack"></iframe>
but the html file return back is show in the iframe ,
how to show page on the parent of the iframe
thanks
updated:
i changeed to this,but nothing happend :
<iframe src="/_openid/login?continue=/" target="_top"></iframe>
...
I have two divs that I need to position horizontally dependent on the width of the user's screen. I've styled their vertical position in CSS, and I am trying to position them horizontally using Javascript.
My divs:
<div id="tl">
blah blah
</div>
<div id="bl">
blah blah
</div>
My CSS:
#tl {
position: absolute;
top: -14px;
...
This question might not be a programming problem, but its been bothering me. There is a lot of free js/css scripts out there for public use. I some times use these scripts. If any, what is the formal and proper way to credit these snippets when all i have is a name of a website and a url.
I understand that a simple comment might get ...
I have an html page which contains link to open pdf file. however this link opens in adobe reader when i click on it. I have set target property to blank. but it doesnt work either.
I want to open this pdf file in new tab in the same window.
...
I need to print header of my html table on every page. After googling I've fount that placing table head between <thead></thead> and table body between <tbody></tbody> tags is just ehough... Enough if <td> in table head has same border-width: style property as <td> in <tbody> tag. If not, all vertical lines of table has the same border-w...
Hi All,
I used a padding in select list of gender but its not working in ie7.
its working properly in all browser ie8, firefox, safari but not working
in iee7 i tried a lot but nothing happened...
<div class="clear" style="margin-top:5px; float:left; text-align:right">
<% @sex = [['male', '0'],['female', '1'],...
i have 4 divs inside of a div like this:
<div id="Wrapper">
<div id="CoreSideBar"><!-- a sidebar to the right -->
</div>
<div id="SystemContent">
<div id="SystemNavigation"><!-- will be some kind of "tabnavigation" in the top of this div -->
</div>
<div id="PageContent">
</div>
...
We are using PD4ML library to convert HTML to PDF. Is there any way with which I can include a image from the internet in my HTML to convert it into PDF.
I am having problem in getting the image into PDF. I tried using base parameter in the PD4ML library but that didn't worked out.
May be I am doing something wrong or PD4ML doesn't suppo...