NameSilo

Angelfire banner code interfering with my JavaScript?

NamecheapNamecheap
Watch
Impact
0
Hi, I am new to this forum and also to web design. I was wondering if anyone here could help me.

I made a site for my friend and it is hosted on Angelfire.com. I recently made a slide show for it using a Java Script & template I got online. It worked just great on my computer but the pictures won't change when it is uploaded. You click and nothing happens.

I looked at the code and Angelfire has of course added their banners, and placed their code not at the top of my file, but RIGHT in the middle of my slide show code. That is the only reason I see that is making it not work right. Could that be so, and does anyone have any idea about how to make the automatically added Angelfire banner code go at the start of the page rather than break my code?

Thanks a lot in advance,
Irena
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
make you slideshow a javascript popup or, go get hosted with webhostzero.com
 
0
•••
Popups will also have the code. It's possible that it is cuasing a problem. I couldn't tell you without actually seeing the code on anglefire though.
 
0
•••
I would recommend leaving angelfire for some way better alternatives...
 
0
•••
Not sure if it would work...but maybe just add a bunch of comments at the bottom so that the middle is at the bottom of the show?

But yea...you're etter off swicting to another host..
 
0
•••
Make external js file , include as src in html code
 
0
•••
PolurNET said:
I would recommend leaving angelfire for some way better alternatives...

other alternatives like ??
 
0
•••
You can find hosting rather cheap. Look around, and sign up for someone for $5 / month. Some people here offer hosting for NP.
 
0
•••
Hi,

Thanks so much for the comments! I think I`m going to switch to another host then, also because they do offer much more space than Angelfire. I hadn`t really thought of it, thank you guys.

Would be interesting to see how adding comments or even making a separate .js file would work, but trouble is that I wouldn`t know yet how to do THAT. I just tried but I guess the code for a .js file would be very different then. I would have asked you all how to do it but I want to save my question asking quotas for other stuff, too! LOL

Again, thanks a lot for your help.

Irena
 
0
•••
Well coding a JS isn't very different; you should NOT put the <script> tags in the JS document, just insert the raw javascript code and save as JS.

In your document, add the <script> tag now calling for the JS file :) (check google on the exact syntax...

And yeah, finding hosting is much easier, and more efficient, especially because hosting these days comes cheap! :)
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back