Note that there are some explanatory texts on larger screens.

plurals
  1. POCalling same Jquery file many times
    primarykey
    data
    text
    <p>I have multiple instances where I use jquery on my site (like an image slider and navigation) but they will not work if I do not place the jquery call multiple times.</p> <p>E.g. the 2 snippets below won't work unless I call the script twice. Please help. (There are more jquery calls on my page as well calling different libraries) Can't I just call the latest library once and be done with it? I tried and doesn't work. </p> <pre><code>&lt;!--menu --&gt; &lt;script type="text/javascript" src="js/jquery.min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" type="text/css" href="css/newnav.css" /&gt; &lt;script type="text/javascript" src="js/navdoublecolumn.js"&gt;&lt;/script&gt; &lt;script&gt; &lt;!-- ddmegamenu.docinit({ menuid:'solidmenu', dur:0, easing:'easeInOutCirc' //&lt;--no comma after last setting }) // --&gt; &lt;/script&gt; &lt;!-- slide --&gt; &lt;script type="text/javascript" src="js/jquery.min.js"&gt;&lt;/script&gt; &lt;script src="js/jquery.tabSlideOut.v1.3.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(function(){ $('.slideout1').tabSlideOut({ tabHandle: '.slideouthandle1', //class of the element that will become your tab pathToTabImage: 'images/slideouttab_chat.jpg',//path to the image for the tab //Optionally can be set using css imageHeight: '150px', //height of tab image //Optionally can be set using css imageWidth: '40px', //width of tab image //Optionally can be set using css tabLocation: 'left', //side of screen where tab lives, top, right, bottom, or left speed: 200, //speed of animation action: 'click', //options: 'click' or 'hover', action to trigger animation topPos: '215px', //position from the top/ use if tabLocation is left or right leftPos: '20px', //position from left/ use if tabLocation is bottom or top fixedPosition: true //options: true makes it stick(fixed position) on scroll }); }); &lt;/script&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload