Googlen linkki

Hain Operasta Googlella Lexmark

http://www.google.com/search?hl=fi&client=opera&rls=fi&hs=HwN&q=lexmark&btnG=Hae&lr=lang_fi

ja yritin linkistä suomenkieliselle Lexmark-tuotteiden sivulle. Sain tällaisen tuloksen

/WSR 709 - create new function to modify Content Item Url //to use the correct CIT Id when a different language is selected function goContentURL (language, url) { var hashLanguage = 0; var hashContent = 0; var newUrl = ""; if (url!='') { //if there is not matching content for language, use default url if(hashContent == 0) { window.top.location = url; } else { var contentId = hashContent; //match the content id for the language passed var firstCheck = url.indexOf('_'); firstCheck = firstCheck 1 var secondCheck = url.indexOf('_', firstCheck); secondCheck = secondCheck 1; var thirdCheck = url.indexOf('_', secondCheck); //strip the old content id value from the url var oldContentId = url.substring(secondCheck,thirdCheck); //replace the old content id with the new value newUrl = new String(url).replace('_' oldContentId '_', '_' contentId '_'); newUrl = alterPathModulo (newUrl, contentId); window.top.location = newUrl; } } } //WSR 709 - create new function to retrieve the Modulo value from initial Url and //rebuild the path function alterPathModulo (url, contentId) { var pathModulo; var mod_path = "/lexmark/product/home"; var mod_path_start_pos = url.indexOf(mod_path); if(mod_path_start_pos!=-1) { pathModulo = 1024 var newMod = contentId % pathModulo; //retrieve the old Modulo value from the initial Url var oldPath = url.substring(mod_path_start_pos mod_path.length 1, url.length); var oldPath_EndPos = oldPath.lastIndexOf("/"); var oldMod = old

Operassa on käyttökielenä suomi. Versio 9.23. XP Home. Onko kellään selitystä tälle? Mitä teillä näyttää?
1151
Äänestä

Muut lukivat myös

Vastaukset 1

Vanhimmat

...

Äänestä

Kommentoi aloitusta


tökkii kirjoitti:

Hain Operasta Googlella Lexmark

http://www.google.com/search?hl=fi&client=opera&rls=fi&hs=HwN&q=lexmark&btnG=Hae&lr=lang_fi

ja yritin linkistä suomenkieliselle Lexmark-tuotteiden sivulle. Sain tällaisen tuloksen

/WSR 709 - create new function to modify Content Item Url //to use the correct CIT Id when a different language is selected function goContentURL (language, url) { var hashLanguage = 0; var hashContent = 0; var newUrl = ""; if (url!='') { //if there is not matching content for language, use default url if(hashContent == 0) { window.top.location = url; } else { var contentId = hashContent; //match the content id for the language passed var firstCheck = url.indexOf('_'); firstCheck = firstCheck 1 var secondCheck = url.indexOf('_', firstCheck); secondCheck = secondCheck 1; var thirdCheck = url.indexOf('_', secondCheck); //strip the old content id value from the url var oldContentId = url.substring(secondCheck,thirdCheck); //replace the old content id with the new value newUrl = new String(url).replace('_' oldContentId '_', '_' contentId '_'); newUrl = alterPathModulo (newUrl, contentId); window.top.location = newUrl; } } } //WSR 709 - create new function to retrieve the Modulo value from initial Url and //rebuild the path function alterPathModulo (url, contentId) { var pathModulo; var mod_path = "/lexmark/product/home"; var mod_path_start_pos = url.indexOf(mod_path); if(mod_path_start_pos!=-1) { pathModulo = 1024 var newMod = contentId % pathModulo; //retrieve the old Modulo value from the initial Url var oldPath = url.substring(mod_path_start_pos mod_path.length 1, url.length); var oldPath_EndPos = oldPath.lastIndexOf("/"); var oldMod = old

Operassa on käyttökielenä suomi. Versio 9.23. XP Home. Onko kellään selitystä tälle? Mitä teillä näyttää?

Anonyymi
5000

Ilmoita asiaton sisältö

  • Sisältää materiaalia, joka on loukkaavaa, herjaavaa, rasistista, uhkailevaa tai ahdistelevaa.

  • Materiaali sisältää nimiä, yhteystietoja tai muita henkilökohtaisia tietoja. Julkisuuden henkilöistä, julkisissa viroissa toimivista ihmisistä sekä yritysten vastuuhenkilöistä saa keskustella työhön liittyen. Myös yksityiselämään liittyvistä asioista voi keskustella siltä osin, kuin niistä on julkisesti kerrottu.

  • Sisältää lapsille haitallista tai heiltä kiellettyä materiaalia. Seksuaalinen sisältö on sallittua aiheeseen tarkoitetuilla palstoilla, joiden ikäraja on 18 vuotta.

  • Lainvastaista sisältöä voi olla mm. yksityiselämää loukkaavan tiedon levitys, kiihottaminen kansanryhmää vastaan, laiton uhkaaminen, alaikäisiin liittyvä seksuaalinen sisältö/grooming, petokset, identiteettivarkaudet, kunnianloukkaukset ja tekijänoikeusrikkomukset.

  • Sisältö ei liity palstan tai keskusteluketjun aiheeseen.

  • Viesti ei ole suomea tai ruotsia (pl. International Forums), se sisältää mainontaa, se sisältää tekijänoikeuksin suojattua materiaalia, se on massapostitus tai jokin muu syy.

Jaa keskustelu