View Single Post

Old 06-29-2006, 01:02 PM   #4
EdBoy
Banned
 
EdBoy's Avatar
 
EdBoy is offline
Join Date: Jun 2006
Location: Chicago suburb, Illinois
Posts: 153
Marketplace Rating: 0
Send a message via PM  to EdBoy
JME
Default

I'm not sure what the hell "attendu" means, but being a fluent JavaScript user I can tell that on line 188, someone either forgot a ), had an extra one, or just has no clue what they were doing.

EDIT: Here it is.

[HTML]<script type="text/javascript">
function firstload() {
loadFragmentInToElement('scripts/results.php?offset=&resultsoffset=30&sort=&type=&c ategory=&name=&artist=&username1=&padkey=&wherebpm 1=&wherebpm2=', 'maintext');
}

function changepage(offset) {
loadFragmentInToElement('scripts/results.php?offset='+ offset +'&resultsoffset=30&sort=&type=&category=&name=&ar tist=&username1=&padkey=&wherebpm1=&wherebpm2=', 'maintext');
}
</script>[/HTML]

Dinkus.

[HTML]<script type="text/javascript">
var maintext getElementByID('maintext');

function firstload() {
maintext.innerHTML = 'scripts/results.php?offset='+ offset + '&resultsoffset=30&sort=&type=&category=&name=&art ist=&username1=&padkey=&wherebpm1=&wherebpm2='
}

function changepage(offset) {
maintext.innerHTML = 'scripts/results.php?offset='+ offset + '&resultsoffset=30&sort=&type=&category=&name=&art ist=&username1=&padkey=&wherebpm1=&wherebpm2='
}
</script>[/HTML]

Why? Because farther down you see this:

[HTML]<td bgcolor="#4A0800" id="maintext">[/HTML]

maintext is the ID, not the element. The element is td.
__________________

That so describes me perfectly.

Pfff, jme is so old meme. In FB, every repost is repost repost.
  Reply With Quote