html

setting a proxy into a link or address?

if you use a html web page localy for work and need to proxy only one web page is it possable in the address bar or link line to set the proxy, or by calling the autoproxyscriptd in the html prior inthe link ? if so how? ...

Using Javascript to display weights

I have a javascript function that changes a user preference, if they want weights to be metric or in imperial. On my page I print out the weight, IE: This is some description: This product weights <b>200 KG</b> Blah blah I need to make it so that Javascript changes the weight measurement for all weights on the page, and am not sure...

How to disable the hyperlinks in a div

How can I disable all hyperlinks in a div element? I don't want any active links in my div(editable). Please help me. Thanks in advance ...

How do I call a defined function in another php script?

Hi all, how do I call a defined function from a php script in another one? I've got funktion.php which returns the time of the day. <?php date_default_timezone_set("Europe/Berlin"); function Uhrzeit() { echo date( 'H:i:s' ); } Uhrzeit(); ?> I'd like to call the function in another php script(test.php) so that Uhrzeit()...

w3validation for favi-icon

<LINK REL="SHORTCUT ICON" HREF="favicon.ico"> getting w3validation for the above tag , sample : Error Line 13, Column 11: there is no attribute "REL" <LINK REL="SHORTCUT ICON" HREF="favicon.ico" /> ...

Add class in html tag with jquery

Hi friends, I got this html code: <form id = "xxx"> <ul> <li class = "req" > </li> <li class = "req" > </li> <li class = "req" > </li> <li > </li> ==================> HOW CAN I ADD A CLASS="req" to this li with jquery <li class = "req" > </li> .... <li class = "req" > </li> </ul> </form> So I ...

I want to get value of one textbox to anoter textbox in html/javascript or jsp/ajex

Hi all I am Trying to to get value of one text box which is entered by me in other non editable text box. like i am enter abc in one text box while entering Its automatically entered in second text box plz help me thanks ...

IIS settings problem

I have installed IIS on my windows7 but it is some problems with it. I successfully can open html files like (http)://localhost/index.html , but can't open ASP site: (http)://localhost/ProjectList.aspx HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a scrip...

Serving HTML Content

I'm in need of a way to serve either HTML or links to external webpages. Basically what needs to be done is we will have webpages, and then would like to give a user of our site a URL or piece of javascript to insert into their own page, which will then display our HTML on their page upon load. Can somebody please guide me in the right ...

"disable" some MySql records so they are not returned when searching?

I have a mysql database which I support using phpMyAdmin. The website this is for is a classifieds website. The issue here is that whenever a new classified is posted (and inserted into mysql database), I need to first review it manually. My question is, is there anyway to tell mysql that "this record is inactive, so don't return it"?...

HTML JS Only half of select list is being deleted??

This is weird, im trying to clear my select list and exactly half is being cleared, not everything. Its also every other item which is left behind. I havent included the data here, but just the setup of the select list. The data is 10 items and only 5 are deleted. UniList calls DeleteAll. The first alert prints out '10' and the second pr...

Is there a way to identify an element on the page at a specified location in javascript?

I'm looking to identify the target DOM element at a specified location. For example, I want to say, give me the element at offset 200px from the top and 150px from the left. This needs to be done programatically, and not via an event (for example, it should be able to return the element when the page loads) For extra points, would it ...

Align menu to center of page

Given the following menu structure: <div id="smoothmenu1" class="ddsmoothmenu"> <ul> <li><a href="Default.aspx">Home</a></li> <li><a href="About.aspx">About Us</a></li> <li><a href="#">Automotives</a> <ul> <li><a href="#">Masking Film</a></li> <li><a href="#">Promo Items</a></li> <li><a href="#">Accessori...

Implement HTML bookmarking in JavaScript

I want to implement bookmark feature for my web app. Basically users should be able to bookmark a selection in a certain web page and later (in another browsing session) jump directly to that bookmark position. In my first attempt, I save the value of pageYOffset when users choose to bookmark and when they jump to the bookmark I set ...

Component for pdf to html....?

Please suggest me any third party component to convert pdf to html.... plz reply Regards.... ...

Send email from a comment box

I designed a small website last year in visual web developer. I added a small facility using smtp class, basically it allows people to write comments in a text box and once clicked "send" it sends me an email of whatever they typed. I am now using cPanel, and there is no .net support from what I can see (I am not using a dedicated serve...

How can I create a horizontal HTML menu with a vertical submenu using CSS only?

I want to design a Horizontal menu and onMouseover I want a vertical submenu to appear. I surfed a lot and found out some codes ,but when I execute, in almost all the codes I get the Horizontal menu properly but the submenus dont get displayed at all. i am programming using ActivePerl 5.12 on Windows. I am using IE7 for display, is th...

How do I set the max number of items visible in a SELECT drop down?

Hi, I have a drop down list of around 30 items and I want to only show 8 items and then the drop down should scroll. I'm using MVC2 in VS2010 <%= Html.DropDownListFor(d => d.Thing.ThingID, Model.Things, new { style = "width: 200px", rows = 10 })%> ...

How to validate all fields with the same function in JavaScript?

Hi. I need to do the following, but I couldn't find any example of similar form validation on the web: <script type="text/javascript"> function something(){ if the value on the field who is calling this function == 2,4,6 or 8 alert("This number is invalid") focus in this field. </script> Field1 call something() Fi...

One form, multiple submit buttons and submit links

Hi, I have web form with multiple submit buttons. To determine which button was pressed, each has a different name, like so: <input type="submit" name="foo" value="Foo Foo"> On the form there are also normal links that act as submit buttons, like so: <a href="" onclick="parentNode.submit();return false;"> Bar </a> My question is h...