Can't find head.tpl, where to put ''accept terms'' script

Ernold

Avatar: Ernold

2007-03-05 12:04

I'm trying to add "accept terms" button to oders form. I found advise for that by ZSiGO in topic 1129.
I'm using QC 1.4.
Where should I add the scripts, there is not head.tpl in 1.4 ver ? Do these scripts work in QC 1.4 ?

Add the below script to the <HEAD> section of head.tpl

<script>

//"Accept terms" form submission- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var checkobj

function agreesubmit(el){
checkobj=el
if (document.all||document.getElementById){
for (i=0;i<checkobj.form.length;i++){ //hunt down submit button
var tempobj=checkobj.form.elements[i]
if(tempobj.type.toLowerCase()=="submit")
tempobj.disabled=!checkobj.checked

.....etc. see topic 1129

» Quick.Cart v1.x

Ernold

treewood (OpenSolution)

Avatar: treewood

2007-03-05 20:30

Ernold - templates/page.tpl and block HEAD in QC v1.x = templates/head.tpl in v0.3.1

Back to top
about us | contact