• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
The JS is not being exectued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The JS is not being exectued


  • Subject: The JS is not being exectued
  • From: Gustavo Pizano <email@hidden>
  • Date: Sat, 14 Feb 2009 20:12:58 +0100

Hello, I download some _javascript_ and CSS to make some rounded corners, Thy work in the examples I downloaded. 

Now, I import them into my project, I place them into the the WebServerResources folder, under a CSS and a JS folder respectively.

I used the follwoing  wo tags

<wo:ERXStyleSheet filename ="CSS/niftyCorners.css" framework="app" />
<wo:ERXStyleSheet filename ="CSS/NiftyLayout.css" framework = "app"/>
<wo:ERXJavaScript fileName = "JS/niftycube.js"/>

in the head tag I have this script  and style also, (this is because Im following the examples ).

<style type = "text/css">
body{
padding: 50px 0 0;background:#FFF;color:#111;
    font: 100.01%/1.3 Verdana,Arial,sans-serif;text-align:center;
    }
div#box{
width: 25em;padding: 30px  0;margin:0 auto;
    text-align:left;background: #9CC0FF url(gradient.png) repeat-x 0 -5px;
    }
h1{
font: lighter 200% "Trebuchet MS",Arial sans-serif;color: #303F6E;}
h1,p{margin:0 20px;
}
</style>
<script type = "text/_javascript_">
window. style="color: #800080">function(){
Nifty("div#box","transparent");
}
</script>
when I run the application I get no error that it could find any file,  in fact the gradient.png of the div#box I palce it under /library/webserver/documents , because it was telling me that it couldn't find it, after I place it there, it said nothing about it when running.

The problem is that the purpose of the JS (to make the corners rounded) its not being displayed... I dunno what can be wrong...

Thanks

Gustavo
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: The JS is not being exectued [Solved]
      • From: Gustavo Pizano <email@hidden>
  • Prev by Date: Migration/Frontbase Implementation Question
  • Next by Date: Re: The JS is not being exectued [Solved]
  • Previous by thread: Re: Migration/Frontbase Implementation Question
  • Next by thread: Re: The JS is not being exectued [Solved]
  • Index(es):
    • Date
    • Thread