Oct 29, 2013 21:07
yup, no problem
Oct 29, 2013 21:06
but you probably dont
Oct 29, 2013 21:05
unless you have js disabled
Oct 29, 2013 21:05
works for me, i dunno what to tell you
Oct 29, 2013 21:00
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home</title>
<link href="new.css" rel="stylesheet" type="text/css" />

</head>

<body style="overflow:hidden">

<div id="hs">
<h10>Hs</h10>
<hr>
</div>

<script type="text/javascript">

obj = document.getElementById('hs');
obj.style.position = 'relative';


function shake(interval) {
obj.style.right = '100px';
setTimeout(function() {
obj.style.right = '0px';
}, interval);
}
setInterval(function() {
Oct 29, 2013 20:52
then obj must not be defined there, want to send me the code you have now?
Oct 29, 2013 20:52
the console in your browser.
Oct 29, 2013 20:52
what is on the line # it references?
Oct 29, 2013 20:52
did you click the link to jsFiddle? It works.
Oct 29, 2013 20:52
you probably need to wrap your code in $(document).ready(function(){...}) Do you get any errors in the console?
Oct 29, 2013 20:52
what do you mean there is no progress?
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
May 24, 2013 17:43
So google is broken, at least where I am in Oakland, CA
Apr 17, 2013 20:58
OMG firefox actually has inspect element now!!!
 

CSS

Questions and discussions about Cascading Style Sheets (CSS) a...
Mar 22, 2013 00:13
:(
 

 jQuery

This room is often empty cept rlemon. he's always here.
Jun 25, 2012 22:35
Anybody have any suggestions for my question here: stackoverflow.com/questions/11197964/…