View Single Post
  #8  
Old 09-17-2014, 08:19 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: HELP-The CLICK function in my script wont work

Debbie,
I just read through your file pop18Clickworks.txt

That file contains a <html> tag <head> tag, and so on. You should not be including all of that stuff!

To explain, your home.tpl already has all those pieces, if you include them a second time it will make for a poorly formatted web page. Rename the file to .tpl, and include only the div class="popup"

Just this part:
Code:
<div class="popup"> <!-- popup content start || copy this to the end of the file--> <div class="popupWindow"> <div class="popup_txt"> Are you 18 years of age or older? </div> <div class="popup_img"> <img src="/skin/my_skin/images/yes.png" class="popup_img_yes"/> <img src="/skin/my_skin/images/no.png" class="popup_img_no"/> </div> </div> </div>
Then you need to take the style out and include that in your home.tpl/ It would be better to include it via an external style sheet.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote