Click here to Skip to main content
15,888,113 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionFileUpload Inside a Gridview ItemTemplate Pin
Member 79103609-Oct-12 19:25
Member 79103609-Oct-12 19:25 
AnswerRe: FileUpload Inside a Gridview ItemTemplate Pin
Mohibur Rashid9-Oct-12 21:22
professionalMohibur Rashid9-Oct-12 21:22 
AnswerRe: FileUpload Inside a Gridview ItemTemplate Pin
kavittrivedi16-Oct-12 2:29
kavittrivedi16-Oct-12 2:29 
QuestionFile Upload in IE Pin
ziggyfish9-Oct-12 15:26
ziggyfish9-Oct-12 15:26 
AnswerRe: File Upload in IE Pin
twseitex19-Oct-12 8:31
twseitex19-Oct-12 8:31 
Questionbitwise operator question Pin
SuperRoo29-Oct-12 13:19
SuperRoo29-Oct-12 13:19 
AnswerRe: bitwise operator question Pin
ziggyfish9-Oct-12 15:31
ziggyfish9-Oct-12 15:31 
Question“Object doesn't support property or method 'ready'” Pin
Rohit Kesharwani9-Oct-12 1:42
Rohit Kesharwani9-Oct-12 1:42 
“Object doesn't support property or method 'ready'”
I am getting this error while using custom dropdown list with js mootools slider. I have downloaded js slider and custom dropdown and while trying to merge it, I am facing this error.
I have downloaded js slider plugin from here:
http://landofcoder.com/index.php?option=com_jdownloads&Itemid=372&task=view.download&cid=6
Code of index page:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Lof SliderNews 1.0 - Mootool 1.1</title>
<link rel="stylesheet" type="text/css" href="css/layout.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script language="javascript" type="text/javascript" src="js/mootools.svn.js"></script>
<script language="javascript" type="text/javascript" src="js/lofslidernews.mt11.js"></script>
<!-- DropDown -->
<link rel="stylesheet" type="text/css" href="msdropdown/dd.css" />
<script type="text/javascript" src="msdropdown/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="msdropdown/js/jquery.dd.js"></script>
<!-- DropDown -->
<style type="text/css">
/** css for override **/
/* move the main wapper to the right side */
.lof-snleft .lof-main-wapper
{
margin-left: auto;
margin-right: inherit;
clear: both;
height: 300px;
}
/* move the navigator to the left side */
.lof-snleft .lof-navigator-outer
{
left: 0;
top: 0;
right: inherit;
}

.lof-snleft .lof-navigator .active
{
background: url(images/arrow-bg2.gif) center right no-repeat;
}
.lof-snleft .lof-navigator li div
{
margin-left: inherit;
margin-right: 18px;
}

.lof-snleft .lof-navigator li.active div
{
margin-left: inherit;
margin-right: 18px;
background: url(images/grad-bg2.gif);
}
</style>

