I have a WinForms application, running on .net 3.5. This Application generates HTML on the fly, which includes the complete document, and also an inline-CSS-Stylesheet (inside the head element).
I am using the WebBrowser control and setting browser.DocumentText to my generated HTML, but that does not seem to properly apply styles on the...
i have a website where i want to allow the users to manage the content. There are a few main pages:
The welcome page
The news page
etc . .
i want to allow non tecnical users the ability to format and change the content in the welcome page (almost like its a blog or a wysiwyg WIKI to the user) but i want this content (the resulted ht...
Firefox on Ubuntu seems to render some HTML considerably differently compared to other browsers. In particular some fonts/styles on Ubuntu are becoming much larger and columns of text which rely on equal numbers of line breaks to keep them aligned are no longer aligned on Ubuntu Firefox.
I have have been given some HTML which was made i...
Is there a way to make a HTML select element call a function each time its selection has been changed programmatically?
Both IE and FF won't fire 'onchange' when the current selection in a select box is modified with javascript. Beside, the js function wich changes the selection is part of framework so I can't change it to trigger an on...
I want to practive, and even best-practice, with Html+JS+CSS.
I use a one page client-only Sudoku page.
My Sudoku markup is basically a <table>, with <td>.
(I'm open to suggestions to improve this).
My requirements :
Have a cell under focus (the keyboard notion of focus) (highlighed with css to a yellow background)
Navigate through ce...
I have this website here http://www.innovie.com/morgan
If I use PC, I can drag and change volume on top left just fine. But if I use Mac OSX, either Safari or Firefox, I cannot drag the volume in the Flash, although I can see the mouse turn into pointer. Can someone help on why?
Where is the SWF: h**p://www.innovie.com/morgan/sound.swf
...
Hi all,
I have my website getting a value as a result of an ajax call. After that, I would like to insert that result (a string) into a tag. However, I would like to insert that result in a way that (1) it must have opacity = 0, then (2) it will slideDown() so the whole content list being pushed down using animation, and finally (3) cha...
Where can I find information like how to make input text, input password, radiobutton, checkbox and textarea in a software made with java?
...
I tried to include the code below in a newsletter using a service called Campaign monitor but when I try to send the campaign nothing happens.
<object width="416" height="258"><param name="movie" value="http://svt.se/embededflash/1575475/play.swf"></param><param name="wmode" value="transparent"></param><param name="allowfu...
I have this code wich works with no errors when sending "simple text" through Ajax post.
But when i want to send "html" to the server, my code will fail sometimes.
var message = tinyMCE.activeEditor.getContent();
if(message.length > 0)
{
message = Base64.encode(message);
...
I've noticed that some web developers put IDs on scripts tags. For example:
<script id="scripty" src="something.js" type="text/javascript"></script>
I know that according the W3C this is perfectly legal markup, but what's the benefits of doing this?
...
Having a DOM of the following html;
<a href="?op=order">
<img class="img_button" src="picture.gif"
onMouseOver="this.src='some.gif';"
onMouseOut="this.src='some_other.gif';"
alt="" border="0">
</a>
how to follow a link (href) in QWebKit (specifically QWebPage).
Please notice that it's an image that is linked.
I can't do it (and...
Should I start using HTML 5 in my websites? The new technology looks really cool. I'm not sure about this but does IE8 support it? I'm just looking for some opinions on this matter. Tell me what you think...
...
I am thinking about a really simple html templating system to implement in asp.net.
Basically given a .html file with a couple of placeholders like [menu] and [content] it would grab the appropriate data and merge it with the html and the display the page. I'd like to be able to use asp.net stuff like controls and postback but this isn...
Hi
I have the following code appearing multiple times on an html page (text values differ):
<div>
<a href="1.html">
<span class="e">
<span class="1">stuff1</span>
<span class="2">stuff2</span>
<span class="3">stuff3</span>
</span>
</a>
<a class="click" href="2.html">link</a>
</div>
what I'm trying to do is when the li...
I'm building a website with around 250-300 thumbnails on a single page, contained in 5 different divs which can each be scrolled horizontally.
During the loading stage, however, I need to be able to click on a thumbnail and load the full-res picture in the lightbox.
I've looked at Jason Buntings answer in How to display loading status w...
Hey guys I'm trying to make a HTML text box that:
1) only accepts numbers
2) after 3 digits, adds a '.'
3) after 6 digits, adds another '.'
So for example, by only typing numbers, you'll get
555.323.7637
4) If you're after a '.', like '555.', then a backspace would change it to '55'.
I've been googling around but don't know the exact ...
HI all,
I am currently tinkering with this pre-authored ajax/php image uploading script, but after almost 2 days of trying to figure out why it throws 403 forbidden error(You don't have permission to access /ajaxupload.php
on this server), I am out of options but to ask the gurus here.
I suspect it has something to do with my hosts ser...
I am using PHP. I have some articles stored in MySQL and they all have some style (like with some css or tags). Now I have to add some links to some text randomly and automatically. This means I have to add links to the text and make sure the links do not break the style.
I think the most difficult part is how to add links but not to ...
Here's the situation:
I have a lot of HTML files, and these HTML files link to a lot of documents. The documents have ALL been renamed. I have an excel sheet which has the old name of the file and the new name of the file.
What would be the quickest way to change the links inside the HTML files to accommodate the new names?
The method...