November 15, 2024, 03:23:56 AM

1,531,348 Posts in 46,734 Topics by 1,523 Members
› View the most recent posts on the forum.


does anyone happen to know (js/html)

Started by russell, February 22, 2009, 05:12:57 PM

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

Go Down

russell

I'm building a page that needs lots of JavaScript included in the <head> tag. Typically this is not a problem and works as it should, but when I have this much, for some reason only the latter two includes actually work:

Code Select
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="thickbox.js"></script>
<script type="text/javascript" src="mootools.svn.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){
var scroll = new Scroller('container', {area: 100, velocity: 1});
$('container').addEvent('mouseover', scroll.start.bind(scroll));
$('container').addEvent('mouseout', scroll.stop.bind(scroll));
});
</script>


When I have this, for instance, jquery.js and thickbox.js won't load and only the last two things work. If I switch them around, jquery and thickbox load, but the others are neglected.

Anyone know what's going on?  doodhuh;


Daddy


l a c e y


russell

Quote from: Raekewn on February 22, 2009, 05:17:07 PM
Try to load them at the end of the page.


Uh aren't javascripts always loaded in the <head> tag

Mettalik

Quote from: lacette on February 22, 2009, 05:23:12 PM
i only know html that you use on myspace.

I'm sure using bold and italic tags aren't "knowing" html  happydood;

Daddy


Classic

Quote from: Mettalik on February 22, 2009, 05:30:35 PM
I'm sure using bold and italic tags aren't "knowing" html  happydood;

It's not knowing. It's common knowledge.

Daddy

Quote from: MS. TRON BONNE on February 22, 2009, 05:32:48 PM
It's not knowing. It's common knowledge.
who uses tags anymore?
<head>
<style TYPE="text/css">
.dix{
font-weight: bold;
}
</style>
</head>
<body>
<div class="dix">BOLD TEXT ROFL</div>

russell

Quote from: Raekewn on February 22, 2009, 05:35:08 PM
who uses tags anymore?
<head>
<style TYPE="text/css">
.dix{
font-weight: bold;
}
</style>
</head>
<body>
<div class="dix">BOLD TEXT ROFL</div>


yes styling with HTML is for faggot nubs

Daddy



guff

Quote from: Raekewn on February 22, 2009, 05:35:08 PM
who uses tags anymore?
<head>
<style TYPE="text/css">
.dix{
font-weight: bold;
}
</style>
</head>
<body>
<div class="dix">BOLD TEXT ROFL</div>
wow that's not overcomplicating things  n_u

Go Up