<script language="javascript" type="text/javascript">
jQuery.noConflict();
$(document).ready(function () {
$("#websites2").msDropDown({ mainCSS: 'dd2' });
});
</script>
</head>
<body>
<div id="container">
<h1>
<strong>Lof SliderNews 1.0</strong> - Mootool 1.1</h1>
<p>
<strong>Direction: Up to Down - Navitagor on the left side .</strong> The plugin
allow to use the wheelup and wheeldown to previous|next item in the list
</p>
<!------------------------------------- THE CONTENT ------------------------------------------------->
<div id="lofslidecontent45" class="lof-slidecontent lof-snleft">
<div class="preload">
<div>
</div>
</div>
<!-- MAIN CONTENT -->
<div class="lof-main-wapper">
<div class="lof-main-item">
<select name="websites2" id="websites2" style="width: 258px;">
<option value="msDropDown">One</option>
<option value="PrototypeCombobox">Prototype Combobox</option>
<option value="jQuery Tabs">jQuery Tabs</option>
<option value="Common Accordion">Common Accordion</option>
</select><br />
</div>
<div class="lof-main-item">
Page2
</div>
<div class="lof-main-item">
Page3
</div>
<div class="lof-main-item">
Page4
</div>
<div class="lof-main-item">
Page5
</div>
<div class="lof-main-item">
Page6
</div>-->
</div>
<!-- END MAIN CONTENT -->
<!-- NAVIGATOR -->
<div class="lof-navigator-outer">
<ul class="lof-navigator">
<li>
<div>
<img src="images/lofthumbs/791902news3.jpg" />
<h3>
NewsFlash 1
</h3>
<span>20.01.2010</span> - In id, mauris viverra asperiores, bibendum in id. Eu molestie.
Ac sit eu...
</div>
</li>
<li>
<div>
<img src="images/lofthumbs/435576news10.jpg" />
<h3>
NewsFlash 2
</h3>
<span>20.01.2010</span> -In id, mauris viverra asperiores, bibendum in id. Eu molestie.
Ac sit eu. ..
</div>
</li>
<li>
<div>
<img src="images/lofthumbs/641906img1.jpg" />
<h3>
NewsFlash 3
</h3>
<span>20.01.2010</span> - In id, mauris viverra asperiores, bibendum in id. Eu molestie.
Ac sit eu. ..
</div>
</li>
<li>
<div>
<img src="images/lofthumbs/416719news7.jpg" />
<h3>
NewsFlash 4</h3>
<span>20.01.2010</span> - In id, mauris viverra asperiores, bibendum in id. Eu molestie.
Ac sit eu. ..
</div>
</li>
<li>
<div>
<img src="images/lofthumbs/641906img1.jpg" />
<h3>
NewsFlash 5</h3>
<span>20.01.2010</span> -In id, mauris viverra asperiores, bibendum in id. Eu molestie.
Ac sit eu. ..
</div>
</li>
<li>
<div>
<img src="images/lofthumbs/416719news7.jpg" />
<h3>
NewsFlash 6</h3>
<span>20.01.2010</span> - In id, mauris viverra asperiores, bibendum in id. Eu molestie.
Ac sit eu. ..
</div>
</li>
</ul>
</div>
</div>
<script type="text/javascript">
jQuery.noConflict();
var _lofmain = $('lofslidecontent45');
var _lofscmain = _lofmain.getElement('.lof-main-wapper');
var _lofnavigator = _lofmain.getElement('.lof-navigator-outer .lof-navigator');
var object = new LofFlashContent(_lofscmain,
_lofnavigator,
_lofmain.getElement('.lof-navigator-outer'),
{ fxObject: { transition: Fx.Transitions.Quad.easeInOut, duration: 800 },
interval: 3000,
direction: 'vrdown'
});
object.start(true, _lofmain.getElement('.preload'));
</script>
</div>
</body>
</html>


Please reply ASAP.
Thanks.
AnswerRe: “Object doesn't support property or method 'ready'” Pin
Graham Breach9-Oct-12 20:55
Graham Breach9-Oct-12 20:55 
QuestionTried Typescript? What's your first impressions? Pin
StianSandberg5-Oct-12 2:01
StianSandberg5-Oct-12 2:01 
AnswerRe: Tried Typescript? What's your first impressions? Pin
n.podbielski8-Oct-12 23:52
n.podbielski8-Oct-12 23:52 
GeneralRe: Tried Typescript? What's your first impressions? Pin
Ravi Bhavnani11-Oct-12 9:00
professionalRavi Bhavnani11-Oct-12 9:00 
AnswerRe: Tried Typescript? What's your first impressions? Pin
n.podbielski11-Oct-12 20:25
n.podbielski11-Oct-12 20:25 
QuestionHow to resolve following specific bug in IE 10? Pin
Ambesha5-Oct-12 1:15
Ambesha5-Oct-12 1:15 
AnswerCrosspost PinPopular
Peter_in_27805-Oct-12 2:22
professionalPeter_in_27805-Oct-12 2:22 
QuestionFind the selected radio button immediately using the 'this' variable in he javascript Pin
hiredotnet4-Oct-12 20:53
hiredotnet4-Oct-12 20:53 
AnswerRe: Find the selected radio button immediately using the 'this' variable in he javascript Pin
John-ph5-Oct-12 4:02
John-ph5-Oct-12 4:02 
QuestionPreventing Duplicate Form Submissions in JavaScript Pin
hiredotnet3-Oct-12 19:10
hiredotnet3-Oct-12 19:10 
QuestionUnit testing in JavaScript Pin
hiredotnet2-Oct-12 21:01
hiredotnet2-Oct-12 21:01 
AnswerRe: Unit testing in JavaScript Pin
Spiff Dog9-Oct-12 9:43
Spiff Dog9-Oct-12 9:43 
QuestionCreating a vertical auto-hide toolbar Pin
Chen Renjun26-Sep-12 17:02
Chen Renjun26-Sep-12 17:02 
AnswerRe: Creating a vertical auto-hide toolbar Pin
Mohibur Rashid27-Sep-12 15:09
professionalMohibur Rashid27-Sep-12 15:09 
GeneralRe: Creating a vertical auto-hide toolbar Pin
Chen Renjun27-Sep-12 15:26
Chen Renjun27-Sep-12 15:26 
AnswerRe: Creating a vertical auto-hide toolbar Pin
jkirkerx27-Sep-12 18:06
professionaljkirkerx27-Sep-12 18:06 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski28-Sep-12 6:06
n.podbielski28-Sep-12 6:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.