FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Beginner CSS/Javascript problem.





uuuuuu
Hi, I'm trying to play around with a CSS/Javascript corner rounding packages called NiftyCorners Cube:

http://www.html.it/articoli/niftycube/index.html

I have set up a page that works locally, but when I move the folder onto my site, the corners are not there. I have triple checked that all of the .css and .js files are the same on my home machine as the server.

I have checked the few possible problems I could think of, like that my permissions are set right.

Can anyone immediately see the problem with my site?

http://uuuuuu.frih.net/index.html - Most of the elements on the page should have round corners but they don't.

I have checked this with a firefox and ie browser, I've searched the forums for something related, and I've pulled quite a bit of my hair out, but to no avail.

My next idea is that maybe the server is doing something automatically with window.onload which is conflicting with my .js, but I am just grasping at straws.

Is there a super smart person who can easily see what my problem is? I would be very grateful for help.
alalex
i really dont know were the problem could be, but i would check that the class names are the ones you had to use, or the ids, i dont know.
If the problem occurs when you upload the files, then the problem has to be in your server triple check all the files (html, css, js...) and if it is still not working try email nifty corners support for more help.
uuuuuu
Well... still no luck.
My first problem is that I'm trying to use .css and .js code that I frankly don't understand.
Tonight I will hit the tutorials and see what I can figure out.

In the meantime, I have found another image free css/js corner rounder package called snazzy corners. Maybe I will try plugging that in, first thing.

So, it's not a high priority yet, at least until I have done some reading up.
If there is a good samaritan out there who wants to solve this problem anyway I would be grateful though Wink

But generally, I should have no problem with .js or .php on this site, right?
alalex
if you read all that and still no luck, send me the files or something in an email, in a zip file, so that i can take a look at it ok?
ask me in a pm for my email when you need it Smile
Stubru Freak
Easy one!

Your home computer is Windows and the server is Linux. And what's the main difference between the two? Case-sensivity in filenames!

So in your index.html, change
Code:
<link rel="stylesheet" type="text/css" href="NiftyLayout.css" media="screen">

to
Code:
<link rel="stylesheet" type="text/css" href="niftyLayout.css" media="screen">

and
Code:
<script type="text/javascript" src="NiftyLayout.js"></script>

to
Code:
<script type="text/javascript" src="niftyLayout.js"></script>
alalex
smart Wink
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.