I need to load a page with an iframe in a way that its header is hidden. I tried the following but for some reason it isn't working:
<div style="width:945px; height:600px; overflow:hidden;">
<iframe src="innerpage.html"
frameborder="0"
height="700"
scrolling="no"
width="945"
style="top:...
Ok, I've hit a brick wall. I have a project where I need to convert items (Photos) listed in a table into a UL for further jQuery Manipulation (ideally using jQuery Cycle - http://www.malsup.com/jquery/cycle/ ). I had located this Stack Overflow post (http://stackoverflow.com/questions/577669/how-to-transform-html-table-to-list-with-jqu...
Given this PHP code:
<a onclick="javascript:window.location.href='<?php echo $url;?>'"
What if there is a ' in $url?
I tried using json_encode($url) but it won't be able to handle this.
...
Hello all,
I'm having a hard time find an answer to the following question, which would seem pretty common, so I must be missing something fundamental. Could you please help me out?
Given the contrived XML schema, sample XML input, and sample XSLT below used to transform XML to HTML. How do I set attributes within tags? For example...
Hi,
I have created a table in PHP but the cells size is not fixed it expends when the input is long. Here is the Code.
echo "<div style=\"overflow-y: scroll; white-space: nowrap; height: 190px;\">\n";
echo "<table cellspacing=\"1\" cellpadding=\"1\" align=\"center\" width=\"100%\" id=\"clients\">\n";
echo "<tr bgcolor=\...
Can CSS be bidirectional or is a stylesheet inherently tied to the direction of script (RTL vs. LTR)?
I.e. can one and a single stylesheet work for both left-to-right (English) and right-to-left (Hebrew) languages?
If so, what are guidelines to take into account?
If no, how can a ltr stylesheet be transformed to rtl?
...
When using the "label for" parameter on radio buttons, to be 508 compliant, is the following correct?
<label for="button one"><input type="radio" name="group1" id="r1" value="1" /> button one</label>
or is this?
<input type="radio" name="group1" id="r1" value="1" /><label for="button one"> button one</label>
Reason I ask is that ...
Hi,
I've an asp.net web application which uses App_themes feature.
Application has aspx pages which refer to master pages.
Master pages apply css file (for eg. A.css) present in App_themes folder to all the aspx pages.
For some of the aspx pages, I want to skip this A.css file and apply a new one called B.css instead.How do i achieve ...
I've been a big fan of the site and frankly this is the first time I ever came across a problem that Stackoverflow didn't have the answer to.
I need to grab some content from an html(xhtml valid) page. I grab the page using curl and store it in memory. I played with the idea of using regex with the PCRE library, but simply I couldn't fi...
I have the following javascript function to create an image that will show on hover of another image, but the image does not load... just the little symbol that goes in place when it cannot find an image.
What is wrong with this code:
function createimg()
{
var img = new Image();
img.src='images/imageoverlay.png';
img.id = '...
I need to wrap three divs into one, but that group of three divs is repeating itself several times in code. Maybe my HTML will explain:
<div class="one" />
<div class="two" />
<div class="three" />
<div class="one" />
<div class="two" />
<div class="three" />
What I'm trying to achieve is this:
<div class="wrap">
<div class="one" ...
Hi,
just a simple question..
Is there any good practices to validate an HTML embed code?
fyi, I am using Zend Framework and prototype+scriptaculous right now..
it would be great if someone could give a clue around that environment.
Thank you! ^^
...
I am writing a web application targeting the Blackberry Browser 4.2. I want to had some vertical spacing between a list of links. I know 4.2 doesn't support padding and margin but I thought it supported height or line-height. I can't get either to work.
I really don't want to use a line break. Any suggestions
...
I'm using Fiddler2 to see page load times. There are lots of jpg,gif,png,etc. listed. Most return code 304 which I believe means that the browser does not have to download that again. It seems that even though it does not download again, there is overhead in the checking. I have 33 such objects and round trip just to check is close to 40...
the html that I am receiving from urllib2 is missing dozens of fields of data that I can see when I view the source of the URL in Firefox. Any advice would be much appreciated. Here is what it looks like:
from FireFox view source:
# ...<td class=td6>as</td></tr></thead>|ManyFields|<br></div><div id="c1">...
from urllib2 return html...
Is it possible to use a jQuery selector on an HTML string? I'm trying to get the html contents of the div, foo.
var code = "<div id='foo'>1</div><div id='bar'>2</div>";
alert( $(code).html( ) ); // returns 1 (not sure how...)
How can I get the html contents of foo and of bar in two different statements?
...
I am currently writing a web site which must be compatible with all browsers including IE back to version 6.
I was wondering about compatibility issues with these two events in particular:
I am using them with a input tag with type 'text'.
OnBlur
OnChange
Searching has found mixed responses and an incomplete list.
Specifically, the...
I asked at http://stackoverflow.com/questions/1529333/parsing-html-string-with-jquery how I can use jQuery on an html string. That all works, but when I apply it to ajax - it does not work. Here is the code.
<script>
var url = 'moo.html';
$.ajax({
url: url,
success: function ( code )
{
html = $(code);
html.e...
Is .html extension better than .php and .aspx for SEO ? or extension less url is better then all
...
How can I make the scrollbars like in Google Wave?
They save a lot of space and look nice.I would like to put the scrollbars on a div like how google wave does it.
...