if i host the js file somwhere else, can i still use it on ma site?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
my file is hosted at media fire, can i still use it on my site??

http://www.dynamicdrive.com/dynamicin...

thats what im trying to re create.

alex
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
  • unsure

Posted 9 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi Alex,

I took a look at the link you gave me and unfortunately there isn't a way to add that first block of code to the Head section of the page; so this piece of code I don't believe will work.

Possibly someone else on the forum here will have some ideas on how something like this might work.

Kind Regards,
Emmy
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
Usually scripts will work anyway if you put it inside the head tags and put it at the top of the page, well at least the scripts I have used.
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
<!--

Alex - it should work -

Make sure to fully edit the file beofre you upload it to media fire.

Then change the 'head' code and apply it to your page.

where it says:

<script type="text/javascript" src="staticlogo.js">

just change the src="staticlogo.js" to the full URL where the file is hosted - (they should give you this when you upload it)

-->

Lee.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
thanks lee but what do i do the .js file before i upload it? i dong get what to edit
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
It tells you on the dynamic drive page under Configuration.

When you edit the script I think you should include the full URL of an image (if you want to display an image as a site logo) just to be safe.

Lee.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
okay, thanks
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Thanks for all your help on this Lee. :)