I've created a very simple asp.net web page for generating some HTML. The idea is that each time the user clicks the button previous inputs gets stored into an array and is then listed together with the most recent input. The problem is that the array resets for each clicks, the same goes for the counter I've made (using "i" as integer a...
I am trying to create a little filmstrip with images. I want to be able to scroll horizontally to view all of the images.
I have:
<div class="gallery">
<div class="back" style="opacity: 0.6;"></div>
<div class="thumbs">
<ul class="ad-thumb-list">
<li>
<img id="thumb01" src="../jpeg/t...
I have a typical setup for cross domain.
site1.company.com
site2.company.com
Main application is running off of site1.company.com. Trying to get communication working between the a parent frame from site1 and child frame from site2
Both site 1 and site 2 are setting document.domain='company.com';
The communication works fine both ...
Following thing: Within my Adobe AIR Application (I use the HTML/JS/jQuery variant, not the flash/flex variant) I want to contact my Web Server where a PHP-File is stored that handles database interaction. So I want my AIR-App to request data from the php file (the db) and show it. But when I make a request with .ajax() the AIR Runtime s...
I am creating some tabs using labels, then im going to add some simple hover over javascript. However i want all the labels to be of fixed size with the text in the centre. This is what i have:
<style>
.button
{
border-style:solid;
border-width:1px;
background-color:rgb(193,203,225);
...
Hei guys, I have the following problem:
As I can see those arrows are not aligned with the text, I've tried alot of things but I didn't find a solution, mabe you can help me, here is my code:
.domains-wrapper .sidebar{
width: 203px;
}
/* For the background */
.domains-wrapper .links .the-t...
As title says, is there a way to send form when element outside of form is clicked? Plus, is it available without using form associated (button/input etc.) elements?
As example, can form be submitted when div is clicked?
...
Hi Guys,
I have been trying to removing the extra horizontal space coming in my HTML/CSS Page.
Any idea why this occurs.
Thanks
...
Basically i have 6 labels acting as buttons. When they are clicked on, they change from white to blue. As you click on another label, the previously blue label turns to white again and the currently click label turns to blue.
At the moment the code below sets them all to white but then doesnt appear to colour the newly clicked label to ...
hello, i am building a new input method as an extension of firefox & chrome. The problem is the default input method keep jumping out , so i want to turn the im off on default on the webpage.Is there a attribute in html set that? thank you.
...
Check out the link below, as you can see my overlay is hidden behind the flash element. However, the blue bar with the 'Continue' button appears above everything. Does anyone know what CSS changes I need to make so the overlay will appear above everything below it? The background loads an iframe. Thanks.
http://honr.it/s4j
I can't ...
Hi folks,
I'm trying to store a reference of an HTML tag for later reuse.
e.g. If I click on a div and save a pointer to that div within Javascript, will there be a way I could serialize such pointer? So I could de-serialize it and use the pointer in another instance of the web application?
Only methods I can think of are the follow...
This is just question about comments inside of an HTML page.
For example:
<html>
<head></head>
<body>
<!--
<p><font size="4">--</font></p>
-->
</body>
</html>
Using http://validator.w3.org/check I get the following error message. Does it make sense?
Line 6, Column 21: invalid comment declaration: found cha...
iterating over an array, am printing some div content for each iteration.
Whenever the user clicks on any div content, a popup should appear and should show the corresponding content in the popup from the array.
below is my code,
foreach ($email as $client)
{
echo "<div class = 't'> Show more....... </div>";
...
I'm trying to find some good info on the ordering and events of a page...fundamentals. (ordering of what loads and when ...DOM, javascript, no matter what language you're coding in)
Does anyone know a good reference I could take a look at? I haven't found any good articles except for ASP.NET but I'm not looking for that specifically....
How to make foo invisible using CSS (CSS3 if needed) while keeping bar and fizz visible?
<table>
<tr>
<td>
<textarea>bar</textarea>
<input type='button' title='fizz' />
foo
</td>
</tr>
</tbody>
Making foo in the same color as background is acceptable, but the trick is - background is an image, hence - foo...
I am thinking to create an website that generates HTML through a wizard.Finally, I want to make the users to buy the generated HTML source if they like what they see.
But I don't want to let the users to steal the HTML, CSS and JS that I use to create the effect they want.
I want a technique which is immune to Firebug and Right Click -...
I have a table that is 640px wide seperated in two [TD]'s. The left one is 150px and the right one 490px.
The question is, using CSS or any other method, how do I stop the content from overflowing the size I have set and making the page look like a mess.
I have have tried the css overflow: scroll method and in some cases this works, bu...
I need to get this Jquery box to appear on page load. Right now it only appears when the user clicks a link.
Here is the trigger:
<script type="text/javascript">
$(document).ready(function() {
//select all the a tag with name equal to modal
$('a[name=modal]').click(function(e) {
//Cancel the link behavior
...
I am trying to parse a response data as html format. The data contains multiple tables (not nested tables). I load the html with ajax and trying to loop through the data with jquery.
The problem is No result when I start with 'table' for looping (I have multiple tables and have no ID for the table.) When I use 'tr' It works well in firef...