script tag with javascript

  • Thread starter Thread starter Bernie V
  • Start date Start date
B

Bernie V

Hey group,

I have a js file with some javascript functions (for scrolling messages)
In a <script> .... </script> I refer to the js file on the win form.

When I place such a script tag in the head tag of my form, some controls on
my form are deplaced (the controls are deplaced some lines down).
Does somebody know why ?
 
Hi Bernie,
Are you sure that you are using Winform! Can you confirm
on this?
Pooran
R. Pooran Prasad
Itreya Technologies Pvt Ltd.,
Mail: pooran.prasad_at_itreya.com
Phone(Off) : 5200179/80/81/82/83 Extn: 42
Mobile: +91 98860 29578
 
Hey Poran,

Yes I use it in a Winform. I place it in the
<HEAD><SCRIPT>.......</SCRIPT></HEAD>

grz

Bernie
 
I have seen this happen when there is a syntax error with tags in the
header section. Try using the following to link to the javascript file
instead.

<script language="javascript" src="MyScript.js"></script>

Tommy,
 
Back
Top