I get the below error, when trying to use it with the wordpress on demand theme... very similar problem i think
Error: $("#slider").serialScroll is not a function Source File: http://www.gamertagradio.com/videos/wp-content/themes/ondemand/script... Line: 95 On Oct 11, 4:22 pm, GARIL <[EMAIL PROTECTED]> wrote: > I'm getting the following error with the html snippet shown below. > > doc.scrollTop is not a function > pTop = doc.scrollTop(), pLeft = doc.scrollLeft(), > > the above from 'ui,dialog.js' > > Can anyone help? > > ------------------ > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html> > <head> > <script src="../lib/jquery.js" type="text/javascript"></script> > <script type="text/javascript" src="http://dev.jquery.com/view/tags/ > ui/latest/ui/ui.core.js"></script> > <script type="text/javascript" src="http://dev.jquery.com/view/tags/ > ui/latest/ui/ui.dialog.js"></script> > <script type="text/javascript" src="http://dev.jquery.com/view/tags/ > ui/latest/ui/ui.resizable.js"></script> > <script type="text/javascript" src="http://dev.jquery.com/view/tags/ > ui/latest/ui/ui.draggable.js"></script> > > <script type="text/javascript"> > function addDialogBox() { > var div = document.createElement('div'); > div.innerHTML = "Here is a newly added div field"; > div.id="newDiv" > var body = document.getElementsByTagName('body')[0]; > body.appendChild(div); > $("#newDiv").dialog(); > } > </script> > </head> > <body> > > <input type='button' value='add dialogbox' onClick='addDialogBox()' /> > > </body> > </html>