Thread: Scripting
View Single Post
Old 11-15-2006, 09:36 PM   #1
Jupiter
Junior Member
Jupiter began at the beginning.
 
Posts: 7
Karma: 41
Join Date: Nov 2006
Device: PalmOne Zire 31
Scripting

I am trying to script a document to exclude images on link depths above 1. I am clueless with Java, but thought I'd give it a try.

Quote:
document.onimagelink = function(link) {
if (link.depth => 1) {
link.exclude = true;
}
};
This is what I tried. It crashed, saying "Error: Exception reading script file null: syntax error (<embedded> #2)" What am I doing wrong?


Thanks in advance.
Jupiter is offline