html

Resize div that's inside another div

Hi! I have a div that is the body of my site, inside that div I put a div on the left side (to have a vertical menu) http://www.freeimagehosting.net/uploads/117f79fa0e.png http://www.freeimagehosting.net/uploads/4569a5f550.jpg My question is, how can I make the menu div follow up to the bottom of the body div so that it doesn't look ...

HTML select field updating another

I'm trying to create a webpage to merge vendors in our database and have a page with two select fields like this: <select name="vendor" id="vendor_select_from"> <option value="Apple" id="id0">Apple</option> <option value="Vector Resources, Inc" id="id1">Vector Resources, Inc</option> <option value="Dell, Inc." id="id2">De...

are there any books which will help me to create a website of my own style? if so what are they

are there any books which will help me to create a website of my own style? if so what are they ...

Best alternative to dynamically highlight my Navbar link using jQuery?

Hey, I have an ASP.NET website, on the masterpage I have a basic navigation menu: <ul id="menu"> <li><a href="Default.aspx"><span>Home</span></a></li> <li><a href="Services.aspx"><span>Services</span></a></li> <li><a href="HowItWorks.aspx"><span>How It Works</span></a></li> <li><a href="ContactUs....

html5 audio codec

I'm using html5 audio tag and can't seem to find what to specify for the codec for both mp3 and wav. I know ogg is: <audio> <source type='audio/ogg; codec="vorbis"' /> </audio> Anyone know what I would write for mp3 and wav? ...

How can I activate a CSS style for a label when hovering over the associated checkbox?

Every time I hover over the label of a checkbox it turns yellow: Markup <input type="checkbox" value="hello" id="hello" name="deletefiles[]"/> <label for="hello">hello</label> CSS label:hover, label:active { background:yellow; } When I hover over the related checkbox, I want the label to highlight. Is there a way to fire the sa...

Combine accordion drop down with scrolltop behavior

I am using jquery to do two things. First, I have an accordion box (created using .slideToggle) that slides down when the user clicks a link. Second, I have a link that the user can click, which will scroll the window down (using .scrollTop) to reveal some content on the bottom of the page. I would like to combine these two functions s...

ul with links remains selected

Hi! I have a side bar menu composed of ul->li->a, styled with css to look as a vertical menu on the left side. I just noticed that when I choose an option a thin grew dotted line surrounds the box(button of the menu) that I selected. To me this looks "wrong", is there a way to prevent this from being visible? Thanks! ...

Linked CSS and jquery.html()

Whenver I dynamically replace the html of a element using jquery.html(), no external css (excluding those inheriting from parent elements) gets applied into the elements. By external css, I mean those not directly input into the page via style tag (without src property). Is there a way to make them apply? ...

HTML table with fixed header

I have created an HTMl page with three section, header, footer and a table section which is placed in between the header and footer.The header and footer is fixed at top and bottom using the css (top:0px; and bottom:0px;) with specific height. All the three are defined in divs.The scrollable table have to be fixed in between the header ...

Forms with action=""

Hey guys, I just wondering if it's safe to have form actions like this one: form action="" method="post" And what is more interesting is it SEO friendly? What I want to do is that form points to the same page, so I don't need to change action, but maybe it's not SEO friendly or not so safe? Thanks, Ignas ...

JQuery: return values to load callback function

It's required to partial upload Html page with $(selector).load('/sitePath', params, function() { ... }); method. Html layout comes ok but it would be nice to return some additional values for javascript also. Nowadays I return special javascript block with javascript variables inside html layout to read their values on load callback. ...

.slideToggle auto scroll down to reveal content

I am using .slideToggle to open a panel when the user clicks a link: <script type="text/javascript"> $(document).ready(function(){ $(".btn-slide").click(function(){ $("#panel").slideToggle("slow"); $(this).toggleClass("active"); return false; }); }); </script> The content of the toggled div (#panel) is taller than the height of th...

Full Screen Google Map

How can I use Google Maps API to show me a full screen map with no sidebars or search bar? I just need it to show a specific location in a mobile app, users don't need to search. Is this possible? Also if I provide a street address how can it put a push-pin at the location? ...

How to disable back button navigation on certain pages

Possible Duplicates: How do I stop the Back and Refresh buttons from resubmitting my form? Disable browsers back button Env: jQuery,richfaces How to disable back button navigation (in the menu bar) on certain pages of the user interface. ...

How to disable printing options in the browser for certain pages

Env: jQuery,richfaces,all major browsers How to disable printing options in the browser for certain pages (e.g. File-->Print Preview, Print) ...

Why isn't my embedded style taking precedence over styles in my external stylesheet?

Hi, I have the following stylesheet: /* MyStylesheet.css */ .MyForm .MyInput fieldset { border: 2px solid grey } And then the following HTML code: <div class="MyForm"> <div class="MyInput"> <fieldset> <style type="text/css"> .MyInnerFieldsets fieldset { border: 0 } </style> <div class="MyInnerFieldsets"> <fields...

How to disable copying text on certain pages in the user interface

Env: jQuery, richfaces We would like to disable copying (using CTRL+A) sensitive information on certain pages and pasting via the clipboard. We would rather expect the user to use few buttons to export the data. How do we achieve this? ...

How to disable refresh button once user goes on a particular web page ?

Hi I have to create a web page for a online quiz which will display same questions in different sequence for each user. Now, I have written code which takes questions randomly every time when user visit that page. User goes to that page by login id and password. I have used random function in query which gives questions in different o...

WMZ files from MSWord when porting to HTML

When I copy the clipboard data in C# using Clipboard.GetData(DataFormats.Html).ToString();, there are ".wmz" files getting stored in the "temp" path. (it's present in the v:imagedata src section) There are math symbols like delta in the original Word file. And these are not "Windows Media Player" video files (which also have the extens...