I'm fairly proficient with HTML/Javascript/CSS. It's my understanding that I can write an Adobe Air application using just those technologies. Let's assume I want to convert one of my webapps to an Adobe Air application, but this web app uses a 3rd party Flash component. Can I embed this 3rd party flash component into my Adobe Air applic...
I am not that bad at this, but somehow i am not able to center the contents of the page.
Also, the logo and tbar-right divs are not aligning properly (I'd like them to be arranged in a single line).
This is my markup:
<body>
<div class = "container">
<div id="topbar" >
<div class="logo">
<img src="images/rg-logo.jpg"/>
...
Hi. I have a setup that looks like this:
<html><head><style>
table{
height:100%;
width:100%;
padding:0 20px 20px 20px;
min-height:540px;
min-width:720px;
}
tr.head{
height:35px;
background:black;
}
td.left-bar{
background-color:green;
width:220px;
}
td.spacer{
width:10px;
}
td.right-bar{
backg...
Hey everyone,
I saw a post on this already, but it didn't really provide a solution (that has worked for me at least)...
I have a PHP page that does some basic MySQL queries, the results of which are displayed on the page. I'm using some $_GET and $_SESSION variables throughout this process.
In the same page, I also allow the user to ...
Hi.
I am trying to use jquery appendTo in order to copy an element into another container.
The object is indeed appended but, it is removed from the source.
Is there a way I can append the element while leaving the source element where it is?
call it copy call it clone call it whatever you feel like.
Here is my current code:
jQuery(do...
I tried to load some scripts into a page using innerHTML with a div. It appears that the script loads into the dom, but it is never executed (at least in ff and chrome). Is there a way to have scripts execute when inserting them with innerHTML?
sample code
<!DOCTYPE html>
<html><head>
<title>test</title>
</head>
<body onload="document....
when you stretch your table in tinymce you get this
<table class="opbouw" style="width: 725px; height: 170px;" border="0" cellpadding="0" cellspacing="0">
however I want it to be overruled because all tables must be 100% width for printing else its looks crappy.
can anyone tell me how to overule it so the table is 100% when printing...
I need to take text from a source as plain text and display it in a JTextPane or JEditorPane. The source text is not HTML but will contain URLs between square brackets which need to be displayed and function as hyperlinks.
I've considered setting the pane's content type to text/html and surounding the url in html tags but that ends up i...
I've inherited a large project that already has a large markup base coupled with a short deadline, so a complete rewrite is out of the question. As such, I have an issue that needs to be resolved ASAP:
(Forgive my cryptic shorthand in advance)
I have a header that contains an UL and a DIV.
div id="header"
ul id="nav"
<a li...
Have basically the same problem as this - text has a background color set and is in a table cell. Text background color is only behind the text, and does not fill the entire table cell, which it should.
The solution is normally to set a bgcolor on the table cell. Difference is that this occurs in many places throughout this particular w...
For a site with a lot of small thumbnail images, I wanted to use a placeholder gif while each image was loading. This requires code like the following:
$('.this_img').each(function(){
var $this_img = $(this);
var $this_src = $(this).find('.sliderImage:first').attr('src');
var img = new Image();
// wrap our new image in jQuery...
I have the following code:
DIV><TABLE><TBODY><TR><TD>
<DIV id="namesClass" style="WIDTH: 700px">
<UL style="MARGIN-LEFT: 0px! important; LIST-STYLE-TYPE: none! important">
<LI style="PADDING-RIGHT: 5px; FLOAT: left">Construction hotel</LI>
<LI style="PADDING-RIGHT: 5px; FLOAT: left">Associations hotel</LI>
<LI style="...
I have some HTML inputs and I need to run some javascript when the user exits them however I have always used onblur but a colleague has suggested ondeactivate.
I can't find much info about ondeactivate and thought it was an old method for old browsers. Will onblur run on older browsers?
...
I have a div with text loaded from a database in it. I have no control over the length of the text and want to calculate or count the number of lines it wraps to so I can hide all except a small segment at the beginning until a user clicks on "more".
Is there any way to do this with javascript?
Thanks in advance.
...
I'm coding it
<div>
<a href="http://example1.com">
<img src="example1.gif" />
</a>
</div>
<div>
<a href="http://example2.com">
<img src="example2.gif" />
</a>
</div>
a {
text-align:center;
height :80px;
display:block;
}
The centering of the horizontal direction do well.
but vertical is not.
How to do it?
By the...
I have created a simple flash menu and the SWF file, JS files (swfoject.js and flying.js) & XML files are in a folder called "icpmenu_es" on the server root. If I open the SWF file on my local HDD it works fine but if I alter the paths to the files for use on my website, it won't work at all. I know it has found the JS files because if I...
Hi friends,
I want to download or just need to save the image file from a website using the javascript
in pure coding itself.. Because i want to download nearly 1000 jpeg, so i would like to write a function to call and download those images.
URL is available, from that i want to download the specific image
Please guide regarding this...
This doesn't work in IE6 or 7:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Title</title>
<style type="text/css">
N {display: block}
</style>
</head>
<body>
<div>
<N>element1</N>
<N>element2</N>
<N>element3</N>
<N>element4</N>
</div>
</body>
</html>
...
I neeed jQuery help.
He can we dynamically resize a table cell ?.If we resize it, change
only affect that particular cell,rest should remain same.
...
How do I stop this warning showing in Eclipse?
Warning: trimming empty <div>
No, I absolutely cannot make the div non-empty, I cannot change the code.
...