html

Text blinking jQuery

What is an easy way to make text blinking in jQuery and a way to stop it? Must work for IE, FF and Chrome. Thanks ...

File upload in MVC

Hi all, I'm trying to upload files within MVC. Most solution I saw on SO is use webform. I don't want to use that and personly prefer using streams. How do you implement RESTful file uploading on MVC? Thanks! ...

Enable document footer

I tried to use Enable document footer function in IIS6 for my web sites after some tests i discovered that it works for static files only may i config it for pages like aspx or asp or maybe u have alternative solutions? ...

Stop media player when html popup closed

Hi I have a simple page and a link on it which opens a simple popup ajax popup with embedded media player on it, like so <object classid="..." id="mediaplayer1"> </object> The problem is that after closing and disappearing popup it seems that Meda Player continues working, cause I am hearing movie sound. How can I stop this? ...

How can I make HTML safe for web browser with python?

How can I make HTML from email safe to display in web browser with python? Any external references shouldn't be followed when displayed. In other words, all displayed content should come from the email and nothing from internet. Other than spam emails should be displayed as closely as possible like intended by the writer. I would like...

Knowing whether window.close() will show a security warning

In IE7, a child window opened with window.open can close itself using window.close(), but a window opened with <a href=... target=_blank> will show a security warning if the child window tries to close itself. In my application, I don't know how my child window is opened, and I need to know (in the child window javascript code) whether ...

How to search a word in a html file without any java coding?

I'm doing a project in Java which creates a user manual (html files that are linked together like Windows "Help and support centre") of software. Now once a user manual is created I have only html files remaining. Now I want to search html file that contains specified keyword(Search Engine).How can I do this without Java code?? ...

Simple HTML help

My <li> wont turn into a link for some reason here is my html and css Hope some one can help. <div class="header_quick_link"> <ul> <li style="padding-left:700px;"><a href="#"><img src="images/signup-off.png" height="26px" alt="sign-up off"/></a></li> <li style="padding-left:798px;"><a href="#"><img src="images/login-off.p...

How to attach and show image in mail using php?

I want to attach an image and then show it in an email. The image I want to attach is on my server. I use html in the email. How do I do this with php? (And I don't want to use any library like PEAR). ...

sifr - How to make it work with .active ul links

I have a SIFR script which coverts primary navigation items thusly: [code] /********************* * sIFR configuration **********************/ var itc = { src: '/assets/js/sifr3/demo/font2.swf' ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.1...

Problem with Horizontal scrolling area in IE?

I have the following markup: <div id="routes"> <ul id="routesList"> <li class="routes">Route 1</li> <li class="routes">Route 2</li> <li class="routes">Route 3</li> </ul> </div> With the following CSS: #routes { height:20px; width:770px; overflow:hidden; } ul.routesList{ margin:0; padding:0; list-s...

Creating proper layouts (table-like) with CSS

How do I properly create layouts with CSS? I.e. how do I do presentation if I were to replace the html tables I had used earlier? With <tables> I had all the sections and different regions aligned and properly shown (at least to my perspective). If one of the cell values is a column was to increase it would dynamically increase th...

Changing the address of the opener window in IE8

From a child popup window (opened using window.open), I am trying to change the URL of the window that opened me, e.g. window.opener.location.href = 'http://www.google.com'; In all browsers this works wonderfully, except for IE8 (and I am somewhat sure it worked in previous IE8. Maybe a security update kills this). In IE8 what happens...

CSS Problems - 960.gs

I've decided to let tables out of my Web UIs but I'm suddenly having lots of trouble with CSS. I've hacked a little bit into 960.gs and I've made my own grid with only 8 columns, here it is: .grid { margin-left: auto; margin-right: auto; width: 960px; } .grid ._01, .grid ._02, .grid ._03, .grid ._04, .grid ._05, .grid ._06,...

add remove <li with textbox on button click. (out of ul wrap problem) and name inputs uniquely

Hi friends, I have an issue with js. I have form like below. Add button is adding li with input box and Remove button is removing... it is working very well. the issue is, it is creating the li after ul, out of ul :/ you can see it clearly at the screenshot below. any idea about solution? appreciate!!! thanks!!! * ps, how can I nam...

how can i get values from multiple forms and submit them?

I have several forms inside DIVS on my page. I have one form which contains a text field and is always visible, and this is where the user hits 'enter' key and submits... I want to get values selected in the other forms on the page, and submit them all together, not one by one, so that my PHP code can use "ALL VALUES" and search a mysq...

What are the reasons to use the id attribute for CSS purposes?

I've always used the class attribute, never id for the purpose of CSS selecting and styling. I know that the id must be unique, but that doesn't seem to be a reason to use it for CSS. The only reason I have used the id attribute is for JavaScript and form labelling. I find mixing id and class for the purpose of CSS can cause confusion,...

Semantically Correct HTML Checkbox lists

I've got an HTML checkbox list that I would like to display in the following format: Click all that apply: Title A Title B Option 1 [ ] [ ] Option 2 [ ] [ ] Option 3 [ ] [ ] I'm wondering what t...

HTML table layout question

If I have 3 columns for example: <tr> <td></td> <td>Know the width</td> <td></td> </tr> In the 2nd column I know the width, and want this centered for example 777, and want the other 2 sides to take up what is left of the screen (in equal shares), how is this done? This: simply doesn't work: <tr> <td widt...

Prevent redirection when form is submitted programmatically

Hello I've got a form on the html page which gets submitted by javascript in some cases. The problem is that browser window change its location to the action URL specified for this form. Is there any way to prevent it of working this way? ...