Hi SO,
I need to build a web page for mobile device. There's only one thing I still haven't figured out: how can I trigger a phone call through the clic of an image or text.
Is there a special url I could enter like the mailto: tag for emails ?
Device specific solution are envisagable.
I know Iphone automatically recognise phone num...
Ok, lets see if i can explain this. My page content has a width of 960px. It is centered in another div that has a width of 1426px (#siteWrap).
#siteWrap{
margin:0px auto;
width:1426px;
background: url(../images/bg.jpg) no-repeat ;
}
What i need to find out is how to get #siteWrap to center on a page regardless of screen resolutions. ...
In my web application I allow user generated content to be posted for public consumption similar to Stackoverflow.
What is the best practice for handing this?
My current steps for handling user generated content are:
I use MarkItUp to allow users
an easy way to format their html.
After a user has submitted thier
changes I run it thr...
I would like to gzip the html sources of my webpages, what's the best way to do it on a lighttpd/php5 server.
I have tried to do it by editing my php.ini file with:
zlib.output_compression = On
zlib.output_handler = On
but it seems to be a transparent compression only.
...
I have an automatically generated text-area (by the Erlang Web framework) that looks like the following:
<span class="form_input">
<textarea id="question_text" class="tinymce" name="question_text"> </textarea>
</span>
I'm trying to apply the TinyMCE editor to it, but what happens is the following:
http://img24.imageshack.us/img24/9...
I have a gradient background that I'm using like follows in an ASP.Net Webforms application:
<div style="background-image: url(foo.jpg) repeat-x;">
... Injected HTML codes
</div>
Where foo.jpg is a 200x1 pixel image. My problem is this, the height of the injected HTML varys from about 200px to 1000+px depending on size of a data...
I recently came across fancy box located here, I've followed every step in the instructions perfectly, but it doesn't work, anyone know what might be the problem?
Here is a sample of my page source:
Included the links to scripts as required, and CSS:
<script src="jquery.fancybox-1.2.1/jquery.fancybox/jquery-1.3.2.min.js" type="text/ja...
Is it possible to extend a background element in a div outside of the div frame?
And a follow-up question pertaining to a workaround I've found:
I've put an <img> in my HTML code positioned behind my main content. That displays the whole background image correctly, but there are scroll bars extending the full length of the image and th...
Is it possible to specify how many pixels, etc. the tab space occupies in a <pre> using CSS?
for example, say i have a piece of code appearing in a <pre> on a web page:
function Image()
{
this.Write = function()
{
document.write(this.ToString());
return this;
};
...
}
Image.prototype = new Properties();
...
...
I have an iframe that displays a php page inside it when submitting a form from the html page.
Is it possible to style links with some php code? if so, how?
Thanks
...
I've got a form on html page and some javascript code that posts it using AJAX via jQuery. When I run function that performs POST operation it doesn't appear to take any effect, but synchronous POST does work (I test it via submit button). Can problem be related to the fact that action url of the form looks like https://************** ? ...
I've seen a lot of html that behaves like an iPhone UI. Is there a library for this? Any tutorial/guides in building these html? See screenshot for an example.
...
I have some links on a site which I need to direct to a page telling the user that they are leaving the site. All of these links already have an onClick function on them which normall triggers an alert telling them that they are leaving the site.
For example, this would normally trigger the alert:
<a href="http://www.example.com" oncl...
Hi All :
I want to assign value of text box in another text box's value present in the immediate next line. How to do that using html and javascript?.
Eg:
input type = "text" name = "test" value = "pass">
input type = "hidden" name = "hiddentest" value = "(here i have to get the value of previous textbox)"/>
Please help me..
...
Its strange but when I add a form to my page, firefox seems to load the whole page first, then apply the style only after the page is fully loaded.
This behaviour is only in FireFox, and not in IE.
And only happens when I include a form.
Any ideas how to fix it?
this is the simplified document.
<!DOCTYPE html PUBLIC "-//W3C//DTD...
What is a good web application testing framework that I can use for a fairly large JavaEE based app?
I am currently using Canoo Webtest, but we are running into issues with jQuery. I have tried upgrading the htmlunit to the current version, but that causes even more strange errors to occur.
I am looking to see what other automated web ...
I have a two column layout, with a gray sidebar on the right. I need the sidebar's height to expand when the height of the left column is increased (due to content being dynamically expanded). I can make the sidebar fit a static page, but I cannot get it to increase in size with the rest of the page. Did some Googling, but couldn't find ...
I have a form that I submit through ajax, and returns an updated chunk of html that includes an updated form that I want to submit through jquery.
The problem I am having is that the first time I click submit the event is captured by jquery and works great. When I make another change to the form without refreshing, the event is not capt...
SharePoint parses and synchronizes custom document properties with SharePoint properties for MS Office documents "out of the box".
I need to configure MOSS 2007 to parse HTML meta tags and synchronize them to custom SharePoint properties in a similar fashion when HTML documents are uploaded to a library.
Meta tags in the following for...
I'm trying to do something unusual. I promise it has a purpose. I'm 90% sure it can't be done, but wanted to double check with geniuses.
Is it possible to have an object/embeded .swf in the page, let it be displayed, but do not allow any interaction with it. As an example, can you somehow change the youtube embed code to display the pla...