html

How do I auto detect a hyperlink while editing?

Can you auto detect a hyperlink in HTML,JavaScript or Objective C? ...

Help with putting RDF in a web page (jsp)

When I read the documentation on Common-Tags, I thought it would be easy to put this in a jsp because the examples were cut and paste <body xmlns:ctag="http://commontag.org/ns#" rel="ctag:tagged"> <span typeof="ctag:Tag" rel="ctag:means" resource="http://rdf.freebase.com/ns/en.u2" property="ctag:label" c...

why isnt this jquery working properly?

In this site's navigation: [link removed] I am attempting to use Jonathan Snook's jQuery background image animation http://snook.ca/archives/javascript/jquery-bg-image-animations/ The code used: HTML <div class="navigation"> <ul class="navigation"> <li class="about-us"><a href="#">about us</a></li> ...

Creating a null hyperlink

Hi, I want to create a hyperlink that does not link to any page. When clicked it executes a javascript function i have defined. So, i created a link as follows: <a onclick="fun()"> SomeText </a> But, the mouse pointer does not change to the hand symbol when we hover a mouse over the link. So, i changed the link to <a href="#" oncli...

Margin while printing html page

Hello everyone. I am using a separate style-sheet for printing. Is it possible to set right and left margin in the style-sheet which set the print margin (i.e. margin on paper). Thanks. ...

Change the width and height of a swf dynamically

I'm trying to use the following js to change the width and height of a swf. $('object').attr({'width':100,'height':100}); $('object embed').attr({'width':100,'height':100}); The script works well on firefox, safari, IE8. However, it doesn't work on IE7. Is there any solution? ...

Hide link text from statusbar in wordpress

Hi, I have a text widget in my wordpress blog. Inside the text widget, i have a link. When mouse is hovered over the link, the link text shows up in the status bar. To prevent the link text from showing in the status bar i tried using: <a href="#" onmouseover="window.status=''" onclick="fun();return false;" > </a> But, still the lin...

Why does Classic ASP Post a Multiple Select List with a space between values where ASP.Net doesn't?

I have an old Classic ASP code such as: <html> <head></head> <body> <form action="test.asp" method="post" name="fname"> <select name="clients" size="3" multiple="multiple"> <option value="5311" selected="selected">5311</option> <option value="9999" selected="selected">9999</option> </select> <input type="submit" value="tes...

feed text parser

I'm getting text from an API and it's something like following: text = 'replied to @james and he was visiting this http://some-site.com/another/something/../ so what you think about it'; How can I parse this text and make links as html links and @james as html links also, but with their own href values. Does anyone know any function ...

Tbody scrollbar

Hi, In my html file the table height was limited say(100px;) but the tbody has more rows. I need scroll bar to appear for tbody. no div must place between header and body? I need to implement this in all browser (FF,IE7,IE8,safari) ...

how to parse < sign htmlparser.Parse(sr)?

hi i am trying to export html to pdf. using itextsharp , In the html table one value appears like this <34 . while parsing , this is giving error. (closing tag i.e.> is required ...) please tell me how to get through this? thanks in advance, rsd ...

Turn Image into a Button Image: Remove borders

Hello all, I have this link with the following css. <a href="step1.php">Buy Now</a> //css #buy a { background:transparent url(signup_bt.gif) repeat scroll 0 0; color:#FFFFFF; display:block; font-size:14px; font-weight:bold; height:37px; line-height:38px; text-align:center; text-decorati...

html and js help needed.. strange behaviour...

Hi all, I have a web page http://www.maryveale.com/sculpture/index.html that loads a js at /media/js/bill-studio.js that causes the following problem. When the web page is loaded there are some images shown. Clicking on the first image should open the page /sculpture/1986/index.html and it does if you right click open in new window, ...

Different Language In Website

I'm trying to write a website in Slovak language (central Europe). What I have done is put these two meta tags into the header: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" /> <meta http-equiv="Content-Language" content="sk" /> The problem is all characters with diacritique are substituted with garbage chara...

HTML - form field is not sent when containing special characters

I have a <form> with several text inputs and a textarea. The documents Content-Type header is text/html; charset=ISO-8859-1 and in the <head>-part I have a meta-tag with the same content-type: <meta http-equiv="Content-type" content="text/html;charset=iso-8859-1" />. But when I type some special characters in one of the fields (like äüüß...

HTML tag to prevent HTML tags to be executed?

Basic question which I thought of asking on Superuser, but it is a programming question I think. I just started learning HTML, so please bear with me. How can I prevent a program from interpreting an HTML tag / syntax? For example, I want to write a flash card like this: The html code for < is &lt; I would like a solution that w...

Encode selected fields of 3 checkboxes into one string

Hi all, I have 3 checkboxes where the user can select whatever he wants. I would like to store his selection in the database into one field. I was thinking of encoding it into a String: 0: nothing selected 100: first selected 101: first & third selected etc. I think that's a nice way. However, how do I extract the...

What is this form element called and how to do it

I dont know what this is called, but you have 2 lists, and a button(s) in the middle to switch options back and forth. Question [a] What is this called. Question [b] How do you make one. ...

How to solve this IE6 z-index bug?

I have read this iFrame workaround for IE6. But I really don't understand on how to use this if I display a DIV dynamically. I have attached a sample. When clicking on the input element, I want to show a div panel that have the topmost z-index. (That should be displayed over the select control) <html xmlns="http://www.w3.org/1999/xhtml...

Script to download CAPTCHA images

For completely non-nefarious purposes - machine learning specifically, I'd like to download a huge dataset of CAPTCHA images. However, CAPTCHA is always implemented using some obfuscated javascript that makes getting at the actual images without a browser a non-trivial task, at least to me, who is a javascript novice. So, can anyone giv...