![]() |
Linking to Javascript in template's header
I'm trying to link to a single javascript file from inside the header template using the following code. I've tested this code in a non-vB HTML page and it works fine, but when placed into the header template through the admin CP, this same code doesn't seem to work:
Code:
<!--[if lte IE 6]> any reason why the script may not be working? This is where the script is from: http://24ways.org/2007/supersleight-...ent-png-in-ie6 --------------- Added [DATE]1215660813[/DATE] at [TIME]1215660813[/TIME] --------------- I'm pleased to say that the problem's solved now, I had a url rewrite / redirect on the .png image on my vB page, so the forum thought it was linking to a .gif icon whereas I was redirecting it to a .png file. I guess the Javascript can't recognise such redirects so treated the image as a .gif instead, hence didn't apply the transparency effect on the .png. |
All times are GMT. The time now is 02:41 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|