PDA

Shop Support News Archive - Shopbetreiber News -> Forum : Unbeklanntes Java Script Im <head>


ChrisFah
05.09.2007, 20:55
Hallo Mannen,

ich hab nmir heute den Sourcecode meiner Seiten angesehen, dabei ist mir ein Java script ins Auge gestossen, bei dem ich nicht weiss, woher das kommt. Und das macht mich nervös.
Folgende Zeilen gleich nach den meta tags:

-----schnipp---------
<script type="text/javascript"><!--
var selected;
var submitter = null;

function submitFunction() {
submitter = 1;
}
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location =no,directories=no,status=no,menubar=no,scrollbars =yes,resizable=yes,copyhistory=no,width=100,height =100,screenX=150,screenY=150,top=150,left=150')
}

function selectRowEffect(object, buttonSelect) {
if (!selected) {
if (document.getElementById) {
selected = document.getElementById('defaultSelected');
} else {
selected = document.all['defaultSelected'];
}
}

if (selected) selected.className = 'moduleRow';
object.className = 'moduleRowSelected';
selected = object;

// one button is not an array
if (document.getElementById('payment'[0])) {
document.getElementById('payment'[buttonSelect]).checked=true;
} else {
//document.getElementById('payment'[selected]).checked=true;
}
}

function rowOverEffect(object) {
if (object.className == 'moduleRow') object.className = 'moduleRowOver';
}

function rowOutEffect(object) {
if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}

function popupImageWindow(url) {
window.open(url,'popupImageWindow','toolbar=no,loc ation=no,directories=no,status=no,menubar=no,scrol lbars=no,resizable=yes,copyhistory=no,width=100,he ight=100,screenX=150,screenY=150,top=150,left=150' )
}
/ DDB - 041031 - Form Field Progress Bar /
/
Form Field Progress Bar- By Ron Jonk- http://www.euronet.nl/~jonkr/ (http://anonym.to/?http://www.euronet.nl/~jonkr/)
Modified by Dynamic Drive for minor changes
Script featured/ available at Dynamic Drive- http://www.dynamicdrive.com (http://anonym.to/?http://www.dynamicdrive.com)
Please keep this notice intact
/
function textCounter(field,counter,maxlimit,linecounter) {
// text width//
var fieldWidth = parseInt(field.offsetWidth);
var charcnt = field.value.length;
// trim the extra text
if (charcnt > maxlimit) {
field.value = field.value.substring(0, maxlimit);
} else {
// progress bar percentage
var percentage = parseInt(100 - (( maxlimit - charcnt) 100)/maxlimit) ;
document.getElementById(counter).style.width = parseInt((fieldWidth percentage)/100)+"px";
document.getElementById(counter).innerHTML="Limit: "+percentage+"%"
// color correction on style from CCFFF -> CC0000
setcolor(document.getElementById(counter),percenta ge,"background-color");
}
}
function setcolor(obj,percentage,prop){
obj.style[prop] = "rgb(80%,"+(100-percentage)+"%,"+(100-percentage)+"%)";
}

//--></script>
<script type="text/javascript"><!--
-------schnapp-----------------

KANN DAMIT WER WAS ANFANGEN ???

Greetings, Chris

DeeCoo
05.09.2007, 20:59
Hi

keine Sorgen, scheint alles seine Rnichtigkeit zu haben...

function submitFunction() {
= Formular

function popupWindow(url) {
= Imagepopup

function selectRowEffect(object, buttonSelect) {
= Kategorien

Form Field Progress Bar
= ajaxkram in deinem Formular


Gruss DeeCoo