I embed .mov clips that sometimes are bigger than the place where I show it, so I want to resize the clip. Have tried with width and height but that only changes the area to display it; it does not resize the actual movie.
Is it possible to resize the movie size? If yes, how?
...
I'm trying to have a list of images displayed horizontaly. It's kind of like a carousel except instead of using jquery and animations I'd just have a scrollbar
<div class="playlist-wrapper">
<ul class="playlist">
<li> <img src='http://blah' /></li>
<li> <img src='http://blah' /></li>
<li> <img src='http://blah' /></li>
...
I'm new to JOINS in MySql.
I have six tables: t1, t2, t3, t4, t5, t6.
And I also have one main table: main_table.
TOTAL 7 TABLES!
The first column of ALL tables is called classified_id.
If the user searches for "cars" then the main table will match everything in table t1 (which is the cars table) where classified_id is the same in bot...
I trying to use the toggle function, to change the background and href of a link, so far I have this code,
$('a.loveIt').toggle(
function() {
var url = $(this).attr('href');
$.ajax({
url:url,
type:"POST",
success:function(){
//alert("hello");
$...
From this simple html.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Hello</title>
<style type="text/css" media="screen">
.t1 {
paddin...
I love the calendar extender, but I am unable to use it in my MVC app. How do I connect the calendar extender to a textbox in MVC... or add the extender at all for that matter?
Old Way...
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
...
<asp:TextBox ID="txtDate1" runat="server" Validatio...
My webpage is divided in two boxes (divs) A in the left and B in the right.
Using the main scrolls of the browser window, I want to scroll A vertically only and B horizontally only.
With position:fixed in B is trivial to have A scrolling up and down, but then B dont scroll horizontally.
How can I do this? Thanks
...
In a new class I'm writing, I need to take the contents of an external XML data feed and convert it into an HTML table via C# and .NET 2.0 (cannot go any higher due to server constraints). Since we reuse the code, I'm putting this functionality into a class. Here is the XML Loader class:
using System;
using System.Web;
using System.Data...
I have a navigation menu on this site: http://blog.helpcurenow.org/test/redesignMockup/ where I have set the list item anchors to display:block, and defined a height and width that matches the entire containing element, but only the text is clickable. Any ideas why the whole tab is not clickable?
Here's the CSS rules I have written for ...
Basically, what I would like to do is to lay out some divs in a master div to simulate a table.
The only difference is that sometimes a "column" needs to be a different size depending on the "row". So I'm trying to figure out how best to position the divs. Should I float the divs, abs position, etc...
I just thought of another way. Sh...
Looking to implement a RIA (rich internet application) either as a java (JWS) application or HTML/CSS/JS. I have been looking for resources that show a clear pro's con's on the subject, but haven't been able to find a nice comparison. Could anyone point me in the right direction?
...
I'm trying to use an to point to an .aspx file, but when I load it I keep getting an empty frame, no matter what is in the target aspx nothing gets displayed. Here the html:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
This i...
What are the typical arguments in support of storing combo-box values (static lookup values (strings etc.) for an application) in database vs storing them right into the html page itself ?
...
I have an input field which has a placeholder text. I want one word to be a different color say red, how would would I go about that? Styling a span and surrounding the word with the span didn't work.
For example on this site, I want to the number in the phrase "Search 649 radio stories" to be red.
http://66.251.226.207/library
...
I am trying to integrate google checkout with my current site. I am calculating the shipping on my end, before passing it to google checkout. The problem is, when a person click the "google checkout" button, it takes them to google checkout but it does not show the shipping. It actually states it will be calculated on next step. In t...
Hi all,
I've got a div that looks like this:
<div id="exampleDiv" class="class1 class2" title="example title"></div>
I've selected with JQuery using this statement:
var $div = $('#exampleDiv');
What I'd like to get is a string of the tag itself as html, so that I actually get:
"<div id='exampleDiv' class='class1'....", etc.
Doe...
I'm using this function to create an transparent overlay of information over the current div for a web-based mobile app.
Background: using jQTouch, so I have separate divs, not individual pages loading new.
$(document).ready(function() {
$('.infoBtn').click(function() {
$('#overlay').toggleFade(400);
return false;...
I have the current PHP:
$thisarray[] = "#000";
SetProfileField('usercss', $USER->id, implode(',',$thisarray));
Which writes #000 to the users profile field labelled usercss.
However I would like the user to be able to set the value from a simple form.
Can anyone suggest some code I might use?
++ Hope to extend this to include a jQ...
So the question basically says it all -- I've got a site that looks one way when I run it locally through the visual studio web server (http://localhost:3452/) and on IIS7 (http://server/myproject/).
At first I thought there was something wrong with my CSS that was not resolving properly, but I believe I've checked all of those things a...
Understanding that if someone had JavaScript disabled the site would not work then is there any other reason not to do this?
I am in the design phase of a new site and want to make it easy to change the server code without having to change the UI - just like a form.
This is using Python server side.
...