html

Can't hide my DIV with JavaScript

This is my DIV <div id="MyDiv"> <div class="fa_close"><a href="#" onclick="hFa()"><img src="fadead/close1.jpg" /></a></div> <h1><i>THIS WEEK'S</i></h1> <img src="fadead/special.jpg" alt="special" /> </div> And I am trying to hide it like this but it does not want to work document.getElementById("MyDiv").style.visibility =...

How to validate XHTML page that using fb:comments ,xid and <div href>?

I'm actually gettings these errors and I cannot let them fixed. I need some help. I can't found anything on Google, sorry. there is no attribute "href" <div id="audio" href="http://domain.com/mp3/Green Day - A Quick One While Hes… there is no attribute "xid" <div style="margin: 0px 100px;"><fb:comments xid="music52"></fb:comments></...

Flash Embed doesn't work

Please save my skin. http://clubentertainment.ie/c/art-perf/embed_example.html The above link should load in Firefox, doesn't load in anything. Doesn't appear to throw any errors. It even validates. It is using swfobject, all of the links appear to work.. it just isn't actually working. I would like to blame the flash object but as it...

Display a "No Javascript" div, but not to google / facebook share service...

Hi All, I would like to show a div near the top of a site to suggest to visitors that do not have javascript enabled that they should enable their javascript. I thought I had found a good method by using the noscript tag. Unfortunately I found that this solution was less than ideal because of services like Google's indexer and Facebook...

CSS - table not using body font size even though I havent set the table font size explicitly..

Hey, I have a problem whereby I have set the body font-size to 11px, but tables display font at 16px. I have no idea whats causing this - I have been over the CSS and the output (source when browsing to the page) time and time again. Setting table font-size to 11px explicitly has the desired effect, but I shouldnt need to set it anywher...

Best practices with multiple directories in HTML

I haven't found a clear answer to this question (but have determined the HTML tag is more trouble than it's worth.) When you're working with multiple directories on a website, how do you make sure relative links to the rest of your site work as you change your current directory? I don't want my link to "/index.php" to actually link to ...

Div Scroll on MouseOver

I have a page http://armenianmusicawards.ru/gallery where I have horizontal image lists. What jQuery plugin I can use for horizontal div scrolling on mouse over? Each row scrolls separately. I tried http://www.maaki.com/thomas/SmoothDivScroll/ , but there is problem, first time scrolls and second time disapears scrollers and nothing ha...

PHP and Labview - grabing a value from labview and displaying the value on a webpage - two different computers on the same network

Hello. I am by no means considered a programmer. The only programming language I some what know is HTML - so be gentle :) My boss came up to me the other day and asked me if i wanted to learn PHP, so i said sure. He threw me some text books and said here's what i want you to do: There's a computer running labview that monitors various...

Div gets too wide when 1 column is removed

I'm doing Wordpress theme based on layout that wasn't done by me. The layout originally contains 3 columns, and works fine. But when i try to remove one column to get 2-columns for content pages, the layout broke, and the #keskimain gets from some reason 2px too wide. http://tietojohtajakilta.net/wordpress/2-col-test/ What's the rea...

Google Chrome https popup error

I have a secure page. In Chrome when I pop-up pages from that secure page, it displays an exclamation mark in both the parent and child address bars. When viewed on it's own the child page shows as secure (no exclamation mark) according to Chrome. How can I have popups from my secure page, and not induce these exclamation mark warni...

How to limit the HTML table records in each page

Hello All, I am populating a table in my jsp which has more than 20 records. Now, If I want to display each 10 records in a page and then the user clicks on next link to go to the other 20 records. How can I do that in my jsp? This is my current code <table> <tr> <td>id</td> <td>name</td> <td>type</td> ...

Recaptcha fixed image size

Why is recaptcha image fixed in size 300x57 ? Even when customizing the div where the image is injected, the width and height of the div are overridden and set to 300x57. Of course the image can be re-sized after it's rendered, but why there are no options to generate the image the size developers would like it to be. http://code.google...

Import many pages from a xap file in Html

I'm starting at silverlight and I tried to import two pages(.xaml) from a .xap file in one HTML. ...

Send Div id to javascript via onclick

Hello, I have a page with several div's. All of the divs have a unique id. I would like to send that id to a javascript function. I have tried to save it as a value as well, and send this.value, but that does not work either. <div class='recordElem$val' id='$rname' value='$rname' onclick='javascript:updateRecord(this.value);'> ...

Is there a better way to do this jQuery functionality

Hi, I am trying to bulk disable all the submit buttons present in my form. I am getting all the buttons using the following jQuery jQuery('input') This returns me an array of the Input tags. I can iterate through this and disable each and every one of them. But is there a better way to perform this operation. Something like, jQuery(...

Ability to choose multiple files in the file browser using the browse button

When I click on the browse button input type='file', I get to choose only one file at a time. Is there any way to choose multiple files? Also is there any way to see the files in thumbnail view? ...

HTML list navigation problem with an uneven design.

Our designer created a navigation that visually looks like this: Navigation Bar The HTML structure of which is: <ul> <li class="first">Home</li> <li>Schools</li> <li>Scores</li> <li>Sports</li> <li>Blogs</li> <li>Podcasts</li> <li class="last">Forums</li> </ul> I can't figure out if there's a way to make ...

Questions about website building

I know HTML and Javascript, but was wondering what languages I should know to build more interactive websites. By this I mean I want to update a site automatically every so often without having to load the files myself. What language gives you the ability to do this type of stuff the best? ...

Looking for a way to disable special handling of CSS on IE8 over an RDP connection?

I'm currently working on a website, and when I test the website locally, everything looks fine, but when I test the website over an RDP connection to the same machine the styles handling is all jacked around. The fonts are all fixed height, the browser settings haven't changed, I just refreshed the page after I reconnected over RDP. He...

Accepting and parsing an uploaded file in a servlet

How do I get the file in a servlet running on Tomcat after using <input type="file"> in the JSP file? ...