html

How to properly move jQuery from index page, into separate javascript file?

How can I move my initialization code i.e. <script type="text/javascript"> $(document).ready(function() { var t; // This will be a timeout $('.navHover').mouseover(function() { if (t) { clearTimeout(t); } $('.navigation...

Stopping gmail from displaying a url as a link within a textarea

Hello, I'm building an app that spits out an email...The email has a url in in a textarea (along with some other copy) for copying and pasting (like into a blog/forum post). So I output this: <textarea>http://www.somesite.com/your-link&lt;/textarea&gt; and gmail does this: <textarea> <a href = 'http://www.somesite.com/your-link'&gt;...

Ordered list - html : How to make point(ol{style-list:disc;}) position in midde height of image?

Hi, Ordered list - html : How to make point(ol{style-list:disc;}) position in midde height of image? Example where point located in bottom of image and not in middle: The code of example <ol style="style-list:disc;"> <li><img src="http://t2.gstatic.com/images?q=tbn:MezWc3ku_XBiwM:http://www.whereisacar.com/images/cars/bill-ga...

Proper placement of META tags with http-equiv attribute?

I'm implementing Bing Maps on a page (I'd prefer Google Maps, but it's not my choice). I'm following the tutorial MS provides here: http://msdn.microsoft.com/en-us/library/bb412551.aspx Using MS's code, everything worked just fine. Fleshing it out with some of my own jQuery code, I found that I was getting a "Permission Denied" error...

How do I modify my code to collect form input from a popup and insert it into a textarea at cursor location on original page using JavaScript?

The JavaScript shown below inserts form input into a textarea at the current cursor position. The textarea id=mbentry. This works if all code is on the same page. I want to have a hypertext link on page1.php open a little popup window (page2.php for example) so the user can enter text in the popup, close the window and have the input fr...

editing multiple HTML files using SED or something similar

At my work I have about 1000 html files (probabaly more) to edit which represent footnotes in a large technical document. I have been asked to go through the html files one by one and manually edit the HTML, to get it all on the straight and narrow. I know that this could probabaly be done in a matter of seconds with SED as the change...

getting HTML source or rich text from the X clipboard

How can rich text or HTML source code be obtained from the X clipboard? For example, if you copy some text from a web browser and paste it into kompozer, it pastes as HTML, with links etc. preserved. However, xclip -o for the same selection just outputs plain text, reformatted in a way similar to that of elinks -dump. I'd like to pull ...

why does a dropdown combobox list (select html tag) disappear very quickly in IE 7 but works fine in firefox

i have a combobox and its on a narrow part of a webpage. below is my dropdown html. THe issue is that in IE 7 only (works fine in firefox) after i click on the dropdown, the list of items pops up and i go to click on an item in the list and it disappears before i get a chance to click. It seems to work fine in IE8 as well but in IE7 ...

PHP includes instead of iFrames?

What's the best way to use PHP includes instead of iFrames? Edit: Instead of using iFrames, I want to use includes to show my content. ...

HTML: Code to download a file

I've tried googling but the results returned arnt the ones i want. What i'm after is html code thank links to a file so it can be downloaded. For example if i have file1.txt on my hard drive. How would I link it so it can be downloaded? EDIT I have tried: <a href="/home/rv/ncbi-blast-2.2.23+/j1053.fasta">Download Results</a> ...

how to toggle cell color either individually or as a group

We have a simple table with say (nxm matrix) and the user will randomly select a set of entries based on the following conditions. Our layout is like this (just pseudo code) <table> <thead> <tr> c:forEach 1...31 <th></th> </tr> </thead> <tbody> <tr> // could be 30 | 40 | 50 rows ...

Embed windows media player in HTML web page with playlist feature

I want to embed an audio player into my web page with a playlist feature. How can I do this? ...

how to disable filepath in titlebar of a html file

in html when the title is not mentioned <html> <head></head> <body> </body> </html> then IE automatically shows filepath of html page. How to disable this function. And No i dont want to put a title element. ...

HTML input field disable input but still POST

Basically i want a disable text field to show the value stored in a database but i don't want it to be editable by the user. i've tried using disabled="disabled" but then it no longer POST to my form handler... Any suggestions? thanks ...

Check Pending AJAX requests or HTTP GET/POST request.

How do i check if the page has pending AJAX or HTTP GET/POST requests? I use javascript and/or python for this checking. what i wanted to do is execute a script if a page has finished all requests. onload doesn't work for me, if you used firebugs net panel, you would know. onload fires when the page is loaded but there is a possibility...

displaying the images large size in outlook when compared with any other mails

we are developing one coupon site, from that sitei am trying to send the coupon images to corporate mails there it was showing large image size when compared to actual one, but it was coming properly in gmail,yahoomail and other mails. Its urgent please. thanks in advance... ...

Can HTML Select Tag work with Hidden Text Input?

Hi all, I am not sure if Select Tag can work with Hidden Text Input like this: <SELECT NAME="Testing"> <OPTION VALUE="1"> One </option> <input type="hidden" value="hello" name="Testing"> <OPTION VALUE="2"> Two </option> <input type="hidden" value="world" name="Testing"> </SELECT> Any ideas? ...

overlay is not working in IE6?

Iam using the following code in my file for overlay image.This works fine in firefox but not in IE6.Can anyone please suggest a solution for this?? <div id="1" onclick="document.getElementById('div1').className = 'nodis';" CLASS="nodis" style="width:100%; background:url('/gifs/overlay.png');" align="center"> ...

How can I get the HTML from a web page in Bada?

I don't know what other details I should provide. But I am very disoriented. I am not a web developer so I don't know what classes to use. It's not like I can tell the difference between HttpResponse, HttpHeader, HttpSession, HttpTransaction etc. ...

HTML markup for an interview

Hello, I am asking for an advice on what kind of markup should be used to mark up an interview type of content in HTML as a transcribed interview in a cleanest and semantically most sensible way? Preferably I would like something that would be valid HTML5, but that is not a hard requirement. (My initial impulse was to use <dl>, <dt> a...