I'm a coding a JavaScript reporting component, that requires multiple LI's i.e. lists to be selected collectively as a bunch with visual feedback.
I'm thinking of adapting the onfocus event. Is it possible for multiple HTML elements to receive focus at the same time?
Not inputs, but DIVs, so I don't need the cursor. I just want several...
Hi guys, i am creating a new site, based in a pre-existing web page
The original site is http://oasisrio.intermediasp.com/
Its works great in Firefox, Chrome, and IE
But the new one "oasisba.intermediasp.com"
Dont show the right bar in IE, i check all that i can think about and i dont found the problem.
Someone have any ideas why this...
I want to display text on a page like in the following way:
My Text: Text Here
My Text: More Text Here.........................................................
Text from line above continued here.
I have the following markup just to test:
<html>
<head>
<style type="text/css">
body {
font-family: arial;
}
...
I'm relative new to jQuery and I've been asked to create a hide/show function with a select tag. The function pretty much would be when you click on one of the options in the select tag it will open a div associate with the div of course. To be honest I have no idea how approach this function. I need help urgently, I have already tried m...
I have a search form where several checkboxes are checked by default. When the form submits, as a GET, the url will only contain the list of checkboxes that were left checked.
http://www.example.com/page/?checkbox1=yes&checkbox2=yes
It is difficult with this scenario to determine the difference between when a user first arrives a...
In the web I've seen examples both with
<% if @showIt -%>
some html content
<% end -%>
and without
<% if @showIt %>
some html content
<% end %>
dash. Both versions work very well. So, what difference does it make?
Thanks!
...
Hello all,
I have a page located at x.com. On this page is a button that, when clicked, will launch a new window (using javascript's window.open() method) to a page that is located at z.com. The popup does a few things, then redirects the original window (the opener, x.com) to a different page based on some parameters defined in the p...
Im using meyer css reset. But I have problem with input in a table. There in extra space between rows:
<table class="table" cellpadding="0" cellspacing="0" border="0">
<tr>
<td> </td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
</tr>
<tr>
<t...
Here is the site mock-up I'm working on for my job: http://dev.arm.gov/~noensie/dqhands/cgi-bin/explorer. I'm still a novice in web developing and I need help with placing form values in a list item to pass on to another page.
I'd rather not go in great detail the purpose of this website, but in terms of its basic use, select the parame...
Hi,
I have tried a few things to solve this problem but I can't seem to get it working.
The problem is that I have 2 columns as the main part of my website, right and left. On some pages, there is a lot of text in the left column, therefore it is very long, the problem is that the right column doesn't elongate with the left column.
Bo...
Hey all, I've been trying to throw together a generic function that retrieves the absolute URL of an executing JavaScript file on a web page:
http://gist.github.com/433486
Basically you get to call something like this:
getScriptName(function(url) {
console.log(url);
// http://www.example.com/myExternalJsFile.js
});
inside an...
I'm using the PHP markdown library: http://michelf.com/projects/php-markdown/ and the Javascript markdown library: http://attacklab.net/showdown/
I want to disallow all HTML, both the versions of markdown seem to allow it indiscriminately. My first attempt was simply to escape all html entities before feeding into markdown. However this...
Hi,
I've already found a good site to convert HTML character codes to their respective glyphs:
http://www.public.asu.edu/~rjansen/glyph_encoding.html
However, I need a bit more information. Does anyone know of a site like the one above that also provides information on what type of character code it is? Meaning, is it a special charac...
How would I do this?
The subject isn't very explained, so for an example: the black line at the top of the footer.
Thanks!
...
I just got my free web hosting set up (trigoblocks.comuf.com), I connected via FileZilla FTP and uploaded my files. The error I get is "Parse error: syntax error, unexpected T_STRING in /home/a3639879/public_html/header.php on line 1".
Header.php line 1-2:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML...
I want to make a scrolling menu with my menu on my free hosted site.
What I mean by a scrolling menu is like at the bottom of the screen @ CNET.com & ThePheed.net, my site is currently at Trigoblocks.comuf.com.
Does anybody know how to do this and could teach me or lead me in the right direction? (:
...
Hello guys,
I'm working on a Safari extension, and I'd like to detect when <applet>s are going to load (the onbeforeload event) on a page. However, there seems to be no such event for these.
How should I do it? Transform all <applet> tags to <object> tags and then intercept their onbeforeload events? I think it would break the document...
How come my red border is not wrapping around my text div and my side bar div. Here's my code:
CSS:
body{
background-color: #d7d7d7;
color: #666666;
font-family: arial, sans-serif;
font-size: x-small;
}
div#header {
background-color: #323232;
height: 140px;
width: 950px;
}
div#maincontainer {
background-color: #d7d7d7;
width: 950px;...
I'm trying to retrieve data from a php file named return that contains <?php
echo 'here is a string';
?>. I'm doing this through an html file containing `
div { color:blue; }
span { color:red; }
var x;
$.get("return.php", function(data){
x = data;
})
function showAlert() {alert(x);}
$(document).ready(fu...
I'm trying to retrieve data from a php file named return that just contains
<?php
echo 'here is a string';
?>
I'm doing this through an html file containing
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script>
var x;
$.get("return.php", function(data){
x = ...