Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Java script in costumer.asp?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

karintoth
Starting Member

8 Posts

Posted - June 17 2004 :  12:09:07  Show Profile  Reply with Quote
Hello,

another question. Is it possible to put a Java-script in the form costumer.asp?
I would like to place a calendar at the bottom of that page.
I tried it by creating an asp.file and I put it in the first lines
<!-- #include file="calendar.asp" -->

I does not work. I only get the text of this file.

Who can help me?

devshb
Senior Member

United Kingdom
1904 Posts

Posted - June 17 2004 :  14:53:47  Show Profile  Visit devshb's Homepage  Reply with Quote
There's 3 possible causes of that problem as far as I can see:

1) The parent file that's being loaded in the browser address line is named as an htm file rather than an asp.

2) The include command is inside the vbscript instead of inside the html code.

3) IIS isn't setup correctly (if you're running it from your pc rather than a normal hosted server)


We've added an explanation of how to include files on our forum for exactly this kind of thing, so have a look at:

http://bigyellowzone.com/forum/topic.asp?TOPIC_ID=12

which explains the basic pitfalls and how to get things to work.

(and yes; you should be able to use any asp/javascript/html within that form; it's just a case of making sure it's put into the correct bit with the vbscript <% and %> tags set as appropriate)

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on June 17 2004 14:56:56
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00