I have a page that has a bunch of different iframes (A, B, C, D) - all of which are fully visible at all times. Together, they make up the various ... |
|
I have little piece of javascript to show/hide divs based on which link is clicked in a list. Its not very eligant, but it works fine. What I'd like ... |
I have an img that I would like to be able to click on and have my
.image_click:active {
-webkit-transition-duration: 500ms;
-webkit-transform: scale(1.5);
}
stay scaled! I realize that css alone can't do this, ... |
I had a image which calls add_cart() javascript function when onclick()
<img src="images/add.png" onclick="add_cart()">
I want the user to click the image only one time. When the user clicks it first time, add_cart ... |
I have a two-level ul/li menu where the li can fire of different onclick-events.
It seems as the parent-event (ul li), is fired when clicking one ul li ul li-item.
Can I avoid ... |
On this page on the right side I have a collapsing/expanding nav that when clicked (i.e. "What We Do," shows three more nav items) shows more nav items.
Under/behind each ... |
|
Let's say I want that every time the user click any link an alert pops up that says "hohoho".
Do I need to add onclick="alert('hohoho')" to every link or can I ... |
Can you tell me why my JS ain't working?
http://prime.programming-designs.com/designs/map/
It's suppose to move the mark div to the mouse xy when I click in the map.
|
Here is the HTML:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="DaVincisApp1.WebForm2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link href="~/Styles/StyleSheet1.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>
<%--<script type="text/javascript" src="Scripts/motion.js"></script>--%>
<script type="text/javascript">
...
|
I have the following code on a webpage:
<DIV style="TEXT-ALIGN: center">
<A style="CURSOR: auto" onmouseover="this.style.cursor='pointer'" onmouseout="this.style.cursor='auto'" onclick="alert('0: 272ec6651cb6d320579205b7a250a14920708a41');">[Back To List]</A>
<A onmouseover="this.style.cursor='pointer'" onmouseout="this.style.cursor='auto'" onclick="alert('1: 20');">[View Comments]</A>
</DIV>
The first link works, the second one doesn't. By ... |
I'm writing an app with JQuery & JQTouch fo iOS. I have a dynamically generated HTML list. The user clicks a row, which I need to highlight. However, this involves nesting ... |
JavaScript noob here. I'm working on a website and I'm trying to change the z-index of a set of frames using buttons. I can't quite get it to work.
So far this ... |
This is probably really simple, I know you can change css properties with javascript by doing;
document.getElementById('bob').style.background='#000000';
But I recently found out that you can do this differently and style multiple things, so ... |
I wrote some html/css/javascript code that was taken verbatim from a javascript textbook. For some reason, the code does not run correctly in my browser (which is the newest version ... |
I have 2 tabs at the top of a page. When one tab is clicked, I would like that tab to have an "active" class and the other tab to have ... |
I don't know if this is allowed or even possible. Is it possible to create a div element with an onclick event so that if anywhere in the div's area is ... |
I am working with webapp-net to build an application for iOS/android. in my app I have a form with some text fields. I want to have a "X" icon that usually ... |
Hi everyone,
here am trying to display the source code of a particular div by onclick
javascript function. ... |
simple div tag that links to something. can't seem to figure how to open the page in a different tab for the onclick attribute
var site_name = 'http://www.somesite.com'
var link = 'location.href='"+ site_name ...
|
There are many questions that ask how to change the class of a div in a JavaScript click handler, e.g., here: Change Div style onclick. I understand that well ... |
|