html

javascript (jQuery) not working in IE6

Hello all I have developed a dragable div with an image inside using jquery. The script is working perfectly in Firefox, chrome but not it IE6. could you please help me to fix this issue check the web page here : my web page Thank you very much for your consideration. ...

how to make sure a website is suitable for all screen resolutions?

Just spent several hours writing up for a new site... looks great in my resolution, 1366x768... However, even going down to 1024x768 means that not everything fits inside the screen width!! Tried: <script type='text/css'> body {width:100%;} </script> This does have some effect on my resolution but no effect on smaller resolu...

create custom window using iframe

Will any one please help me in creating custom window using iframe; that look likes the dialog or prompt box, but with new colors & images. ...

Get HTML of selected content

Hi, I have a UIWebView i want to introduce functionality of content(may be text or text and images) selection so that the user can email it. Is there any way to get the HTML code for the given selection using JavaScript? I tried the built-in clipboard of webkit but its seems not working for images selection.May be i am wrong,if there is ...

reporting website templates

Hi. I am starting my work to develop an intranet reporting website in php and html. I wanted to know if there are any templates for page layout, so that i can quickly select the look of the page and then start all my coding for the reporting system. i would really appreciate if anyone could help me with few links. ofcourse, i am lookin...

Is the HTML 5 Spec already complete?

I'm was looking for an HTML 5 and CSS 3 framework, I found 52Framework but I've noticed that a lot of HTML 5 elements are still missing, even at the most basic level (reset.css). I though of making my own framework but I need to know if the HTML 5 standard is already complete or if it's still subject to changes, I Googled a bit but coul...

Negotiate arrays inside an array

When i perform a regular expression preg_match_all('~(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)~', $content, $turls); print_r($turls); i got an array inside array. I need a single array only. How to negotiate the arrays inside another arrays ...

HTML form on Google Maps on click

Hey Guys, I'm new to Google maps and I'm wondering how would I program a Map which would pop out a HTML form when the user clicked a location on the map? I'd like the form to "pop out" of the map on screen. is this possible? I've got the following... <script> var contentString = '<div id="content"> <form actio...

HTML Form to post on php page

Hi there, Thank you for reading. I'm trying to create a HTML form so that my friend can type text into it and thereafter, updates his web site with whatever is typed into the form. I'm trying to create a HTML form (on a php page) which posts whatever is entered within it's textarea to the home.php file. However, rather than simply do a ...

Using Java (HTMLUnit) to Scrape a Web Page then Write Results to a mySQL Database

I've been able to use Java and HTMLUnit to scrape a web page, however I'm unsure how I can get this to write the resulting data to a MySQL database on a remote hosted server. I also need this to happen at regular intervals (perhaps once a day) if possible, without having to manually run the program. Is this possible and can I have any g...

Javascript HTTP GET html/text returning null/empty?

I am trying to get the html of a website using this code: function catchData(req) { console.debug("i got a reply!"); var returnXML = req.responseXML; console.debug(returnXML); if (!returnXML) { console.debug("html is bad"); return; } if (speed != currentSpeed) moveToNewSpeed(speed); currentSpeed = sp...

Tailoring the output of YQL

This YQL statement (execute in the YQL console) picks out the name and year of a film from the TMDB website. select content from html where url="http://www.themoviedb.org/movie/27205" and xpath='//h3[@id="year"]|//h2[@id="title"]/a' the results come back like this: "results": { "a": "Inception", "h3": "(2010)" } Is there any ea...

In Markdown, what is the best way to link to a fragment of a page, i.e. #some_id?

I'm trying to figure out how to reference another area of a page with Markdown. I can get it working if I add a <div id="mylink" /> and for the link do: [My link](#mylink) But my guess is that there's some other way to do an in-page link in Markdown that doesn't invlove the straight up div tag. Any ideas? Thanks! Chris ...

php, html generate form from mutiple variables

I need to generate a html form with different hidden variables . However the "problem" is that there are a lot of variables .e.g $siteId = getValue("siteId", $localurl); $itemid = getValue("itemid", $localurl); $bidqty = getValue("bidqty", $localurl); $maxbid = getValue("maxbid", $localurl); $lagoonemorebid = getValue("la...

HTML CSS Validation Error

Error found while checking this document as XHTML 1.0 Transitional! i have my site [here][link removed] but im failing to validate either online or in dreamweaver cs5. the problem being: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://ww...

How do you include a javascript variable in a hyperlink?

I have pretty simple code <input type="hidden" name=passtophp value=variable> The variable is created in javascript in the head of the document. Unfortunately when I put in the variable name it is captured as a string and passed through instead of the variable's actual value. How can I pass through the variable's value? Thank you!! ...

Need to use the browser's back button to redirect to the home page

I'm making a static HTML demo that emulates the behavior of a web portal that logs you out when you press the back button. How might one do this using javascript? Is it possible? ...

Is using obscure names for login fields pointless

My php user authentication script is based on code from someone who, at the time, was a much better coder than me. As such I trusted that the parts I didn't quite see the point of were better left alone unless I had a good reason to change them. I've since improved and have my own ideas of what should be done. One of the things in this ...

What is the means of terms "Normal Flow" and "Out of Flow", in terms of HTML, CSS and Browser?

What is the means of terms "Normal Flow" and "Out of Flow", in terms of HTML, CSS and Browser? ...

Install network printer via web application (html)

Hey All, I'm trying to write a simple web interface to allow users to install one of a few predefined network printers. I had initally thought this would be a simple task, as I can easily install printers via the run command by hitting the printer dead on (\printserv\printername). I had planned to either use that in the tag, or prefix ...