Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2009-03-27, 03:34 PM   #1
nate
I can now put whatever you want in this space :)
 
nate's Avatar
 
Join Date: Mar 2009
Location: Merica!
Posts: 543
Its javascript, sorry for the error, although I thought referring to javascript as java was OK. They both require the same runtime, don't they? I keep it turned off with "noscript" in firefox and try not to use any java anything on my websites because it taxes the client computer more than I want to, so I'm a little ignorant about it. I use it sparingly at best, and then only if its intergrated with something I install.

And I localized the .htaccess to the directory he is hitting. I'm not trying to exclude people that legitimately don't send referrers because they are paranoid and use a proxy or whatever, but I fucking hate a thief.

Here is the code he is using. I hope it escapes (// ) OK and doesnt fuck up my post.

// <!--
// var D=document
// var IframeName=Math.round(Math.random()*1000000)
// var baseHeader='http://www.mydomain.com'
// var basePath='/path to my images/'
// var galUrls=new Array("list of my image's names")
// var curNum=0
// var tmp
// function loadPhoto(num) {
// if (num) {
// tmp=D.RECLAMA1 ||
// D.getElementById('RECLAMA1').contentWindow
// tmp.history.go(0)
// tmp=D.RECLAMA2 ||
// D.getElementById('RECLAMA2').contentWindow
// tmp.history.go(0)
// }
// curNum=(curNum+num)%galUrls.length
// var url=galUrls[curNum]
// url=baseHeader+((url.charAt(0)=='/') ? '' : basePath)+url
// tmp=D.PHOTO || D.getElementById('PHOTO').contentWindow
// tmp.name=IframeName
// open("javascript:\"<img style='cursor:hand'
// onClick='parent.loadPhoto(1)' src='"+url+"'>\"",IframeName)
// D.forms[0].CURRENT.value=curNum+1
// D.all['CURRENT'].innerHTML=curNum+1
// D.getElementById('PREV').style.visibility=(curNum>0) ? 'visible' : 'hidden'
// D.getElementById('NEXT').style.visibility=((curNum+1)<url.length) ? 'visible' : 'hidden'
// return false
// }
// function fitPhoto() {
// tmp=D.PHOTO || D.getElementById('PHOTO').contentWindow
// var im=tmp.document.images[0]
// tmp.resizeTo(im.width+4,im.height+4)
// }
//-->
nate is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:01 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc