html

Jquery ajax load problem

Why doesnt this work? $('#websitedesign').load('test.html', function() { alert('Load was performed.'); }); Jquery version using: 1.3.1 min html code: <body> <div id="top"> <div class="wrapper"> <a href="http://www.bmvisuals.nl/" id="logoh1">BMvisuals</h1></a> <div id="menu"> <a href="index.html"> <span id="mhome">Home<...

Html table does not redraw after adding to its DOM ie8

IE bugs out on me with a large table by not redrawing the table when I add input's to it using jquery. It forces a redraw/update when I scroll the table up or down but otherwise it doesnt render the input properly. <div style="overflow: auto;"> <table> <tbody> /// lots of rows </tbody> </table> </div> an...

Passing rendered html to a javascript function

Hi all, I have some html code rendered on the server side. This is passed to a jsp which renders a javascript-call with this html: <script type="text/javascript"> window.parent.${param.popup_return}("${helpId}", "${content}"); </script> content is like " This is a <p class="xyz">test</p> " My problem is that - according to the...

Facebook social plugins not always showing up

Hi there Im added few weeks ago a like button and comments to my website and for some reason - its not always showing up. http://www.raal.co.il/content/view/58/%D7%A1%D7%99%D7%A4%D7%95%D7%A8%D7%95-%D7%A9%D7%9C-%D7%9C%D7%95%D7%97%D7%9D-%D7%91%D7%99%D7%97%D7%99%D7%93%D7%AA-%D7%93%D7%95%D7%91%D7%93%D7%91%D7%9F heres an example, on the bo...

flood a div inside another div and set opacity

Say I have a html object tree as follows: <div> <p>Text 1</p> <p>Text 2</p> <div></div> </div> I want the css to flood the inner div inside of the outer one. However I want the text etc to appear intact. My idea is I can set a bg color and opacity to the inner div and not affect the text. How do I do this? EDIT: just to e...

Select-box control with jquery

I am using a selectbox: <select name="priority" id="priority"> <option value="4">Low</option> <option value="3" selected="selected">Normal</option> <option value="2">High</option> <option value="1">Emergency</option> </select> When user select "Emergency", then a confirmation box opens and if user confirm, then "Emerge...

css font-face issues...

Hi guys I have this code in my css file from the @fontsquirrel generator /// changed the code to how it is now /// @font-face { font-family: 'AdLibRegular'; src: url('../fonts/adlib-webfont.eot'); src: local('☺'), url('../fonts/adlib-webfont.woff') format('woff'), url('../fonts/adlib-webfont.ttf') format('truetype'), ...

Video player for the site

Hello, I have to insert video into the site. The codec is mpeg4 (avi), I used http://github.com/zencoder/video-js as player (html5) with attributes: <source src="some.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> This works great in Google Chrome, but not in Firefox, IE, etc. Any ideas, why? Or what I have to do? Maybe conve...

Remove HTML remove aligment using Java

Hi All, I Have faces a issue with removeing alignment In HTML document. <html> <head> </head> <body> <p style="margin-top: 0" align="center"> Hello World </p> <p style="margin-top: 0" align="center"> Java World </p> </body> </html> My Issue is how to remove alignment of first paragraph with out ...

Fade in divs one after another.

Hey there guys, Im good with HTML and CSS but have only jsut started to scratch the surface of jQuery. I'm looking to make 3 divs fade in on page load one after another. So far I have this <script type="text/javascript"> $('#1').hide().fadeIn(1500); $('#2').hide().fadeIn(1500); $('#3').hide().fadeIn(1500); </script> I hear...

How to add product description in paypal through html hidden field?

I want to add my product description to paypal shopping cart and I am using html hidden fields to send form data. can anyone suggest what should I pass inorder to display product description? Thanks in advance for your co-operation. ...

Data after <textarea> is not shown

If you go here: http://xcs.dyndns.info/piataterenuri/vinde.php you can see that the footer appears. But if you go http://xcs.dyndns.info/piataterenuri/vinde2.php here, you can see that nothing is displayed after the textarea. The only differnce betweeen that two is that the second one has: <tr> <td class="optiune">Info:</td> <td> <tex...

PHP IF Statement executing both conditions

Hi, I'm currently integrating a payment system into my website. I have a response script which basically takes in the data from the secure server and displays to the customer if the payment has gone through or not. My problem is that the if statement is actually displaying both messages to the customer, even if the payment has been suc...

document.GetElementById doesn't work in any kind of browser

I'm trying to get the value of an input (text/textarea) and document.getElementById('rtext').value returns nothing. If I set a default value (value="XXX"), it returns that value, eve if i edit it. Here's some sample: <div class="forms"> <p><textarea id='rtext'></textarea></p> </div> I'm mentioning that the form element <textarea>...

Param elements being overwritten when flash object is added to the DOM via JavaScript in IE?

I put together some sample code to show what I'm talking about, but basically I need to dynamically add a bunch of HTML to a page that happens to contain a Flash movie that is relying on FlashVars being passed in from the html. The problem is that when you dynamically add a flash object to the DOM in IE, it overwrites all of the param e...

When did it become OK to use UTF-8?

When did people start using UTF-8 in files encoding and HTTP Content-Type headers? Since all web servers, OSes, text editors and browsers support it today, when did it become "compatible" between these? ...

Script not working on Internet Explorer only ?

Hello everyone, I have function like this in my header function bingframe() { var iframe = document.getElementById('bframe'); iframe.src = 'http://www.bing.com/search?q=' + document.searchForm.search.value.replace(/ /g,'+') + '&go=&form=QBLH&filt=all&qs=n&sk='; } So now when i call this function it responds in Google Chrome,Firefo...

HTML Buttons - Best Practices

Assume you have a customer-facing application hosted on a Web server. You have no control or knowledge of the customer's client. You also want an appealing design but you don't want to overwhelm the user with heavy graphics and/or obtrusive JavaScript. You've got a nice CSS layout with rounded corners but the default gray buttons stan...

IE displays page differently between debug in visual studio and on the server

This is a continuation of this question. I have an ASP.NET app that has some sections displaying differently when viewed in IE8 in DEBUG vs displaying off the published TEST server location. When I view the page in Debug (through VS 2010), I see this: However, when I publish to the server and view it directly, it looks like this: ...

Workaround rendering bug in IE quirks mode

I'm trying to get a simple HTML/CSS page to work as an eBay template, however it fails to render properly in IE. Thanks to eBay's HTML choices, the listing will always render in quirks mode (no doctype reference in the listing's iframe). The problem only arises when a browser window is narrower than the listing asks for (~1000px). I've t...