NPAPI: is there a way to generate an event to JS?
Is there a way to have an NPAPI plugin generate an event on the host page side? i.e. the page that contains the <embed> tag instantiating the plugin. Disclaimer: I am an NPAPI newbie. ...
Is there a way to have an NPAPI plugin generate an event on the host page side? i.e. the page that contains the <embed> tag instantiating the plugin. Disclaimer: I am an NPAPI newbie. ...
<style> ul#custom { float:right; width:100%; padding:0; margin:0; list-style-type:none; } #custom li{ display: inline; } </style> <ul id="custom"><li> <form name="form1" method="post" action="checklogin.php"> <label for="field_1">Login ID (Your Email)</label> <input type="text" name="myusername" id="fiel...
Hi, Is there any reason to use a <div style="display:inline-block"> instead of a <span> to layout a webpage? Can I put content nested inside the span? What is valid and what isn't? Thanks! It's ok to use this to make a 3x2 table like layout? <div> <span> content1(divs,p, spans, etc) </span> <span> content2(divs,p, spans, etc) ...
In the below following HTML the <b> is not working for making the "6" bold. any ideas why? <h2 style="margin:1px;padding:0;color:#333333;font-family:verdana;font-size:85%"> I am <b> 6 </b> years old today </h2> ...
I have a listing page to display a set of products. Each item has its own well-formatted HTML description. I wanna display part of each item's description to a maximum of 200 characters excluding the html tags and html attributes. The problem is when I cut down the html string, the return result of html string may not be well-format(may...
I have the following code: <div "background-color:green"> <div "float:left">something</div> <div "float:right:>something else</div> <div> Why does the background color not appear in this case? What needs to be done to make it appear {Code simplified for understanding , may not be in the approporiate syntax} ...
Hi all, I realized that you cannot just insert <iframe src=remote-page-here></iframe> and expect it to work, and twiddla is not using any flash, so I'm curious as to how they accomplish the in place browser thing. If anyone can enlighten me on that it would be great! Jason ...
I have a div, in that i am having text boxes so when I click the text box the color picker is displayed. when I click a text box the color picker is displayed in the bottom..So what I need is the color picker should be displayed in the left or top without scroll....so can anybody help me.... ...
Hi all , I need to dynamically place input types inside a <td> tag - innerHTML() method is not working in Internet Explorer. It works fine in Mozilla. This is the way I'm placing the input types in the JavaScript, where ValueCol is the <td> id, On some action I have to change the control to text box. document.getElementById("Value...
The input fields in my dialog box aren't being posted, and i'm not sure why... i've tested it on mac firefox and safari, and windows IE & firefox with the same results, so i don't think it's the browser, and the fields post fine if I disable the dialog box. I've re-read the jquery ui docs and can't find what i'm doing wrong... It seems...
Can I change the href by javascript? I use the following code in but it doesn't work: <base href="/" /> <script type="text/javascript"> function setbasehref(basehref) { var thebase = document.getElementsByTagName("base"); thebase[0].href = basehref; } //setbasehref("/"); setbasehref("http://newurl.com"); </script> ...
I have been given a network IP address. In the format of http://192.168.1.15 When I enter this address into VLC Player, it streams fine. The stream itself is a DVB/MPEG TS stream transcoded to MP4. What steps do I need to take to display this in a webpage? ...
Can somebody explain what strophe is? I believe it has something to do with XMPP? How can I incorporate it into a site using Jquery? ...
I'd like to have a bunch of SELECT dropdown lists on my page which can be empty initially. When the user clicks on one of them, I want an AJAX call to be made to the server to get the desired list for the chosen dropdown. The results of this AJAX call are then put inside the dropdown and the dropdown then works as normal. Is this possib...
I would like to know if there is a framework that can make standard html forms look more web 2.0 style, I would like to have rounded corners on text boxes and a more casual looking submit button, other than the out of box html one, which looks very old school. If you know of something that's quick to implement, and open source, thank y...
Hi All, My onload function is not working for IE7 and 8: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> <script type="text/javascript"> function onload() ...
Hi Guys, Is there a way to generate an HTML file using a PHP script which has an SVG embedded where the SVG itself is dynamically generated by the PHP script? Basically, I want to display a dynamically generated SVG image to a client but <embed>, <object> as well as <iframe> only refer to external sources while PHP generates the curren...
I am using ASP.NET 3.5 with JQuery, JS files, CSS files and lots of images for my background. For some reason when you first load your page everything is out of wack until you have finished loading everything on the page. Why is this? How can I fix this problem? Thanks in advanced! ...
Hi, I want to get the dimensions of a dynamically loaded flash object and resize a DIV accordingly to it. I can't use a server side language to do it. I've tried searching about loading and reading the header portion of a SWF file to get it's dimensions with javascript but came up empty. Is this remotely possible/feasible? Thanks in ...
Hi Guys, I have a php script (generator.php) which generates certain HTML/XML/SVG depending on various conditions. I want to embed the output of this script in my homepage (home.php) eg. Let generator.php always generate an SVG document (complete with SVG NS and DTD). Now I want to embed this generated image in the output of home.php ...