html

I want a html link and <form> element appearing in the same Line...

This is my html code: <img src="http://127.0.0.1/bookManagementProject/asset/images/mainLogo.gif"&gt;&lt;a&gt; <br> <FONT SIZE=3 FACE="Arial"><br>&nbsp&nbsp&nbsp <a href = "http://127.0.0.1/home.html" <b>Home<a> | <a href = "http://127.0.0.1/login.do" <b>Login</a> | <form method="get" action= http://flyingame.gamehost.org:8080/search....

Google Maps API v3: How to remove all markers?

In Google Maps API v2, if I wanted to remove all the map markers, I could simply do: map.clearOverlays(); How do I do this in Google Maps API v3? Looking at the Reference API, it's unclear to me. ...

break out of iframe

I have an iframe that displays a flash banner ad which has clickable links. Is there anyway to force the links to open in parent window, without putting JS on the page that opens or changing the flash file? For example, is there something i can do to the iFrame to force links to open in its parent? ...

CSS with IE6 Drop Down Issue

Hi All, I've been working on getting a menu up and running with pure CSS. I've got it working in all the browsers except for IE6. Here is my CSS. /**~**~**~**~**~**~**~**~**~**~**~**~**~**~**~**~** NAVIGATION MENUS ~**~**~**~**~**~**~**~**~**~**~**~**~**~**~**~**~**/ #topNavigation { width: 750px; background-color: #EC2327; ...

Text inside a text box that must be cleared when clicked

I am using ASP.NET. I am not sure what you will call this but I would like text to be displayed in my text box called txtName. So when the form load the text box will have faded text that will say "Required". Then when the user click inside the text box i want the user to place a value inside the text box. Is this possible in ASP.NET?...

Grabbing Google Directions gadget from Ajax call

I am trying to throw together a website using Ajax for the first time, to finally get with the times and figure it out. So far it is nothing but HTML pages and a bit of JS. Using some basic AJAX script I found online, I have the main index.htm which has a title, navigation, and content divs. The Ajax calls grab other content includes (wh...

JQuery Height of Hidden TR returning 0...

Hey Guys, I'm trying to calculate the height of a TR that is set to display:none, however, the jquery height extension method returns 0 everytime. Of course when its visible it returns the correct value. From my understanding and past experience, I don't know why this is happening because shouldn't it return the height even if its hid...

IE6: JavaScript hyperlink not working

I'm using JavaScript to sort a table on an HTML hyperlink: This sort from Low-to-High: <a id="asc" href="#" onclick="javascript:sort('asc');">Low</a> It works great in Firefox/Chrome/Safari but does not work in IE6. Live site at: http://tinyurl.com/ykzwb2 Click the Sort "High" or Sort "Low" link. Any idea why it works in all brow...

How do I Remove a table column in MVC?

I want have two columns and based on a condition, include or remove a third. using all the if statements seems a bit redundant. Is there another way to do this? <table style="width: 60%;"> <tr> <th>Name</th> <th>Age</th> <th>Other</th> </tr> ...

how to browse web site with script to get informations...

I need to write a script that go to a web site, logs in, navigates to a page and downloads (and after that parse) the html of that page. What I want is a standalone script, not a script that controls Firefox. I don't need any javascript support in that just simple html navigation. If nothing easy to do this exists.. well then something...

Javascript: How to delay loading external JS file (Google Analytics)?

I'm using the following code to load my Google Analytics (external javascript) in a way that is meant to not block rendering. However, using both YSlow and Safari Web Inspector - the network traffic clearly shows that the ga.js script is still blocking rending. /* http://lyncd.com/2009/03/better-google-analytics-javascript/ Inserts GA ...

I am looking for a clean HTML tutorial.

I've been doing web programming from 1999 to 2004 and it looks like a lot has changed. The layout is no longer done with tables, but with DIVs, etc... I am looking for a tutorial that combines CSS and HTML and DIVs, etc... and teaches you how to layout a page. I don't want a tutorial that focuses on a specific one technology, but more...

Using <OBJECT> instead of <IFRAME> and Internet Explorer

So my problem is NOT with getting the objects to work with IE. I have a way to get rid of the borders and scrollbars (I think). The real problem is having links inside an object which target the whole screen frame. Even with target="_top" and _parent it just keeps targeting itself in IE... even in IE8. Here is a demonstration of it on a...

Why can I only get the HTML for the homepage of websites and not others?

I am writing a java program that connects to a website and it returns the HTML, for some reason I am having problems with it. Right now I am only able to access the website if I do //example String host = "www.google.com" but If I want to access a URL that is any more complicated then I get an UnknownHostException. At first I tho...

Entering Dates into mysql database using sql INSERT

A better suggestion on how to approach this then what I have done so far would be appreciated. Right now the dates have to be entered in the correct format year-month-day. Is there a way to automate this task more, with drop downs, just not sure how you would combine the information from the drop downs to submit to one field with my sql ...

how to add pagination in HTML

Hello, I have created one .html page. I have to use pagination in it so that i can avoid scrolling upto last page.and i can move to next page by click on button("Next") ...

How to get HTML element coordinates using C#?

Hello, I am planning to develop web crawler, which would extract coordinates of html elements from web pages. I have found out that it is possible to get html element coordinates by using "mshtml" assembly. Right now I would like to know if it is possible and how to get only necessary information (html,css) from web page, and then by us...

Change values in form submitted and the JQuery serialize function

Hello all, Please look at the following code. When the form gets submitted, is it actually submitting the values I have entered i.e. val(50) or at the point it serialzies does it just get data from the form on the actual html page? // stop all forms from submitting and submit the real (hidden) form#order $('form:not(#order)').submit(fu...

How do you start to translate a web design layout to a HTML implementation?

I was reading through this tutorial on creating a web layout in Photoshop to end up with something like this: This seems to produce a single image file, however and there is no explanation of how to translate this into a web application implementation. What I mean is, you would need to have functionality for when someone clicks on "...

How to get the HTML's input element of "file" type to only accept pdf files?

is there any way that html element file <input name="file1" type="file" style="width:300px"> only accept PDF files and when we browse its only show PDF files... Thanks ...