I have some simple code in an aspx page
<object width="550" height="400">
<param name="movie" value='XXXX' />
<embed src='XXXX' width="350" height="370"></embed>
</object>
I want to be able to dynamically set the value of XXXX.
What is the best way to do this ?
...
So i have a space where users can input text/html, and it will show up on another page. Sounds pretty simple right. Well this space is a text area - again exactly what you would expect.
But if the user tries to enter in a tag and the tag, then the will close the textbox the next time they load the page (with the previous text inserte...
Hi,
I have over 2000 HTML files that are now in Wordpress blog. I have the URL Map of Old_file.html and new wordpress URL.
I want 301 redirect but don't want to add 2000 lines to htaccess. Can you please suggest how to accomplish this using PHP so that when there is a request for old url, the php script should lookup into the database ...
Hi,
i have a input type=text in a table (in a TD actually)
When a user clicks a checkbox, the input is hidden with Jquery (via the hide method)
This makes the style of the input to "display:none;"
So far so good.
Now, when that has happened, the row where the cell is in is shrunk (the height is lowered) because the only thing left in t...
How to remove parent element and all the respective nodes using plain javascript. I m not using any Jquery or other library.
Its like u are havin an element and when user click on that u want to remove the parent to parent element.(also the respective chlds nodes of that)
EDIT
<table id='table'>
<tr id='id'>
<td>
...
so far i was doing it like this:
<a href="http://domain.com" title="Keyword"><img src="image.png" alt="Keyword" /></a>
Now, i discovered that images can have title attribute too:
<a href="http://domain.com" title="Keyword"><img src="image.png" alt="Keyword" title="Keyword"/></a>
Is there any other optimization i could pull off to b...
I'm trying to create a table in php that would show the data on the mysql database based on the check box that is checked by the user.
As you can see in this screen shot, it will have problems when you did not check on a checkbox before the one that will be the last:
http://www.mypicx.com/04282010/1/
Here is my code:
if($_POST['gener...
http://removed.com/jquery/test.html
Playing with jQuery and upon pressing "More" on the top left, it pushes down the "Brown" layer. How can I keep the brown layer steady? It happens in Chrome, but not Firefox.
...
Hi,
I make innerHTML to get data and store it in database. When i tried in firefox it is coming proper with quotes(" or ') for attributes. But in IE i am not getting the quotes(" or ') for attributes. Is this a browser issue? Any answer for this.
Thanks
...
Hi, here's my table:
HTML viewable at jsfiddle.net (it's a lot of code to post here)
The method to change the column width escapes me, I'd like the "Produkt" column to be wider.
Thanks.
...
Basics
Hi all, I have see the tableToGrid method (by Peter Romianowski) defined as tableToGrid(selector, options) on the jqGrid wiki, but cannot find anywhere that has documentation of the options
Does anyone know about these or where to find them? EDIT: Thanks Oleg, resolved!
More
What Im actually trying to do is encase the resultin...
I have A HTML form like this:
<form>
<fieldset class="ui-widget-content ui-corner-all">
<select id="Streams" class="multiselect ui-widget-content ui-corner-all" multiple="multiple" name="Streams[]">
<option value="35"> Example Name (35)</option>
<option value="44"> Example Name (44)</option>
<option value="5698"> Example...
I know that there is no API to remove the header row, but I'm sure it can be done by modifying some CSS. Any ideas ?
For example, here: http://mleibman.github.com/SlickGrid/examples/example4-model.html
CSS experts !
I need your help with this one.
I'm interested in changing the CSS code of the package that removes the header row. CSS c...
I was looking over some of my friend’s HTML and CSS, and I was speechless (in a bad way). If I had to work with that, such as putting AJAX into it, then it would have been a lot of work. I would have to rebuild a lot of the HTML aspects, otherwise it wouldn't work well with the AJAX.
What would you do in a situation like so? Would you:
...
This was added to the page later with jQuery:
<input name="pdfRadio" id="pdfRadioNo0" value="0" type="radio">
This code:
radio_id = "pdfRadioNo0"
ie.radio(:id, radio_id).set()
does not set it but returns an error message:
Watir::Exception::UnknownObjectException: Unable to locate element, using {:id=>"pdfRadioNo0"}
Does watir al...
Hi
I embed a video in html page with swf file. that is running on local host but when i run this on live server. than it dosent work properly.
I link flv video in swf file and embed it in html.
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28...
Hello
It seems the most common aproach to web design is to use HTML/XHTML & CSS in conjunction with other technologies or languages like Javascript or PHP.
On a theoretical level, I'm interested to know what other languages or technologies could be used to build an entire site without using a single HTML tag or CSS style for styling/p...
Hi there,
I was wondering if it's possible to create a HTML div container with some CSS magic that shows a horizontal scrollbar like the one with the screenshots on the iTunes preview on the web. I want this to work in Safari on the iPhone.
e.g. http://itunes.apple.com/app/super-monkey-ball/id281966695?mt=8
I would like to use that to...
Hi,
My side bar overflow the container div's border when I set it's height to 100%,
I would like to know if there is any way I can have it's height 100% minus some px.
Here is the source:
<div id="main">
<br /><br />
<div class="content">
<div id="sidecontent">
<h1 id="title">Title</h1>
*****
...
Hi, I'm a jQuery noob, I tried this:
<input value="1" type="checkbox" name="mytable" id="checkbox2" style="float:left;"
/>
{literal}
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(function() {
//checkbox
$(".mytable").click(function(){
$(".myta...