hi there,
I have a iframe that loads into out page that causes a display issue. We've tried CSS changes although it still causes a problem. Is there anyway to hide an iframe using jquery that is loaded externally.
we've tried the document ready but it looks like the external js file that it uses also has the document ready method so...
Is it possible to create HTML output from the contents of an HTML snippet that has been extracted via PHP's DOM tools (e.g. $div = $dom->getElementsByTagName('table')->item(0);) such that the HTML created contains just the elements with specified tag name, and their descendants?
Otherwise, are there perhaps any other ways to easily ext...
I have a php file which prints an xml based on a MySql db.
I get an error every time at exactly the point where there is an & sign.
Here is some php:
$query = mysql_query($sql);
$_xmlrows = '';
while ($row = mysql_fetch_array($query)) {
$_xmlrows .= xmlrowtemplate($row);
}
function xmlrowtemplate($dbrow){
return "<AD>
...
Hi,
I am trying to develop a native application for iPhone or Android or Symbian on Windows. I have looked online and came across http://rhomobile.com/, which let you develop native applications for almost all devices, but I am inexperienced in Ruby. I can code in HTML, ASP.Net, Javascript, and PHP.
The only thing that made my search...
Hey guys, so I would like you to help with an issue that I'm having, pretty much what i need is when the checkbox is clicked to append the checkbox value to an li element in a different div. Check the html below. Thanks in advance.
<div class="heading">
<p><a href="#">Experiences</a></p>
<a href="#" target="_self">modify</a> ...
Hi Folks, I am looking for some info on CSS style used for many websites these days. Its a style where whole screen is occupied by one background and the websites content is posted on top of it under smaller dimensions.
Something like this website: http://www.obiweb.com.au/
How do we achieve something like this?
Thanks
...
I've always added the file extension to a link "contact.php" is there anything wrong with excluding it and simply having <a href="contact">? seems to work fine, as Im having a lot of trouble with .htaccess removing the file extensions.
thx
...
I am looking to have a video start when a page loads, but once the video has completed, to hide the video (remove the layer possibly). I saw it on a yoga site a few years ago where a video message from the owner appeared over top the content when the page loaded but then dissapeared after the video was done. Not even sure where to begin ...
I'm using jQuery to add a readonly attribute to all form elements but can't seem to figure out how to do this.
Here is what I'm trying:
$('#form1').each( function() { $(this).attr('readonly', true); });
I have a simple form using label/input to display form elements.
Also I'm using tipsy (Tool tip plug-in) as well as Formalize (Look ...
I have a question regarding how to make the same website appear consistently in different browsers on different platforms.
The following is a website that I made for my professor: http://youlab.wustl.edu/Home.html. The site itself was made using iWeb while the drop down menu was manually inserted using an external HTML code provider (So...
I have this HTML code with multiple inputs with the same name:
<input type="hidden" value="42" name="authors" />
<input type="hidden" value="13" name="authors" />
<input type="hidden" value="33" name="authors" />
The order of the values is important. Does the HTML spec define that user agents have to preserve this order, and if yes, d...
I'm trying to create a fluid layout with http://www.tinyfluidgrid.com/
I want to create a 2 columns layout (grid_12) inside the body (grid_16) but the left bar (grid_4) and the right bar doesn't wrap the whole body so what should I do:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
...
If I try to apply min-width, max-width to a floating div so that it expands to max-width when the right content is hidden does not work.
But, if I use table and 2 td's in it. The left td will expand to 100% if the right td is hidden.
Can I achieve this table effect with floated divs ?
...
I have a list of textboxes as an array created using jQuery
<input type="text" name="salaries[]" value="100,000">
<input type="text" name="salaries[]" value="200,000">
<input type="text" name="salaries[]" value="300,000">
<input type="text" name="salaries[]" value="400,000">
Now in C# :
Request.Form["salaries[]"] gives
salaries[] = 1...
I want to display a text box on my webpage which has a Date input mask. For example:
When the user visits the page; the text box should be prefilled with dd/mm/yyyy in light grey color. He should overwrite the same using some valid date like 20/12/1990.
How to accomplish this task (JQuery, JavaScript)? Any inputs would be helpful!!
...
I was wondering if there was any "easy" way to add through css lets say:
border: 1px solid red;
to all divs no matter what their id´s are.
I realize this might be a very very basic question (or no possible at all) and I hope it is clear enough.
Just to clarify, lets say I´ve got:
HTML
<div id="one">
</div>
<div id="two">
</div>
...
I have a series of DIV elements that, when clicked on, trigger a DOMWindow open event. No problem there.
Then I had to add keyboard accessibility. DOH!!
I added tabindex attributes to the DIVs, which allows the user to tab from one DIV to the next, and I added a keypress handler to deal with the Enter Key. No problem there.
The probl...
Hello, I am faced with something I dont know where to start with.
I currently have a news section on my website, the news is added into the database.
However, it's very dull and has no formatting!
How can I allow the admin thats adding news to make things bold or underlined and have colour etc. Will it be possible to save this in the d...
Hi,
I have included meta tags for Cache-control - no cache and Pragma no cache and Expires in my html page. But still i find the html pages in Temporary Internet Files folder on my system with expires timestamp.
If i make another request to server after the timestamp expiration value, the page my browser is going to show is a new page ...
I have a classifieds website, and when posting a new ad, users may chose to upload pictures.
Currently, the form on the page submits to itself whenever a file is chosen, and then PHP uploads the actual file, which is then lastly displayed to the user.
I use javascript to set some hidden-inputs on the page, and then submit the form to i...