I'm building an HTML5 application (with ASP.NET back-end) and i want to develop it in such a way that i can run it locally with all my resources (such js and css) not minified (so i can debug it easily). However when i build the final version i want merge and minify the resources. At the same time i want to create several versions of the...
I am probably missing soemthing very simple, but the following is a comment posted on in my rails app and if the content is too long..then it doesnot wrap automatically withing the paragraph and overflows onto the page.
The content of the paragraph is generated by Redcloth, though this particular paragraph does not contain any textile m...
I am trying to create div elements dynamically, and at the time of creation i am using onClick = 'showDimension();'. It shows the correct html on alert box but when DIV is created you can see that div is not having any onClick method attached [ firebug ]. Instead of that it is having a stray string 'showDimension();'. Why it is happening...
Is there a way to make Episerver leave the HTML id attribute alone and more importantly how much work is that?
I know you could also remove the viewstate, how much work is that?
I'm not here to start a discussion about semantics and optimization, whether or not a CMS should touch the front-end code is a long debate. I just need to know...
hello,
i would like to show my flash movie in a browser window so that it fills width and height as good as possible without distorting the movie.
when i use the width and height attribute to the object/embed tags it only scales the width but not the height.
<body bgcolor="#000000"
width="100%"
height="100%">
<o...
Is there a way to add css from a string in the javascript file to the head of a document with javascript?
Let's say we have a webpage, which has a lightbox script, this script requires a css file to function.
Now adding this css file with <link> will make the css file download even for people that don't have js enabled.
I know that ...
My Code:
var TextStyleDeclaration:CSSStyleDeclaration=new CSSStyleDeclaration(".ImageElement");
TextStyleDeclaration.defaultFactory=function():void
{
leftMargin=50;
}
StyleManager.setStyleDeclaration(".ImageElement",TextStyleDeclaration,true);
var page_rich_text:spark.components.RichText=new spark.components.RichText();
page_ric...
Hi,
I need a fixed position thead that is static when the parent DIV element is scrolled.
I don't need a scrolling tbody element as the parent will take care of this.
Not fussed about IE6 support.
The HTML:
<div class="scroll">
<form method="post" name="price_update" id="price_update" action="/">
<table summary="A ta...
what is the meaning of these jquery random attributes in html and how jquery use them
any ideas please ??
...
if (selectedCountry == "USA") {
$("#state").show();
}
How can I change name for my div #state with the same condition?
(to add name="NewName" to my div id="state")
Smth like:
if (selectedCountry == "USA") {
$("#state").show();
$("#state").name("NewName"); <-- ?
}
...
hello there i am constructing a site where i can upload my own mp3 files.
So i have the file uploaded to the server and when i link to it the browser plays the song.
Is it possible to make it so when the link is press it downloads the file instead of playing it.
For example www.example.com/music/song.mp3 once clicked it downloads inst...
jQuery apparently will re-size an image if the image is 2 big to fit into the lightbox properly.
( As seen here ).
This does not happen for me though because when I view a LARGE image it takes up the whole page and you have to scroll to see the image.
Is there something I am missing where I can set the MAX width and height of the ima...
I am using Jquery buttons set, which is built into Jquery UI. And selectmenu which is a ui addon.
.buttonset(); takes a group of buttons and makes thhem into radio buttons
.selectmenu(); takes a select menu and truns it into a nice looking popup list.
However when I place these items in a div with the property display:none and then in...
Is adding something like below to my site (for ex,my site is called mmmm.com) will work ?
<link rel="openid.delegate" href="http://mmmm.myopenid.com">
I'm looking for simple stuff,that allows users to first register with their existing openid and then login to my site.
There is lot of documents - but im confused.!
...
I have a classifieds website...
The classifieds are displayed in a dynamic php page.
For instance, if one searches for "bmw m3" in the form (which is in index.html) and submits, then a php page will appear showing results.
The php page called results.php, connects to mysql databases and fetches the information, and puts them in a tabl...
Hell there
when i try and connect to pull thing out of the database i get the following error:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/content/49/5548763/html/matt/download.php on line 17
None of the other answers on this site worked.
here is the script:
<?php
$con = mysql_conn...
My screen looks good in IE8 under Windows XP. But when I open it in IE8 under Windows Server 2003, all text is more bold than in XP. I can apply styles to it, for example change font-weight in css, but in that case font weight changes under Windows XP too and in any case my screen looks differ.
...
Hey,
Here's what I am trying to do:
There is one scrollable div with fixed size, say 400x400 px. Inside there are two divs: header div and data div. Both their height and width are variable. What I want to do is be able to scroll horizontally both header and data divs but vertically only the data. In other words, I want the header div be...
I have created a sample
http://jsbin.com/eqiti3
here we have three divs. Now, what i want to do is: on clicking of any div it should come on the top of other div then fade and then back to its original position. This is what i am using:
$(".box").click( function () {
var zindex = $(this).css('z-index');
/* this too is not wo...
Hello,
I'm trying to create an application that converts a file from the HTML format to the PDF format.
The approach I am using is:
HTML to XHTML
XHTML to Formatting Object
Formatting Object to PDF
I'm having a bit of trouble with the whole XHTML to FO(or xsl).
Can you please tell me how to transform the XHTML to FO?
Or maybe a...