html

How to remove the download button or copy button from the browser in pdf files?

How to remove save file button when we are seeing any pdf files in browser. Is there any way to remove save button or make not down loadable? [ pdf file ] Yes i know, user can select the file content then copy paste it, But then also, there can be many user which will not know to do that? ...

Implementing Multilingual web site using ASP.Net

Hi all, I am implementing an multilingual web site using ASP.Net. The languages are English,French and Arabic. Please note that Arabic's direction is RTL. What is the best way to implement the multilingual support. I am planning to use the .Net localization feature but the website texts are stored in DB. For the controls ( form controls...

Explanation of this CSS code..

I need to know what exactly this code does.. or how this can be used..Actually I used this to repeat the image as a background for the menu .. Need explanation for this.. url("images/home_bg.jpg") repeat-x scroll 0 0 transparent ...

Unable to send Url in a Form field

I am facing a problem while submitting a simple HTML form. Here is the form: <form name="form1" method="post" action="dest.php"> <input type="hidden" name="my_url" value="http://www.livrotek.com/book_image/thumb/12726851341.jpg" /> </form> When I submit this form, I get an apache error: You don't have permission to access dest.php on...

how can i create download link in html?

I have basic idea to the html and studying the basic things of java script and applied on it. And also i want to create the download link in my sample website. But i dont have idea of how to create it? Please tell me the procedure.. Thanks in Advance. ...

Send select's values in array

Hello, I have such select list in html: <input type="checkbox" name="drive_style" value=1 checked />123<br /> <input type="checkbox" name="drive_style" value=2 />123<br /> <input type="checkbox" name="drive_style" value=3 checked /> 123<br /> <input type="checkbox" name="drive_style" value=4 />123<br /> <input type="checkbox" name="driv...

Flash create mini window for HTML

Is there a way to create a mini window in flash that contain an HTML web page? Not open in new window! Thanks a lot! ...

How to add on key down and on key up event in java script

Hello , I am creating an live search for my blog..i got this from w3 schools and i need to add on keyboard up,down mouse up and down event ... <html> <head> <script type="text/javascript"> function showResult(str) { if (str.length==0) { document.getElementById("livesearch").innerHTML=""; document.getElementById("livesearch").sty...

Is there a way to disable Tiny Scrolling for just one div?

Didn't want to create a new question so I'll just refrase this one, is there a way to disable the Tiny Scrolling plugin for just one particular div? Thanks :) ...

Transform PDF to HTML, keep layout

What methods are there to transform a PDF to HTML? It could be anything - online service, software, library. (Opensource preferred. In the last case, php or python would be preferred.) It has to keep the original layout (including page numbers, footnotes and such), keep the images (combining them to one single background image per page i...

Substitute alt attribute with title attribute using sed

I have a PCRE regex that looks like this s/(<input.+?)alt(=".+?".*?>)/$1title$2/ Can anybody help me with making that work on sed? Eventually can anybody point me to some guide/blog post/whatever that explains differences between sed regex and PCRE? ...

jQuery | Click child, hides parent

Hey, I have a list of using ul and li: <span class="important">Show/Hide</span> <div id="important" class="hidden"> <ul class="sub"> <li> Value one </li> <li class="child"> <img src="../img/close.png" /> </li> </ul> </div> $(".important").click(function () { $("#important"...

MySql paging; "Showing result-set" of "total found" help

I need a formula for showing results on my classifieds website. I am now done with the paging of records, but this formula for showing results remains. I want it like this: Showing 1-50 of 123 found. Now what is the formula for this? I have these variables which should be enough I think: $results_per_page = 50; //results per p...

How to put tags inside an html attribute?

Using xslt i want to create an attribute: <span class="tooltip"> <xsl:attribute name="onmouseover"> <xsl:text>javascript:function(</xsl:text> <span class="label">Aggiunta</span> <xsl:apply-tempaltes/> <xsl:text>)</xsl:text> </xsl:attribute> The pr...

Cross-browser curved borders

What is the best way to achieve cross-browser(ff,ie>6,chrome,opera,safari) curved corners on a div. I found this article http://jonraasch.com/blog/css-rounded-corners-in-all-browsers and I've followed instructions step by step multiple times, here is my css : #content_wrapper{ -moz-border-radius:25px 25px 25px 25px; -webkit-bord...

How to generate random html document

I'd like to generate completely random piece of html source, possibly from a grammar. I want to do this in python but I'm not sure how to proceed -- is there a library that takes a grammar and just randomly follows its rules, printing the path? Ideas? ...

where's should i put RDFa Events mark-up?

I've decided to include data markup for my events site to make it easier for search engines to use my data. I've decided to go for RDFa over microformats and microdata, however I'm unsure how to best use it... my site: 1 page with a list of events with the essential details for each, each event is clickable taking you to a page with th...

Accomplishing This Style of Drop-Down Menus in jQuery

I was browsing the web and found this site. I noticed how the nav bar drop-down works, and I want to implement something similar on my website. Afer going into the source code of the page, I found that those drop-down areas are contained in divs with class fOut. It turns out that this is being done with MooTools. Here is the script its...

CSS/Javascript: multiple columns

hi, I'm looking for a columnizer plugin (making columns of my small divs). It is very important it has the following features: 1) It has to be as light as possible (if it is only css would be great, but I guess it is difficult make it work on IE then...) 2) It has to be cross-browser (I don't need IE6... IE7 and IE8 compatibility is ...

how to access html elements in webkitgtk from c .. ?

i am new to webkit. I managed to open a html file using webkitgtk in c but i dont know how to access the html elements for setting values, changing content etc .. (example : filling values in text boxes ..).. please help me out.. Thanks in advance .. ...